christianhaitian / arkos

Another rockchip Operating System
MIT License
1.55k stars 85 forks source link

PX68K config file retaining disk mounts #716

Closed zomgugoff closed 1 year ago

zomgugoff commented 1 year ago

Before submitting your issue or feature request. DO NOT REQUEST ASSISTANTS FOR PRELOADED IMAGES. I do not support or condone the use of preloaded ArkOS images. Preloaded meaning images that come with copyrighted roms preincluded. Look for support from the creator or supplier of those preloaded images, not from here! If a ticket is submitted for assistance for such images or if there's an indiciation that a preloaded image is what the support request is for, the issue ticket will be closed with no further response.

  1. This is not the Stock OS that comes with your device, AmberElec, JelOS, or UnOfficialOS. ArkOS is a different distribution from those systems and will have differing features. The only somewhat similarity is that they both use EmulationStation as a frontend. Even with that, the versions of EmulationStation that's used in between ArkOS and these other distributions is different with different capabilities. If there are features you prefer with the other available distributions, just use those distributions instead. The choice is yours.

  2. Have you reviewed the Frequently Asked Questions section available for your supported device in the wiki? Yes

  3. If your issue is related to being able to run certain emulators or ports, have you reviewed the Emulators and Ports section available at https://github.com/christianhaitian/arkos/wiki/ArkOS-Emulators-and-Ports-information for needed bios files and supported rom extensions? Yes

  4. Have you reviewed the known issues section available at https://github.com/christianhaitian/arkos/wiki/Known-issues ? Yes

Describe the Issue (If applicable)

A clear and concise description of what the bug is. PX68K writes floppy and hard drive filepaths to lines at the bottom of /roms[2]/bios/keropi/config. (RA does not handle disk management for it.) These lines do not clear when exiting or starting the emulator. The system boots floppies first, so a hard drive image never boots while floppy images are listed. Currently, one has to manually unmount any undesired drive images manually with the built-in disk management menu to get games to launch as intended. This is an emulator issue, but I don't know if this will ever be addressed.

I came up with this ex command to clear those lines in the file: ex -sc '%s/^([HF]DD[0-9]+=).*/\1/g | x' /roms2/bios/keropi/config

Running that after the emulator exists would take care of the issue for now.

How can the issue be reproduced? (If applicable)

  1. Start PX68K with a floppy game
  2. Exit
  3. Start PX68K with a hard drive game
  4. The previous floppy game will start

What device are you using?

RG353M

What version of ArkOS are you on?

Anything else you'd like to include that may help to review this issue or feature request?

zomgugoff commented 1 year ago

Welp. I'm an idiot. There were indeed settings in RA for this.