Skip to content

Instantly share code, notes, and snippets.

@pjobson
Last active March 9, 2024 04:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pjobson/035e2b3d3b7f8565b6d6c8005f2403eb to your computer and use it in GitHub Desktop.
Save pjobson/035e2b3d3b7f8565b6d6c8005f2403eb to your computer and use it in GitHub Desktop.
Enable Cheats PCSX2 Linux

Enable Cheats for PCSX2 Linux

This assumes:

  • You have the Linux AppImage and are successfully running games with it.
  • You have rudimentary commandline experience.

I'll be using Fallout: Brotherhood of Steel for this example, but the concepts should be the same for any game.

Enable Cheats

  • Open PCSX2
  • Select Settings
  • Emulation
  • Check Enable Cheats

Basic Setup

The default cheat files for PCSX2 should be stored in your config path:

~/.config/PCSX2/cheats

Find and Download Cheat Files

gamehacking.org

Browse to gamehacking.org

Select Platform

Select Codes -> Sony -> Playstation 2

Select Platform

Search for Game

Search for Game

Select The Version

In my case (NTSC-U) SLUS-20539.

Select Version

Set Format

PCSX2 (.pnach)

Set Format

Select Cheats

You can select all cheats for a game or download specific ones.

Download

This will put a file called Fallout - Brotherhood of Steel (NTSC-U).pnach in your download directory.

Download

Install Cheat

Get Game Info

  • Open PCSX2
  • Right-Click on your game
  • Select Properties...

Properties

Note Serial & CRC

You'll want to take note of the Serial and CRC.

In my case SLUS-20539 and 6E9D2844.

Serial & CRC

Enable Cheats

In the properties window, select Cheats then check Enable Cheats.

Enable Cheats

Install Cheat File

I like to make symlinks for my cheats, so it is obvious to me what they're for.

Open your terminal and execute these commands:

cd ~/.config/PCSX2/cheats/
mv ~/Downloads/*.pnach .
ln -s "Fallout - Brotherhood of Steel (NTSC-U).pnach" SLUS-20539_6E9D2844.pnach

What I'm doing here is:

  • Go to the cheats directory.
  • Move all PNACH files from the Downloads directory to cheats.
  • Link the example to a file which PCSX2 will understand.

You should recognize the two codes here from teh Serial and CRC from above.

SLUS-20539_6E9D2844.pnach
^          ^
|          |
|          +-- The CRC
+------------- The Serial

Do ls -lah in the terminal and you can see the two

-rw-rw-r--  1 pjobson pjobson 658K Mar  8 12:48 'Fallout - Brotherhood of Steel (NTSC-U).pnach'
lrwxrwxrwx  1 pjobson pjobson   45 Mar  8 13:26  SLUS-20539_6E9D2844.pnach -> 'Fallout - Brotherhood of Steel (NTSC-U).pnach'

I prefer using ln over mv, because SLUS-20539_6E9D2844.pnach doesn't mean anything to me.

Enable Cheats

  • Go back to PCSX2 game properties.
  • Click the Reload Cheats button.
  • This will show all the cheats you downloaded.
  • Check any cheat you want to enable.
  • Close Properties.
  • Start the game

Note: Some cheats don't work properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment