cleverest Posted December 16, 2016 Share Posted December 16, 2016 32 minutes ago, bundangdon said: With rocketlauncher, you may not have to use most of these command lines since they use a 'module' system, and you can select the options/features you would like to use or not use within their own interface-program 'rocketlauncherui' I see...I'm wishing there was a similar list of commands and exactly where in the RL interface to set those things (as needed)....I guess I'll have to just trial and error it...thanks. Quote Link to comment Share on other sites More sharing options...
cleverest Posted December 16, 2016 Share Posted December 16, 2016 Wow that was really helpful! Thanks a lot! 1 Quote Link to comment Share on other sites More sharing options...
Trihy Posted December 18, 2016 Share Posted December 18, 2016 (edited) @bd00 Hi, thanks for your script for m2, but I cant make the script works. Could you please post a bat file or check what Im doing wrong? I made the file on desktop, copy pasted and put the roms and emu paths. But when launch the .bat it opens a cmd and close after a second. It looks like this: Quote echo off :: Change these to relevant paths (NO QUOTES) set roms=D:\ROMSM2\ set emu=C:\M2\emulator_multicpu.exe set exe=emulator_multicpu.exe ::############################################################### ::############################################################### ::############################################################### :: Change nothing below here. ::############################################################### set batloc=%~dp0 :: Creates a temp filelist of the romset cd /d "%roms%" for /f "delims=" %%f in ('dir /A-D /B /O:GEN') do echo %%~nf>> "%batloc%\filelist.txt" cd /d "%batloc%" :: Creates a temp batch file which serves as the template to be duplicated echo cd ..> template.bat echo start "Emulator" "%emu%\%exe%" %%~n0>> template.bat :: Creates a "launcher" batch file for each entry in the filelist mkdir "%batloc%\output" set output=%batloc%\output for /f "usebackq delims=," %%b in (`TYPE filelist.txt`) do copy template.bat "%output%\%%b.bat" del filelist.txt del template.bat :: Moves each batch file to it's own folder cd /d "%output%" for %%m in (*.bat) do ( md "%%~nm" 2>nul move "%%m" "%%~nm" ) :: Finish up msg * Finished! Now rename all folders to the game name. start "" "%output%" Thanks! Edited December 18, 2016 by Trihy Quote Link to comment Share on other sites More sharing options...
DOS76 Posted December 18, 2016 Share Posted December 18, 2016 Just to let you know @bd00 hasn't been seen around these parts in a long time so I wouldn't wait around for that .bat to come through unless someone else can give you a hand. Quote Link to comment Share on other sites More sharing options...
Trihy Posted December 18, 2016 Share Posted December 18, 2016 Thanks, added more info, so maybe other users can help me. Quote Link to comment Share on other sites More sharing options...
Maddoc1007 Posted December 18, 2016 Share Posted December 18, 2016 (edited) @Trihy Each bat must be in a folder named as the game here is copy of what is inside bel.bat remember save as rom name bat (bel.bat = rom.bat = behind enemy lines.bat you get the idea?) and to put bat inside folder with game name (folder name = Behind Enemy Lines) cd /d "C:\Users\PC\Documents\LaunchBox\Emulators\Model 2" start "Emulator" "C:\Users\PC\Documents\LaunchBox\Emulators\Model 2\emulator_multicpu.exe" %~n0 Edited December 18, 2016 by Maddoc1007 1 Quote Link to comment Share on other sites More sharing options...
CTRL-ALT-DEFEAT Posted December 18, 2016 Share Posted December 18, 2016 1 hour ago, Trihy said: @bd00 Hi, thanks for your script for m2, but I cant make the script works. Could you please post a bat file or check what Im doing wrong? I made the file on desktop, copy pasted and put the roms and emu paths. But when launch the .bat it opens a cmd and close after a second. It looks like this: Thanks! Can you put a pause into the .BAT and see if it gives an error? If you don't know how to do that, just edit the .BAT, scroll to the bottom, type the word pause as it's own line and then save it. Run the .BAT and it will not close the CMD window until a key is pressed, so you can see if it reports a bad syntax or some other such issue with the script. Quote Link to comment Share on other sites More sharing options...
Maddoc1007 Posted December 18, 2016 Share Posted December 18, 2016 @CTRL-ALT-DEFEAT put a pause at end of bat ran it, exited game, it leaves CMD window open until a key is pressed once key is pressed it exits CMD no syntax error or error of any kind or issues. Quote Link to comment Share on other sites More sharing options...
CTRL-ALT-DEFEAT Posted December 18, 2016 Share Posted December 18, 2016 27 minutes ago, Maddoc1007 said: @CTRL-ALT-DEFEAT put a pause at end of bat ran it, exited game, it leaves CMD window open until a key is pressed once key is pressed it exits CMD no syntax error or error of any kind or issues. The error would be in the CMD prompt itself, so you'd have to keep it open and scroll through it. Try this, edit the .BAT, remove the pause line and add this instead: copy > log.txt Run the batch file. It should output a file called log.txt in the same location as the .BAT file. This text file should contain any possible issues, so copy and paste whatever is in it here. Quote Link to comment Share on other sites More sharing options...
Maddoc1007 Posted December 18, 2016 Share Posted December 18, 2016 @CTRL-ALT-DEFEAT The syntax of the command is incorrect. this is log Quote Link to comment Share on other sites More sharing options...
CTRL-ALT-DEFEAT Posted December 18, 2016 Share Posted December 18, 2016 10 minutes ago, Maddoc1007 said: @CTRL-ALT-DEFEAT The syntax of the command is incorrect. this is log My apologies, replace the word "copy" with whatever your .BAT file is named. i.e., test.bat > log.txt Quote Link to comment Share on other sites More sharing options...
Maddoc1007 Posted December 18, 2016 Share Posted December 18, 2016 @CTRL-ALT-DEFEAT Just did i get an empty log.txt file with nothing in it Quote Link to comment Share on other sites More sharing options...
DOS76 Posted December 18, 2016 Share Posted December 18, 2016 Why are you using .bat files for Model 2 games if no one minds me asking Quote Link to comment Share on other sites More sharing options...
Maddoc1007 Posted December 18, 2016 Share Posted December 18, 2016 @DOS76 I'm not someone asked about the use of the bat bd00 used way back and i replied then @CTRL-ALT-DEFEAT asked me to test few things with bat and i did. The emulator_multicpu runs roms zips fine without the use of bats through LaunchBox/BigBox. Quote Link to comment Share on other sites More sharing options...
DOS76 Posted December 18, 2016 Share Posted December 18, 2016 Okay I didn't think you need anything like that mine all run fine. Quote Link to comment Share on other sites More sharing options...
Maddoc1007 Posted December 18, 2016 Share Posted December 18, 2016 Long time ago that was the only way that model 2 games would launch was through bats but cant remember what instance of the m2 emulator changed that as is to long ago now to remember. Quote Link to comment Share on other sites More sharing options...
Trihy Posted December 18, 2016 Share Posted December 18, 2016 (edited) OMG, so much help and info! Thanks guys, I ll have access to the pc a little later today and will post findings. Edit: @Maddoc1007, did the bel.bat as you say and seems it´s working. I have to try on launcher, but at least clicking the bat file will launch the game. Will report later. Edit2. Not sure why, it only launch fine bel.bat. Copy the bat and replaced the name with other roms, but just open the emulator and wont load rom. Edit3. My bad, launch most games fine, just a few wont launch. Edited December 18, 2016 by Trihy Quote Link to comment Share on other sites More sharing options...
DOS76 Posted December 18, 2016 Share Posted December 18, 2016 (edited) the checkboxes have to look like this then you won't need any .bat files Edited December 19, 2016 by DOS76 Quote Link to comment Share on other sites More sharing options...
Trihy Posted December 19, 2016 Share Posted December 19, 2016 Hi, thanks, that way works fine. I was trying to have some bat files to make it more compatible with all the launchers in case I want to share some. But still no luck. Tried to launch the bat files with other launchers and m2 emulator will just open without launching game. Quote Link to comment Share on other sites More sharing options...
DOS76 Posted December 19, 2016 Share Posted December 19, 2016 Okay you lost me with the other launchers I don't know what you mean by this 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.