devilchi Posted December 23, 2018 Share Posted December 23, 2018 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. Quote Link to comment Share on other sites More sharing options...
Lordmonkus Posted December 23, 2018 Share Posted December 23, 2018 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. Quote Link to comment Share on other sites More sharing options...
devilchi Posted December 23, 2018 Author Share Posted December 23, 2018 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. Quote Link to comment Share on other sites More sharing options...
Lordmonkus Posted December 23, 2018 Share Posted December 23, 2018 Try putting it in this window: Quote Link to comment Share on other sites More sharing options...
devilchi Posted December 23, 2018 Author Share Posted December 23, 2018 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. Quote Link to comment Share on other sites More sharing options...
JoeViking245 Posted December 23, 2018 Share Posted December 23, 2018 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%. Quote Link to comment Share on other sites More sharing options...
Lordmonkus Posted December 23, 2018 Share Posted December 23, 2018 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/ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.