libretro / parallel-n64

Optimized/rewritten Nintendo 64 emulator made specifically for Libretro. Originally based on Mupen64 Plus.
320 stars 127 forks source link

Can not save core option and game-options file size is zero (blank) #592

Open dewenhsu opened 4 years ago

dewenhsu commented 4 years ago

Using Odroid N2 with TheRA, it is normal. But Odroid XU4 with TheRA, I meet the same issue ( with RetroPie) as the following link : https://retropie.org.uk/forum/topic/21796/lr-parallel-n64-game-options-file-blank

there are 3 options in retroarch-core-options.cfg

parallel-n64-gfxplugin = "rice" parallel-n64-gfxplugin-accuracy = "veryhigh" parallel-n64-screensize = "640x480"

you can manual edit it, for example change "rice" to "glide64" and it will work. But if you change it in RetroArch and save it as default core option ( override core option ), it will not take effect. If you save game option to file, the .opt file size is zero.

Is it due to permission issue or something not found, hope it can be fixed, thank you !

P.S. may I ask If I set GFX Plugin to "auto", is there a config file to define which rom to use which plugin ? Or it choose plugin by "program auto detect" ? Sometime the "auto" seems not choose the best plugin. Thank you.

joolswills commented 4 years ago

This is due to lr-parallel-n64 crashing on exit with ARM. I have bisected it to

11c1ae337bdbb8929761bb61b812f61ae6b47303

11c1ae337bdbb8929761bb61b812f61ae6b47303 is the first bad commit
commit 11c1ae337bdbb8929761bb61b812f61ae6b47303
Author: Toad King <toadking@toadking.com>
Date:   Mon Jan 15 16:46:59 2018 -0600

    start on libco-less support

:100644 100644 8ac5df2eb8f160601093f8f3733531b99002e98d 352cecb33a097e0663f29367d27b69375047f3f2 M  Makefile
:040000 040000 83d0a7a0adfbde6f562b23e8a72fa4ed8dc89e64 19e349e1c721e3902704b69c48aa6485a7c85949 M  libretro
:040000 040000 73805af167eae8d78e7cbba13ac6bf04dd7ff357 0dccbd0cca1a11ca87b64d5c700cb8f0d5a44c13 M  mupen64plus-core
MastaG commented 4 years ago

So can the crash be fixed then? I'm running it on the XU4, and it runs fine and all. But when attempting to close/restart the running emulator.. it will segfault.

I can send a coredump if it helps..

mrfixit2001 commented 4 years ago

Patch to resolve: https://github.com/libretro/parallel-n64/issues/636#issuecomment-607918293