Skip to content

Commit

Permalink
PCSX(WIP)
Browse files Browse the repository at this point in the history
  • Loading branch information
fpscan committed Nov 1, 2020
1 parent 38d8a40 commit 920a401
Show file tree
Hide file tree
Showing 2 changed files with 186 additions and 0 deletions.
185 changes: 185 additions & 0 deletions docs/library/pcsx2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,185 @@
# Sony - PlayStation (PCSX2) WIP

*Last Updated: November 01, 2020*

## Background

PCSX2 is a PlayStation®2 emulator capable of running commercial games. It's an open source project that runs on Windows, Mac and Linux. Like its predecessor project [PCSX](../library/pcsx_rearmed.md), it is based on a PSEmu Pro spec plug-in architecture, separating several functions from the core emulator. PCSX2 requires a copy of the PS2 BIOS, which is not available for download from the developers, due to the copyright concerns and legal issues associated with it.

PCSX2 is a free and open-source PlayStation 2 (PS2) emulator. Its purpose is to emulate the PS2's hardware, using a combination of MIPS CPU Interpreters, Recompilers and a Virtual Machine which manages hardware states and PS2 system memory. This allows you to play PS2 games on your PC, with many additional features and benefits.

PCSX2, supports a wide range of PlayStation 2 video games with a high level of compatibility and functionality. Although PCSX2 can closely mirror the original gameplay experience on the PlayStation 2, PCSX2 supports a number of improvements over gameplay on a traditional PlayStation 2, such as the ability to use custom resolutions up to 8192×8192, anti-aliasing, and texture filtering.


PCSX2 core has been authored by

- []()

PCSX2 core is licensed under

- [GPLv2](https://github.com/libretro/pcsx2/blob/main/COPYING.GPLv2)
- [GPLv3](https://github.com/libretro/pcsx2/blob/main/COPYING.GPLv3)
- [LGPLv2.1](https://github.com/libretro/pcsx2/blob/main/COPYING.LGPLv2.1)
- [LGPLv3](https://github.com/libretro/pcsx2/blob/main/COPYING.LGPLv3)

A summary of the licenses behind RetroArch and its cores can be found [here](../development/licenses.md).

### Requirements

- CPU:
- Supports SSE2/AVX2
- PassMark Single Thread Performance rating near or greater than 1600/2100
- Two physical cores, with hyperthreading
- Four physical cores, with or without hyperthreading
- GPU:
- Direct3D10/11 support
- OpenGL 3.x/4.5 support
- PassMark G3D Mark rating around 3000 (GeForce GTX 750)
- 2 GB/4 GB Video Memory
- RAM: 4GB/8GB

!!! Attention
Because of the complex nature of emulation, even if you meet the recommended requirements there will be games that will NOT run at full speed due to emulation imperfection, floating point emulation differences, issues with emulator itself or other problems.

## BIOS

!!! TIP
Interesting fact: For maximum compatibility it is recommended that you use a BIOS image different than SCPH10000.BIN which is the oldest one

There is no region locking so if you have a PAL BIOS on your PS2 you can still play NTSC games, and vice versa. You'll also need the BIOS dumped from your PS2. Unlike the PS2 PCSX2 does not implement region locking so if you have a PAL BIOS in your PS2 you can still play NTSC games, and vice versa.

Required or optional firmware files go in the frontend's system directory.

| Filename | Description | md5sum |
|:------------:|:-----------------------------------:|:--------------------------------:|
| PS2 Bios 30004R V6 Pal.bin | - | - |
| PS2 Bios 30004R V6 Pal.MEC | - | - |
| PS2 Bios 30004R V6 Pal.NVM | - | - |
| rom1.bin | - | - |
| scph10000.bin | - | - |
| scph10000.NVM | - | - |
| scph39001.bin | - | - |
| scph39001.MEC | - | - |
| scph39001.NVM | - | - |
| SCPH-70004_BIOS_V12_PAL_200.BIN | - | - |
| SCPH-70004_BIOS_V12_PAL_200.EROM | - | - |
| SCPH-70004_BIOS_V12_PAL_200.NVM | - | - |
| SCPH-70004_BIOS_V12_PAL_200.ROM1 | - | - |
| SCPH-70004_BIOS_V12_PAL_200.ROM2 | - | - |
| SCPH-70004_BIOS_V12_PAL_200.NVM | - | - |

## Extensions

Content that can be loaded by the PCSX2 core have the following file extensions: elf|iso|ciso|cue|bin

- .elf
- .iso
- .ciso
- .cue
- .bin

RetroArch database(s) that are associated with the PCSX2 core:

- [Sony - PlayStation 2](https://github.com/libretro/libretro-database/blob/master/rdb/Sony%20-%20PlayStation%202.rdb)

## Features

Frontend-level settings or features that the PCSX2 core respects.

| Feature | Supported |
|-------------------|:---------:|
| Restart ||
| Screenshots ||
| Saves ||
| States ||
| Rewind ||
| Netplay ||
| Core Options ||
| [RetroAchievements](https://retroachievements.org/viewtopic.php?t=9302) ||
| RetroArch Cheats ||
| Native Cheats ||
| Controls ||
| Remapping ||
| Multi-Mouse ||
| Rumble ||
| Sensors ||
| Camera ||
| Location ||
| Subsystem ||
| [Softpatching](../guides/softpatching.md) ||
| Disk Control ||
| Username ||
| Language ||
| Crop Overscan * ||
| LEDs ||

\* Overscan cropping available via Core Options instead of frontend settings

### Directories

PCSX2's library name is 'pcsx2'

PCSX2 core saves/loads to/from these directories.

**Frontend's Save directory**

- Memory cards

**Frontend's State directory**

| File | Description |
|:--------:|:-----------:|
| *.state# | State |

## Rumble support

Rumble only works in the PCSX2 core when

- The content being ran has rumble support.
- The frontend being used has rumble support.
- The joypad device being used has rumble support.
- The corresponding user's device type is set to **DualShock**
- The corresponding user's device type is set to **DualShock 2**

## Joypad

![](../image/controller/psx.png)

| User 1 - 8 input descriptors | RetroPad Inputs | PlayStation Controller Inputs | DualShock Inputs | Analog Controller Inputs | Analog Joystick Inputs | neGcon Inputs |
|-------------------------------|----------------------------------------------|------------------------------------------------|-------------------------------------------------|-------------------------------------------------|------------------------------------------------|---------------------------------|
| Cross | ![](../image/retropad/retro_b.png) | ![](../image/Button_Pack/PS3/PS3_Cross.png) | ![](../image/Button_Pack/PS3/PS3_Cross.png) | ![](../image/Button_Pack/PS3/PS3_Cross.png) | ![](../image/Button_Pack/PS3/PS3_Cross.png) | Analog button I |
| Square | ![](../image/retropad/retro_y.png) | ![](../image/Button_Pack/PS3/PS3_Square.png) | ![](../image/Button_Pack/PS3/PS3_Square.png) | ![](../image/Button_Pack/PS3/PS3_Square.png) | ![](../image/Button_Pack/PS3/PS3_Square.png) | Analog button II |
| Select | ![](../image/retropad/retro_select.png) | ![](../image/Button_Pack/PS3/PS3_Select.png) | ![](../image/Button_Pack/PS3/PS3_Select.png) | ![](../image/Button_Pack/PS3/PS3_Select.png) | ![](../image/Button_Pack/PS3/PS3_Select.png) | |
| Start | ![](../image/retropad/retro_start.png) | ![](../image/Button_Pack/PS3/PS3_Start.png) | ![](../image/Button_Pack/PS3/PS3_Start.png) | ![](../image/Button_Pack/PS3/PS3_Start.png) | ![](../image/Button_Pack/PS3/PS3_Start.png) | Start |
| D-Pad Up | ![](../image/retropad/retro_dpad_up.png) | ![](../image/Button_Pack/PS3/PS3_Dpad_Up.png) | ![](../image/Button_Pack/PS3/PS3_Dpad_Up.png) | ![](../image/Button_Pack/PS3/PS3_Dpad_Up.png) | ![](../image/Button_Pack/PS3/PS3_Dpad_Up.png) | D-Pad Up |
| D-Pad Down | ![](../image/retropad/retro_dpad_down.png) | ![](../image/Button_Pack/PS3/PS3_Dpad_Down.png) | ![](../image/Button_Pack/PS3/PS3_Dpad_Down.png) | ![](../image/Button_Pack/PS3/PS3_Dpad_Down.png) | ![](../image/Button_Pack/PS3/PS3_Dpad_Down.png) | D-Pad Down |
| D-Pad Left | ![](../image/retropad/retro_dpad_left.png) | ![](../image/Button_Pack/PS3/PS3_Dpad_Left.png) | ![](../image/Button_Pack/PS3/PS3_Dpad_Left.png) | ![](../image/Button_Pack/PS3/PS3_Dpad_Left.png) | ![](../image/Button_Pack/PS3/PS3_Dpad_Left.png) | D-Pad Left |
| D-Pad Right | ![](../image/retropad/retro_dpad_right.png) | ![](../image/Button_Pack/PS3/PS3_Dpad_Right.png) | ![](../image/Button_Pack/PS3/PS3_Dpad_Right.png) | ![](../image/Button_Pack/PS3/PS3_Dpad_Right.png) | ![](../image/Button_Pack/PS3/PS3_Dpad_Right.png) | D-Pad Right |
| Circle | ![](../image/retropad/retro_a.png) | ![](../image/Button_Pack/PS3/PS3_Circle.png) | ![](../image/Button_Pack/PS3/PS3_Circle.png) | ![](../image/Button_Pack/PS3/PS3_Circle.png) | ![](../image/Button_Pack/PS3/PS3_Circle.png) | A |
| Triangle | ![](../image/retropad/retro_x.png) | ![](../image/Button_Pack/PS3/PS3_Triangle.png) | ![](../image/Button_Pack/PS3/PS3_Triangle.png) | ![](../image/Button_Pack/PS3/PS3_Triangle.png) | ![](../image/Button_Pack/PS3/PS3_Triangle.png) | B |
| L1 | ![](../image/retropad/retro_l1.png) | ![](../image/Button_Pack/PS3/PS3_L1.png) | ![](../image/Button_Pack/PS3/PS3_L1.png) | ![](../image/Button_Pack/PS3/PS3_L1.png) | ![](../image/Button_Pack/PS3/PS3_L1.png) | Left shoulder button (analog) |
| R1 | ![](../image/retropad/retro_r1.png) | ![](../image/Button_Pack/PS3/PS3_R1.png) | ![](../image/Button_Pack/PS3/PS3_R1.png) | ![](../image/Button_Pack/PS3/PS3_R1.png) | ![](../image/Button_Pack/PS3/PS3_R1.png) | Right shoulder button (digital) |
| L2 | ![](../image/retropad/retro_l2.png) | ![](../image/Button_Pack/PS3/PS3_L2.png) | ![](../image/Button_Pack/PS3/PS3_L2.png) | ![](../image/Button_Pack/PS3/PS3_L2.png) | ![](../image/Button_Pack/PS3/PS3_L2.png) | Analog button II |
| R2 | ![](../image/retropad/retro_r2.png) | ![](../image/Button_Pack/PS3/PS3_R2.png) | ![](../image/Button_Pack/PS3/PS3_R2.png) | ![](../image/Button_Pack/PS3/PS3_R2.png) | ![](../image/Button_Pack/PS3/PS3_R2.png) | Analog button I |
| L3 | ![](../image/retropad/retro_l3.png) | | ![](../image/Button_Pack/PS3/PS3_L3.png) | | | |
| R3 | ![](../image/retropad/retro_r3.png) | | ![](../image/Button_Pack/PS3/PS3_R3.png) | | | |
| Left Analog X | ![](../image/retropad/retro_left_stick.png) X | | ![](../image/Button_Pack/PS3/PS3_Left_Stick.png) | ![](../image/Button_Pack/PS3/PS3_Left_Stick.png) | Left Joystick X | Twist |
| Left Analog Y | ![](../image/retropad/retro_left_stick.png) Y | | ![](../image/Button_Pack/PS3/PS3_Left_Stick.png) | ![](../image/Button_Pack/PS3/PS3_Left_Stick.png) | Left Joystick Y | |
| Right Analog X | ![](../image/retropad/retro_right_stick.png) X | | ![](../image/Button_Pack/PS3/PS3_Right_Stick.png) | ![](../image/Button_Pack/PS3/PS3_Right_Stick.png) | Right Joystick X | |
| Right Analog Y | ![](../image/retropad/retro_right_stick.png) Y | | ![](../image/Button_Pack/PS3/PS3_Right_Stick.png) | ![](../image/Button_Pack/PS3/PS3_Right_Stick.png) | Right Joystick Y | |

## Compatibility

The current standalone development version is reported to be compatible with approximately 97.4% of 2,641 tested games as of August 2020. Compatibility means only that the game will not crash, lock up, or enter a loop; there can still be bugs, missing post-processing effects, textures, and shadows in many compatible games. This is especially the case in hardware mode; a slower software mode is available for bugs without workarounds. You can check compatibilirt list in [here](https://pcsx2.net/compatibility-list.html)

## External Links

- [Official PCSX2 Website](https://pcsx2.net/)
- [Official PCSX2 Downloads](https://pcsx2.net/download.html)
- [PCSX2 Core info file](https://github.com/libretro/libretro-super/blob/master/dist/info/pcsx2_libretro.info)
- [PCSX2 Github Repository](https://github.com/libretro/pcsx2)
- [Report PCSX2 Core Issues Here](https://github.com/libretro/pcsx2/issues)

## Libretro PS2 cores

- Play!
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ nav:
- 'Sony - PlayStation (Beetle PSX)': 'library/beetle_psx.md'
- 'Sony - PlayStation (Beetle PSX HW)': 'library/beetle_psx_hw.md'
- 'Sony - PlayStation (PCSX ReARMed)': 'library/pcsx_rearmed.md'
- 'Sony - PlayStation 2 (PCSX2)': 'library/pcsx2.md'
- 'Sony - PlayStation Portable (PPSSPP)': 'library/ppsspp.md'
- 'SpectraVision Emulation':
- 'MSX/SVI/ColecoVision/SG-1000 (blueMSX)': 'library/bluemsx.md'
Expand Down

0 comments on commit 920a401

Please sign in to comment.