Mednafen

Sony PlayStation Documentation

Last updated August 11, 2015
Valid as of 0.9.38.6

Table of Contents:

Introduction

WARNING: Save states(and by extension, state rewinding and netplay) and saved games on emulated memory cards do not mix well unless you are extremely careful. For any given game, either use save states or the game's own save system, but not both, lest you may destroy your saved games.

PlayStation 1 emulation is currently in a state of development, so there may occasionally be horrifying SPINE-TINGLING regressions in new versions.

A dual-core Phenom II or Athlon II at 3GHz or higher, or rough equivalent(in terms of single-core IPC), is recommended for running Mednafen's PlayStation 1 emulation on. For better performance, the binary should be compiled for a 64-bit target(for example, x86_64) rather than 32-bit, if available.

Enabling CD image preloading into memory via the cd.image_memcache setting is recommended, to avoid short emulator pauses and audio pops due to waiting for disk accesses to complete when the emulated CD is accessed.

PSF1 playback is supported.


Firmware/BIOS

Place the correct BIOS image files in the correct location. Do not rename other revisions/regions of the BIOS to match the expected filenames, or you'll likely cause emulation glitches(and cause confusion if you ever distribute or otherwise refer to these misnamed files).

The filenames listed below are per default psx.bios_* settings.

Filename:Purpose:Hash:
scph5500.binSCPH-5500/v3.0J BIOS image.
Required for Japan-region games.
MD5: 8dd7d5296a650fac7319bce665a6a53c
SHA256: 9c0421858e217805f4abe18698afea8d5aa36ff0727eb8484944e00eb5e7eadb
scph5501.binSCPH-5501/v3.0A BIOS image.
Required for North America/US-region games.
Reportedly the same as the SCPH-7003 BIOS image.
MD5: 490f666e1afb15b7362b406ed1cea246
SHA256: 11052b6499e466bbf0a709b1f9cb6834a9418e66680387912451e971cf8a1fef
scph5502.binSCPH-5502/v3.0E BIOS image.
Required for Europe-region games.
MD5: 32736f17079d0b2b7024407c39bd3050
SHA256: 1faaa18fa820a0225e488d9f086296b8e6c46df739666093987ff7d8fd352c09

Analog Sticks Range Issues

The DualShock and Dual Analog controllers' analog sticks have a circular physical range of movement, but a much more squareish(corners are a bit rounded for DualShock) logical range, likely due to conservative calibration in the gamepads' hardware and firmware design. Modern PC(compatible) gamepads with a circular physical range of motion for their analog sticks(e.g. XBox 360 type controllers) tend to be more tightly-calibrated in hardware, and thus their logical range of motion will be closer to circles than squares. This can cause problems with movement in some PS1 games(e.g. "Mega Man Legends 2") that care not for proper trigonometry, as they are expecting larger values at ordinal angles of the sticks than the aforementioned type of PC gamepad can provide due to its design.

An "axis_scale" setting(named like "psx.input.port1.dualshock.axis_scale") is provided for each possible emulated DualShock and Dual Analog controller on each port. To work around this range issue with DualShock emulation, an "axis_scale" setting of "1.33" is recommended as a starting point. Smaller values(such as "1.20") may be sufficient and provide for more precise control, so try experimenting to find the ideal for your combination of gamepad and games.


Multitap Usage

By default, no multitap is enabled. Be aware that if you enable multitap on PSX port 1, game view mapping will be inconsistent between games that support multitap and those that do not.

Enabling multitap on either PSX port may cause slight game slowdown. Some 1-and-2-player-only games half-support the multitap, but are apparently not coded with the multitap in mind, and may suffer from graphical glitches like screen tearing if multitap is enabled when running them.

(Virtual) Port Index to Game View Mappings for Multitap only on PSX Port 1
Port Index:Multitap-Compatible-Game:Multitap-Incompatible-Game:Physical Port Name:
1111A
22-1B
33-1C
44-1D
5522
6---
7---
8---

(Virtual) Port Index to Game View Mappings for Multitap only on PSX Port 2
Port Index:Multitap-Compatible-Game:Multitap-Incompatible-Game:Physical Port Name:
1111
2222A
33-2B
44-2C
55-2D
6---
7---
8---

(Virtual) Port Index to Game View Mappings for Multitap on both PSX Ports
Port Index:Multitap-Compatible-Game:Multitap-Incompatible-Game:Physical Port Name:
1111A
22-1B
33-1C
44-1D
5522A
66-2B
77-2C
88-2D


Settings Reference

Caution: Any settings that change emulation behavior as seen from the emulated game are shown with the setting name bolded in the table. One should be conscious of these settings if one has changed them from the default values when using network play or movies, as they can cause desychronizations if not set the same among hosts(or between the recording emulator and the playing emulator).

Setting:Value Type:Possible Values:Default Value:Description:
psx.bios_eustring scph5502.binPath to the Europe SCPH-5502/v3.0E ROM BIOS

SHA-256 1faaa18fa820a0225e488d9f086296b8e6c46df739666093987ff7d8fd352c09

 
psx.bios_jpstring scph5500.binPath to the Japan SCPH-5500/v3.0J ROM BIOS

SHA-256 9c0421858e217805f4abe18698afea8d5aa36ff0727eb8484944e00eb5e7eadb

 
psx.bios_nastring scph5501.binPath to the North America SCPH-5501/v3.0A ROM BIOS

SHA-256 11052b6499e466bbf0a709b1f9cb6834a9418e66680387912451e971cf8a1fef

 
psx.bios_sanityboolean0
1
1Enable BIOS ROM image sanity checks.
 
psx.cd_sanityboolean0
1
1Enable CD (image) sanity checks.

Sanity checks are only performed on discs detected(via heuristics) to be PS1 discs. The checks primarily consist of ensuring that Q subchannel data is as expected for a typical commercially-released PS1 disc.

 
psx.dbg_levelinteger0 through 40Debug printf verbosity level.
 
psx.h_overscanboolean0
1
1Show horizontal overscan area.
 
psx.input.analog_mode_ctboolean0
1
0Enable analog mode combo-button alternate toggle.

When enabled, instead of the configured Analog mode toggle button for the emulated DualShock, use a combination of buttons to toggle it instead. When Select, Start, and all four shoulder buttons are held down for about 1 second, the mode will toggle.

 
psx.input.mouse_sensitivityreal through 1.00Emulated mouse sensitivity.
 
psx.input.port1enumnone
gamepad
dualshock
dualanalog
analogjoy
mouse
negcon
guncon
justifier
dancepad
gamepadInput device for Virtual Port 1
  • none - none

  • gamepad - Digital Gamepad
    PlayStation digital gamepad; SCPH-1080.

  • dualshock - DualShock
    DualShock gamepad; SCPH-1200. Emulation in Mednafen includes the analog mode toggle button. Rumble is emulated, but currently only supported on Linux, and MS Windows via the XInput API and XInput-compatible gamepads/joysticks. If you're having trouble getting rumble to work on Linux, see if Mednafen is printing out error messages during startup regarding /dev/input/event*, and resolve the issue(s) as necessary.

  • dualanalog - Dual Analog
    Dual Analog gamepad; SCPH-1180. It is the predecessor/prototype to the more advanced DualShock. Emulated in Mednafen as forced to analog mode, and without rumble.

  • analogjoy - Analog Joystick
    Flight-game-oriented dual-joystick controller; SCPH-1110. Emulated in Mednafen as forced to analog mode.

  • mouse - Mouse

  • negcon - neGcon
    Namco's unconventional twisty racing-game-oriented gamepad; NPC-101.

  • guncon - GunCon
    Namco's light gun; NPC-103.

  • justifier - Konami Justifier
    Konami's light gun; SLUH-00017. Rumored to be wrought of the coagulated rage of all who tried to shoot The Dog. If the game you want to play supports the "GunCon", you should use that instead. NOTE: Currently does not work properly when on any of ports 1B-1D and 2B-2D.

  • dancepad - Dance Pad
    Dingo Dingo Rodeo!
 
psx.input.port1.analogjoy.axis_scalereal1.00 through 1.501.00Analog axis scale coefficient for Analog Joystick on Virtual Port 1.
 
psx.input.port1.dualanalog.axis_scalereal1.00 through 1.501.00Analog axis scale coefficient for Dual Analog on Virtual Port 1.
 
psx.input.port1.dualshock.axis_scalereal1.00 through 1.501.00Analog axis scale coefficient for DualShock on Virtual Port 1.
 
psx.input.port1.gun_chairsinteger0x000000 through 0x10000000xFF0000Crosshairs color for lightgun on virtual port 1.

A value of 0x1000000 disables crosshair drawing.

 
psx.input.port1.memcardboolean0
1
1Emulate memory card on virtual port 1.
 
psx.input.port2enumnone
gamepad
dualshock
dualanalog
analogjoy
mouse
negcon
guncon
justifier
dancepad
gamepadInput device for Virtual Port 2
  • none - none

  • gamepad - Digital Gamepad
    PlayStation digital gamepad; SCPH-1080.

  • dualshock - DualShock
    DualShock gamepad; SCPH-1200. Emulation in Mednafen includes the analog mode toggle button. Rumble is emulated, but currently only supported on Linux, and MS Windows via the XInput API and XInput-compatible gamepads/joysticks. If you're having trouble getting rumble to work on Linux, see if Mednafen is printing out error messages during startup regarding /dev/input/event*, and resolve the issue(s) as necessary.

  • dualanalog - Dual Analog
    Dual Analog gamepad; SCPH-1180. It is the predecessor/prototype to the more advanced DualShock. Emulated in Mednafen as forced to analog mode, and without rumble.

  • analogjoy - Analog Joystick
    Flight-game-oriented dual-joystick controller; SCPH-1110. Emulated in Mednafen as forced to analog mode.

  • mouse - Mouse

  • negcon - neGcon
    Namco's unconventional twisty racing-game-oriented gamepad; NPC-101.

  • guncon - GunCon
    Namco's light gun; NPC-103.

  • justifier - Konami Justifier
    Konami's light gun; SLUH-00017. Rumored to be wrought of the coagulated rage of all who tried to shoot The Dog. If the game you want to play supports the "GunCon", you should use that instead. NOTE: Currently does not work properly when on any of ports 1B-1D and 2B-2D.

  • dancepad - Dance Pad
    Dingo Dingo Rodeo!
 
psx.input.port2.analogjoy.axis_scalereal1.00 through 1.501.00Analog axis scale coefficient for Analog Joystick on Virtual Port 2.
 
psx.input.port2.dualanalog.axis_scalereal1.00 through 1.501.00Analog axis scale coefficient for Dual Analog on Virtual Port 2.
 
psx.input.port2.dualshock.axis_scalereal1.00 through 1.501.00Analog axis scale coefficient for DualShock on Virtual Port 2.
 
psx.input.port2.gun_chairsinteger0x000000 through 0x10000000x00FF00Crosshairs color for lightgun on virtual port 2.

A value of 0x1000000 disables crosshair drawing.

 
psx.input.port2.memcardboolean0
1
1Emulate memory card on virtual port 2.
 
psx.input.port3enumnone
gamepad
dualshock
dualanalog
analogjoy
mouse
negcon
guncon
justifier
dancepad
gamepadInput device for Virtual Port 3
  • none - none

  • gamepad - Digital Gamepad
    PlayStation digital gamepad; SCPH-1080.

  • dualshock - DualShock
    DualShock gamepad; SCPH-1200. Emulation in Mednafen includes the analog mode toggle button. Rumble is emulated, but currently only supported on Linux, and MS Windows via the XInput API and XInput-compatible gamepads/joysticks. If you're having trouble getting rumble to work on Linux, see if Mednafen is printing out error messages during startup regarding /dev/input/event*, and resolve the issue(s) as necessary.

  • dualanalog - Dual Analog
    Dual Analog gamepad; SCPH-1180. It is the predecessor/prototype to the more advanced DualShock. Emulated in Mednafen as forced to analog mode, and without rumble.

  • analogjoy - Analog Joystick
    Flight-game-oriented dual-joystick controller; SCPH-1110. Emulated in Mednafen as forced to analog mode.

  • mouse - Mouse

  • negcon - neGcon
    Namco's unconventional twisty racing-game-oriented gamepad; NPC-101.

  • guncon - GunCon
    Namco's light gun; NPC-103.

  • justifier - Konami Justifier
    Konami's light gun; SLUH-00017. Rumored to be wrought of the coagulated rage of all who tried to shoot The Dog. If the game you want to play supports the "GunCon", you should use that instead. NOTE: Currently does not work properly when on any of ports 1B-1D and 2B-2D.

  • dancepad - Dance Pad
    Dingo Dingo Rodeo!
 
psx.input.port3.analogjoy.axis_scalereal1.00 through 1.501.00Analog axis scale coefficient for Analog Joystick on Virtual Port 3.
 
psx.input.port3.dualanalog.axis_scalereal1.00 through 1.501.00Analog axis scale coefficient for Dual Analog on Virtual Port 3.
 
psx.input.port3.dualshock.axis_scalereal1.00 through 1.501.00Analog axis scale coefficient for DualShock on Virtual Port 3.
 
psx.input.port3.gun_chairsinteger0x000000 through 0x10000000xFF00FFCrosshairs color for lightgun on virtual port 3.

A value of 0x1000000 disables crosshair drawing.

 
psx.input.port3.memcardboolean0
1
1Emulate memory card on virtual port 3.
 
psx.input.port4enumnone
gamepad
dualshock
dualanalog
analogjoy
mouse
negcon
guncon
justifier
dancepad
gamepadInput device for Virtual Port 4
  • none - none

  • gamepad - Digital Gamepad
    PlayStation digital gamepad; SCPH-1080.

  • dualshock - DualShock
    DualShock gamepad; SCPH-1200. Emulation in Mednafen includes the analog mode toggle button. Rumble is emulated, but currently only supported on Linux, and MS Windows via the XInput API and XInput-compatible gamepads/joysticks. If you're having trouble getting rumble to work on Linux, see if Mednafen is printing out error messages during startup regarding /dev/input/event*, and resolve the issue(s) as necessary.

  • dualanalog - Dual Analog
    Dual Analog gamepad; SCPH-1180. It is the predecessor/prototype to the more advanced DualShock. Emulated in Mednafen as forced to analog mode, and without rumble.

  • analogjoy - Analog Joystick
    Flight-game-oriented dual-joystick controller; SCPH-1110. Emulated in Mednafen as forced to analog mode.

  • mouse - Mouse

  • negcon - neGcon
    Namco's unconventional twisty racing-game-oriented gamepad; NPC-101.

  • guncon - GunCon
    Namco's light gun; NPC-103.

  • justifier - Konami Justifier
    Konami's light gun; SLUH-00017. Rumored to be wrought of the coagulated rage of all who tried to shoot The Dog. If the game you want to play supports the "GunCon", you should use that instead. NOTE: Currently does not work properly when on any of ports 1B-1D and 2B-2D.

  • dancepad - Dance Pad
    Dingo Dingo Rodeo!
 
psx.input.port4.analogjoy.axis_scalereal1.00 through 1.501.00Analog axis scale coefficient for Analog Joystick on Virtual Port 4.
 
psx.input.port4.dualanalog.axis_scalereal1.00 through 1.501.00Analog axis scale coefficient for Dual Analog on Virtual Port 4.
 
psx.input.port4.dualshock.axis_scalereal1.00 through 1.501.00Analog axis scale coefficient for DualShock on Virtual Port 4.
 
psx.input.port4.gun_chairsinteger0x000000 through 0x10000000xFF8000Crosshairs color for lightgun on virtual port 4.

A value of 0x1000000 disables crosshair drawing.

 
psx.input.port4.memcardboolean0
1
1Emulate memory card on virtual port 4.
 
psx.input.port5enumnone
gamepad
dualshock
dualanalog
analogjoy
mouse
negcon
guncon
justifier
dancepad
gamepadInput device for Virtual Port 5
  • none - none

  • gamepad - Digital Gamepad
    PlayStation digital gamepad; SCPH-1080.

  • dualshock - DualShock
    DualShock gamepad; SCPH-1200. Emulation in Mednafen includes the analog mode toggle button. Rumble is emulated, but currently only supported on Linux, and MS Windows via the XInput API and XInput-compatible gamepads/joysticks. If you're having trouble getting rumble to work on Linux, see if Mednafen is printing out error messages during startup regarding /dev/input/event*, and resolve the issue(s) as necessary.

  • dualanalog - Dual Analog
    Dual Analog gamepad; SCPH-1180. It is the predecessor/prototype to the more advanced DualShock. Emulated in Mednafen as forced to analog mode, and without rumble.

  • analogjoy - Analog Joystick
    Flight-game-oriented dual-joystick controller; SCPH-1110. Emulated in Mednafen as forced to analog mode.

  • mouse - Mouse

  • negcon - neGcon
    Namco's unconventional twisty racing-game-oriented gamepad; NPC-101.

  • guncon - GunCon
    Namco's light gun; NPC-103.

  • justifier - Konami Justifier
    Konami's light gun; SLUH-00017. Rumored to be wrought of the coagulated rage of all who tried to shoot The Dog. If the game you want to play supports the "GunCon", you should use that instead. NOTE: Currently does not work properly when on any of ports 1B-1D and 2B-2D.

  • dancepad - Dance Pad
    Dingo Dingo Rodeo!
 
psx.input.port5.analogjoy.axis_scalereal1.00 through 1.501.00Analog axis scale coefficient for Analog Joystick on Virtual Port 5.
 
psx.input.port5.dualanalog.axis_scalereal1.00 through 1.501.00Analog axis scale coefficient for Dual Analog on Virtual Port 5.
 
psx.input.port5.dualshock.axis_scalereal1.00 through 1.501.00Analog axis scale coefficient for DualShock on Virtual Port 5.
 
psx.input.port5.gun_chairsinteger0x000000 through 0x10000000xFFFF00Crosshairs color for lightgun on virtual port 5.

A value of 0x1000000 disables crosshair drawing.

 
psx.input.port5.memcardboolean0
1
1Emulate memory card on virtual port 5.
 
psx.input.port6enumnone
gamepad
dualshock
dualanalog
analogjoy
mouse
negcon
guncon
justifier
dancepad
gamepadInput device for Virtual Port 6
  • none - none

  • gamepad - Digital Gamepad
    PlayStation digital gamepad; SCPH-1080.

  • dualshock - DualShock
    DualShock gamepad; SCPH-1200. Emulation in Mednafen includes the analog mode toggle button. Rumble is emulated, but currently only supported on Linux, and MS Windows via the XInput API and XInput-compatible gamepads/joysticks. If you're having trouble getting rumble to work on Linux, see if Mednafen is printing out error messages during startup regarding /dev/input/event*, and resolve the issue(s) as necessary.

  • dualanalog - Dual Analog
    Dual Analog gamepad; SCPH-1180. It is the predecessor/prototype to the more advanced DualShock. Emulated in Mednafen as forced to analog mode, and without rumble.

  • analogjoy - Analog Joystick
    Flight-game-oriented dual-joystick controller; SCPH-1110. Emulated in Mednafen as forced to analog mode.

  • mouse - Mouse

  • negcon - neGcon
    Namco's unconventional twisty racing-game-oriented gamepad; NPC-101.

  • guncon - GunCon
    Namco's light gun; NPC-103.

  • justifier - Konami Justifier
    Konami's light gun; SLUH-00017. Rumored to be wrought of the coagulated rage of all who tried to shoot The Dog. If the game you want to play supports the "GunCon", you should use that instead. NOTE: Currently does not work properly when on any of ports 1B-1D and 2B-2D.

  • dancepad - Dance Pad
    Dingo Dingo Rodeo!
 
psx.input.port6.analogjoy.axis_scalereal1.00 through 1.501.00Analog axis scale coefficient for Analog Joystick on Virtual Port 6.
 
psx.input.port6.dualanalog.axis_scalereal1.00 through 1.501.00Analog axis scale coefficient for Dual Analog on Virtual Port 6.
 
psx.input.port6.dualshock.axis_scalereal1.00 through 1.501.00Analog axis scale coefficient for DualShock on Virtual Port 6.
 
psx.input.port6.gun_chairsinteger0x000000 through 0x10000000x00FFFFCrosshairs color for lightgun on virtual port 6.

A value of 0x1000000 disables crosshair drawing.

 
psx.input.port6.memcardboolean0
1
1Emulate memory card on virtual port 6.
 
psx.input.port7enumnone
gamepad
dualshock
dualanalog
analogjoy
mouse
negcon
guncon
justifier
dancepad
gamepadInput device for Virtual Port 7
  • none - none

  • gamepad - Digital Gamepad
    PlayStation digital gamepad; SCPH-1080.

  • dualshock - DualShock
    DualShock gamepad; SCPH-1200. Emulation in Mednafen includes the analog mode toggle button. Rumble is emulated, but currently only supported on Linux, and MS Windows via the XInput API and XInput-compatible gamepads/joysticks. If you're having trouble getting rumble to work on Linux, see if Mednafen is printing out error messages during startup regarding /dev/input/event*, and resolve the issue(s) as necessary.

  • dualanalog - Dual Analog
    Dual Analog gamepad; SCPH-1180. It is the predecessor/prototype to the more advanced DualShock. Emulated in Mednafen as forced to analog mode, and without rumble.

  • analogjoy - Analog Joystick
    Flight-game-oriented dual-joystick controller; SCPH-1110. Emulated in Mednafen as forced to analog mode.

  • mouse - Mouse

  • negcon - neGcon
    Namco's unconventional twisty racing-game-oriented gamepad; NPC-101.

  • guncon - GunCon
    Namco's light gun; NPC-103.

  • justifier - Konami Justifier
    Konami's light gun; SLUH-00017. Rumored to be wrought of the coagulated rage of all who tried to shoot The Dog. If the game you want to play supports the "GunCon", you should use that instead. NOTE: Currently does not work properly when on any of ports 1B-1D and 2B-2D.

  • dancepad - Dance Pad
    Dingo Dingo Rodeo!
 
psx.input.port7.analogjoy.axis_scalereal1.00 through 1.501.00Analog axis scale coefficient for Analog Joystick on Virtual Port 7.
 
psx.input.port7.dualanalog.axis_scalereal1.00 through 1.501.00Analog axis scale coefficient for Dual Analog on Virtual Port 7.
 
psx.input.port7.dualshock.axis_scalereal1.00 through 1.501.00Analog axis scale coefficient for DualShock on Virtual Port 7.
 
psx.input.port7.gun_chairsinteger0x000000 through 0x10000000x0080FFCrosshairs color for lightgun on virtual port 7.

A value of 0x1000000 disables crosshair drawing.

 
psx.input.port7.memcardboolean0
1
1Emulate memory card on virtual port 7.
 
psx.input.port8enumnone
gamepad
dualshock
dualanalog
analogjoy
mouse
negcon
guncon
justifier
dancepad
gamepadInput device for Virtual Port 8
  • none - none

  • gamepad - Digital Gamepad
    PlayStation digital gamepad; SCPH-1080.

  • dualshock - DualShock
    DualShock gamepad; SCPH-1200. Emulation in Mednafen includes the analog mode toggle button. Rumble is emulated, but currently only supported on Linux, and MS Windows via the XInput API and XInput-compatible gamepads/joysticks. If you're having trouble getting rumble to work on Linux, see if Mednafen is printing out error messages during startup regarding /dev/input/event*, and resolve the issue(s) as necessary.

  • dualanalog - Dual Analog
    Dual Analog gamepad; SCPH-1180. It is the predecessor/prototype to the more advanced DualShock. Emulated in Mednafen as forced to analog mode, and without rumble.

  • analogjoy - Analog Joystick
    Flight-game-oriented dual-joystick controller; SCPH-1110. Emulated in Mednafen as forced to analog mode.

  • mouse - Mouse

  • negcon - neGcon
    Namco's unconventional twisty racing-game-oriented gamepad; NPC-101.

  • guncon - GunCon
    Namco's light gun; NPC-103.

  • justifier - Konami Justifier
    Konami's light gun; SLUH-00017. Rumored to be wrought of the coagulated rage of all who tried to shoot The Dog. If the game you want to play supports the "GunCon", you should use that instead. NOTE: Currently does not work properly when on any of ports 1B-1D and 2B-2D.

  • dancepad - Dance Pad
    Dingo Dingo Rodeo!
 
psx.input.port8.analogjoy.axis_scalereal1.00 through 1.501.00Analog axis scale coefficient for Analog Joystick on Virtual Port 8.
 
psx.input.port8.dualanalog.axis_scalereal1.00 through 1.501.00Analog axis scale coefficient for Dual Analog on Virtual Port 8.
 
psx.input.port8.dualshock.axis_scalereal1.00 through 1.501.00Analog axis scale coefficient for DualShock on Virtual Port 8.
 
psx.input.port8.gun_chairsinteger0x000000 through 0x10000000x8000FFCrosshairs color for lightgun on virtual port 8.

A value of 0x1000000 disables crosshair drawing.

 
psx.input.port8.memcardboolean0
1
1Emulate memory card on virtual port 8.
 
psx.input.pport1.multitapboolean0
1
0Enable multitap on PSX port 1.

Makes 3 more virtual ports available.

NOTE: Enabling multitap in games that don't fully support it may cause deleterious effects.

 
psx.input.pport2.multitapboolean0
1
0Enable multitap on PSX port 2.

Makes 3 more virtual ports available.

NOTE: Enabling multitap in games that don't fully support it may cause deleterious effects.

 
psx.region_autodetectboolean0
1
1Attempt to auto-detect region of game.
 
psx.region_defaultenumjp
na
eu
jpDefault region to use.

Used if region autodetection fails or is disabled.

  • jp - Japan

  • na - North America

  • eu - Europe
 
psx.slendinteger0 through 239239Last displayed scanline in NTSC mode.
 
psx.slendpinteger0 through 287287Last displayed scanline in PAL mode.
 
psx.slstartinteger0 through 2390First displayed scanline in NTSC mode.
 
psx.slstartpinteger0 through 2870First displayed scanline in PAL mode.
 
psx.spu.resamp_qualityinteger0 through 105SPU output resampler quality.

0 is lowest quality and CPU usage, 10 is highest quality and CPU usage. The resampler that this setting refers to is used for converting from 44.1KHz to the sampling rate of the host audio device Mednafen is using. Changing Mednafen's output rate, via the "sound.rate" setting, to "44100" may bypass the resampler, which can decrease CPU usage by Mednafen, and can increase or decrease audio quality, depending on various operating system and hardware factors.

 

Setting:Value Type:Possible Values:Default Value:Description:
psx.debugger.disfontsizeenumxsmall
small
medium
large
smallDisassembly font size.

Note: Setting the font size to larger than the default may cause text overlap in the debugger.

  • xsmall - 4x5

  • small - 5x7

  • medium - 6x13

  • large - 9x18
 
psx.debugger.memcharencstring shift_jisCharacter encoding for the debugger's memory editor.
 
psx.enableboolean0
1
1Enable (automatic) usage of this module.
 
psx.forcemonoboolean0
1
0Force monophonic sound output.
 
psx.pixshaderenumnone
autoip
autoipsharper
scale2x
sabr
ipsharper
ipxnoty
ipynotx
ipxnotysharper
ipynotxsharper
noneEnable specified OpenGL pixel shader.

Obviously, this will only work with the OpenGL "video.driver" setting, and only on cards and OpenGL implementations that support pixel shaders, otherwise you will get a black screen, or Mednafen may display an error message when starting up. Bilinear interpolation is disabled with pixel shaders, and any interpolation, if present, will be noted in the description of each pixel shader.

  • none - None/Disabled

  • autoip - Auto Interpolation
    Will automatically interpolate on each axis if the corresponding effective scaling factor is not an integer.

  • autoipsharper - Sharper Auto Interpolation
    Same as "autoip", but when interpolation is done, it is done in a manner that will reduce blurriness if possible.

  • scale2x - Scale2x

  • sabr - SABR v3.0
    GPU-intensive.

  • ipsharper - Sharper bilinear interpolation.

  • ipxnoty - Linear interpolation on X axis only.

  • ipynotx - Linear interpolation on Y axis only.

  • ipxnotysharper - Sharper version of "ipxnoty".

  • ipynotxsharper - Sharper version of "ipynotx".
 
psx.scanlinesinteger-100 through 1000Enable scanlines with specified opacity.

Opacity is specified in %; IE a value of "100" will give entirely black scanlines.

Negative values are the same as positive values for non-interlaced video, but for interlaced video will cause the scanlines to be overlaid over the previous field's lines(only if the video.deinterlacer setting is set to "weave", the default).

 
psx.specialenumnone
hq2x
hq3x
hq4x
scale2x
scale3x
scale4x
2xsai
super2xsai
supereagle
nn2x
nn3x
nn4x
nny2x
nny3x
nny4x
noneEnable specified special video scaler.

The destination rectangle is NOT altered by this setting, so if you have xscale and yscale set to "2", and try to use a 3x scaling filter like hq3x, the image is not going to look that great. The nearest-neighbor scalers are intended for use with bilinear interpolation enabled, at high resolutions(such as 1280x1024; nn2x(or nny2x) + bilinear interpolation + fullscreen stretching at this resolution looks quite nice).

  • none - None/Disabled

  • hq2x - hq2x

  • hq3x - hq3x

  • hq4x - hq4x

  • scale2x - scale2x

  • scale3x - scale3x

  • scale4x - scale4x

  • 2xsai - 2xSaI

  • super2xsai - Super 2xSaI

  • supereagle - Super Eagle

  • nn2x - Nearest-neighbor 2x

  • nn3x - Nearest-neighbor 3x

  • nn4x - Nearest-neighbor 4x

  • nny2x - Nearest-neighbor 2x, y axis only

  • nny3x - Nearest-neighbor 3x, y axis only

  • nny4x - Nearest-neighbor 4x, y axis only
 
psx.stretchenum0
full
aspect
aspect_int
aspect_mult2
aspect_mult2Stretch to fill screen.
  • 0 - Disabled

  • full - Full
    Full-screen stretch, disregarding aspect ratio.

  • aspect - Aspect Preserve
    Full-screen stretch as far as the aspect ratio(in this sense, the equivalent xscalefs == yscalefs) can be maintained.

  • aspect_int - Aspect Preserve + Integer Scale
    Full-screen stretch, same as "aspect" except that the equivalent xscalefs and yscalefs are rounded down to the nearest integer.

  • aspect_mult2 - Aspect Preserve + Integer Multiple-of-2 Scale
    Full-screen stretch, same as "aspect_int", but rounds down to the nearest multiple of 2.
 
psx.tblurboolean0
1
0Enable video temporal blur(50/50 previous/current frame by default).
 
psx.tblur.accumboolean0
1
0Accumulate color data rather than discarding it.
 
psx.tblur.accum.amountreal0 through 10050Blur amount in accumulation mode, specified in percentage of accumulation buffer to mix with the current frame.
 
psx.videoipenum0
1
x
y
1Enable (bi)linear interpolation.
  • 0 - Disabled

  • 1 - Bilinear

  • x - Linear (X)
    Interpolation only on the X axis.

  • y - Linear (Y)
    Interpolation only on the Y axis.
 
psx.xresinteger0 through 655360Full-screen horizontal resolution.

A value of "0" will cause the desktop horizontal resolution to be used.

 
psx.xscalereal0.01 through 2563.000000Scaling factor for the X axis in windowed mode.
 
psx.xscalefsreal0.01 through 2561.000000Scaling factor for the X axis in fullscreen mode.

For this settings to have any effect, the ".stretch" setting must be set to "0".

 
psx.yresinteger0 through 655360Full-screen vertical resolution.

A value of "0" will cause the desktop vertical resolution to be used.

 
psx.yscalereal0.01 through 2563.000000Scaling factor for the Y axis in windowed mode.
 
psx.yscalefsreal0.01 through 2561.000000Scaling factor for the Y axis in fullscreen mode.

For this settings to have any effect, the ".stretch" setting must be set to "0".