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
Important information: this site is currently scheduled to go offline indefinitely by end of the year.
Iron man 2 Xbox360 pkg files finally extracted!
-
- beginner
- Posts: 29
- Joined: Sat Jun 26, 2010 5:41 pm
- Location: Spain
- Has thanked: 2 times
- Been thanked: 1 time
Re: Xbox 360 pkg files, need help. I´m totally noob :(
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
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
-
- beginner
- Posts: 29
- Joined: Sat Jun 26, 2010 5:41 pm
- Location: Spain
- Has thanked: 2 times
- Been thanked: 1 time
Re: Xbox 360 pkg files, need help. I´m totally noob :(
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.
In iron man pkg files are closed as this ones but some data are zlib compressed.
You do not have the required permissions to view the files attached to this post.
-
- beginner
- Posts: 29
- Joined: Sat Jun 26, 2010 5:41 pm
- Location: Spain
- Has thanked: 2 times
- Been thanked: 1 time
Re: Xbox360 pkg files(Golden and Iron Man 2), need help.I´m noob
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 )
Now need to find faces
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 )
Now need to find faces
-
- beginner
- Posts: 29
- Joined: Sat Jun 26, 2010 5:41 pm
- Location: Spain
- Has thanked: 2 times
- Been thanked: 1 time
Re: Iron man 2 Xbox360 pkg files finally extracted!
Finally done extractor in C++. Now taking a rest to decide if do the model with textures or not
By zabana at 2010-08-15
By zabana at 2010-08-15
By zabana at 2010-08-15
By zabana at 2010-08-15
-
- veteran
- Posts: 109
- Joined: Thu May 13, 2010 12:35 am
- Has thanked: 5 times
- Been thanked: 16 times
Re: Iron man 2 Xbox360 pkg files finally extracted!
Looks awsome. Well done.
I think you should do the textures as well 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
I think you should do the textures as well 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
Yes! i know that's what i said... But its not what i meant.
-
- beginner
- Posts: 29
- Joined: Sat Jun 26, 2010 5:41 pm
- Location: Spain
- Has thanked: 2 times
- Been thanked: 1 time
Re: Iron man 2 Xbox360 pkg files finally extracted!
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
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
- Tosyk
- double-veteran
- Posts: 1027
- Joined: Thu Oct 22, 2009 10:24 am
- Location: Russia, Siberia
- Has thanked: 269 times
- Been thanked: 154 times
- Contact:
-
- veteran
- Posts: 138
- Joined: Mon Oct 04, 2010 1:15 am
- Has thanked: 5 times
- Been thanked: 3 times
- Rimbros
- ultra-veteran
- Posts: 495
- Joined: Fri Jul 09, 2010 12:23 am
- Has thanked: 41 times
- Been thanked: 16 times
Re: Iron man 2 Xbox360 pkg files finally extracted!
Sabana can you share the warmachine model with texture, i cant found one of this.thanks.
Renders Art by Rimbros
http://s303.photobucket.com/albums/nn12 ... E/Renders/
Personal Game repository samples, send PM
http://s303.photobucket.com/albums/nn12 ... E/Renders/
Personal Game repository samples, send PM
-
- veteran
- Posts: 109
- Joined: Thu May 13, 2010 12:35 am
- Has thanked: 5 times
- Been thanked: 16 times
Re: Iron man 2 Xbox360 pkg files finally extracted!
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
So PLEASE release the extractor so we can have a play.
Cheers in advance..
Nobby
Yes! i know that's what i said... But its not what i meant.
-
- beginner
- Posts: 29
- Joined: Sat Jun 26, 2010 5:41 pm
- Location: Spain
- Has thanked: 2 times
- Been thanked: 1 time
Re: Iron man 2 Xbox360 pkg files finally extracted!
The contents of this post was deleted because of possible forum rules violation.
- Rimbros
- ultra-veteran
- Posts: 495
- Joined: Fri Jul 09, 2010 12:23 am
- Has thanked: 41 times
- Been thanked: 16 times
Re: Iron man 2 Xbox360 pkg files finally extracted!
The contents of this post was deleted because of possible forum rules violation.
Renders Art by Rimbros
http://s303.photobucket.com/albums/nn12 ... E/Renders/
Personal Game repository samples, send PM
http://s303.photobucket.com/albums/nn12 ... E/Renders/
Personal Game repository samples, send PM