Attract-Mode Support Forum

Attract-Mode Support => Scripting => Topic started by: jedione on July 10, 2020, 03:57:28 PM

Title: same game start?
Post by: jedione on July 10, 2020, 03:57:28 PM
how would one make it so every time you go into theme, it starts on the same game,,,,,,
not the last game selected....

thanks for any input.    could be somthing simple...  not shure
Title: Re: same game start?
Post by: progets on July 10, 2020, 06:06:56 PM
I don't think there is an easy way. The information is stored in the attract.am file but not in a user friendly way.

You could enter every system and run the desired game to be the "first". Then exit AM and make a copy of attract.am. This attract.am should be what you want. Now you would need to apply/copy back this attract.am every time you run AM.

Maybe with a simple batch file or script.
Code: [Select]
cd C:\AttractMode
delete attract.am
copy attract.am.copy attract.am
attract.exe
Title: Re: same game start?
Post by: keilmillerjr on July 11, 2020, 04:10:33 AM
Use transition callback and change the list index.
Title: Re: same game start?
Post by: jedione on July 11, 2020, 06:30:48 AM
Use transition callback and change the list index.
Not shure how to do, but I will try. Thanks for yout
Input..
Title: Re: same game start?
Post by: keilmillerjr on July 11, 2020, 05:10:11 PM
Use transition callback and change the list index.
Not shure how to do, but I will try. Thanks for yout
Input..

Not a problem. Get something started and then pm me on discord if you need further help.
Title: Re: same game start?
Post by: jedione on July 12, 2020, 05:16:47 AM
thanks keil for your help.....its know working.....