Frontend Tech + >> Emu Loader
Previous thread Previous  View all threads Index   Next thread Next   Flat Mode Flat  

CiroConsentinoModerator
Frontend freak!
Reged: 09/21/03
Posts: 6211
Loc: Alien from Terra Prime... and Brazil
Send PM
new idea: Passing in command line verbs/switches to MAME with EmuLoader
08/04/21 08:53 PM


Instead of re-adding custom command line, which would require a complete rewrite, how about a "Custom Parameters" feature.
I assume you are trying to run a game from the "t99_cart.xml" software list with the speech module attached.

Following your example, we could create a general "custom parameter" for the "t99_cart.xml" software list or a custom parameter for a certain gamename of the "99_cart.xml" softlist.
The machine name should not be set in this custom parameter. You can already run a softlist game by selecting the machine name you want, if that software list is supported by multiple machines.

for a game name in t99_cart softlist:
(\el-dir\arcade\mame\custom_params\t99_cart\gamename.txt) and its contents would be

Code:


[[b]-ioport peb -ioport:peb:slot3 speech -cart1 < gamename>



Where < gamename> would be fixed and mandatory tag that Emu Loader would replace by the game name (softlist or arcade set name).
By using this tag, you could even add more custom parameters AFTER the gamename...

Note that Emu Loader already adds the "media parameter" before the game name (-cart1; -flop1; -cass; etc...), but with the custom parameter feature, EL would ignore this media parameter and not add it before the gamename, leaving that media param to be manually set in custom parameter feature.

the general custom parameter for the "t99_cart" software list would be:
(\el-dir\arcade\mame\custom_params\t99_cart.txt)

So, if EL finds "\t99_cart\gamename.txt" file, that would be used for the selected softlist game.
If that doesn't exist but "t99_cart.txt" is found (softwarelist name), then that would be used.

There will be no .bat files support. I prefer MAME be executed natively as Windows application.

Any thoughts/ideas, anyone ?


Emu Loader
Ciro Alfredo Consentino
home: http://emuloader.mameworld.info
e-mail: [email protected]

Edited by CiroConsentino (08/06/21 04:36 PM)







Entire thread
Subject Posted by Posted on
* Passing in command line verbs/switches to MAME with EmuLoader paultup 06/25/21 01:23 AM
. * Preview 1 CiroConsentinoModerator  08/07/21 03:36 AM
. * new idea: Passing in command line verbs/switches to MAME with EmuLoader CiroConsentinoModerator  08/04/21 08:53 PM
. * Re: Passing in command line verbs/switches to MAME with EmuLoader CiroConsentinoModerator  06/25/21 02:06 AM
. * Re: Passing in command line verbs/switches to MAME with EmuLoader paultup  06/25/21 03:48 PM

Extra information Permissions
Moderator:  CiroConsentino 
0 registered and 3 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 729