I want to open this psp archive. It doesn't have any compression. Just two tables at the beginning of the archive. The first one should be general info.(filesize, start offset etc). And the second one is names table!
But I couldn't found out the format of the 1st table. please help!
PSP robot wars dat
-
Mr.Mouse
- Site Admin
- Posts: 4058
- Joined: Wed Jan 15, 2003 6:45 pm
- Location: Dungeons of Doom
- Has thanked: 437 times
- Been thanked: 639 times
- Contact:
Ok, I have 90% of the format complete I think. Will write a mexCom plugin.
I've attached the table of contents of this archive (tab delimited text file).
Also a shot from Hex Workshop bookmarks to show you the format.
The general structure is :
Raw files are padded in blocks of 2048 bytes I assume.
The last 6 entries in the bookmark shot comprise 1 Resource Information Table entry.
Again, the full paths are not saved in the string table, just the single folders and files. Start with folder 0 and then work your way into subfolders, moving out of them as you go, until you're back at folder 0.
If you stumble upon a subfolder, this has priority, so check that one first until there are no more files and folders in there, then move on with the original sorting.
I've attached the table of contents of this archive (tab delimited text file).
Also a shot from Hex Workshop bookmarks to show you the format.
The general structure is :
Code: Select all
// Header
// Resource Information Table
// String Table
// Raw Data
The last 6 entries in the bookmark shot comprise 1 Resource Information Table entry.
Again, the full paths are not saved in the string table, just the single folders and files. Start with folder 0 and then work your way into subfolders, moving out of them as you go, until you're back at folder 0.
If you stumble upon a subfolder, this has priority, so check that one first until there are no more files and folders in there, then move on with the original sorting.
You do not have the required permissions to view the files attached to this post.
-
Mr.Mouse
- Site Admin
- Posts: 4058
- Joined: Wed Jan 15, 2003 6:45 pm
- Location: Dungeons of Doom
- Has thanked: 437 times
- Been thanked: 639 times
- Contact:
Okay, this format I can handle via a MexScript. See below and attached .txt file to run in MultiEx Commander. Note that you will extract yet another bunch of files and archives that are undefined. The "filedat.dat" and ".bin" are added by the MexScript to the filenames.
Code: Select all
# Quick MexScript for Robot Wars (PS) fileset.dat file
# By Mr.Mouse. Juli 2007
IDString 0 PIDX ;
ImpType Standard ;
Set S Long 32 ;
GoTo S 0 ;
Get STOff Long 0 ;
GoTo STOff 0 ;
Get AN String 0 ;
String AN += "_" ;
Set S Long 80 ;
GoTo S 0 ;
Get FileNum Long 0 ;
Get EntryStart Long 0 ;
Math S += EntryStart ;
GoTo S 0 ;
For T = 1 To FileNum ;
Get NOff Long 0 ;
SavePos B 0 ;
Math NOff += STOff ;
GoTo NOff 0 ;
Get FN String 0 ;
GoTo B 0 ;
Get U1 Long 0 ;
SavePos FOO 0 ;
Get FO Long 0 ;
SavePos FSO 0 ;
Get FS Long 0 ;
Get U2 Long 0 ;
Set N String AN ;
String N += FN ;
String N += ".bin" ;
Log N FO FS FOO FSO ;
Next T ;
You do not have the required permissions to view the files attached to this post.



