xboxscene.org forums

OG Xbox Forums => Game Hacking => Xbox Game Forums => Half Life 2 => Topic started by: ash_link on September 01, 2006, 04:27:00 PM

Title: Editing the XZP file
Post by: ash_link on September 01, 2006, 04:27:00 PM
Half-Life 2 Editor that injects XZPs is out, it's slow when it comes to bigger items but there's sad news. HL2 scans the XZP for size diffrence and replaces the XZPs with the unmodded ones. Meaning, We're fucked when it comes to tampering with XZPs.
Title: Editing the XZP file
Post by: ash_link on September 01, 2006, 08:21:00 PM
I was thinking
After you put the modded XZP in the cache to rename install.txt that powers the installion until you need it again.
Title: Editing the XZP file
Post by: ash_link on September 02, 2006, 11:00:00 AM
EXPLOIT!!!
Open install.txt and put // before "xbox_hl2.xz_ -> blah" and save.

Injecting works, somewhat but everything's scrambled looking. Still a way to go.
Title: Editing the XZP file
Post by: ash_link on September 05, 2006, 06:03:00 AM
install.txt is in the HL2 directory. Pecficily, check around until you find it.
Title: Editing the XZP file
Post by: Prodigy074 on September 26, 2006, 11:40:00 AM
QUOTE(tonkie @ Sep 13 2006, 04:23 AM) View Post

Can't find it.

its in the LoaderMedia folder..

QUOTE(ash_link @ Sep 2 2006, 06:07 PM) View Post

EXPLOIT!!!
Open install.txt and put // before "xbox_hl2.xz_ -> blah" and save.

Injecting works, somewhat but everything's scrambled looking. Still a way to go.

putting // in front turns the line into a comment meaning the compiler wont read it at runtime, im guessing the game must check something to see it as corrupt and therefore initilising the txt.
When you say scrambled that may be a problem with the injector, although its not the same for everything.. i injected an antilion mdl over the alyx mdl and that worked fine  biggrin.gif
mayb try beta7 -> http://forums.xbox-s...howtopic=550521
Title: Editing the XZP file
Post by: Kalamadea on October 29, 2006, 05:05:00 PM
Yeah, could you just put the modified install.txt in a download?
Cause your instructions are not very helpful.
Or you could rename it to the correct thing to modify.
Title: Editing the XZP file
Post by: ash_link on November 05, 2006, 12:14:00 PM
QUOTE(Kalamadea @ Oct 30 2006, 01:12 AM) View Post

Yeah, could you just put the modified install.txt in a download?
Cause your instructions are not very helpful.
Or you could rename it to the correct thing to modify.

Done. Read the PM.
Title: Editing the XZP file
Post by: xbill on July 02, 2008, 05:38:00 PM
The install.txt file is used by default.xbe to copy/uncompress files to the cache drive.   It is not used by hl2_xbox.xbe.   default.xbe does not check the file size of any files, it merely processes each line of install.txt.  After you've started the game and the cache has been built, you can quit and manually copy the uncompressed xzp files from the cache drive back to the launch drive (F:\Games\Half Life 2\hl2\hl2x\... or whatever.)  Then, edit install.txt to copy the those uncompressed files to the cache - if it needs to.   Just change the source file names from xbox_zip0.xz_ to xbox_zip0.zxp.   It will simple copy them to the cache drive.  So, you can put your modded xzp files on F:\Games\...whatever and use them to build the cache if needed.
install.txt will copy any files, not just game files, btw.

A nice shortcut to start the game is to simply run hl2_xbox.xbe instead of default.xbe.  This skips the videos/logos alltogether and goes straight to the start menu.  default.xbe processes install.txt and builds the cache in addition to playing all the startup videos.   Configure your dash to launch hl2_xbox.xbe as well as default.xbe if it's needed again.  If the cache is missing, xbox_hl2.xbe will stall since it assumes that the xzp files are already in place.