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

Strict Mode not functioning? #501

Open Ric-82 opened 1 month ago

Ric-82 commented 1 month ago

Hi, I don't know if it's just me but I can't get the strict mode to work.

I made a save state of a running Windows game and then turned on strict mode. I was expecting the OS to automatically boot and then run the game from the previously made save state, but instead I get the dosbox menu (and the option to run the installed OS is no longer there).

I also see a couple of retroarch messages, which confirm to me that the save state has been automatically loaded (as expected) but also state that you can't run something from a save state of a content that isn't actually running.

So I'm stuck.

What am I doing wrong?

schellingb commented 1 month ago

I think you are confusing what strict mode actually is. It is described in the options as:

Disable the command line, running installed operating systems and using .BAT/.COM/.EXE/DOS.YML files from the save game.

So in more detail:

So with it enabled, loading a given ZIP file will only allow the player to use what is inside that ZIP file. A user couldn't run a cheat tool or use the command line to pass custom command line arguments or modify the file system. Because a booted operating system can really do anything it wants that needs to be disabled, too.

So this is meant for a mode where the loaded content files are fixed and the player cannot modify or cheat.

Ric-82 commented 1 month ago

Oh, I see.

Yes, you're right, I had completely misunderstood what that feature was for.

Thank you for the quick reply.