xbox-scene.com - your xbox news information source
Quick Links: Main Forums | Xbox360 Forums | Xbox1 Forums | PS3 Forums
Xbox-Scene Forum Help  Search Xbox-Scene Forums   Xbox-Scene Forum Members   Xbox-Scene Calendar

Giganews Usenet Offers: +1150 days binary retention, 99%+ Completion, and Unlimited Speed/Access!

360 ODD Emulators: X360 Key $99 | Wasabi360 FAT $99 | Wasabi360 Slim $99
C4E's iXtreme Burner MAX Drive: LiteOn iHAS124 DROPPED TO JUST $17


Welcome Guest ( Log In | Register )

 Forum Rules Rules
 
Reply to this topicStart new topic
> Xzp Extractor Progress, It's going
hÿbrîdXΣr0
post Mar 8 2006, 12:32 AM
Post #1


X-S Member
*

Group: Moderator
Posts: 65
Joined: 11-December 05
From: Here
Member No.: 262829
Xbox Version: v1.6
360 version: v1 (xenon)



Thanks to a forum member, whom I assume wishes to remain unnamed, I have the structure to the XZP format. First I tried writing a C++ program, and got it to display stuff like the header info, etc.. but I couldn't work with strings or anything because I'm apparently not that smart.
So, I went with what I know: PHP.
After a good few hours work, I can now extract files from XZP files. I've only actually extracted one file, it was a VMT, but the contents "LightmappedGeneric" show that I did my work just fine.
I need to do a paper, but I'll work on getting it to extract the entire contents in a little bit.

P.S. For those of you without the CLI version of PHP, once I finish coding it I'll compile it with the excellent Phalanger and release it. It'll probably be in steps, the first release simply extracting everything from a specified XZP file to a folder.

This post has been edited by hÿbrîdXΣr0: Mar 8 2006, 12:38 AM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
hÿbrîdXΣr0
post Mar 8 2006, 02:51 AM
Post #2


X-S Member
*

Group: Moderator
Posts: 65
Joined: 11-December 05
From: Here
Member No.: 262829
Xbox Version: v1.6
360 version: v1 (xenon)



Okay! I have most of the bugs worked out. If there are any problems with the code, please post in this thread, PM me, or something. I've tested this with a couple XZP files from the game cache, so I know it works.
Please let me know right away if you can't run the program, I haven't tried it from a clean machine myself. Requires the .NET 1.1 runtime. I'm not responsible for your xbox exploding, etc. etc.

Download here.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
ash_link
post Mar 8 2006, 06:47 AM
Post #3


X-S Member
*

Group: Members
Posts: 89
Joined: 28-December 05
Member No.: 265748
Xbox Version: v1.6
360 version: none



Everything is going fine. Now we just need a importer.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
SuB-Zer0
post Mar 8 2006, 02:59 PM
Post #4


X-S Enthusiast


Group: Members
Posts: 20
Joined: 31-October 03
From: Germany
Member No.: 71157
Xbox Version: unk
360 version: v1 (xenon)



Sounds very good hÿbrîdXΣr0 wink.gif
I will try it out later this day.
Does this mean we can later import things too ?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
hÿbrîdXΣr0
post Mar 8 2006, 07:31 PM
Post #5


X-S Member
*

Group: Moderator
Posts: 65
Joined: 11-December 05
From: Here
Member No.: 262829
Xbox Version: v1.6
360 version: v1 (xenon)



QUOTE(SuB-Zer0 @ Mar 8 2006, 09:06 AM) *

Sounds very good hÿbrîdXΣr0 wink.gif
I will try it out later this day.
Does this mean we can later import things too ?


Maybe. I don't know the file format well enough (I went off someone else's work for the decompiling) to import back. There's also a lot I don't understand about binary file formats, so it probably won't be me that'll write the importer.
I have contacted Nem of GCFScape and he said it should be pretty easy to add to HLlib and GCFscape. I will try and work with him to get it in, but we're just at the discussion stage right now. If we do that I will certainly release the source code to my own PHP script and we'll have a much better extraction program to work with. With the existing notes, and my completed reader code, as well as possibly HLlib in the future, maybe we can work out a method of writing back to the files. We will also have to figure out how to get them back into xz_ format (I believe they're just zipped, with code avaliable in the Source SDK, according to the person who also sent me the layout for the XZP files) so they can be replaced on the hard drive when you launch the game.

On a side note, I will release the source to the PHP code eventually, but I'm not exactly sure how the DCMA works and stuff so I don't know if I really need to right away tongue.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
entens
post Mar 8 2006, 11:10 PM
Post #6


X-S Enthusiast


Group: Members
Posts: 18
Joined: 6-May 05
Member No.: 219144



QUOTE(hÿbrîdXΣr0 @ Mar 8 2006, 12:38 PM) *

Maybe. I don't know the file format well enough (I went off someone else's work for the decompiling) to import back. There's also a lot I don't understand about binary file formats, so it probably won't be me that'll write the importer.
I have contacted Nem of GCFScape and he said it should be pretty easy to add to HLlib and GCFscape. I will try and work with him to get it in, but we're just at the discussion stage right now. If we do that I will certainly release the source code to my own PHP script and we'll have a much better extraction program to work with. With the existing notes, and my completed reader code, as well as possibly HLlib in the future, maybe we can work out a method of writing back to the files. We will also have to figure out how to get them back into xz_ format (I believe they're just zipped, with code avaliable in the Source SDK, according to the person who also sent me the layout for the XZP files) so they can be replaced on the hard drive when you launch the game.

On a side note, I will release the source to the PHP code eventually, but I'm not exactly sure how the DCMA works and stuff so I don't know if I really need to right away tongue.gif


*cough* the usual place is good *cough*
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
hÿbrîdXΣr0
post Mar 8 2006, 11:15 PM
Post #7


X-S Member
*

Group: Moderator
Posts: 65
Joined: 11-December 05
From: Here
Member No.: 262829
Xbox Version: v1.6
360 version: v1 (xenon)



QUOTE(entens @ Mar 8 2006, 05:17 PM) *

*cough* the usual place is good *cough*


That's really unnessicary, seeing as most projects release their source publically but not the binaries. I'm already distributing the binary, I'm just waiting to do the source. Shouldn't be much longer.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
ash_link
post Mar 9 2006, 01:47 AM
Post #8


X-S Member
*

Group: Members
Posts: 89
Joined: 28-December 05
Member No.: 265748
Xbox Version: v1.6
360 version: none



If only We could import
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Infinite_Matrix
post Mar 9 2006, 02:27 AM
Post #9


X-S Senior Member
**

Group: Members
Posts: 248
Joined: 23-April 05
From: Milwaukee, Wisconsin
Member No.: 215876
Xbox Version: v1.4
360 version: none



QUOTE(ash_link @ Mar 8 2006, 06:54 PM) *

If only We could import


Compression?

Anybody need me?
MSN:xbl2@hotmail.com
AIM:LNFLNLTE MATRIX

heh, just got a channel for it as well.

irc.dynastynet.net, #XHL2M

This post has been edited by Infinite_Matrix: Mar 9 2006, 02:47 AM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
hÿbrîdXΣr0
post Mar 9 2006, 02:38 AM
Post #10


X-S Member
*

Group: Moderator
Posts: 65
Joined: 11-December 05
From: Here
Member No.: 262829
Xbox Version: v1.6
360 version: v1 (xenon)



Not compression. I believe the person who sent me the specs said there were checksums inside, too.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
ash_link
post Mar 9 2006, 05:07 AM
Post #11


X-S Member
*

Group: Members
Posts: 89
Joined: 28-December 05
Member No.: 265748
Xbox Version: v1.6
360 version: none



QUOTE(hÿbrîdXΣr0 @ Mar 9 2006, 02:45 AM) *

Not compression. I believe the person who sent me the specs said there were checksums inside, too.


He told me to tell you that's timestamps
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Infinite_Matrix
post Mar 9 2006, 10:39 AM
Post #12


X-S Senior Member
**

Group: Members
Posts: 248
Joined: 23-April 05
From: Milwaukee, Wisconsin
Member No.: 215876
Xbox Version: v1.4
360 version: none



join the irc channel for some more discussion about this stuff. I'll setup a file serve on there as well for anybody who needs some mods quick and fast.

DynastyNet, #XHL2M

already got a couple people in the channel literally 3 minutes after it was made.happy.gif

This post has been edited by Infinite_Matrix: Mar 9 2006, 10:40 AM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
hÿbrîdXΣr0
post Mar 9 2006, 01:08 PM
Post #13


X-S Member
*

Group: Moderator
Posts: 65
Joined: 11-December 05
From: Here
Member No.: 262829
Xbox Version: v1.6
360 version: v1 (xenon)



I think forums work just fine. Anyway, Nem send me a test version of GCFscape that extracts from XZP files just fine, so we might be seeing a public release in a couple days.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
hÿbrîdXΣr0
post Mar 10 2006, 03:25 AM
Post #14


X-S Member
*

Group: Moderator
Posts: 65
Joined: 11-December 05
From: Here
Member No.: 262829
Xbox Version: v1.6
360 version: v1 (xenon)



I've released the source of the PHP script I used to write my extractor, in case anyone wants to see technical details on how the extraction works.

Source here
User is offlineProfile CardPM
Go to the top of the page
+Quote Post





Reply to this topicStart new topic

 

Lo-Fi Version Time is now: 20th May 2013 - 07:25 AM