christianhaitian / arkos

Another rockchip Operating System
MIT License
1.58k stars 87 forks source link

ScummVM not remembering options #1225

Open kleingeld1 opened 5 days ago

kleingeld1 commented 5 days ago

Not on preloaded images, yes I checked the FAQs.

Describe the Issue (If applicable)

ScummVM does not remember the settings for volume and subtitles. Upon next start all volume settings are back to 255 and subtitles off. Tried different games (samnmax, brokensword).

How can the issue be reproduced? (If applicable)

Set volume and or subtitles. Save game. Restart ScummVm.

What device are you using? (Only the Gameforce Chi, RK2020, OGA 1.0, OGA 1.1, RG351MP, RG351V, RGB10, R35s, RG353V/VS, RG353M, RG503, RGB30, and RK2023 units are officially supported)

RGB30 and R36S

What version of ArkOS are you on?

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

christianhaitian commented 4 days ago

Are you using a 2 SD card setup or just 1?

kleingeld1 commented 4 days ago

I am using 2 cards.

christianhaitian commented 4 days ago

Try doing Switch to main sd card, reboot the unit, then do switch to sd2 again and see if that resolves the issue for you.

kleingeld1 commented 4 days ago

I tried that, but the issue still persists.

christianhaitian commented 4 days ago

You have room left on your 2nd sd card?

kleingeld1 commented 4 days ago

53,35 GB of 62,5 GB available

christianhaitian commented 3 days ago

Odd. The only way I could replicate this issue is if the save was trying to happen to a location that doesn't exist or if the disk was full or locked. Did you happen to change the location for saves away from the default location (which for a 2 sd card setup would be /roms2/scummvm)?

christianhaitian commented 3 days ago

What format is the second sd card? Is it the usual exfat or fat32?

kleingeld1 commented 3 days ago

It‘s exFAT. I haven’t changed the save path and in-game saving works flawlessly.

christianhaitian commented 3 days ago

Are you familiar with ssh? If so, please terminal into the unit and type df -h and post the output of that here.

kleingeld1 commented 3 days ago

Yep. Please note that this is my RGB30's output only, I can't do it on my R36S as I don't have a Wifi dongle for it (so the "free" numbers will differ from my last post, but both are using exFAT).

ark@rgb30:~$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 470M 0 470M 0% /dev
tmpfs 97M 2.3M 95M 3% /run
/dev/mmcblk1p4 9.9G 6.5G 3.0G 69% /
tmpfs 483M 0 483M 0% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 483M 0 483M 0% /sys/fs/cgroup
/dev/mmcblk1p3 99M 32M 68M 32% /boot
/dev/mmcblk2p1 120G 59G 61G 49% /roms2
/dev/mmcblk1p5 50G 535M 49G 2% /roms
tmpfs 97M 0 97M 0% /run/user/1002

christianhaitian commented 3 days ago

Thank you. I don't support the r36s so the rgb30 is good. Try running the following command via ssh and see if it makes a difference with saving for you.

sudo chown -R ark:ark /home/ark

This will make sure that all files and folder within the ark subfolder are owned by the ark user.

kleingeld1 commented 3 days ago

Found a way to df -h on my R36S as well:

(edit) just saw your comment regarding unsupported R36S now. Still keeping this here, maybe it will help others in the future, if the RGB30 solution will work on the R36S as well image

christianhaitian commented 3 days ago

Did you try this yet?

sudo chown -R ark:ark /home/ark

kleingeld1 commented 3 days ago

Just did now, didn't help. I start ScummVM, change the audio settings, save the game, quit ScummVM, start ScummVM, load the game - audio settings are reset to their default.

christianhaitian commented 3 days ago

How are you quitting ScummVM?

kleingeld1 commented 3 days ago

Start to open Menu -> Quit ScummVM

christianhaitian commented 3 days ago

Unfortunately, I'm out of ideas on what the issue can be then.

kleingeld1 commented 3 days ago

Is there any log file that I could try to check for clues?

christianhaitian commented 3 days ago

I don't think so. You can try checking the /home/ark/.config/scummvm/scummvm.ini file and verify the save location is set to /roms2/scummvm

kleingeld1 commented 3 days ago

I found a workaround. Starting just ScummVM menu and adjusting the global options persists across restarts. Not ideal, but works for now.