Post: ►PSGroove and Payload Changes for Game Updates/Patches
10-12-2010, 03:02 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Neener-neener-neener… Mathieulh knows how to get all game updates/patches working and you don’t. But really, if ya don’t know, Mathieulh’s gonna show you, and I quote:

Originally posted by another user
Some game updates use lv2open to check the disc’s param.sfo to make sure the right disc is in the drive and the check fails because psjailbreak patches only patch the vsh open, as such a lot of patches will ask to “insert” the disc if you are playing from a backup, I don’t care much about backups myself but for the sake of it and because some people may actually do a legit use of them, here is the patch: in 3.41 lv2 at offset 0x5745C change to li %r31, 0



Specifics:


cmpwi cr7, %r27, 0
ROM:00057430 beq cr7, loc_57458
ROM:00057434 lbz %r0, 0x60(%r28 )
ROM:00057438 cmpwi cr7, %r0, 0
ROM:0005743C beq cr7, loc_57458
ROM:00057440 addi %r3, %sp, arg_72+1
ROM:00057444 addi %r4, %r28, 0x61
ROM:00057448 li %r5, 0xA
ROM:0005744C
bl sub_4C454
ROM:00057450 cmpwi cr7, %r3, 0
ROM:00057454 b loc_574A8
ROM:00057458
ROM:00057458 loc_57458: # CODE XREF: sub_57214+1FCj
ROM:00057458 # sub_57214+21Cj ...
ROM:00057458 lis %r31, -0x7FFF # 0x8001003E
ROM:0005745C ori %r31, %r31, 0x

here are the actual checks, it checks if a pointer is null, if it is, it errors, then they check the first char in the game's title id buffer, if it's 0 it erros and later a special memcmp is called which compares the title ids from the patch's sfo with the one from the disc's sfo.

Anyway I felt like it is better to explain the actual check for people's educational purposes.


Source: You must login or register to view this content.
and
You must login or register to view this content.
[/center]




Please press the THANKS button if you found this Useful
(adsbygoogle = window.adsbygoogle || []).push({});

The following user thanked NextGenTactics for this useful post:

Razbuton
10-12-2010, 03:23 AM #2
-STR8Bang-
O_o........=>x_O HeadShot
Originally posted by NextGenTactics View Post
Neener-neener-neener… Mathieulh knows how to get all game updates/patches working and you don’t. But really, if ya don’t know, Mathieulh’s gonna show you, and I quote:




Specifics:


cmpwi cr7, %r27, 0
ROM:00057430 beq cr7, loc_57458
ROM:00057434 lbz %r0, 0x60(%r28 )
ROM:00057438 cmpwi cr7, %r0, 0
ROM:0005743C beq cr7, loc_57458
ROM:00057440 addi %r3, %sp, arg_72+1
ROM:00057444 addi %r4, %r28, 0x61
ROM:00057448 li %r5, 0xA
ROM:0005744C
bl sub_4C454
ROM:00057450 cmpwi cr7, %r3, 0
ROM:00057454 b loc_574A8
ROM:00057458
ROM:00057458 loc_57458: # CODE XREF: sub_57214+1FCj
ROM:00057458 # sub_57214+21Cj ...
ROM:00057458 lis %r31, -0x7FFF # 0x8001003E
ROM:0005745C ori %r31, %r31, 0x

here are the actual checks, it checks if a pointer is null, if it is, it errors, then they check the first char in the game's title id buffer, if it's 0 it erros and later a special memcmp is called which compares the title ids from the patch's sfo with the one from the disc's sfo.

Anyway I felt like it is better to explain the actual check for people's educational purposes.


Source: You must login or register to view this content.
and
You must login or register to view this content.
[/center]




Please press the THANKS button if you found this Useful






Dude i don't get it
10-12-2010, 06:40 AM #3
Originally posted by Str8Bang View Post
Dude i don't get it

Mathieulh explained on his Twitter what has to be done with the payload to fix some backup compatibility issues, he doesn't implement them into his payload because the official PSGroove payload doesn't support playing backups.
10-12-2010, 12:18 PM #4
safee bruvvvaa u kool yeh

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo