Quick tutorial on cheating and on the fly 16:9 patching on a softmodded PS2.
Long story short - out of what feels like a dozen or so solutions, the one to actually use is CheatDevice ( https://github.com/root670/CheatDevicePS2 ), as it offers support for decrypted cheatcodes, which are the most common ones to be shared by community users, because hey, they are open (RAW format). Generally you can find them on sites like
https://gamehacking.org/game/103151
(Already linked to a game)
by clicking on the dropdown and selecting ps2rd, and then view - from there you can copy/paste.
gamehacking.org also has a code converter ( https://gamehacking.org/system/ps2 ) but the issue here is, that it converts most codes correctly except master codes, but more on that a bit later.
So once you have the codes in clipboard (by visiting gamehacking.org or any other website, some of which are listed here: https://www.ps2-home.com/forum/viewtopic.php?t=100+&cd=1&hl=en&ct=clnk ), a good tool to manage them in is OPL Manager (on PC), where basically you can create a cheats .txt file associated with every game.
CheatDevice itself is compatible with most cheat formating you'd find using the ps2rd format, so in general you dont have to rewrite formating, but you can also check the wiki for details on formating if you have to ( https://github.com/root670/CheatDevicePS2/wiki/Cheats )).
OPL also has a built in cheat function (which is why OPL Manager has a cheat feature ), but its actually pretty unusable, as it doesnt allow you to selectively enable or disable cheats on console - which is kind of necessary. CheatDevice can handle that, and then launch you into OPL afterwards, with cheats active in memory.
For that it also sports an .ini in which you can set up your OPL path manually, or simply leave it at default which should launch you into uLaunchELF (when selecting BOOT.ELF), from where you then could launch the OPL elf. (Editing the .ini is recommended, as it is faster to launch into OPL directly.).
CheatDevice's cheat database format is just a txt file with all the ps2rd format decrypted cheats in them, thats zipped. So you can basically copy and paste cheats you manage in OPL Manager over - and it will work. You also can literally merge all the cheat files that OPL Manager creates into one textfile, zip that, and use that as your database, and it will work. CheatDevice will autosort them, so everything should just work as you'd expect. The cheat database file then lies in the same folder as the CheatDevice elf, on your USB stick.
--
Lets get to 16:9 patching on the fly.
You can get widescreen game patches from here: https://forums.pcsx2.net/Thread-PCSX2-Widescreen-Game-Patches (click the link under Patch Archive)
They are in pnatch format, which is the patch format for pcsx2. Most of them are compatible with original hardware also. To "convert" them to decrypted code format, you run them through a tool called PNATCH Converter ( https://www.ps2-home.com/forum/viewtopic.php?t=94+&cd=1&hl=en&ct=clnk ). On the right side select RAW as output. This will give you the "cheat codes" needed to 16:9 patch your games using CheatDevice - except that it lacks the Mastercode.
The Mastercode is a code most PS2 games need active, to allow you to use other codes, while the game is active, otherwise it will crash.
You get the mastercode either by searching for other cheatcodes for your game (in decrypted format) on the internet, or by using a tool like Mastercodefinder ( https://www.ps2-home.com/forum/viewtopic.php?t=92+&cd=1&hl=en&ct=clnk ) together with elf extractor (linked to in the thread of Mastercodefinder I just linked) on your games .iso.
To have something to compare to, at the bottom of this posting you'll find some cheatcodes for PAL games, with 16:9 patches that actually are tested and working (pastebin link).
--
16:9 patching and game borders.
Because depending on your scaler or line doubler, or your game, 16:9 patching might give you the correct aspect ratio in game, but still leave you with borders, a TV that can stretch the image in all four directions (independently) in a zoom video mode might still be needed. Here is how you do that on any LG Oled / any recent LG TV:
That menu only pops up, if you select it from settings, not from quicksettings, btw.
That should be it. Remember that the Mastercode has to be enabled for 16:9 and FOV patches to work on console. Have fun.
edit: Oh yeah, I forgot, here are two threads that already have many cheats for PAL games, including their Mastercode in them to get you started as a PALi (Pal cheats, and especially Mastercodes (sometimes called (M) codes (with a (has to be active for other codes to work) description next to it) are a little harder to come by on the net.):
https://www.metagames-eu.com/forums...mats-raw-armax-actionreplay-etc-4-131552.html
https://www.metagames-eu.com/forums/playstation-2/cheats-avec-opl-0-9-3-a-2-135587.html
__
Tested (mostly PAL) widescreen cheatcodes:
Current list of games:
"Baldur's Gate: Dark Alliance (PAL) /ID SLES_506.72"
"Baldur's Gate: Dark Alliance II (PAL) /ID SLES_521.88"
"Broken Sword - The Sleeping Dragon (PAL) /ID SLES_515.57"
"Canis Canem Edit (PAL) /ID SLES_535.61"
"Dead or Alive 2 - Hardcore (NTSC-U) /ID SLUS_200.71"
"Death by Degrees (PAL) /ID SCES_525.86"
"Fahrenheit (PAL) /ID SLES_535.39"
"Final Fantasy X (PAL) /ID /ID SCES_504.92"
"Final Fantasy X-2 (PAL) /ID SLES_518.17"
"ICO (PAL) /ID SCES_507.60"
"Shadow of Memories (PAL) /ID SLES_501.12"
"The Bards Tale (PAL) /ID SLES_531.54"
"The Operative: NOLF (PAL) /ID SLES_505.92"
"XIII (PAL) /ID SLES_512.94"
https://pastebin.com/JpcCvraS
(Thats the content of the CheatDatabase.txt, btw. so you can paste that into yours and it will work.)
Long story short - out of what feels like a dozen or so solutions, the one to actually use is CheatDevice ( https://github.com/root670/CheatDevicePS2 ), as it offers support for decrypted cheatcodes, which are the most common ones to be shared by community users, because hey, they are open (RAW format). Generally you can find them on sites like
https://gamehacking.org/game/103151
(Already linked to a game)
by clicking on the dropdown and selecting ps2rd, and then view - from there you can copy/paste.
gamehacking.org also has a code converter ( https://gamehacking.org/system/ps2 ) but the issue here is, that it converts most codes correctly except master codes, but more on that a bit later.
So once you have the codes in clipboard (by visiting gamehacking.org or any other website, some of which are listed here: https://www.ps2-home.com/forum/viewtopic.php?t=100+&cd=1&hl=en&ct=clnk ), a good tool to manage them in is OPL Manager (on PC), where basically you can create a cheats .txt file associated with every game.
CheatDevice itself is compatible with most cheat formating you'd find using the ps2rd format, so in general you dont have to rewrite formating, but you can also check the wiki for details on formating if you have to ( https://github.com/root670/CheatDevicePS2/wiki/Cheats )).
OPL also has a built in cheat function (which is why OPL Manager has a cheat feature ), but its actually pretty unusable, as it doesnt allow you to selectively enable or disable cheats on console - which is kind of necessary. CheatDevice can handle that, and then launch you into OPL afterwards, with cheats active in memory.
For that it also sports an .ini in which you can set up your OPL path manually, or simply leave it at default which should launch you into uLaunchELF (when selecting BOOT.ELF), from where you then could launch the OPL elf. (Editing the .ini is recommended, as it is faster to launch into OPL directly.).
CheatDevice's cheat database format is just a txt file with all the ps2rd format decrypted cheats in them, thats zipped. So you can basically copy and paste cheats you manage in OPL Manager over - and it will work. You also can literally merge all the cheat files that OPL Manager creates into one textfile, zip that, and use that as your database, and it will work. CheatDevice will autosort them, so everything should just work as you'd expect. The cheat database file then lies in the same folder as the CheatDevice elf, on your USB stick.
--
Lets get to 16:9 patching on the fly.
You can get widescreen game patches from here: https://forums.pcsx2.net/Thread-PCSX2-Widescreen-Game-Patches (click the link under Patch Archive)
They are in pnatch format, which is the patch format for pcsx2. Most of them are compatible with original hardware also. To "convert" them to decrypted code format, you run them through a tool called PNATCH Converter ( https://www.ps2-home.com/forum/viewtopic.php?t=94+&cd=1&hl=en&ct=clnk ). On the right side select RAW as output. This will give you the "cheat codes" needed to 16:9 patch your games using CheatDevice - except that it lacks the Mastercode.
The Mastercode is a code most PS2 games need active, to allow you to use other codes, while the game is active, otherwise it will crash.
You get the mastercode either by searching for other cheatcodes for your game (in decrypted format) on the internet, or by using a tool like Mastercodefinder ( https://www.ps2-home.com/forum/viewtopic.php?t=92+&cd=1&hl=en&ct=clnk ) together with elf extractor (linked to in the thread of Mastercodefinder I just linked) on your games .iso.
To have something to compare to, at the bottom of this posting you'll find some cheatcodes for PAL games, with 16:9 patches that actually are tested and working (pastebin link).
--
16:9 patching and game borders.
Because depending on your scaler or line doubler, or your game, 16:9 patching might give you the correct aspect ratio in game, but still leave you with borders, a TV that can stretch the image in all four directions (independently) in a zoom video mode might still be needed. Here is how you do that on any LG Oled / any recent LG TV:
That menu only pops up, if you select it from settings, not from quicksettings, btw.
That should be it. Remember that the Mastercode has to be enabled for 16:9 and FOV patches to work on console. Have fun.
edit: Oh yeah, I forgot, here are two threads that already have many cheats for PAL games, including their Mastercode in them to get you started as a PALi (Pal cheats, and especially Mastercodes (sometimes called (M) codes (with a (has to be active for other codes to work) description next to it) are a little harder to come by on the net.):
https://www.metagames-eu.com/forums...mats-raw-armax-actionreplay-etc-4-131552.html
https://www.metagames-eu.com/forums/playstation-2/cheats-avec-opl-0-9-3-a-2-135587.html
__
Tested (mostly PAL) widescreen cheatcodes:
Current list of games:
"Baldur's Gate: Dark Alliance (PAL) /ID SLES_506.72"
"Baldur's Gate: Dark Alliance II (PAL) /ID SLES_521.88"
"Broken Sword - The Sleeping Dragon (PAL) /ID SLES_515.57"
"Canis Canem Edit (PAL) /ID SLES_535.61"
"Dead or Alive 2 - Hardcore (NTSC-U) /ID SLUS_200.71"
"Death by Degrees (PAL) /ID SCES_525.86"
"Fahrenheit (PAL) /ID SLES_535.39"
"Final Fantasy X (PAL) /ID /ID SCES_504.92"
"Final Fantasy X-2 (PAL) /ID SLES_518.17"
"ICO (PAL) /ID SCES_507.60"
"Shadow of Memories (PAL) /ID SLES_501.12"
"The Bards Tale (PAL) /ID SLES_531.54"
"The Operative: NOLF (PAL) /ID SLES_505.92"
"XIII (PAL) /ID SLES_512.94"
https://pastebin.com/JpcCvraS
(Thats the content of the CheatDatabase.txt, btw. so you can paste that into yours and it will work.)
Last edited by notimp,