Jump to content
LaunchBox Community Forums

Appending switches to a MAME command line


snarfo67

Recommended Posts

12 hours ago, spycat said:

Some while back Jason added the %romfile% variable to allow the use of parameters after the ROM file.

I'm not sure if this is what you're looking for.

Aha, that sounds like what I'm after. There are some emulators, MAME functions in particular, that require arguments after the romfile so I'll give that a shot. Thanks.

Link to comment
Share on other sites

I've also never had a need to use the %romfile% variable with any of my emulators, with the exception of blueMSX when I was testing it out with multiple Associated Platforms. It came in very handy then, as it allowed LaunchBox to pass the correct information to enable blueMSX to switch it's emulation mode to match the game's platform.

By the way, Jason also added two other variables back then. Here are the three.

%romfile% - gets replaced with the rom file path.

%platform% - gets replaced with the platform name.

%launchboxorbigboxexepath% - gets replaced with the EXE path to the running instance of LaunchBox or Big Box .

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...