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
775 stars 65 forks source link

How to avoid Scan Disk when shutdown windows 98 by close content directly? #516

Closed guozanhua closed 1 month ago

guozanhua commented 3 months ago

When I closed Windows 98, I used an abnormal shutdown method. For example, while playing a Windows 98 game, clicking "Close Content" directly from RetroArch may result in scanning the disk the next time Windows 98 is launched. Is there any way to avoid it?

leilei- commented 3 months ago

Start>Run>msconfig, advanced>Disable Scandisk after bad shutdown

Alternatively you can skip the first 700 frames of rendering, which should get past a routine scandisk and immediately have you at a desktop

schellingb commented 3 months ago

Keep in mind pressing "Close Content" when running Windows 98 inside DOSBox is equal to unplugging the power of a real computer running Windows 98. It can cause file system errors (some fixable by ScanDisk and some not).

The core can be configured to discard any changes made to the C: drive. Then "Close Content" is much less likely to cause problems. Though some games or procedures will probably not work if changes to C: are discarded.

alexb3d commented 3 months ago

I do not recommend to disable the scandisk, it is a system protection system.

Pure has the option 'Discard' in System/OS Disk Modifications. This freezes the C disk, you can close it as you want. Keeping in mind that if you want to install a new game, you must disable the Discard.

Before activating it, I recommend you to start windows, reboot, close windows and before closing the core, activate the option.