dosbox-pure
dosbox-pure copied to clipboard
Load save states from command-line does not auto-mount the CD drive in Windows 98SE
I am trying to use this interesting feature of loading states from command line while launching a game (RA: 1.19.0 Core: 0.9.9): https://forums.libretro.com/t/load-save-states-from-command-line-or-playlist-try-out-now/35965
This allows me to land directly in the game while runing dosbox with a Windows 98SE image without booting the OS, launching the game, put it manually in full-screen, etc etc:
The problem is that doing it, the CD does not get automatically mounted in Windows 98SE.
Steps to reproduce:
- With a zip file containing bin/cue filles called "Pitfall - The Mayan Adventure", open the zip file with retroarch and dosbox pure
- Select the Operating System Windows 98SE to launch them.
- Notice that Windows 98SE loads with the cd-rom auto mounted in Drive E:
- Launch the game and configure all the parameters as desired
- Save State
- Close Retroarch
- Go to /states/ and rename "Pitfall - The Mayan Adventure.state" to "Pitfall - The Mayan Adventure.state1.entry"
- Launch Retroarch again, from command line, adding "-e 1" as a parameter before the zip file
- The game loads directly, but after few seconds a message appears saying that the CD-ROM has not been found and the game exits.
- Notice that Windows 98SE does not have the cd-rom mounted in Drive E:
Thanks in advance for your awesome work.
That is old, obsolete and a special compilation was needed.
RetroArch has in 'Settings > Saving', the options 'Auto Save State and Auto Load State', and of course, load the game from the command line.
But it doesn't work, it appears an error that the save cannot be loaded if the game is not running. I have the default options @schellingb
Do you have the game set as auto start in the start menu? Because we can't load (or save) a save state before the EXE has been started in DOSBox. But it should work if using auto start where the start menu doesn't appear and the EXE is started straight away. I have not tried 'Auto Load State' yet. If you say combination of Auto Start (from the core's start menu) and Auto Load State (from RetroArch) doesn't work, I'll have to look into it.
Yes, activate auto start, both in DOS and Windows games.
But the Auto Load State is instantaneous, it loads as soon as the game starts and does not give time to load the EXE.
The newest version 1.0-preview1 available here and from the RetroArch online core downloader now has improvements for 'Auto Load State'. @xxDaVlDxx , can you try it with the newest version?