Shade

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
User avatar
sajad
VIP member
VIP member
Posts: 128
Joined: Fri May 14, 2004 1:20 pm
Location: Underworld
Been thanked: 1 time
Contact:

Shade

Post by sajad » Sat Mar 19, 2005 12:34 pm

Hello

Please see .res from shade game

thx

User avatar
friendsofwatto
VVIP member
VVIP member
Posts: 535
Joined: Wed Jun 30, 2004 3:01 pm
Location: Australia
Been thanked: 13 times
Contact:

Post by friendsofwatto » Mon Mar 21, 2005 12:02 pm

Ok, this is the format...

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 Data
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
Game Extractor - Read and write thousands of game archives!

User avatar
friendsofwatto
VVIP member
VVIP member
Posts: 535
Joined: Wed Jun 30, 2004 3:01 pm
Location: Australia
Been thanked: 13 times
Contact:

Post by friendsofwatto » Tue Mar 22, 2005 1:11 pm

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
Game Extractor - Read and write thousands of game archives!

User avatar
Mr.Mouse
Site Admin
Posts: 4051
Joined: Wed Jan 15, 2003 6:45 pm
Location: Dungeons of Doom
Has thanked: 421 times
Been thanked: 575 times
Contact:

Post by Mr.Mouse » Tue Mar 22, 2005 1:38 pm

Okido. Will see what I can do. I am having trouble making free time to work on the new release and/or scripts, but will give it a shot nevertheless.

User avatar
friendsofwatto
VVIP member
VVIP member
Posts: 535
Joined: Wed Jun 30, 2004 3:01 pm
Location: Australia
Been thanked: 13 times
Contact:

Post by friendsofwatto » Tue Mar 22, 2005 1:39 pm

Actually, I took a look at some of the scripts from other games, and hopefully this will do the job...

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 ;
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
Game Extractor - Read and write thousands of game archives!

User avatar
Mr.Mouse
Site Admin
Posts: 4051
Joined: Wed Jan 15, 2003 6:45 pm
Location: Dungeons of Doom
Has thanked: 421 times
Been thanked: 575 times
Contact:

Post by Mr.Mouse » Tue Mar 22, 2005 1:51 pm

Even better !

User avatar
baccello
beginner
Posts: 30
Joined: Wed Sep 22, 2004 6:44 pm
Contact:

Post by baccello » Thu Mar 24, 2005 11:44 am

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 :roll:

User avatar
Mr.Mouse
Site Admin
Posts: 4051
Joined: Wed Jan 15, 2003 6:45 pm
Location: Dungeons of Doom
Has thanked: 421 times
Been thanked: 575 times
Contact:

Post by Mr.Mouse » Thu Mar 24, 2005 12:26 pm

Thank you, I was wondering that same thing, when I noticed that Watto wrote "PK" as header. Didn't have time to check such a file myself though. :|

User avatar
Mr.Mouse
Site Admin
Posts: 4051
Joined: Wed Jan 15, 2003 6:45 pm
Location: Dungeons of Doom
Has thanked: 421 times
Been thanked: 575 times
Contact:

Post by Mr.Mouse » Sun Mar 27, 2005 12:35 pm

Hmm, the script doesn't work.

User avatar
friendsofwatto
VVIP member
VVIP member
Posts: 535
Joined: Wed Jun 30, 2004 3:01 pm
Location: Australia
Been thanked: 13 times
Contact:

Post by friendsofwatto » Sun Mar 27, 2005 1:51 pm

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
Game Extractor - Read and write thousands of game archives!

Post Reply