schellingb / dosbox-pure

DOSBox Pure is a new fork of DOSBox built for RetroArch/Libretro aiming for simplicity and ease of use.
GNU General Public License v2.0
731 stars 61 forks source link

Load save states from command-line does not auto-mount the CD drive in Windows 98SE #506

Open xxDaVlDxx opened 4 weeks ago

xxDaVlDxx commented 4 weeks ago

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:

Thanks in advance for your awesome work.

alexb3d commented 4 days ago

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

Captura de pantalla de 2024-06-28 04-58-02

schellingb commented 4 days ago

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.

alexb3d commented 4 days ago

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.