Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
xxDaVlDxx opened this issue Jun 3, 2024 · 3 comments

Comments

@xxDaVlDxx
Copy link

xxDaVlDxx commented Jun 3, 2024

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.

@alexb3d
Copy link

alexb3d commented Jun 28, 2024

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
Copy link
Owner

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
Copy link

alexb3d commented Jun 28, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants