1 [[Mupen64Plus v2.0 Core API v1.0|Mupen64Plus v2.0 API]]
5 These are standard parameters which are used by the Mupen64Plus Core library. They are stored in a configuration section called "Core" and may be altered by the front-end in order to adjust the behaviour of the emulator. These may be adjusted at any time and the effect of the change should occur immediately.
8 !Parameter Name!!Type!!Usage
12 |Mupen64Plus Core config parameter set version number. Please don't change.
16 |Draw on-screen display if True, otherwise don't draw OSD
20 |Use Pure Interpreter if 0, Cached Interpreter if 1, or Dynamic Recompiler if 2 or more
24 |Disable compiled jump commands in dynamic recompiler (should be set to False)
28 |Disable 4MB expansion RAM pack. May be necessary for some games.
30 |AutoStateSlotIncrement
32 |Increment the save state slot after each save operation.
36 |Activate the R4300 debugger when ROM execution begins, if core was built with Debugger support.
40 |Save state slot (0-9) to use when saving/loading the emulator state
44 |Path to directory where screenshots are saved. If this is blank, the default value of "<tt>GetConfigUserDataPath()</tt>"/screenshot will be used.
48 |Path to directory where emulator save states (snapshots) are saved. If this is blank, the default value of "<tt>GetConfigUserDataPath()</tt>"/save will be used.
52 |Path to directory where SRAM/EEPROM data (in-game saves) are stored. If this is blank, the default value of "<tt>GetConfigUserDataPath()</tt>"/save will be used.
56 |Path to a directory to search when looking for shared data files in the <tt>ConfigGetSharedDataFilepath()</tt> function.
60 These configuration parameters are used in the Core's event loop to detect keyboard and joystick commands. They are stored in a configuration section called "CoreEvents" and may be altered by the front-end in order to adjust the behaviour of the emulator. These may be adjusted at any time and the effect of the change should occur immediately. The Keysym value stored is actually <tt>(SDLMod << 16) || SDLKey</tt>, so that keypresses with modifiers like shift, control, or alt may be used.
63 !Parameter Name!!Type!!Usage
67 |SDL keysym for stopping the emulator
69 |Kbd Mapping Fullscreen
71 |SDL keysym for switching between fullscreen/windowed modes
73 |Kbd Mapping Save State
75 |SDL keysym for saving the emulator state
77 |Kbd Mapping Load State
79 |SDL keysym for loading the emulator state
81 |Kbd Mapping Increment Slot
83 |SDL keysym for advancing the save state slot
87 |SDL keysym for resetting the emulator
89 |Kbd Mapping Speed Down
91 |SDL keysym for slowing down the emulator
95 |SDL keysym for speeding up the emulator
97 |Kbd Mapping Screenshot
99 |SDL keysym for taking a screenshot
103 |SDL keysym for pausing the emulator
107 |SDL keysym for muting/unmuting the sound
109 |Kbd Mapping Increase Volume
111 |SDL keysym for increasing the volume
113 |Kbd Mapping Decrease Volume
115 |SDL keysym for decreasing the volume
117 |Kbd Mapping Fast Forward
119 |SDL keysym for temporarily going really fast
121 |Kbd Mapping Frame Advance
123 |SDL keysym for advancing by one frame when paused
125 |Kbd Mapping Gameshark
127 |SDL keysym for pressing the game shark button
131 These configuration parameters are used in the Core's event loop to detect joystick commands.
133 The command strings use a simple format described here. For commands activated by pressing a joystick axis, the format is "J'''x'''A'''y'''+" or "J'''x'''A'''y'''-", where '''x''' is the SDL joystick number (must be between 0 and 9) and '''y''' is the axis number. For the last character, '''+''' represents movement in the positive direction, while '''-''' represents movement in the negative direction. For commands activated by pressing a button, the format is "J'''x'''B'''y'''", where '''x''' is the SDL joystick number (must be between 0 and 9) and '''y''' is the button number. For commands activated by pressing a ''hat'' (a directional switch) on the joystick, the format is "J'''x'''H'''y'''V'''z'''", where '''x''' is the SDL joystick number (must be between 0 and 9), '''y''' is the hat number, and '''z''' is the hat value. The hat value corresponds with the SDL_HAT_ enumerated types: Up is 1, Right is 2, Down is 4, and Left is 8. For diagonal directions, these values may be ''or''d together.
136 !Parameter Name!!Type!!Usage
140 |Mupen64Plus CoreEvents config parameter set version number. Please don't change.
144 |Joystick event string for stopping the emulator
146 |Joy Mapping Fullscreen
148 |Joystick event string for switching between fullscreen/windowed modes
150 |Joy Mapping Save State
152 |Joystick event string for saving the emulator state
154 |Joy Mapping Load State
156 |Joystick event string for loading the emulator state
158 |Joy Mapping Increment Slot
160 |Joystick event string for advancing the save state slot
162 |Joy Mapping Screenshot
164 |Joystick event string for taking a screenshot
168 |Joystick event string for pausing or resuming the emulator
172 |Joystick event string for muting/unmuting the sound
174 |Joy Mapping Increase Volume
176 |Joystick event string for increasing the volume
178 |Joy Mapping Decrease Volume
180 |Joystick event string for decreasing the volume
182 |Joy Mapping Fast Forward
184 |Joystick event string for temporarily going really fast
186 |Joy Mapping Gameshark
188 |Joystick event string for pressing the game shark button