Recent Posts

Pages: 1 [2] 3 4 ... 10
11
Scripting / Re: Reload a module "Transition.ToNewList"
« Last post by qqplayer on Today at 03:31:56 AM »
Anyone can explain me why this doesn`t work?

Code: [Select]
////////////////
//Reload Module
////////////
function myModule_transitions( ttype, var, ttime ) {
switch ( ttype ) {
case Transition.StartLayout:
//fe.load_module("conveyour_helper_mod");
fe.do_nut("../../modules/conveyour_helper_mod.nut");
break;
}
return false;
}

fe.add_transition_callback( "myModule_transitions" );
12
General / application-x file need some assistance to get it to launch
« Last post by Dread000 on Yesterday at 04:05:58 PM »
New to the forum here thanks for any assistance i can get.
First of running AM on linux mint mate distro
trying to utilize add emulator to auto load media player from desktop however just does not seem to want to load
i have tried many combinations.
reads my files fine my artwork fine plays my snaps no issue
have tried many different command arguments and triple checked paths as they are correct.
has any one have any suggestions
media player is vlc/
13
I have tried several themes and I have the latest drivers of everything (even reviewed with iobit drivers  booster)

:/
14
By “main menu” do you mean the attract config GUI menu?

Display Menu, and submenu... ARCADES CONSOLES PCGAMES COMPUTERS

Those are components of a particular theme. Always try a different theme first. Your issue with theme resources eating cpu could be related to video drivers. Update to the latest for your video card and try it again. I had an HD4350 that barely ran attract on default drivers. Downloaded the latest and bam!
15
By “main menu” do you mean the attract config GUI menu?

Display Menu, and submenu... ARCADES CONSOLES PCGAMES COMPUTERS
16

Hi,
 I discovered that deactivating the flyer, marquee and snap no longer freeze or put the CPU to 100%,
 what solution do you think for, the nvidia drivers are the latest version?

Regards
17
Scripting / Reload a module "Transition.ToNewList"
« Last post by qqplayer on Yesterday at 02:40:01 AM »
Any way to reload a module when I change to another gamelist?
I mean , I have made a little change to the conveyour_helper from Arcadebliss:

http://forum.attractmode.org/index.php?topic=1945.45

Lines 1989 - 1990

Code: [Select]
filename = "fe.script_dir "+fe.game_info(Info.Emulator)+".png";
filename = (fileExist(filename)) ? filename :  amPath + "modules/conveyour_helper/"+fe.game_info(Info.Emulator)+".png";

So , if I have the same layout for different systems it doesnt change my "emulatorbackground" I need the layout to reload the module every time I change to another list,system,emulator...
18
Scripting / Re: Progress Bar
« Last post by Giacomo1982 on April 20, 2018, 11:49:43 PM »
Thanks for the fast reply keilmillerjr, but I'm not a coder, could you correct this line? Thanks

local width = (1.00 / fe.list.size) * fe.list.index;
local bar = fe.add_image("white.png", flx*0.10, fly*0.05, flw*progress, flh*0.05);
19
Scripting / Re: Progress Bar
« Last post by keilmillerjr on April 20, 2018, 07:08:35 PM »
Magic Tokens can only be used by certain default functions provided my attract.

https://github.com/mickelson/attract/blob/master/Layouts.md#magic

I don’t think your formula is correct anyways. You can give your object a default width, divide it by the list size, and multiply it by the index. Reassign object width.

https://github.com/mickelson/attract/blob/master/Layouts.md#CurrentList
20
General / Re: Big Problem without solution - Attract mode freezes in main menu
« Last post by keilmillerjr on April 20, 2018, 06:59:44 PM »
By “main menu” do you mean the attract config GUI menu?
Pages: 1 [2] 3 4 ... 10