Site Menu
October
Su M Tu W Th F Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Latest Events
NEC9 Dec 6th-7th
(BigE_23) - 40 min 41 sec ago
WCG US Finals Oct 3-5 LA
(CIDKID) - Today at 19:52
WCG US Finals - Current Standings
(Blackula) - Today at 16:13
NYG7 "GO THE BALLS OR DO GO AT ALL" Sept. 4-7, NY
(tonyfamilia) - 2008-10-08 17:32
WCG final tournament group stage published
(Yip) - 2008-10-08 17:25
Wiki Updates
(csnape) - 2008-09-26 06:31
(csnape) - 2008-09-25 07:00
(csnape) - 2008-09-25 05:30
Page 1 of 3 123>
Topic Options
#151796 - 2007-02-13 03:55 Replay file structure
Myke Administrator Offline
Carpal Tunnel

Registered: 1999-09-11
Loc: Sydney, Australia
XBL GT: Myke623
Welcome to the Replay file board!

Looks like there's still a lot unknown about how the replay files are put together. In downloading some of the replays lately, something that concerned me was the size of the replay zip files which were around 2 MB! That didn't sound right, so I took a look inside at what some of you have been uploading and found the following contents within:

ICON0.PNG 79.4 KB
ICON1.PAM 1.30 MB
PARAM.PFD 32 KB
PARAM.SFO 3 KB
PIC1.PNG 694 KB
REPLAY.DAT 9KB

Now, the files highlighted in red above are the only ones that seem to differ between two people's replays. So instead of transferring 2 MB each time, you probably only need to transfer between 40-50 KB.

I need to do some more investigation into the content of these files. If it turns out that we can only transfer the 40-50 KB portion, then I'll enable file uploading in this board to make it easier for everyone to exchange replays.
_________________________
Bring the players...

Top
#151798 - 2007-02-13 03:56 Re: Replay file structure [Re: Myke]
Myke Administrator Offline
Carpal Tunnel

Registered: 1999-09-11
Loc: Sydney, Australia
XBL GT: Myke623
BTW, the ICON0.PNG and PIC1.PNG are nice graphic files you can view \:\)
_________________________
Bring the players...

Top
#151807 - 2007-02-13 05:45 Re: Replay file structure [Re: Myke]
Myke Administrator Offline
Carpal Tunnel

Registered: 1999-09-11
Loc: Sydney, Australia
XBL GT: Myke623
PARAM.SFO seems to contain some information regarding the replay, and more importantly, seems to reference the name of the folder that contains it. As an example, for

Replay folder name: BLJM60016-REPLAY0002

In file PARAM.SFO, at hex address 968 you can see the ascii characters for "BLJM60016-REPLAY0002".

So, one possibility is that if you wanted to rename the folder, you would just need to update this file with the new folder name. Or at the very least, if you already had a REPLAY0002 folder, and didn't want to overwrite it, you could rename it to REPLAY0099 instead.

If this is true, then possibly all you'd need to send someone is REPLAY.DAT and PARAM.SFO. And to watch someone's replay, you could rename the folder and update the SFO file to match. I could even write a simple utility to automate this procedure for you.

But man, I can't believe sharing replay files is going to be this much of a hassle!
_________________________
Bring the players...

Top
#151830 - 2007-02-13 08:56 Re: Replay file structure [Re: Myke]
EVM Offline
Enthusiast
Registered: 2007-01-24
Loc: New Jersey
Sounds like you been hard at work Myke. So you are saying you can rename the file BUT you have to change the filename back to its original name before viewing it?

As far as sending just the REPLAY.DAT and PARAM.SFO, it would probably work but you would need to put those files back into a original "PS3" folder created by a PS3. I don't think you could just make a folder, lable it "PS3" and "SAVEDATA" and throw those files in there and then watch them in your PS3. The file will show up as corrupted.

Myke, what program do you use to view those files?
_________________________
XBL: BTGEVM

Top
#151836 - 2007-02-13 09:41 Re: Replay file structure [Re: EVM]
White_Worm Offline
Member

Registered: 2002-10-18
Loc: Colorado
Ya know, I kind of expected the replay files to be self-contained files, for easy transfer. I guess Sega didn't really think ahead on this feature either.
Top
#151867 - 2007-02-13 15:39 Re: Replay file structure [Re: White_Worm]
Srider Offline
Pooh-Bah

Registered: 2002-07-30
Loc: Shanghai
The replay files ARE self-contained in a folder. Myke is simply trying to figure out a way to cut it down in size.

Myke, how about in the mean time, people post their full size replays on free file hosting services until we figure out a way to trim them.
_________________________
Srider

Top
#151871 - 2007-02-13 16:42 Re: Replay file structure [Re: Srider]
Myke Administrator Offline
Carpal Tunnel

Registered: 1999-09-11
Loc: Sydney, Australia
XBL GT: Myke623
Originally Posted By: Srider
Myke, how about in the mean time, people post their full size replays on free file hosting services until we figure out a way to trim them.

Yep, sounds like a plan for now.

To answer some other questions:

I viewed the binary files using a hex editor. Specifically, I used Notepad++, which is a freeware text editor along with the Hex Editor plugin. You can easily google for it.

What I was hoping was that users could just exchange the three small files (.pfd, .sfo, .dat). To view someone elses replay, you take these three files, and place them into your own own replay folder with a name of your choosing, add in the other files (.png's and .pam), edit the sfo to match the folder name, then finally transfer this folder to your ps3.

Convoluted, yes. But, I could write a utility to do all this packaging/editing for you. Before that though, we need to confirm that this procedure I describe does indeed work.

If it doesn't work, then it would suck since it sounds like we'd have to temporarily rename our own replay folders in order to watch replays from others.
_________________________
Bring the players...

Top
#151872 - 2007-02-13 16:43 Re: Replay file structure [Re: White_Worm]
EVM Offline
Enthusiast
Registered: 2007-01-24
Loc: New Jersey
Originally Posted By: White_Worm
Ya know, I kind of expected the replay files to be self-contained files, for easy transfer. I guess Sega didn't really think ahead on this feature either.


Worm, when you get a chance can you upload another replay of these three files and I will test it out. Just take the files below out of the SAVEDATA folder and then zip them up. I will try to put them in one of my ps3 folders and see if it works.


PARAM.PFD 32 KB
PARAM.SFO 3 KB
REPLAY.DAT 9KB


Edited by EVM (2007-02-13 16:54)
_________________________
XBL: BTGEVM

Top
#151873 - 2007-02-13 16:54 Re: Replay file structure [Re: EVM]
EVM Offline
Enthusiast
Registered: 2007-01-24
Loc: New Jersey
I renamed the SFO and then I renamed the replay file and it works. I deleted the last 4 digits inside the SFO and renamed it to JEFFF and then renamed the replay file the same way.


Here is a link for a match between me and a friend. Somebody download the ZIP, extract the three files inside the zip and place them inside the PS3/SAVEDATA folder and them move those files into your PS3. Check to see if they work.

http://download.yousendit.com/BEA0922265E69872


Edited by EVM (2007-02-13 17:11)
_________________________
XBL: BTGEVM

Top
#151879 - 2007-02-13 18:09 Re: Replay file structure [Re: EVM]
White_Worm Offline
Member

Registered: 2002-10-18
Loc: Colorado
EVM, when you say you renamed the SFO, do you mean you used a hex editor?
Top
Page 1 of 3 123>


Moderator:  Plague, KoD, akai 
Hop to:
Shout Box

Who's Online
11 registered (KtotheG, darksoul173, matthew_ct580, Cozby, tonyfamilia, Lars, 3 invisible) and 34 anonymous users online.
Active Topics
Politics
(tonyfamilia) - Yesterday at 23:53
King of Fighters 2002 Unlimited Match
(XBJX) - Yesterday at 22:37
The King of Fighters XII
(SDS_Overfiend1) - Yesterday at 22:21
Tekken 6 on 360?
(SDS_Overfiend1) - Yesterday at 22:17
Submit your desire for VF5R outside of Japan...
(KristinaNardone) - Yesterday at 21:44
SoCal VF5 in 2007 and beyond
(ACTIONBASTARD) - Yesterday at 21:39
VF5R Movies
(LucidNightmare) - Yesterday at 20:52
need brad advice versus keep-away
(deathsushi) - Yesterday at 18:31
Northern California VF Thread!!
(haunts) - Yesterday at 16:43
Sarah Ver.D Item Win-Pose!
(LucidNightmare) - Yesterday at 15:41
Newest Members
StickOfPower, BgbomZ, Rakarr, katei, MAtteoJHDY
11422 Registered Users
Forum Stats
11422 Members
61 Forums
13410 Topics
220273 Posts

Max Online: 353 @ 2008-04-29 17:03

Generated in 0.222 seconds in which 0.041 seconds were spent on a total of 14 queries. Zlib compression enabled.