archimage Posted March 1, 2017 Share Posted March 1, 2017 (edited) Hello, I have managed to start Retroarch on my secondary 15khz CRT monitor with a specific CFG file, but I also would like to switch the resolution of the monitor according to the emulator I want to launch automatically. I have managed to find the command I want to change the resolution : ChangeScreenResolution.exe /w=256 /h=240 /f=60 /b=32 /d=4 Then I created a batch file with these : ChangeScreenResolution.exe /w=256 /h=240 /f=60 /b=32 /d=4 Retroarch.exe --config o:\emu\retroarch\config\224p.cfg But I don't know how to make Launchbox launch a specific rom with this batch file. Can somebody help please ? Best regards Edited March 1, 2017 by archimage Quote Link to comment Share on other sites More sharing options...
Lordmonkus Posted March 1, 2017 Share Posted March 1, 2017 Not sure if it would work in this specific case or not but in the past when using a batch file to launch games like for example using SSF for the Saturn and mounting CDs you would set the batch file itself as an emulator and have your games use that "batch file emulator". Like I said though I am not sure if this will work in your specific case or not but it is worth a try. Quote Link to comment Share on other sites More sharing options...
archimage Posted March 1, 2017 Author Share Posted March 1, 2017 Yes that's what I want to do, but I don't know how to make Launchbox launch a specific game with the batch file, what would be the syntax ? Quote Link to comment Share on other sites More sharing options...
archimage Posted March 1, 2017 Author Share Posted March 1, 2017 I take Snes and mario.zip as example, and here's my .bat file : ChangeScreenResolution.exe /w=256 /h=240 /f=60 /b=32 /d=4 Retroarch.exe How can I tell this .bat file to include the game path mario.zip and the --config arguments stored in launchbox in the process ? Quote Link to comment Share on other sites More sharing options...
Lordmonkus Posted March 1, 2017 Share Posted March 1, 2017 It would depend on the emulator and how it works that will determine the actual bat file would look. I am no bat file expert so hopefully someone much better at them will pop in and see this but here is the bat file I used for mounting Saturn games for SSF: @echo off set game=%1% set daemon="C:\Program Files (x86)\DAEMON Tools Lite\DTLite.exe" set emu="H:\Emulation\Emulators\SSF\SSF.exe" %daemon% -mount 0, %game% start /wait "" %emu% %daemon% -unmount 0 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.