Shade
- friendsofwatto
- VVIP member

- Posts: 535
- Joined: Wed Jun 30, 2004 3:01 pm
- Location: Australia
- Been thanked: 13 times
- Contact:
Ok, this is the format...
I havn't had time to code it into a plugin or a script yet though, so there could be some errors in it.
WATTO
watto@watto.org
http://www.watto.org
Code: Select all
// for each file
4 - File Type ("PK" + (byte)3,4 or "IPF1")
2 - Unknown (20)
2 - Unknown (2)
2 - Unknown (File=8, Dir=0)
4 - Directory/File Identifier? (Dir=823760679, File=823701178)
// Note: If it is a Directory - the next 3 fields are null
4 - Timestamp???
4 - File Size
4 - Decompressed File Size?
4 - Filename Length
X - Filename
X - File DataWATTO
watto@watto.org
http://www.watto.org
Game Extractor - Read and write thousands of game archives!
- friendsofwatto
- VVIP member

- Posts: 535
- Joined: Wed Jun 30, 2004 3:01 pm
- Location: Australia
- Been thanked: 13 times
- Contact:
Hi again,
I have confirmed that this format is correct, but havn't made a script for this format yet - mostly because I am not too sure how to write a script for a format without knowing how many files are in the archive. I guess I would prefer Mr Mouse to write a script for this one, so I can see how it is structured for the future.
Sorry about that.
WATTO
watto@watto.org
http://www.watto.org
I have confirmed that this format is correct, but havn't made a script for this format yet - mostly because I am not too sure how to write a script for a format without knowing how many files are in the archive. I guess I would prefer Mr Mouse to write a script for this one, so I can see how it is structured for the future.
Sorry about that.
WATTO
watto@watto.org
http://www.watto.org
Game Extractor - Read and write thousands of game archives!
- friendsofwatto
- VVIP member

- Posts: 535
- Joined: Wed Jun 30, 2004 3:01 pm
- Location: Australia
- Been thanked: 13 times
- Contact:
Actually, I took a look at some of the scripts from other games, and hopefully this will do the job...
Also see the attached compiled script, that can be put straight into the main script archive.
Good Luck
WATTO
watto@watto.org
http://www.watto.org
Code: Select all
ImpType Standard ;
Goto EOF 0 ;
SavePos EndPos 0 ;
Goto 18 0 ;
Do ;
Get FS Long 0 ;
Get DummyL Long 0 ;
Get FNLen Long 0 ;
GetDString FN FNLen 0 ;
SavePos FO 0 ;
Log FN FO FS 0 0 ;
Math FO += FS ;
Goto FO 0 ;
While CurPos <> EndPos ;
Good Luck
WATTO
watto@watto.org
http://www.watto.org
Game Extractor - Read and write thousands of game archives!
Hello, you can extract this pack with WinRAR when encurring in error archive you must repair it whit repair function of WinRAR, make a copy of original file. The new file is a simple zip file.
You can edit files but you can't put them into archive. If you want that game accept your edit file you only put them in game folder, when you start game your file in game folder will read from game.
Sorry my poor little english, I'm italia
You can edit files but you can't put them into archive. If you want that game accept your edit file you only put them in game folder, when you start game your file in game folder will read from game.
Sorry my poor little english, I'm italia
- friendsofwatto
- VVIP member

- Posts: 535
- Joined: Wed Jun 30, 2004 3:01 pm
- Location: Australia
- Been thanked: 13 times
- Contact:
Yeah, I guess thats posible - I didn't test it on the actual archive - I just made sure it compiled properly. The format specs should be correct though because I used them fo my own plugin. I wasn't really sure about a few things too, such as reading the filename, etc.
WATTO
watto@watto.org
http://www.watto.org
WATTO
watto@watto.org
http://www.watto.org
Game Extractor - Read and write thousands of game archives!


