SuperSaiyanWolverine / mupen64plus

Automatically exported from code.google.com/p/mupen64plus
0 stars 0 forks source link

Unable to use --saveoptions in Windows build #398

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
AMD Athlon XP 2200+
32-bit Windows XP SP2
Mupen64Plus version 1.99.4
Plugins used: all included plugins

Describe the problem:
Running mupen64 with the --saveoptions command line option does not save a 
configuration file.

If I run it as such:
mupen64plus-ui-console.exe --resolution 800x600 --gfx 
mupen64plus-video-rice.dll --audio mupen64plus-audio-sdl.dll --input 
mupen64plus-input-sdl.dll --rsp mupen64plus-rsp-hle.dll --saveoptions 
"C:\games\nintendo64\games\Mario Golf.v64"

and then next time just run
mupen64plus-ui-console.exe "C:\games\nintendo64\games\Mario Golf.v64"

it has no configuration information for anything, and as such uses dummy 
plugins for everything.

Original issue reported on code.google.com by qua...@gmail.com on 26 Nov 2010 at 8:12

GoogleCodeExporter commented 9 years ago
Hi!
Did the resolution is saved? Or it cameback to default resolution? (If that, 
maybe a permission prob with the configuration file but it seems unlikely).

I'd just test and it work for me.

What do you mean by:

"it has no configuration information for anything, and as such uses dummy 
plugins for everything."

Don't know if I'd well understand you but the --saveoptions flag force to save 
the mupen64plus.cfg file (see FileLocations).

Once this file is saved, you can open it (with for exemple notepad++) and edit 
it to modify options.

Original comment by dorian.f...@gmail.com on 29 Nov 2010 at 10:58

GoogleCodeExporter commented 9 years ago
Hmm.

>"it has no configuration information for anything, and as such uses dummy 
plugins >for everything."

Originally I thought it was not saving the cfg file, as it would load without 
reading the cfg file. I checked the "FileLocations" section you mentioned, and 
there is indeed a configuration file.  I think it's making a fool of me.  

I tried loading a game again, and through the command line it seems to load 
fine.  It also seems to load fine when I run it in a batch file.  It does not 
work if I drag the rom on to the executable, but then again, I'm not sure if 
this should work anyway.  If dragging the rom is not technically a problem, 
then you may remove this "bug".

Original comment by qua...@gmail.com on 30 Nov 2010 at 7:29

GoogleCodeExporter commented 9 years ago
I'm not sure if this should work anyway. << I'm not sure the console was 
suppose to load a rom just drag and drop it because doing that it can't find 
the good "working directory" (in wich it search plugins). It search in the 
directory of you're rom...

A solution is create a shortcut, put it where you whant, and drag and drop on 
it. :)

Original comment by dorian.f...@gmail.com on 11 Dec 2010 at 5:27

GoogleCodeExporter commented 9 years ago

Original comment by richard...@gmail.com on 29 Dec 2010 at 1:18