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 |Force number of cycles per emulated instruction when set greater than 0.
64 |Delay interrupt after DMA SI read/write.
68 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.
71 !Parameter Name!!Type!!Usage
75 |SDL keysym for stopping the emulator
77 |Kbd Mapping Fullscreen
79 |SDL keysym for switching between fullscreen/windowed modes
81 |Kbd Mapping Save State
83 |SDL keysym for saving the emulator state
85 |Kbd Mapping Load State
87 |SDL keysym for loading the emulator state
89 |Kbd Mapping Increment Slot
91 |SDL keysym for advancing the save state slot
95 |SDL keysym for resetting the emulator
97 |Kbd Mapping Speed Down
99 |SDL keysym for slowing down the emulator
101 |Kbd Mapping Speed Up
103 |SDL keysym for speeding up the emulator
105 |Kbd Mapping Screenshot
107 |SDL keysym for taking a screenshot
111 |SDL keysym for pausing the emulator
115 |SDL keysym for muting/unmuting the sound
117 |Kbd Mapping Increase Volume
119 |SDL keysym for increasing the volume
121 |Kbd Mapping Decrease Volume
123 |SDL keysym for decreasing the volume
125 |Kbd Mapping Fast Forward
127 |SDL keysym for temporarily going really fast
129 |Kbd Mapping Frame Advance
131 |SDL keysym for advancing by one frame when paused
133 |Kbd Mapping Gameshark
135 |SDL keysym for pressing the game shark button
139 These configuration parameters are used in the Core's event loop to detect joystick commands.
141 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.
144 !Parameter Name!!Type!!Usage
148 |Mupen64Plus CoreEvents config parameter set version number. Please don't change.
152 |Joystick event string for stopping the emulator
154 |Joy Mapping Fullscreen
156 |Joystick event string for switching between fullscreen/windowed modes
158 |Joy Mapping Save State
160 |Joystick event string for saving the emulator state
162 |Joy Mapping Load State
164 |Joystick event string for loading the emulator state
166 |Joy Mapping Increment Slot
168 |Joystick event string for advancing the save state slot
170 |Joy Mapping Screenshot
172 |Joystick event string for taking a screenshot
176 |Joystick event string for pausing or resuming the emulator
180 |Joystick event string for muting/unmuting the sound
182 |Joy Mapping Increase Volume
184 |Joystick event string for increasing the volume
186 |Joy Mapping Decrease Volume
188 |Joystick event string for decreasing the volume
190 |Joy Mapping Fast Forward
192 |Joystick event string for temporarily going really fast
194 |Joy Mapping Gameshark
196 |Joystick event string for pressing the game shark button