Page 1 of 4

Iron man 2 Xbox360 pkg files finally extracted!

Posted: Mon Jun 28, 2010 10:15 am
by zabana
Hi all!!!

I´m trying to extract models (textures are not necesary but not a bad goal to reach) in pkg files.

I was looking over google, and forums trying to find some info, but right now I only know two games which use these kind of packages (golden axe and Iron Man2, i can figure Iron man 1 too...)

After reading a lot of forums,post and guides I was studying and comparing files so I reach to know where the directory name is, something that seems to be the header, where to read how many models/parts are inside and where it points (also usually begins at same place in every file).

But I crash to a wall, I can not determine any other pattern to follow, so that´s the reason I´m begging for help. Of course if someone have the clue in how to do the all thing would be a lot of helpfull to receive scripts or whatever, if not with right pointing maybe I can resolve the puzzle by myself.

Thanks in advance to everyone who at least read my requesting and also I want to apologize about my english :roll:

Re: Xbox 360 pkg files, need help. I´m totally noob :(

Posted: Mon Jun 28, 2010 9:36 pm
by zabana
I was playing with hex editor, files and such...

Finally I was able to discover the pkg structure and was able too of extracting and decompress all strings files (in 5 languages). Now I need to face another problem, and is the model structures and learn how to get vertex to begin...

This the basic structure of strings files, but can be applies to the other ones, if anyone could help in my next step would be great!!!

Files Game.rar

8000-8003 Strings number (elementents in file)

8004-802B 8 bytes per element (8*5=40, 40 in hex is 28 so 8003+28=802B) 4 BYTES ELEMENT ID 4 BYTES OFSET SINCE POS 8000

Elements number string id pos ofset string id pos ofset string id pos ofset string id pos ofset string id pos ofset

00000005 00000000 0000002C 00000001 00000040 00000002 00000053 00000003 00000067 00000004 0000007A

802C-803D string id 0 ENGLISH
803E NULL BYTE
8040-8051 string id 1 FRENCH
8052 NULL BYTE
8053-8065 string id 2 ITALIAN
8066 NULL BYTE
8067-8078 string id 3 GERMAN
8079 NULL BYTE
807A-808B string id 4 SPANISH

808C-FFFF COMPLETED WITH ZEROS

10000-10003 Elements number again

10004-17FFF zeros

18000-18003 00000002 STR IDX2??
18004-18027 00000000 00000001 7938E74276D1A0BD 000000000000 0010 0001D8CC 001D001000 01D8CC
18028-1FFFF ZEROS
20000-2B27F STR_0 DATA BEGINS WITH 789C DC7D 077C 54C5 (MEANS ZLIB COMPRESSED FILE)
2B280-2FFFF ZEROS

30000 00000004 STR IDX2??
30004-30027 00000001 00000001 93F107ED82E734CF 000000000000 0010 000212F6 001D001000 0212F6
30028-37FFF ZEROS
38000-43C91 STR_1 DATA BEGINS WITH 789C E47D 077C 1445 (MEANS ZLIB COMPRESSED FILE)
43C92-47FFF ZEROS

48000-48003 00000006 STR IDX2??
48004-48027 00000002 00000001 14113ECA91A7F0E7 000000000000 0010 0001F602 001D001000 01F602
48028-4FFFF ZEROS
50000-5B6CC STR_2 DATA BEGINS WITH 789C E47D 077C 15C5 (MEANS ZLIB COMPRESSED FILE)
5B6CD-5FFFF ZEROS

60000-60003 00000008 STR IDX2??
60004-60027 00000003 00000001 F1D759551248A93A 000000000000 0010 0001FE5F 001D001000 01FE5F
60028-67FFF ZEROS
68000-73F4B STR_3 DATA BEGINS WITH 789C DC7D 077C 1645 (MEANS ZLIB COMPRESSED FILE)
73F4C-7FFFF ZEROS

80000-80003 0000000A STR IDX2??
78004-78027 00000004 00000001 229C3F138518C373 00000000 00000010000 1FC48 001D0010000 1FC48
78028-8FFFF ZEROS
80000-8B851 STR_4 DATA BEGINS WITH 789C E4BD 077C 14C5 (MEANS ZLIB COMPRESSED FILE)
8B852-8FFFF ZEROS

90000-90095 CREDITS?
90096-97FFF ZEROS


"HEADER" 8000 BYTES
"TAIL" 8000 BYTES

Re: Xbox 360 pkg files, need help. I´m totally noob :(

Posted: Sat Jul 03, 2010 4:52 pm
by zabana
I´ll add here excel table with what I think is the pkg format (not found vertexes yet).

In iron man pkg files are closed as this ones but some data are zlib compressed.

Re: Xbox360 pkg files(Golden and Iron Man 2), need help.I´m noob

Posted: Mon Jul 05, 2010 1:05 am
by zabana
First goal reached!

I´m able to draw vertexes in both Iron Man 2 and Golden Axe-Beast rider (it took me 8 days from zero, my first time doing it :D)

Now need to find faces :scaredy:

Image

Image

Re: Iron man 2 Xbox360 pkg files finally extracted!

Posted: Sun Aug 15, 2010 11:41 am
by zabana
Finally done extractor in C++. Now taking a rest to decide if do the model with textures or not :P


Image
By zabana at 2010-08-15

Image
By zabana at 2010-08-15

Re: Iron man 2 Xbox360 pkg files finally extracted!

Posted: Sun Aug 15, 2010 4:43 pm
by Nobby
Looks awsome. Well done.

I think you should do the textures as well :wink: you know the models will look that much cooler with the proper textures than without them..

Also i see you created an extractor in C++, would you be willing to release the extractor to the public, or would you rather wait untill you have the textures fixed too?

Keep up the good work !

Nobby

Re: Iron man 2 Xbox360 pkg files finally extracted!

Posted: Sun Aug 15, 2010 5:28 pm
by zabana
Thanks!

I´m not going to release it yet. I want to decide first about textures but like you said models with textures are cooler so I need to learn a few things yet :D

Re: Iron man 2 Xbox360 pkg files finally extracted!

Posted: Mon Aug 16, 2010 3:56 am
by FEATHER
Very nice zabana, i'm crossing my fingers for this release :)

Re: Iron man 2 Xbox360 pkg files finally extracted!

Posted: Wed Aug 18, 2010 1:52 pm
by Tosyk
Great news zabana, i'll stay tuned!

Re: Iron man 2 Xbox360 pkg files finally extracted!

Posted: Mon Oct 04, 2010 2:24 am
by logansan25
Very cool!

Re: Iron man 2 Xbox360 pkg files finally extracted!

Posted: Sat Oct 15, 2011 3:07 am
by XLAX
any news of release yet?

Re: Iron man 2 Xbox360 pkg files finally extracted!

Posted: Mon Nov 21, 2011 6:36 am
by Rimbros
Sabana can you share the warmachine model with texture, i cant found one of this.thanks.

Re: Iron man 2 Xbox360 pkg files finally extracted!

Posted: Fri Nov 25, 2011 2:03 pm
by Nobby
As its been a couple of months since you last posted so id presume you have either stopped production of this or cannot figure out the texture grabbing. So could you please release the extractor you have in its current condition. textures altho nice are not really important. iron man is just red and yellow and war machine is just black and grey so we can do standard materials for them instead of textures. But we would really love to be able to get the models.
So PLEASE release the extractor so we can have a play.

Cheers in advance..

Nobby

Re: Iron man 2 Xbox360 pkg files finally extracted!

Posted: Fri Nov 25, 2011 4:49 pm
by zabana
The contents of this post was deleted because of possible forum rules violation.

Re: Iron man 2 Xbox360 pkg files finally extracted!

Posted: Fri Nov 25, 2011 10:26 pm
by Rimbros
The contents of this post was deleted because of possible forum rules violation.