Attract-Mode Support Forum

Attract-Mode Support => General => Topic started by: moonpatrol on October 24, 2018, 11:03:38 AM

Title: American Laser Games Help!
Post by: moonpatrol on October 24, 2018, 11:03:38 AM
So i have american laser games running on my c drive using bat files and working fine. Eventually i want to use vbs files to launch the bat files to hide the cmd window. But when i set it up in attractmode the games are not launching. Here is what i have for the emulator. So basically i want to just launch the batch file not a .exe because the batch file launches the games.

executable           cmd
args                 /c "[romfilename]"
rompath              C:/Daphne Singe
romext               .bat; .vbs

So what am i doing wrong?
Title: Re: American Laser Games Help!
Post by: progets on October 24, 2018, 08:57:37 PM
I don't think most people use .bat files for these type of games in AttractMode.

http://forum.attractmode.org/index.php?topic=503.msg6363#msg6363
Title: Re: American Laser Games Help!
Post by: hermine.potter on October 25, 2018, 12:30:35 AM
A little note on using batch files:
If you convert a .bat file with this tool (http://www.f2ko.de/en/b2e.php) to .exe you are able to suppress the command window / start it invisible.
Title: Re: American Laser Games Help!
Post by: moonpatrol on October 25, 2018, 06:25:31 AM
A little note on using batch files:
If you convert a .bat file with this tool (http://www.f2ko.de/en/b2e.php) to .exe you are able to suppress the command window / start it invisible.
Ok thank you got it launching and thhe command window is hidden.
Title: Re: American Laser Games Help!
Post by: moonpatrol on October 25, 2018, 08:26:46 AM
One more question, i only have mame left to setup. I want to use my retroarch and mame libretro setup. Does any know how to setup retroarch and mame with attractmode?
Title: Re: American Laser Games Help!
Post by: progets on October 25, 2018, 08:57:14 PM
One more question, i only have mame left to setup. I want to use my retroarch and mame libretro setup. Does any know how to setup retroarch and mame with attractmode?

MAME.cfg emulator file. You'll need to adjust the paths for your system.
Code: [Select]
# Generated by Attract-Mode v2.4.1
#
executable           \Emulators\RetroArch\retroarch.exe
args                 -f -L cores\mame_libretro.dll "[romfilename]"
rompath              \Roms\MAME
romext               .zip
system               Arcade
import_extras        .\extras\mame.xml;.\extras\catver.ini;.\extras\nplayers.ini
Title: Re: American Laser Games Help!
Post by: clockman on October 25, 2018, 11:42:50 PM
Do I need the import_extras line?
Title: Re: American Laser Games Help!
Post by: progets on October 26, 2018, 12:17:12 AM
Do I need the import_extras line?

If you want to provide the most specific information about the MAME games when creating romlists to later use with rules to filter and/or better describe the games in layouts it needs to be done one of three ways in your emulator MAME.cfg file.
1. use the real/full MAME emulator (not the RetroArch core)
Code: [Select]
info_source          listxml
2. (works with RetroArch) provide the files listed in the import_extras line to let Attractmode where they are located (something like)
Code: [Select]
import_extras        .\extras\mame.xml;.\extras\catver.ini;.\extras\nplayers.ini
3. (works with RetroArch) scrape the info from thegamesdb.net
Code: [Select]
system               Arcade
info_source          thegamesdb.net

You can also not provide any of this information and you can generate a romlist that will be usable but show you raw file names instead of the actual arcade game names. They will also lack the proper meta data for the games such as number of players, genre, year made, manufacturer, etc.

If you want to learn more about MAME you should search the forum (there's a lot out there on this) or make another thread. At this point this has nothing to do with American Laser Games.