Ronen1984 Posted yesterday at 01:34 PM Posted yesterday at 01:34 PM Hi all, I have a question about integrating SCUMMVM fully with Launchbox. As of now, I can only add SCUMMVM as an "emulator" for Launchbox and the games i have work just fine. However, the scummvm.ini is not being used and my copy of monkey island 2 is playing with mt-32 support but without the MIDI mix mode which is working properly if i launch the game directly from SCUMMVM. Is there any way to configure this via Launchbox? Quote
Tsik Posted yesterday at 06:19 PM Posted yesterday at 06:19 PM (edited) Hello, if you want to use a specific scummvm.ini file place the below command into the emulators Default Command-Line Parameters --config="path_to_your_scummvm.ini" -p %romfile% --auto-detect --no-console Hope it Helps. 🙂 Edited yesterday at 06:29 PM by Tsik Quote
Ronen1984 Posted yesterday at 07:01 PM Author Posted yesterday at 07:01 PM Hey, thanks for the answer. I tried it and it doesn't work. when i launch the game it's without the mixed settings as supposed to be in scummvm.ini file. when i press CTRL + F5 and select "return to launcher" i do get my SCUMMVM with all of it's settings. it's really weird. I tried re adding the game but it doesn't seem to work. I play from SCUMMVM and it works just fine. with Launchbox i get some default settings. Quote
JoeViking245 Posted yesterday at 07:28 PM Posted yesterday at 07:28 PM 19 minutes ago, Ronen1984 said: I tried it and it doesn't work Can you share some screenshots? Edit your ScummVM emulator (in LaunchBox) and show The main Details section The Associated Platforms section Edit your Monkey Island 2 game and show The Launching section The Emulation section Quote
Tsik Posted yesterday at 08:20 PM Posted yesterday at 08:20 PM If I may add to the above perhaps you can show us the location of your scummvm.ini file because the default place is where ScummVm looks/creates its files automatically is "C:\Users\[UserName]\AppData\Roaming\ScummVM" if you are pointing to anywhere else you might want to delete that folder and check again. Quote
JoeViking245 Posted yesterday at 08:48 PM Posted yesterday at 08:48 PM 10 minutes ago, Tsik said: the default place is where ScummVm looks/creates its files automatically is "C:\Users\[UserName]\AppData\Roaming\ScummVM" (side note) If you have LaunchBox install or update ScummVM for you, during this process, LaunchBox will create an empty "scummvm.ini" file in the emulators folder (if one doesn't exist there). Making ScummVM portable. With that, if your settings were originally all saved under %AppData% and you had LB update the emulator, the 'older' setting are not copied over. This however does not explain why when launched outside on LaunchBox, the specific settings load. But not, when launched from within LaunchBox. Unless the testing is inadvertently being done between 2 separate installs of ScummVM. Quote
Tsik Posted yesterday at 09:05 PM Posted yesterday at 09:05 PM 13 minutes ago, JoeViking245 said: If you have LaunchBox install or update ScummVM Yes, that's also another thing to keep in mind... which I have to admit I never used, so I didn't took into consideration. Thanks 😁 1 Quote
Ronen1984 Posted 17 hours ago Author Posted 17 hours ago 9 hours ago, JoeViking245 said: Can you share some screenshots? Edit your ScummVM emulator (in LaunchBox) and show The main Details section The Associated Platforms section Edit your Monkey Island 2 game and show The Launching section The Emulation section Here you go: The main Details section The Associated Platforms section The Launching section The Emulation section Quote
Tsik Posted 12 hours ago Posted 12 hours ago (edited) Ok lets see, I assume that you have installed ScummVM from within LaunchBox and that is the ONLY ScummVM installed in your system. If that is correct then Is the problem occurs only with that particular game, only for that mixed AdLib/MIDI mode setting? (If you happen to have any others does those games work as expected)? What happens if you right-click your game (from LaunchBox) and select 'Open ScummVm', does the gui show all the games with their individual options correctly ? You said: "i launch the game directly from SCUMMVM", is that same "..\LaunchBox\Emulators\ScummVM\scummvm.exe" or is it another? If you use the exact "..\LaunchBox\Emulators\ScummVM\scummvm.ini" file there is no-need to use the '--custom=...' argument I suppose that you already checked the %AppData%\Roaming\ScummVM path for any additional inis. (just to put that out of the equation) The next step is to open the working scummvm.exe (outside of launchBox) and navigate to 'Global Options' > Paths' and read the 'ScummVM Config Path' where the correct ini path is. I tried to reproduce your exact installation and everything works as expected. If I use the '--custom=...' argument to another ini the options from that ini load fine BUT ONLY as the game is active, meaning that if I right-click the game and select 'Open ScummVm', the gui is empty. As a last step I would suggest you run the game normally make sure the checkbox 'Attempt to hide the console window...' (from the Emulator edit window) is unchecked and as your game launches use Alt+Enter to go in window mode and copy/paste the text from the console window below to take a look... 🙂 Edited 12 hours ago by Tsik Quote
Ronen1984 Posted 11 hours ago Author Posted 11 hours ago 39 minutes ago, Tsik said: Ok lets see, I assume that you have installed ScummVM from within LaunchBox and that is the ONLY ScummVM installed in your system. If that is correct then Is the problem occurs only with that particular game, only for that mixed AdLib/MIDI mode setting? (If you happen to have any others does those games work as expected)? What happens if you right-click your game (from LaunchBox) and select 'Open ScummVm', does the gui show all the games with their individual options correctly ? You said: "i launch the game directly from SCUMMVM", is that same "..\LaunchBox\Emulators\ScummVM\scummvm.exe" or is it another? If you use the exact "..\LaunchBox\Emulators\ScummVM\scummvm.ini" file there is no-need to use the '--custom=...' argument I suppose that you already checked the %AppData%\Roaming\ScummVM path for any additional inis. (just to put that out of the equation) The next step is to open the working scummvm.exe (outside of launchBox) and navigate to 'Global Options' > Paths' and read the 'ScummVM Config Path' where the correct ini path is. I tried to reproduce your exact installation and everything works as expected. If I use the '--custom=...' argument to another ini the options from that ini load fine BUT ONLY as the game is active, meaning that if I right-click the game and select 'Open ScummVm', the gui is empty. As a last step I would suggest you run the game normally make sure the checkbox 'Attempt to hide the console window...' (from the Emulator edit window) is unchecked and as your game launches use Alt+Enter to go in window mode and copy/paste the text from the console window below to take a look... 🙂 Thanks for the help! To answer your questions after now using this in the emulator default command-line: --config="..\LaunchBox\Emulators\ScummVM\scummvm.ini" -p %romfile% --auto-detect this happens with all games i suppose, monkey island 2 is the only game which uses this "mixed" mode. When i open SCUMMVM from launchbox i do get to the same location it is installed with all of the settings correct. I have checked %AppData%\Roaming\ScummVM and there are no ini files. When i launch the game now with the new command-line which i pasted above, i get this masage from the console: WARNING: File::open: node does not exist! Creating configuration file: ..\LaunchBox\Emulators\ScummVM\scummvm.ini GameID Description Full Path ------------------------------ ---------------------------------------------------------- --------------------------------------------------------- scumm:monkey2 Monkey Island 2: LeChuck's Revenge (DOS/English) C:\Users\ronen\LaunchBox\Games\ScummVM\Monkey Island 2\ WARNING: Unable to write configuration file: ..\LaunchBox\Emulators\ScummVM\scummvm.ini! WARNING: Unable to write configuration file: ..\LaunchBox\Emulators\ScummVM\scummvm.ini! User picked target 'monkey2' (engine ID 'scumm', game ID 'monkey2')... WARNING: Unable to write configuration file: ..\LaunchBox\Emulators\ScummVM\scummvm.ini! * All of the settings are now set as default fresh SCUMMVM install. this happens with every single game. Quote
Tsik Posted 10 hours ago Posted 10 hours ago First of all just for the sake of this "debugging" lets use full file paths e.g. C:\Users\ronem\Launchbox\etc." as your Details section screenshot and not relative such as "..\LaunchBox\etc" and "\LaunchBox\etc." just for keeping things straight and point everything to the right "targets". Later after everything works you will return to the relative side of things. After doing the above: Check the file properties of the actual scummvm.ini file (right-click > properties) check and apply the 'unblock' box (if exists) down at the bottom to give the file write permissions and re-paste the console window because you got a "WARNING: Unable to write configuration file:..' in the console, which by the way it looks like it is creating it from the beginning as fresh [Creating configuration file: ..\LaunchBox\Emulators\ScummVM\scummvm.ini] If you open "the working as expected" scummvm.exe (outside of launchBox) and navigate to 'Global Options' > Paths' where it says the ini path is? After that we can try and do a fresh start (if you agree of course) from the beginning (keeping the working ini as a backup) with step by step guide. We can try to edit something very obvious to an option such as change only the themeat first and check if that is loading correctly then change the options only for Monkey Island and repeat... 🙂 Quote
Ronen1984 Posted 9 hours ago Author Posted 9 hours ago I put the full path: --config="C:\Users\ronen\LaunchBox\Emulators\ScummVM\scummvm.ini" -p %romfile% --auto-detect --no-console Now when launching from Launchbox i get the default "Global settings" of SCUMMVM and not the one i did individually for monkey island 2 with the "mixed" mode. I did an entirly new install of scummvm from launchbox and created a new ini file followed. One thing iv'e noticed: When launching the game from SCUMMVM itself, I save the file to one location (inside the program folder) and from Launchbox to another (inside %AppData%\Roaming\ScummVM). Quote
Tsik Posted 9 hours ago Posted 9 hours ago 40 minutes ago, Ronen1984 said: I save the file to one location (inside the program folder) and from Launchbox to another (inside %AppData%\Roaming\ScummVM) I am not sure what you mean by that... perhaps that the location of the ini file differs from standalone (by double clicking scummvm.exe) to the path seeing the from Global Options as you returning from the game to the gui (Ctrl+F5) ? Quote
Ronen1984 Posted 8 hours ago Author Posted 8 hours ago 14 minutes ago, Tsik said: I am not sure what you mean by that... perhaps that the location of the ini file differs from standalone (by double clicking scummvm.exe) to the path seeing the from Global Options as you returning from the game to the gui (Ctrl+F5) ? Not the ini, the save location only. it's really strange it's like it's ignoring the ini file location. I'm really don't know what else i can try to do. I tried changing the location of the entire Launchbox install but it's the same problem. Quote
Tsik Posted 8 hours ago Posted 8 hours ago (edited) Ok what ever it is, please try to follow: 1st install ScummVM fresh from with in LaunchBox: 2nd Lets Import Monkey Island into launchbox I put it in LaunchBox\Games\ScummVM: Till this stage you must be able to run the game from within LaunchBox. (correct?) No customizing anything yet (pretty straight forward) Edited 8 hours ago by Tsik Quote
Tsik Posted 8 hours ago Posted 8 hours ago (edited) 4 minutes ago, Ronen1984 said: I'm really don't know what else i can try to do Don't worry if there is anything wrong we will find the issue. 😄 Edited 8 hours ago by Tsik Quote
Tsik Posted 8 hours ago Posted 8 hours ago Continuing... Now if you right-click the game from within LaunchBox choosing 'Open ScummVM': You should get the empty gui ScummVM (correct?): Quote
Tsik Posted 8 hours ago Posted 8 hours ago Perhaps it looks weird but ScummVM can identify the game from its database id just by pointing the game folder to the scummvm.exe although it is not yet imported into the gui. Are you with me till now? No worries if you have to be AFK but it is essential that we are in the same pace just to get the same results. 🙂 Quote
Ronen1984 Posted 8 hours ago Author Posted 8 hours ago 2 minutes ago, Tsik said: Perhaps it looks weird but ScummVM can identify the game from its database id just by pointing the game folder to the scummvm.exe although it is not yet imported into the gui. Are you with me till now? No worries if you have to be AFK but it is essential that we are in the same pace just to get the same results. 🙂 I do have to go for a while but i did found out something rather strange: When i open the game launching SCUMMVM from outside the launcher, the game saves to the "saved games" folder inside the scummvm installation as should. When i open the game from Launchbox, aside from using the global options instead of the game speciefic one, i noticed that i don't have a saved game and when saving a new game, it saves under the correct location inside scumm vm with this file name: monkey2-1.s01 (added "-1" to the file name). Quote
Tsik Posted 8 hours ago Posted 8 hours ago (edited) 2 hours ago, Ronen1984 said: I do have to go for a while Its ok, just leave everything else for now and lets concentrate just to the steps I show you (I now they are baby steps but trust me on this). Will wait for confirmation on the above steps and continue with more custom stuff. Cheers 🙂 Edited 6 hours ago by Tsik Quote
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.