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

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

Open
dre10g opened this issue Jun 28, 2022 · 5 comments

Comments

@dre10g
Copy link

dre10g commented Jun 28, 2022

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.

@michaeljsiena
Copy link

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.

@dre10g
Copy link
Author

dre10g commented Jun 28, 2022

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

@michaeljsiena
Copy link

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.

@schellingb
Copy link
Owner

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 added a commit that referenced this issue Jun 28, 2022
Show an error notification instead (#293)
@schellingb
Copy link
Owner

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.

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