mupen64plus / mupen64plus-core

Core module of the Mupen64Plus project
1.28k stars 257 forks source link

feature request for mupen64plus-gui.exe to support --configdir parameter on Windows #936

Open cole-seph opened 2 years ago

cole-seph commented 2 years ago

Thanks all for creating such an amazing experience.

After downloading a Windows release from the releases page and following some documentation to use the --configdir option, it appears that this parameter is not supported.

I can get a script to open up the ROM I want, just not the --configdir part. "C:\Program Files\n64_emulator\mupen64plus-gui.exe" "E:\n64\archive\Mario Kart 64 (U) [!].z64" --configdir "C:\scripts\n64\config"

results in: image

Issue I'm trying to solve for is that when I load up mupen64plus-gui.exe with both an Xbox and retrobit64 controller paired to my Windows 10 PC, the settings sometime revert back to an "Auto" profile for a controller, which means that the Xbox controller mappings I've saved may get applied to the N64 controller, and vice versa. The fix is to set the appropriate profile for each controller in the GUI under "Settings" -> "Controller Configuration". I'd like to automate/script this step so that I don't have to do this manually every time.

Obviously, all the documentation around --configdir references the mupen64plus CLI and not mupen64plus-gui.exe but I don't see mupen64plus exe extracted anywhere on Windows after running the installer from the releases page.

Specs: Windows 10 OS Build 19042 MupenPlus64 build date: Feb 19, 2022

Jj0YzL5nvJ commented 2 years ago
set PATH=%ProgramFiles%\n64_emulator;%PATH%
mupen64plus-gui --configdir C:\scripts\n64\config "E:\n64\archive\Mario Kart 64 (U) [!].z64"

I'd like to automate/script this step so that I don't have to do this manually every time.

m64p/m64p#162 That's just an example, it won't help you if you don't know batch scripting.

cole-seph commented 2 years ago

I'm assuming you mean syntax. The available parameters are shown here: image

This feature request is to request that the --configdir parameter be added to the output seen in the screenshot

loganmc10 commented 2 years ago

mupen64plus-gui is not part of this project (the main mupen64plus project), it's repo is here: https://github.com/m64p/mupen64plus-gui , but it accepts pull requests, not feature requests :)