|
 |
|
|
|
|
|
GTA Modification Forums
GTA4 - File Modding Ability Patch, No loader, patched filelist.pak
 |
|
 |
| |
aru  |
|
developer in disguise

Group: Members
Joined: Jun 20, 2005



|
GTAIV Version 1.0.2GTAIV Version 1.0.2 no longer needs a magic patch to function. All that is required is a patched version of filelist.pak which is available here archive. Step to upgrade to 1.0.2: 1. Undo any existing magic patches (Use the Recover tool if you used the Easy Way) 2. Install GTAIV Patch 1.0.2. 3. Backup the existing pc\data\filelist.pak 4. Replace pc\data\filelist.pak with the file in the archive. 5. Run the game and have fun! Read no further! The rest of this post is for older versions of GTAIV. -------------------------------------------------------------- The Easy Way (Version 1.0/1.0.1):Here's a little tool to do most of the magic... The tool will allow you to verify that you have the original files, apply the patch and even verify the patch using the game's verification method. There's also a Recover feature to undo any magic patch changes when you decide you don't want this anymore. -download removed- (Updated to version 1.0.1 on Dec 14, 2008 to support GTAIV version 1.0.1) If this is good enough for you, and don't want to confuse yourself... don't read the rest of this post. -------------------------------------------------------------- The Fun Way:The checking for modification of the files works by opening up files.txt, and SHA1 hashing the contents of each file listed in there cumulatively. If the hash doesn't match the hash stored in the exe, it exits. But theres one problem with this technique... they rely on files.txt to check files.txt too?!!!! Oh dear R*... what happened to your chain of trust?! To bypass it, all you have to really do is: - Make a copy of files.txt.... for example: copy files.txt to files.txt.original
- Edit files.txt... replace "files.txt" with "files.txt.original"
- Make a copy of the file you want to mod... say you want to mod weaponinfo.xml, so you would make a copy of it as weaponinfo.xml.original
- Edit files.txt... replace "weaponinfo.xml" with "weaponinfo.xml.original"
And viola.... no more exiting on startup... but to make your patches really apply you have to use a patched filelist.pak without any files in it. (And using a modified filelist.pak means you will have to create a .original file for filelist.pak as well!) -- So here is a batch file that will do the above things to all the "protected" files and make backups of them as .magic. Included is a patched filelist.pak as well. After installing this, you can just edit your files normally as before (just don't edit the .magic files!). NOTE: The batch file does the steps above for ALL the protected files. Do NOT follow the instructions above (i.e. making copies, replacing files, etc) if you use this batch file. Files.txt is automatically patched with this batch script. download removedTo install:- Restore backups of ALL your modified files (or if you don't have them, you have to reinstall). It is VERY IMPORTANT that you have the original "protected" files or this won't work!
- Copy magic.bat to your GTAIV game folder
- Run magic.bat (Run as Administrator if you're on Vista)
- Make a backup of pc\data\filelist.pak
- Overwrite pc\data\filelist.pak with the included filelist.pak.
More detailed STEP-BY-STEP instructions are provided here: http://www.gtaforums.com/index.php?showtop...st&p=1058731018 (These instructions are for the 'fun way'... not the 'easy way') This post has been edited by aru on Jul 10 2009, 02:50
|
|
|
|
|
 |
|
 |
|
|
|
|