Hacking Major_Tom Explains Game Dumping/Mods on 3.60

Wuigi

Well-Known Member
Member
Joined
Sep 14, 2012
Messages
728
Trophies
1
XP
1,808
Country
United States
Well the ID in the eboot path is NPXS10027 but I guess you just made a typo.
To access gro0 you have to add an additional uri line line described in the additional steps.
 

bache

Well-Known Member
Member
Joined
Sep 28, 2009
Messages
694
Trophies
1
XP
515
Country
Well the ID in the eboot path is NPXS10027 but I guess you just made a typo.
To access gro0 you have to add an additional uri line line described in the additional steps.
I've set it as follows:
a69dee8cafe4c7b8e8623571f3d1a741.png


The line added to tbl_uri reads
9ef2468c3f365f33aa0bc6add0509ef1.png


Edit: I overlooked the line of text that says to add the value in tbl_uri to gro0 for carts. Testing it now.

Edit #2: Nope, still nothing. I can see that the game card icon in the top right of the screen now shows molecularShell instead of Freedom Wars now though.
 
Last edited by bache,

bache

Well-Known Member
Member
Joined
Sep 28, 2009
Messages
694
Trophies
1
XP
515
Country
If you use a certain sqlite browser you were sure to click write changes at the end?
Yep sure did. Seems I'm making progress though; changing the line to NPXS10027 in tbl_uri launches the manual, however I get a new error telling me to "Insert a PS Vita Card that contains this application"

Edit: Just tried it with a digital game on the memory card, and all worked fine. Just no luck with the physical carts for some reason.

Edit 2: And now it's working fine on the physical cart. Didn't change anything, and it's now dumping all the game files. Thanks for all of your help :).
 
Last edited by bache,

Wuigi

Well-Known Member
Member
Joined
Sep 14, 2012
Messages
728
Trophies
1
XP
1,808
Country
United States
No problem, if you happen to have Danganronpa Ultra Despair Girls, that won't be decrypted for some reason so don't waste your time like I did.
 

fgghjjkll

GBATemp MegaMan
Member
Joined
Jul 7, 2008
Messages
2,043
Trophies
0
Age
28
XP
1,038
No problem, if you happen to have Danganronpa Ultra Despair Girls, that won't be decrypted for some reason so don't waste your time like I did.
Also Kantai Collection won't be decrypted either. That's because Kantai Collection closes all processes (including the near app) before launching (molecular shell). It seems like this won't work for EVERY cartridge.

EDIT: This did work for Freedom Wars (digital download) btw
EDIT2: Worked for P4G and Danganronpa 1 too
 
Last edited by fgghjjkll,

dkabot

Better With Others' Systems Than Their Own
OP
Member
Joined
Sep 9, 2014
Messages
1,042
Trophies
0
XP
626
Country
United States
Is it possible to use this to install a physical game as a digital one like in this tutorial? http://wololo.net/talk/viewtopic.php?f=65&t=45036
That tutorial uses the encrypted files, rather than decrypted ones, so this changes nothing.

That said, I and at least one other have tried it to a resounding lack of success.
The installer for it is no longer functional, and moving it manually (FTP FTW) and rebuilding database leads to further differences and failures.
 

AIDA

Well-Known Member
Newcomer
Joined
Aug 3, 2016
Messages
52
Trophies
0
Location
Maritropa
Website
arks-layer.com
XP
285
Country
This is great news. I'm having trouble getting a repacked CPK to run as a patch, however. Specifically, the data.cpk from Persona 4 Golden.
I'm using Cri Packed File Maker to create the new CPK from a directory extracted using quickBMS (no other programs will extract the CPK, saying it's invalid).
I just get an error saying the game is corrupted unless I delete it from the patch directory.

Y43wyxw.png

Here's a comparison of the original CPK and the repacked CPK. I did replace a few model files but it shouldn't account for such a big difference. The main problem seems to be the selective compression. I haven't tried without compression though, I will test that shortly.

Anyone know of any other CPK tools?

EDIT: With all this trial and error, it'd be nice if you could duplicate the bubble. Like have one be molecularshell and another actually be the game

I'm having the same issue, but I'm using a fork from an older tool here:

https://github.com/Arks-Layer/CriPakTools

I'll try again without compression.

EDIT: I think I found out what it was - Let the game do a vanilla update and see if the patch CPK is called something different.
 
Last edited by AIDA,

dkabot

Better With Others' Systems Than Their Own
OP
Member
Joined
Sep 9, 2014
Messages
1,042
Trophies
0
XP
626
Country
United States
Tried inserting JP data.cpk onto my US copy of P4G. Things happened.
9f9e6d62db.jpg

f2eab8e3a5.jpg

0a5e3e0d2f.jpg
Got a whole bunch of JP text and voices.
Can definitely do your undub if you get it running with the changes.
Not everything is JP though, some various system prompts like connecting to PSN and the save/load text boxes are still English.
 
Last edited by dkabot,

AIDA

Well-Known Member
Newcomer
Joined
Aug 3, 2016
Messages
52
Trophies
0
Location
Maritropa
Website
arks-layer.com
XP
285
Country
Okay so dropping the file itself into the update crashed the game. When I update the game via PSN, it says it should be the same CPK name with _patch at the end. However, I can't decrypt it to find out exactly what should be in there D: Either way, it seems like dragging and dropping the replaced files into the update folder doesn't work for every game, which is disappointing.
 

dkabot

Better With Others' Systems Than Their Own
OP
Member
Joined
Sep 9, 2014
Messages
1,042
Trophies
0
XP
626
Country
United States
Okay so dropping the file itself into the update crashed the game. When I update the game via PSN, it says it should be the same CPK name with _patch at the end. However, I can't decrypt it to find out exactly what should be in there D: Either way, it seems like dragging and dropping the replaced files into the update folder doesn't work for every game, which is disappointing.
It does, but you can't use an actual patch along with it.
You would need to decrypt the patch files (which is a separate problem, not explained yet) and then insert them in the same way you do these "mods".
 

AIDA

Well-Known Member
Newcomer
Joined
Aug 3, 2016
Messages
52
Trophies
0
Location
Maritropa
Website
arks-layer.com
XP
285
Country
It does, but you can't use an actual patch along with it.
You would need to decrypt the patch files (which is a separate problem, not explained yet) and then insert them in the same way you do these "mods".
When I drop the new CPK (NOVA_FileList_Vita.cpk) into the PCSG00351 (PS: Nova's Game ID) folder, it says the update is corrupted. Do I need *just* that file, or another file/folder to give information about the update?

It saying the file is corrupted is what prompted me to try this way, but since I can't decrypt the update yet, I'm kind of stonewalled.
 

dkabot

Better With Others' Systems Than Their Own
OP
Member
Joined
Sep 9, 2014
Messages
1,042
Trophies
0
XP
626
Country
United States
When I drop the new CPK (NOVA_FileList_Vita.cpk) into the PCSG00351 (PS: Nova's Game ID) folder, it says the update is corrupted. Do I need *just* that file, or another file/folder to give information about the update?

It saying the file is corrupted is what prompted me to try this way, but since I can't decrypt the update yet, I'm kind of stonewalled.
Try adding an sce_sys. The one from MolecularShell works for testing (though leaving it there isn't a great idea).

EDIT: Okay, so sce_sys is needed for its param.sfo and nothing else.
Apparently, leaving MAX_SAVEDATA_SIZE in it is causing issues (official patches have it...), but replicating everything else and changing version is cooperative.

I'm also not getting any success trying to make the system think it needs an update to run the game, so not sure if this would work at all for forcing newer FW games to run (assuming there's no technical requirements that changed between versions)

My "Version 1.01" P4G is 90% JP with the JP CPK in it.
I've attached the SFO for "1.01" P4G, date of "patch" set to August 1st for fun.
Use at your own risk (if you do use) as you never know what not setting things may do...
@Shrinefox this may be useful to you
 

Attachments

  • param.sfo.zip
    469 bytes · Views: 184
Last edited by dkabot,
  • Like
Reactions: Shrinefox

dkabot

Better With Others' Systems Than Their Own
OP
Member
Joined
Sep 9, 2014
Messages
1,042
Trophies
0
XP
626
Country
United States
Dropping the sce_sys folder into the patch folder worked, the game doesn't crash anymore.

However, it looks like none of my changes are taking place, but I have a feeling that's on me. Thank you for your help! \ o /
Note that, at least on carts, re-inserting the cart with Molecular's sce_sys causes it to fail.
Similar behavior may happen on reboots with digital.

If you want to avoid it, you can throw out Molecular's and generate a param.sfo based on the original game, as though you were making a patch.
For just messing about and testing, though, there shouldn't be any real issue.

Edit:
In P4G-land, I extracted both CPKs, put JP sound and ENG rest in a folder, ran the same tool as @Shrinefox to repack, and infinite loading screen. Dang.
 
Last edited by dkabot,

Shrinefox

Persona Modder
Member
Joined
Sep 5, 2013
Messages
124
Trophies
1
Website
shrinefox.com
XP
511
Country
United States
@dkabot Thank you, the param.sfo at least made the game boot but I'm getting infinite loading screen too.
I hope this doesn't have to do with the executable or we're screwed (though it's likely the CPK compression from that program being wrong).
If it was it'd probably be crashing with error messages.
 

dkabot

Better With Others' Systems Than Their Own
OP
Member
Joined
Sep 9, 2014
Messages
1,042
Trophies
0
XP
626
Country
United States
@dkabot Thank you, the param.sfo at least made the game boot but I'm getting infinite loading screen too.
I hope this doesn't have to do with the executable or we're screwed (though it's likely the CPK compression from that program being wrong).
If it was it'd probably be crashing with error messages.
The JP one directly worked, as seen above, so it doesn't accept only the one.
Both had info very similar to one another when looked at though, compression ratios and such.

Looking at the info for the original and re-made, more files are compressed on the repack (~60% compared to ~65% of original total size).
I think it's a problem that the tool we have doesn't pack quite like the original one did.

Files were apparently in the same order once it was done and I re-opened it, though I didn't manually check all of them (just start/end).

EDIT: Elaboration image, left is ENG, mid is JP, right is attempted repack.
b8e659c328.png
 
Last edited by dkabot,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    Some temporary storage
  • Xdqwerty @ Xdqwerty:
    also @BigOnYa im making some progress on my gdevelop project, implemented various mechanics
  • Psionic Roshambo @ Psionic Roshambo:
    They went all in on streaming, should have been more of a hybrid approach
    +1
  • BigOnYa @ BigOnYa:
    Or free government supplied high speed internet be nice also. Like Obama care. Xdqwerty that's cool, its time consuming but rewarding once done or playable, to see what you've made from scratch. Animations take forever, but worth it.
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, although the bullets are a bit buggy
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Not to mention this would be a massive pain to pirate
  • Xdqwerty @ Xdqwerty:
    @BigOnYa,
    and the visual aspect of the game is quite crude (the sprite that looks best is that of the protagonist just because he is a stickman with sunglasses)
    +1
  • BigOnYa @ BigOnYa:
    There is a bullets behaviour you assign to your character, that makes the code easier, under "behaviours"
  • Xdqwerty @ Xdqwerty:
    i meant that when the character is pointing to the right, the bullets spawn where they should, but when he is on the right, they move to the right but the spawn point is incorrect
  • BigOnYa @ BigOnYa:
    Itch.io has lots of free assets also. Under the bullets behavior tab, there is a "rotate bullets" option, can try that. Or in the code can try
    - fire bullet Player.X(PlayerDirection)
  • Xdqwerty @ Xdqwerty:
    im taking a break for today anyway
    +1
  • BigOnYa @ BigOnYa:
    YEa gotta after a while, looking at code for long periods will bug your eyes.
    +1
  • BigOnYa @ BigOnYa:
    That's cool tho, I'm proud of you going back to it, not giving up. It is difficult at first to learn, but fun once you get the hang of it. I think I've watched every tutorial video there is, but I still struggle sometimes to get stuff to work right. But gotta keep trying dif things, and eventually you will get it right.
    +1
  • K3Nv2 @ K3Nv2:
    Lol McDonald's has a grandma mcflurry
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, furry grandma?
  • BigOnYa @ BigOnYa:
    It sounds good actually, I like butterscotch
  • K3Nv2 @ K3Nv2:
    It sucked don't know wtf these little bits and pieces are they use now
    +1
  • BigOnYa @ BigOnYa:
    I live maybe 3 minutes from a Dairy Queen, so I would just go there for ice cream anything anyways. I usually get the Oreo Blizzard, or a Peanut Buster Parfait.
  • Xdqwerty @ Xdqwerty:
    whats a dairy queen?
  • BigOnYa @ BigOnYa:
    Ice cream shop
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, mmmm ice cream
    +1
  • K3Nv2 @ K3Nv2:
    Uremums a dairy queen
    +2
  • BigOnYa @ BigOnYa:
    Mmmmm uremum
    BigOnYa @ BigOnYa: Mmmmm uremum