Jump to content
LaunchBox Community Forums

Recommended Posts

Posted

When managing emulators.  Is there a way to add a command line argument after the [File]?  I need to run mame64.exe channelf [File] -inipath "blah blah".   I have not found a way to do this at the moment and I do not want to have to write a batch file for each system for such a simple task.   Any help would be appreciated.

Posted

I haven't tried this in a while but you can try putting this in your command line arguments:

%romfile% -command -line -arguments

Replace the -command -line -arguments with the actual arguments you want to use for the emulator.

Posted

Thanks Lordmonkus.  I did that for the default emulator command line arguments and no go.  If I do it in the emulation command line arguments for a individual game it works.  Its a solution but having to manually change 100s of games through emulation arguments is a very dirty solution.  I was really hoping to get away from rocket launcher but Im so used to writing and redoing ahk files.   I think launchbox needs to add tokens and allow full editing of the command line for the emulators.  Again thank you for the help and Ill keep this trick in mind if I need it for some games.

Posted

I ran into that and ended up just using an ahk script as the 'emulator'.  It was something like:

#SingleInstance force

SetWorkingDir, F:\Emulators\MAME 0.201 no nag
MAMERun = Mame64.exe
RomDir = F:\Emulators\MAME 0.201 no nag\roms

Run, %MAMERun% "%RomDir%\%1%", , Hide
Exitapp

LB will pass the roms' name to %1%.

Posted
2 hours ago, devilchi said:

Yeah. Thats where I originally tried it.  No go.  Now as I said if I do it in the individual game Emulation Custom command line it works right off the bat.

If it works for one game it should work all games in the platform using that emulator/

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...