forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[HELP] Modifying Savegame files

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
NovaCaine



Joined: 20 Dec 2005
Posts: 34
Location: New Zealand

PostPosted: Wed Jan 11, 2006 8:01 am    Post subject: [HELP] Modifying Savegame files Reply with quote

Hey all,

Was wondering if anyone has been able to modify a PSP savegame file (mainly the PARAM.SFO file) successfully without it becoming corrupt?

I'm asking this because Im trying to create a track Manager for Gripshift and was wanting to move the data to a different folder.

Does anyone have any good links on how to go about doing this, does the savefiles use a checksum to determine if the file is ok? I'm kinda new to the homebrew scene and have tried searching the forums for an answer but couldn't find any helpful information.

Thanks
_________________
My work:
TrackBundler for Gripshift
Back to top
View user's profile Send private message Visit poster's website
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Wed Jan 11, 2006 9:22 am    Post subject: Re: [HELP] Modifying Savegame files Reply with quote

NovaCaine wrote:
Was wondering if anyone has been able to modify a PSP savegame file (mainly the PARAM.SFO file) successfully without it becoming corrupt?
Yes, the savedata/encrypt sample takes care of correcting the integrity hashes in PARAM.SFO.
Back to top
View user's profile Send private message
NovaCaine



Joined: 20 Dec 2005
Posts: 34
Location: New Zealand

PostPosted: Wed Jan 11, 2006 11:14 am    Post subject: Reply with quote

Thanks for that.

I did have a look at that, but it all looked really complicated to me. Noticed in the readme file it says
Quote:
New saves require a
game-specific encryption key which can only be found inside the game
code.


How would I go about getting this code? Do I need to dump my UMD to get it? How would I go about changing the PARAMS.SFO file.

Sorry if these are noob questions, but I am a noob to this. Just wondering what I need to accomplish this and where to get it from.

Thanks Again

EDIT:
The files I currently have are
Gripshift Track save:
ICON0.PNG
ICON1.PMF
PARAM.SFO
TRACK.XDS

Gripshift Game Save:
ICON0.PNG
ICON1.PMF
PARAM.SFO
PIC1.PNG
PROFILE.XDS
SND0.AT3

Just from what I've read so far int he decrypt/encrypt source, would I be right to assume the .XDS files are the encrypted files I pass to the encrypt_file function? what is the pain text file need to be?
_________________
My work:
TrackBundler for Gripshift
Back to top
View user's profile Send private message Visit poster's website
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Wed Jan 11, 2006 2:44 pm    Post subject: Reply with quote

NovaCaine wrote:
How would I go about getting this code? Do I need to dump my UMD to get it?
Yes, you will have to disassemble the game and figure out what key it uses. If the game runs on 1.5, it's an old format save and you don't need a key. Old formats work with Shine's tool, too, which may be easier to use.
Quote:
How would I go about changing the PARAMS.SFO file.
Decrypt the save data file (yes, probably *.XDS), then change your param.sfo however you'd like. When you reencrypt the save, it will correct the hashes in the SFO.
Back to top
View user's profile Send private message
NovaCaine



Joined: 20 Dec 2005
Posts: 34
Location: New Zealand

PostPosted: Wed Jan 11, 2006 6:37 pm    Post subject: Reply with quote

Sweet. cheers for the good news.

One last question, after dumping the UMD I noticed that the BOOT.BIN file was about 3 megs and empty (every byte was 0). Is that normal?
_________________
My work:
TrackBundler for Gripshift
Back to top
View user's profile Send private message Visit poster's website
NovaCaine



Joined: 20 Dec 2005
Posts: 34
Location: New Zealand

PostPosted: Thu Jan 12, 2006 7:59 am    Post subject: Reply with quote

OK, ignore the above post. I've managed to move a save file to a different save slot fine.

But I am having trouble converting saves between regions, was wondering if anyone has had any experience with this? does the game key change between regions?
_________________
My work:
TrackBundler for Gripshift
Back to top
View user's profile Send private message Visit poster's website
sg57



Joined: 14 Oct 2005
Posts: 154

PostPosted: Thu Jun 15, 2006 12:30 pm    Post subject: Reply with quote

Hey say the game is like... 2.01+, would igo about hackign the gamesave via getting the dumped game, find some file inside it, (what name!!) then look for a key?

Daxter for an example.. I have my dumped game of it, now what? ive been poking and hexing fil,es lately and found squat... about aket
Back to top
View user's profile Send private message
Drakonite
Site Admin


Joined: 17 Jan 2004
Posts: 989

PostPosted: Thu Jun 15, 2006 1:16 pm    Post subject: Reply with quote

We don't hack official games here.

...I dunno how this thread lasted so long. Locked.
_________________
Shoot Pixels Not People!
Makeshift Development
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group