Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Hospital Tycoon-.Pak (Already found something,example too)

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
Demander
beginner
Posts: 31
Joined: Tue Jun 05, 2007 9:59 pm

Hospital Tycoon-.Pak (Already found something,example too)

Post by Demander »

Hello everybody :)

Hospital Tycoon using .pak archives,they are not packed or encrypted and I managed to found out some important information.

GameExtractor is able to extract them but game wont work without archives so after modding,its need to packed again.


Header - 32 bytes length (probably less)
4 - Magic
4 - Files Count
4 - Unknown
4 - Unknown
4 - Offset to Tail
4 - Unknown
4 - Unknown
4 - Unknown

Animations,pak:

6AF6 FD34 0D05 0000 0EC3 3806 9C3C 0000
AAFF 3806 1C04 0100 2000 0000 EEC2 3806

After archive header (32 bytes) starting data of first file in archive.

In tail is saved filenames (only) with different length (detelimer i 0x00).

Please any help ??? thank you so much

Example:
Textures.pak (2MB,Cutted):

Code: Select all

http://www.badongo.com/file/3365950
SparedLife
advanced
Posts: 47
Joined: Sun Mar 07, 2004 6:37 am
Location: USA
Contact:

Post by SparedLife »

From the example you gave they appear to be complete DDS files with a separate unique header on top of the DDS header. Try using one of my DDS extraction tool. Maybe this one:

http://www.spared-life.com/SparedLifeFi ... S-1.02.zip

It's fairly easy to use.

Create a folder, drop the DDS tool into that folder, drop the files to extract into that folder, and run the program. The program extracts the complete DDS files minus any mips but does give the needed info for saving and reinserting the textures. The edited file must be exactly as the extracted file including filename.
Demander
beginner
Posts: 31
Joined: Tue Jun 05, 2007 9:59 pm

Post by Demander »

Did you read what I wrote ?:D I"m able to open archive and extract via GameExtractor ... but i need to find out the header information of that pak archive to create my own too which will be able to create that archives (archives are required for plaing game)
SparedLife
advanced
Posts: 47
Joined: Sun Mar 07, 2004 6:37 am
Location: USA
Contact:

Post by SparedLife »

hmm well yes I read your post. The game does not work unless the textures are in the archive. If what you posted is a sample from said archive then the textures are not archived but only stored in the library.
If you want to edit the textures (skin the game) and what you posted is a valid part of the game library then the link I gave you will extract the texture from the library and reinsert the texture back into the library.
I did however miss the part in your post where you said you wanted to create "your own" tool. All I read was something about "any help"
Demander
beginner
Posts: 31
Joined: Tue Jun 05, 2007 9:59 pm

Post by Demander »

Yes,I"m able to create my own unpacker and injector,anyway thank you for your help/answers :)
Rheini
Moderator
Posts: 652
Joined: Wed Oct 18, 2006 9:48 pm
Location: Germany
Has thanked: 19 times
Been thanked: 46 times
Contact:

Post by Rheini »

PM friendsofwatto. He can probably help you.
Demander
beginner
Posts: 31
Joined: Tue Jun 05, 2007 9:59 pm

Post by Demander »

I think that if somebody wants help me that he will write here,I wont disturbing someone via PM :)

But anyway thank you for your answer.
Rheini
Moderator
Posts: 652
Joined: Wed Oct 18, 2006 9:48 pm
Location: Germany
Has thanked: 19 times
Been thanked: 46 times
Contact:

Post by Rheini »

friendsofwatto is the developer of GameExtractor afaik. ;)
Demander
beginner
Posts: 31
Joined: Tue Jun 05, 2007 9:59 pm

Post by Demander »

Heh :) Its Watto,right ? lol ... thank you.
itg
beginner
Posts: 31
Joined: Sat May 12, 2007 3:11 pm
Location: Internet

Post by itg »

Demander
beginner
Posts: 31
Joined: Tue Jun 05, 2007 9:59 pm

Post by Demander »

Thank you so much :)
cobainfish
ultra-n00b
Posts: 1
Joined: Thu Jun 14, 2007 6:25 pm

Post by cobainfish »

The contents of this post was deleted because of possible forum rules violation.
Last edited by cobainfish on Mon Apr 05, 2010 10:23 am, edited 1 time in total.
Mr.Mouse
Site Admin
Posts: 4073
Joined: Wed Jan 15, 2003 6:45 pm
Location: Dungeons of Doom
Has thanked: 450 times
Been thanked: 682 times
Contact:

Post by Mr.Mouse »

What game are you talking about? Hospital Tycoon?
Post Reply