dosbox-pure icon indicating copy to clipboard operation
dosbox-pure copied to clipboard

[Android] Crashes when trying to create hard disk for mounted Win98 cd if RA System folder is on external card

Open dre10g opened this issue 3 years ago • 5 comments

Using Dosbox-pure 0.9.6 on RA64 Mount my Windows 98 SE iso Select "Boot and Install New Operating System" It asks for hard disk size.. i've tried 512, 1024 and 2048 Retroarch just crashes back to home screen when size is selected. Something to do when creating the .img as my system folder is on my sdcard? SYSTEM_DIRECTORY: "/storage/40F7-B9ED/roms/bios" Chang System folder for retroarch to point to the internal storage and it works fine.

dre10g avatar Jun 28 '22 04:06 dre10g

I got around issues like this by installing Windows 98 on my PC first, then copying the image that gets generated to my phone. I also found disabling 'Force Normal Core in OS' resulted in a more reliable installation process.

michaeljsiena avatar Jun 28 '22 10:06 michaeljsiena

Is your system folder still pointing to external SD card? So you copied the image to the card and not internal?

dre10g avatar Jun 28 '22 10:06 dre10g

Is your system folder still pointing to external SD card? So you copied the image to the card and not internal?

I have no external SD card so I copied the image to Retroarch/system in my internal storage.

michaeljsiena avatar Jun 28 '22 10:06 michaeljsiena

I just tried it and had the same result. I don't think with recent Android version an app can have write permissions on anything but /Android/data/com.retroarch.aarch64/. So having the system point to some read-only directory will indeed lead to a crash. Though don't quote me on that, maybe there's some way to make that happen (maybe with root?).

I will fix the crash and replace it with an error message about it not being able to create the file.

schellingb avatar Jun 28 '22 14:06 schellingb

So now in the just released version 0.9.7 the core doesn't crash anymore if it can't write to the System folder. It will show a message notification instead. To use the feature, you'll have to change the System folder in the RetroArch options to something that it has write access to.

schellingb avatar Jul 06 '22 15:07 schellingb