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

The mupen64plus.ini file has to be write-protected if adding cheats/codes #539

Open
Gagert opened this issue Jun 3, 2024 · 1 comment
Open

Comments

@Gagert
Copy link
Contributor

Gagert commented Jun 3, 2024

For Mario Kart 64 in this libretro core I have applied some optional game codes in addition to the default Multiplayer Timer Fix code in the mupen64plus.ini file (which fixes certain stages in which the game speed previously was corrupted). The codes I use in addition are:

; Music 4 player mode Cheat1=8128EC9C 240E,8128EC9E 0001,8128F9C4 2409,8128F9C6 0001 ; L Button Doesn’t Affect Music Level Cheat2=800DC5A9 0004 ; Widescreen Cheat3=D00DC533 0000,81150148 3FDF,D00DC533 0001,81150148 4060,D00DC533 0003,81150148 3FDF,D00DC533 0004,81150148 3FDF

This works fine and all that, as long as I write protect the mupen64plus.ini file found in RetroArch > system > Mupen64Plus. If I don’t write protect this file, the ini file gets overwritten and the optional cheats I’ve added as seen above gets deleted from mupen64plus.ini.

The issue with the write protection itself is that while it works fine on Windows 11, I can’t find any way to write protect files like this on my Android devices. I tried looking up some documentation on the Mupen64Plus-Next core online regarding this, but I didn’t find any info regarding a more elegant solution to this as of now. One solution could hypothetical be to have a separate ini file in addition to mupen64plus.ini in which the core itself only reads & not make changes in.

I'm using RetroArch 64-bit 1.19.0 on Windows 11 23H2 with Mupen64Plus-Next (2.6-Vulkan 5d2ac21). I've used both "Prioritize Core Options over INI" and "Prioritize INI over Core Options" under INI Behaviour within the GLiden64 section, and both option rewrites the mupen64plus.ini file as long as that file is not write protected.

@m4xw
Copy link
Collaborator

m4xw commented Jul 5, 2024

Yea this is a "feature". I need to think how i can improve that.

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

2 participants