 |
forums.ps2dev.org Homebrew PS2, PSP & PS3 Development Discussions
|
| View previous topic :: View next topic |
| Author |
Message |
Urb85

Joined: 05 Mar 2005 Posts: 21 Location: UK
|
Posted: Sat Mar 05, 2005 3:12 am Post subject: PSP Save Files [demistified] ...almost! |
|
|
Hi all, I am pretty new to this forum but have been following it quietly "behind the scenes".
Quite interested on the "reverse" side of the PSP (even if I don't own one yet), I tried to help this great community of PS2Dev and actually I found something interesting that maybe could help one or two in this Forum:
If we look at the savedata of for example "Ridge Racer", we are able to see that 4 files have been created:
[DATA.BIN] [ICON0.PNG] [ICON1.PMF] and [PARAM.SFO];
having a more in depth look at the file PARAM.SFO we are able to find some nice little information on how the PSP saved the data, and thanks to Gorim at this post http://forums.ps2dev.org/viewtopic.php?t=923&highlight=sfo we can see that he was able to parse that information and show in a more formal order...
Now what I tried is to go inside the PARAM.SFO file, copied all the information inside and pasted into a little nice program, called NJSTAR, which on my UK version of WinXp allows me to read Japanese chracters, so all the information found on that file, now is moslty demistified;
Looking at what is inside the Ridge Race PARAM.SFO file in the normal Notepad, all the information comes up like this:
| Code: | PSF f (
@ ; ` ` H N ^ ( m CATEGORY PARENTAL_LEVEL SAVEDATA_DETAIL SAVEDATA_DIRECTORY SAVEDATA_FILE_LIST SAVEDATA_PARAMS SAVEDATA_TITLE TITLE MS 「リッジレーサーズ」ゲームデータ
プレイヤーネーム:anoop
走行距離:0km
ULJS00001000 x_i DATA.BIN mt@/mbh>3 3^ijUjLH7$9Tkݘ ゲームデータ リッジレーサーズ
|
When I then tried to paste all this scrubble incomprensible language into NJStar this is what it come out like:
| Code: | CATEGORY PARENTAL_LEVEL SAVEDATA_DETAIL SAVEDATA_DIRECTORY SAVEDATA_FILE_LIST
SAVEDATA_PARAMS SAVEDATA_TITLE TITLE MS 「リッジレーサーズ」ゲーム
データ
廛譽ぅ筺璽諭璽燹пnoop
・垉・ァОkm
|
So doing a little bit of translation I was then able to see little informations like the Player name, in this case "noop", and how many Km's he/she has done since, and in this case "0Km", the other information like:
「リッジレーサーズ」ゲームデータ
is the title, and in this case: "Ridge Racer Game Data";
We can see also that this file calls as reference another file the DATA.BIN, where for sure contains all the information about the Saved Data itself;
I found also more info about ICON1.PMF and more presumably is a little video that the PSP displays while the user is exploring the save data on memstick.
I have got more info about the other files available in the saved data, as the AT3 file and the FLEXlm license that some Japanese uses and put inside the memstick with all the other saved stuff.
I hope this is a little bit of help, I am creating a small program that maybe allow this info to be displayed into a more user friendly GUI! See u soon! _________________ -----------------
PHP, ASP.Net, C#, VB.Net
----------------- |
|
| Back to top |
|
 |
mc

Joined: 12 Jan 2005 Posts: 212 Location: Linkping
|
Posted: Sat Mar 05, 2005 4:54 am Post subject: |
|
|
http://mc.pp.se/psp/psf.xhtml
The string you were looking at was the SAVEDATA_DETAIL, to be displayed in the savegame menu. All TXT type fields are UTF-8 encoded, so you need some UTF-8 capable text viewer to display them correctly, yes.
See also http://mc.pp.se/psp/mstree.xhtml _________________ Flying at a high speed
Having the courage
Getting over crisis
I rescue the people |
|
| Back to top |
|
 |
Urb85

Joined: 05 Mar 2005 Posts: 21 Location: UK
|
Posted: Sat Mar 05, 2005 6:36 am Post subject: Thanks MC, some more news here! |
|
|
Thanks a lot for the nice link you gave me, but I found some other interesting news about the stuff inside the SAVE_DATA, I found that the .at3 file is:
a wav file.
With 2 Channels, 44 Khz sample rate, 128 Kbit/sec.
Media Type 0:
--------------------------
AM_MEDIA_TYPE:
majortype: MEDIATYPE_Audio {73647561-0000-0010-8000-00AA00389B71}
subtype: Unknown GUID Name {E923AABF-CB58-4471-A119-FFFA01E4CE62}
formattype: FORMAT_WaveFormatEx {05589F81-C356-11CE-BF01-00AA0055595A}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 744
cbFormat: 52
WAVEFORMATEX:
wFormatTag: 0xfffe
nChannels: 2
nSamplesPerSec: 44100
nAvgBytesPerSec: 16020
nBlockAlign: 744
wBitsPerSample: 0
cbSize: 34 (extra bytes)
And while I was looking at some of my SAVE_DATA, I found that the SaveData of the game "Mojipittan", hasn't got any .BIN file but instead the actual PARAM.SFO is looking for a file called "MOJIDAJ.Dat", that actually is a FLEXlm License File, that seems to be a license from "Macrovision" which according to their website "it helps software vendors reduce unlicensed use and capture all potential revenue from new and installed-base customers".
Interesting, isn't it? _________________ -----------------
PHP, ASP.Net, C#, VB.Net
----------------- |
|
| Back to top |
|
 |
pdc
Joined: 09 Mar 2005 Posts: 107 Location: Rainy Yorkshire, England
|
Posted: Thu Mar 24, 2005 4:59 am Post subject: |
|
|
I believe the SND0.AT3 found on the memstick is an ATRAC3plus file.
Encoding an ATRAC3 file and calling it SND0.AT3 does the job too.
e.g. http://pdc.me.uk/psp/brit_at3/SND0.AT3 :)
Edit:
forgot to mention, ATRAC3 codec available here: http://www.minidisc.org/atrac3.zip
And despite having what is clearly a PSP-friendly ATRAC3 file, the music player still doesn't show it in the playlist...! |
|
| Back to top |
|
 |
Yoorah
Joined: 07 Mar 2005 Posts: 20
|
Posted: Fri Mar 25, 2005 3:21 pm Post subject: |
|
|
| pdc wrote: | I believe the SND0.AT3 found on the memstick is an ATRAC3plus file.
Encoding an ATRAC3 file and calling it SND0.AT3 does the job too.
e.g. http://pdc.me.uk/psp/brit_at3/SND0.AT3 :)
Edit:
forgot to mention, ATRAC3 codec available here: http://www.minidisc.org/atrac3.zip
And despite having what is clearly a PSP-friendly ATRAC3 file, the music player still doesn't show it in the playlist...! | I believe the PSP will only recognize ATRAC files which were transfered using SonicStage. _________________ If at first you don't succeed, skydiving is not for you. |
|
| Back to top |
|
 |
pdc
Joined: 09 Mar 2005 Posts: 107 Location: Rainy Yorkshire, England
|
Posted: Fri Mar 25, 2005 8:41 pm Post subject: |
|
|
| Yoorah wrote: | | pdc wrote: | I believe the SND0.AT3 found on the memstick is an ATRAC3plus file.
Encoding an ATRAC3 file and calling it SND0.AT3 does the job too.
e.g. http://pdc.me.uk/psp/brit_at3/SND0.AT3 :)
Edit:
forgot to mention, ATRAC3 codec available here: http://www.minidisc.org/atrac3.zip
And despite having what is clearly a PSP-friendly ATRAC3 file, the music player still doesn't show it in the playlist...! | I believe the PSP will only recognize ATRAC files which were transfered using SonicStage. |
Does SonicStage encode ATRAC3+ format?
If so, perhaps Sony only wants to play back ATRAC3+ (not just normat ATRAC3) for DRM purposes.
If you are desparate to play an ATRAC3 file though, just call it SND0.AT3 in a save-game! There seems to be no restriction on bitrate/filesize for SND0.AT3.
I don't get the point of being semi-tight with ATRAC3 files when the PSP has mp3 playback anyway. |
|
| Back to top |
|
 |
Yoorah
Joined: 07 Mar 2005 Posts: 20
|
Posted: Sat Mar 26, 2005 3:12 am Post subject: |
|
|
| pdc wrote: | Does SonicStage encode ATRAC3+ format?
If so, perhaps Sony only wants to play back ATRAC3+ (not just normat ATRAC3) for DRM purposes.
If you are desparate to play an ATRAC3 file though, just call it SND0.AT3 in a save-game! There seems to be no restriction on bitrate/filesize for SND0.AT3.
I don't get the point of being semi-tight with ATRAC3 files when the PSP has mp3 playback anyway. | I know for sure that the latest version of SonicStage does let you encode in ATRAC3+ format, because that's what the latest line of MDs uses (Hi-MDs). But I had no idea people would have trouble playing ATRAC3 files -- I thought those were backwards compatible with ATRAC3+ devices...
But you are right about one thing, for sure. ATRAC3+ will sound worse than its MP3 couterpart at high bitrates. If you encode your audio at around 64Kbps, then ATRAC3+ will sound better. LAME at highest quality settings beats ATRAC3+ at high bitrates, and high bitrates are only what (most) people will use... _________________ If at first you don't succeed, skydiving is not for you. |
|
| Back to top |
|
 |
Michael1980
Joined: 28 Mar 2005 Posts: 3
|
Posted: Tue Mar 29, 2005 12:12 am Post subject: |
|
|
SonicStage 3.0 is the latest version.
It allows encoding of both Atrac3Plus and Atrac3 files.
HiMD (minidisc) play both while NetMD (previous gen) play only Atrac3.
Atrac's come with a very tight DRM, like there is no dran and drop from explorer, you have to transfer them using SonicStage.
Edit: Am I right in thinking that just by encoding an Atrac file (om*) extension and then renaming to at3 extension and sticking it to the save game file, the music would NOT play? Because if it does, then that means there is no DRM present in this case, that would be pretty big news. |
|
| Back to top |
|
 |
pdc
Joined: 09 Mar 2005 Posts: 107 Location: Rainy Yorkshire, England
|
Posted: Tue Mar 29, 2005 1:51 am Post subject: |
|
|
| Michael1980 wrote: | SonicStage 3.0 is the latest version.
It allows encoding of both Atrac3Plus and Atrac3 files.
HiMD (minidisc) play both while NetMD (previous gen) play only Atrac3.
Atrac's come with a very tight DRM, like there is no dran and drop from explorer, you have to transfer them using SonicStage.
Edit: Am I right in thinking that just by encoding an Atrac file (om*) extension and then renaming to at3 extension and sticking it to the save game file, the music would NOT play? Because if it does, then that means there is no DRM present in this case, that would be pretty big news. |
Standard ATRAC3 files will play as savegame music.
I have tested it with a Britney song ;) |
|
| Back to top |
|
 |
|
|
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
|