bbweiners Posted January 26, 2018 Share Posted January 26, 2018 Hi, Right now I have to create this script for every game that I want to use it on. I have to enter the emulator and game paths to get it to launch. Is there a way that I could use this script as an emulator in Launchbox and have it work for any game that I try launching? Thanks! MouseMove, 1920, 1080 RunWait, C:\Windows\nircmd\nircmd.exe monitor off Run, "C:\Users\a9041158\Documents\Ishiiruka.Stable.758(05f5dddab).x64\Dolphin.exe" /e C:\Users\a9041158\Documents\iso\Muramasa__The_Demon_Blade.iso Sleep, 500 Run, C:\Windows\nircmd\nircmd.exe monitor on $Esc:: { RunWait, C:\Windows\nircmd\nircmd.exe monitor off Sleep, 500 Process, Close, dolphin.exe Run, C:\Windows\nircmd\nircmd.exe monitor on } Quote Link to comment Share on other sites More sharing options...
bbweiners Posted January 26, 2018 Author Share Posted January 26, 2018 Currently I'm just trying to get this to work for Dolphin. Quote Link to comment Share on other sites More sharing options...
teeedubb Posted January 26, 2018 Share Posted January 26, 2018 pass the rom file onto the script as a variable: dolphin-wrapper.ahk "C:\Users\a9041158\Documents\iso\Muramasa__The_Demon_Blade.iso" Change this line to Run, "C:\Users\a9041158\Documents\Ishiiruka.Stable.758(05f5dddab).x64\Dolphin.exe" /e %1% 1 Quote Link to comment Share on other sites More sharing options...
bbweiners Posted January 26, 2018 Author Share Posted January 26, 2018 I tried doing that. All it does is open Dolphin. No game is loaded. Quote Link to comment Share on other sites More sharing options...
teeedubb Posted January 26, 2018 Share Posted January 26, 2018 Use the ahk function msgbox to troubleshoot, ie see if the variable is being passed on correctly Quote Link to comment Share on other sites More sharing options...
bbweiners Posted January 26, 2018 Author Share Posted January 26, 2018 (-b -e) were still in the Default Command-Line Parameters. That's why it wasn't working. Thanks! Quote Link to comment Share on other sites More sharing options...
bbweiners Posted January 27, 2018 Author Share Posted January 27, 2018 Thanks again for your help @teeedubb! Quote Link to comment Share on other sites More sharing options...
nadonate Posted January 30, 2018 Share Posted January 30, 2018 Dolphin devs keep flip-flopping the command line switches.... . Must be an inside joke? Quote Link to comment Share on other sites More sharing options...
bbweiners Posted January 31, 2018 Author Share Posted January 31, 2018 I've noticed that. 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.