Editing Cheats and patches

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 9: Line 9:
 
Sometimes cheats are also needed to circumvent anti-piracy protection, bugs or emulator crashes. Cheats alter games only temporarily. If you want permanent alterations, you may want to alter the ROM image itself. See modding articles.
 
Sometimes cheats are also needed to circumvent anti-piracy protection, bugs or emulator crashes. Cheats alter games only temporarily. If you want permanent alterations, you may want to alter the ROM image itself. See modding articles.
  
== Retroarch ==
+
==General idea==
 
 
 
 
=== Using existing cheat tables ===
 
 
 
RetroArch uses two methods of applying cheat codes:
 
 
 
# Emulator Handled are codes that are sent to the emulator/core and it is up to the emulator/core to apply them.
 
# RetroArch Handled are codes that RetroArch itself handles by directly scanning/manipulating the emulator/core memory area.
 
 
 
The cheat tables from the builtin downloader are tagged in the filename with "(RetroArch Cheats)" for 2., and "(GameShark/Xplorer/etc.)" for 1.
 
 
 
Pre-32bit system cores usually support both methods, while most post-32bit (e.g. PS1, N64, Saturn, Dreamcast) only support RetroArch Handled cheat codes.
 
 
 
For these cores the cheat tables need some manual conversion, see [https://github.com/libretro/libretro-database/issues/1360 this issue].
 
 
 
=== Searching for new codes ===
 
 
 
[https://docs.libretro.com/guides/cheat-codes/#retroarch-new-cheat-code-searching guide here]
 
 
 
(This will produce cheat tables that are Retroarch-handled and will work with all the cores)
 
 
 
== Duckstation ==
 
Duckstation has a built cheat manager and cheat database (chtdb.txt) and supports custom cheats being loaded from a text file. to load custom cheats follow these steps: <br>
 
1. click tools -> cheat manager <br>
 
2. import file -> from file <br>
 
3. select the cheats to be enabled.<br>
 
the [https://github.com/stenzek/duckstation Duckstation] GitHub repository should have the latest cheat codes in the file data/resources/chtdb.txt <br>
 
 
 
== Mednafen ==
 
  
 
Mednafen supports the usual cheats such as GameShark, Code Breaker, and Action Replay. The cheats menu can be accessed (or quit back to normal gameplay) with '''ALT+C'''.
 
Mednafen supports the usual cheats such as GameShark, Code Breaker, and Action Replay. The cheats menu can be accessed (or quit back to normal gameplay) with '''ALT+C'''.
Line 62: Line 33:
 
* '''6) Value increased :''' if new value bigger than old value
 
* '''6) Value increased :''' if new value bigger than old value
  
== PCSX-R ==
+
==Playstation==
 
PCSX-R has a built-in cheat function. To use it, follow these steps:
 
PCSX-R has a built-in cheat function. To use it, follow these steps:
  
Line 82: Line 53:
  
 
9. Click Close, and get back to the game by going to Emulator -> Run
 
9. Click Close, and get back to the game by going to Emulator -> Run
 
+
==PlayStation 2==
Pre-made patches for games may be found [https://psxdatacenter.com/down.html here].
 
 
 
 
 
== PCSX2 ==
 
 
 
 
Tutorials on how to apply patches and cheats can be found [http://forums.pcsx2.net/Thread-redlof-s-Guide-to-Convert-Codetwink-Cheats-to-PNACH-Files-for-newbs here.]
 
Tutorials on how to apply patches and cheats can be found [http://forums.pcsx2.net/Thread-redlof-s-Guide-to-Convert-Codetwink-Cheats-to-PNACH-Files-for-newbs here.]
  
 
Resources for cheats: [http://www.codetwink.com/ CodeTwink]
 
Resources for cheats: [http://www.codetwink.com/ CodeTwink]
  
Patches for games may be found [http://forums.pcsx2.net/Thread-Post-your-PCSX2-cheats-patches-here here] and [https://psxdatacenter.com/psx2/down2.html here]
+
Patches for games may be found [http://forums.pcsx2.net/Thread-Post-your-PCSX2-cheats-patches-here here.]
  
 
[http://forums.pcsx2.net/attachment.php?aid=30208 CB2crypt]
 
[http://forums.pcsx2.net/attachment.php?aid=30208 CB2crypt]
Line 98: Line 64:
 
The CRC code for a PS2 game is found in the PCSX2 console.
 
The CRC code for a PS2 game is found in the PCSX2 console.
  
 
+
==Nintendo DS==
== DeSmuME ==
 
  
 
DeSmuME has a built-in cheat function. To use it, follow these steps:
 
DeSmuME has a built-in cheat function. To use it, follow these steps:
Line 116: Line 81:
  
 
7. select the codes you want to use
 
7. select the codes you want to use
 
== PPSSPP ==
 
 
# Download the [https://github.com/Saramagrean/CWCheat-Database-Plus- latest cheat pack from here] and extract "cheat.db" in `<emu user dir>/PSP/Cheats` folder.
 
# Launch the emulator, select Settings -> System, activate "Enable Cheats"
 
# Load a supported game
 
# Open the emulator menu, select "Cheats" and "Import from cheat.db"
 
 
  
 
==External links==
 
==External links==
 
 
* [https://gamehacking.org/ GameHacking.org] Offers a great collection of user submitted codes for many systems, complete with a search engine, code downloader and converter.
 
* [https://gamehacking.org/ GameHacking.org] Offers a great collection of user submitted codes for many systems, complete with a search engine, code downloader and converter.
  
  
 
[[Category:FAQs]]
 
[[Category:FAQs]]

Please note that all contributions to Emulation General Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Emulation General Wiki:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)

Template used on this page: