03-13-2021, 05:48 AM
(03-12-2021, 04:32 PM)Htori Wrote: [ -> ]Can I get a how to, for patching this? Step by step. Literally not the first clue and no pointing to a thread doesn't help. I need my hand literally dragged step by step specifically.
Yeah I had to figure out how to do it with a bit of trial and error myself.
First, if possible a code-friendly text editor like Notepad+ is preferrable
-Get the latest nightly (the stable releases seem to be slightly different with its patch database.
-Open Gameindex.yaml in the PCSX2 Nightly directory with a text editor (preferably N+)
-Do a search for your title of choice. It should show up TWICE. You want the second one that has a Compatibilty option. If your desired game doesn't, that's fine as long as it's the second title.
Under region: add a patches: line. Make sure the p in patches lines up with the r in region
Under patches, put the CRC followed by a colon. In that Growlanser example you posted it would be 03F9C6D1:
I don't think Capitalization matters but I'd do it be safe and matches other entries. You want the 0 to line up with the t in patches: above it
Under the third character of the CRC (in the above example the F) type content: |-
Under the first n in content paste your code. Make sure each line lines up under that n.
Do it right and you should have something like this (what I did with the Itadaki Street 3 patches last page)
Code:
SLPM-62112:
name: "Itadaki Street 3"
region: "NTSC-J"
patches:
211DEAD7:
content: |-
// Skip xag_stop in XagStop function
patch=1,IOP,000a73f4,word,00000000
// Skip treq_XAG if command is 0x36
patch=1,IOP,000a4560,word,0807fff7
patch=1,IOP,001fffdc,word,24190036
patch=1,IOP,001fffe0,word,14990003
patch=1,IOP,001fffe8,word,0802915a
patch=1,IOP,001ffff0,word,0c028bc2
patch=1,IOP,001ffff8,word,0802915a
Now, load up the PCSX2 Nightly. If the Console window is open it should say if the [GameDB] loaded correctly. if not, it'll say a line is wrong and didn't load correctly. If you load up the game and see something like this in the Console Log
Code:
[GameDB] Searching for 'slpm-62112' in GameDB
[GameDB] Found 'slpm-62112' in GameDB
[GameDB] Searching for patch with CRC '211dead7'
[GameDB] Found patch with CRC '211dead7'
(GameDB) Patches Loaded: 7
[GameDB] Searching for 'slpm-62112' in GameDB
[GameDB] Found 'slpm-62112' in GameDB
[GameDB] Searching for patch with CRC '211dead7'
[GameDB] Found patch with CRC '211dead7'