Hacking What actually happens when you "remarry" a pkg?

  • Thread starter Thread starter Targi
  • Start date Start date
  • Views Views 3,515
  • Replies Replies 4

Targi

Member
Newcomer
Joined
Aug 16, 2018
Messages
13
Reaction score
3
Trophies
0
Age
56
XP
105
Country
United States
Say you remarry a update.pkg to a game.pkg, what actually changes to allow it to no longer give an error? I'm probably wrong, but the only things I see different before and after a remarried pkg is:

Sc0\origin-deltainfo.dat : ___MISSING___...___________WORKING\2_patch_dump\
Image0\sce_discmap_patch.plt : MISMATCH
Sc0\param.sfo : MISMATCH
Sc0\pic0.dds : MISMATCH
Sc0\pic1.dds : MISMATCH
Sc0\playgo-chunk.dat : MISMATCH
Sc0\playgo-chunk.sha : MISMATCH

There could be more, but I'm wondering what magic orbis-pub-gen casts to "remarry" the pkg. The only difference in the param.sfo's between update.pkg's before and after are in PUBTOOLINFO and PUBTOOLVER, as far as I can tell with orbis-pub-sfo at least.
 
Yeh...? What is that :-/ Is that a file, pairing or what?

There is also a file I can't find that is referred to in orbis-pub-cmd, it states several times...

"Refer to the Publishing Tools Command Line Version User's Guide for more information."

Do you know where this user guide is because that reference is made on several commands, but I have no idea where that is and can't find it via web search.
 
  • Like
Reactions: KiiWii
Well, according to what I could find the digest appears to be sha values of tables. If SHA values are paired, I'm not sure where (or how unless an SHA is forged...?), maybe a digest is more than SHA. orbis-pub-cmd.exe file_digest <package> lists different digests for the game, patch, and remarried patch. As I it uses the whole pkg, that's not surprising.

If anyone knows of a good place to ask general questions like this, please let me know.

Note, i tried the pub-cmd for comparison of the 2 patchs (1 married, 1 not), it appears to only list 3 files mismatched (although some files appear to be skipped/ignored, ie. playgo-chunk)...

M Sc0/param.sfo
M Sc0/pic0.dds (assuming sha values should match, .dds files should matter too right...?)
M Sc0/pic1.dds
 
Last edited by Targi,
  • Like
Reactions: KiiWii

Site & Scene News

Popular threads in this forum