Attract-Mode Support Forum

Attract-Mode Support => Scripting => Topic started by: jbraconnier on March 05, 2016, 05:33:59 AM

Title: Add entry in menu to reboot for example
Post by: jbraconnier on March 05, 2016, 05:33:59 AM
Hello

i would like to add a entry in the menu of configuration afer general for example.

Is it possible and how please ?
Title: Re: Add entry in menu to reboot for example
Post by: raygun on March 11, 2016, 11:16:08 PM
To add entries to the configuration menu you would need to change the source code and compile attract-mode yourself.

The configuration menu settings are all in src/fe_config.cpp
Title: Re: Add entry in menu to reboot for example
Post by: bionictoothpick on March 12, 2016, 04:32:11 AM
You could make a layout of system commands. You would have to create a fake romlist with the command for each item you want to do...

Then write a batch file for each "rom" you want to run.
Title: Re: Add entry in menu to reboot for example
Post by: jbraconnier on March 15, 2016, 03:04:50 PM
Thanks for the response
Title: Re: Add entry in menu to reboot for example
Post by: ArcadeBliss on March 21, 2016, 03:27:17 AM
Hello

i would like to add a entry in the menu of configuration afer general for example.

Is it possible and how please ?

Use the menu plugin and make a list of your own. When I get home, I'll send you my menu script that includes the power off feature script
Title: Re: Add entry in menu to reboot for example
Post by: empardopo on March 22, 2016, 08:26:57 AM
Hello

i would like to add a entry in the menu of configuration afer general for example.

Is it possible and how please ?

Use the menu plugin and make a list of your own. When I get home, I'll send you my menu script that includes the power off feature script

Could I use a menu emulators to select one of those? The menu could be something like this
(http://arcadespain.info/Foro/index.php?action=dlattach;topic=4787.0;attach=7083;image)

E.g if I select mame then I want to see the list of games of mame. It's possible?

Thanks in advance.
Title: Re: Add entry in menu to reboot for example
Post by: hermine.potter on March 22, 2016, 10:34:06 AM
@empardpopo
set emulator system 'mame' like this, generate romlist and you get all games of mame if you select emulator system mame:
executable           C:\attract\EMU\mame\mamepp.exe
args                 [name] -skip_gameinfo
rompath              C:\attract\EMU\mame\roms
romext               .zip;.7z;<DIR>
Title: Re: Add entry in menu to reboot for example
Post by: empardopo on March 23, 2016, 04:24:42 AM
@empardpopo
set emulator system 'mame' like this, generate romlist and you get all games of mame if you select emulator system mame:
executable           C:\attract\EMU\mame\mamepp.exe
args                 [name] -skip_gameinfo
rompath              C:\attract\EMU\mame\roms
romext               .zip;.7z;<DIR>

Sorry for my bad english.
I want that when I run AM appears a menu with all my configured emulators in screen.
If I select MAME then I want to see the list of games of MAME; if I select TurboGrafxCD then I want to see the list of games of TurboGrafxCD and so on.

I don't know if this is possible or not. If It's possible I don't know how can I do it.

Thanks in advance.