IMG

 
IMG
IMG   IMG
  Welcome to GTAForums! Be sure to check out the Grand Theft Auto V Forum.

You are not registered! (If you are, click here to login) Registering is fast, free and easy and allows you to instantly reply to any topic on GTAForums.
Why wait? Click here to register your own unique username and become part of the ever-growing community!


( Log In | Register | Revalidate Validation E-mail )
Quick Log-In:
  IMG
       
>
Forum Rules GTA Modification Forums

Help and Discussion of IV modding only. Please post mod releases in the Mod Showroom

GTAGarage.com
free mod hosting from GTANet, simply login with your GTAForums account details

GTAModding.com
GTANet's modding wiki

GTA Modding Chatroom
provided by irc.gtanet.com (Don't have an IRC client? Click here)


Pages: (13) [1] 2 3 ... Last »  ( Go to first unread post ) Reply to this topicStart new topicStart Poll

 GTA4 - File Modding Ability Patch

 No loader, patched filelist.pak
 
aru  
Posted: Saturday, Dec 6 2008, 03:10
Quote Post


developer in disguise
Group Icon
Group: Members
Joined: Jun 20, 2005

cd.gif

Member Award




GTAIV Version 1.0.2

GTAIV 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:
  1. Make a copy of files.txt.... for example: copy files.txt to files.txt.original
  2. Edit files.txt... replace "files.txt" with "files.txt.original"
  3. 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
  4. 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 removed

To install:
  1. 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!
  2. Copy magic.bat to your GTAIV game folder
  3. Run magic.bat (Run as Administrator if you're on Vista)
  4. Make a backup of pc\data\filelist.pak
  5. 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 Friday, Jul 10 2009, 02:50
PM
  Top
 

 
rappzula  
Posted: Saturday, Dec 6 2008, 05:40
Quote Post


Player Hater
Group Icon
Group: BUSTED!
Joined: Mar 24, 2008

yu.gif

XXXXX



Good going man, it works perfectly smile.gif
PM
  Top
 

 
opium_addict  
Posted: Saturday, Dec 6 2008, 09:21
Quote Post


CODE WRECKER
Group Icon
Group: Members
Joined: Aug 2, 2008

gadsden.gif

Member Award




edit: i was able to turn this into patcher code for my release,
as i didnt like your .bat setup.

but it does work perfectly, good job.

here is the code (pastebin, its also coded in C++ .NET....)
http://pastebin.com/m2bbf0372

This post has been edited by opium_addict on Saturday, Dec 6 2008, 09:53
Users WebsitePMMSNXbox Live
  Top
 

 
Jost_Vice  
Posted: Saturday, Dec 6 2008, 12:29
Quote Post


realtime, not prerendered
Group Icon
Group: Members
Joined: Oct 30, 2005

es.gif

Member Award




Will try this as soon as the game finish installing turn.gif

EDIT: working correctly, aru. Nice work icon14.gif

This post has been edited by Jost_Vice on Saturday, Dec 6 2008, 18:26
Users WebsitePMMSNPlayStation Network
  Top
 

 
DexX  
Posted: Saturday, Dec 6 2008, 16:21
Quote Post


Black Hat
Group Icon
Group: Retired Staff
Joined: May 16, 2002

Member Award




Awesome, works like a charm and doesn't require any exe mods (so it should still work after a patch is released). Excellent work. Only downside so far, is that the folders get cluttered with 2 versions of every file.
PM
  Top
 

 
aru  
Posted: Saturday, Dec 6 2008, 16:55
Quote Post


developer in disguise
Group Icon
Group: Members
Joined: Jun 20, 2005

cd.gif

Member Award




QUOTE (DexX @ Dec 6 2008, 11:21)
Awesome, works like a charm and doesn't require any exe mods (so it should still work after a patch is released). Excellent work. Only downside so far, is that the folders get cluttered with 2 versions of every file.

Well, you could put the files into one "backup" folder... its just a pain modifying the batch script to do that smile.gif. I just used a regex search and replace on the original files.txt to generate that batch script.

Oh, and don't be too sure about it still working after a patch... if R* fixes their checking, it won't work.
PM
  Top
 

 
elanman  
Posted: Saturday, Dec 6 2008, 23:05
Quote Post


PC Gamer
Group Icon
Group: Andolini Mafia Family
Joined: Apr 11, 2007

wa.gif

XXXXX



QUOTE (Jost_Vice @ Dec 6 2008, 12:29)
Will try this as soon as the game finish installing  turn.gif

EDIT: working correctly, aru. Nice work  icon14.gif

Same here mate. icon14.gif

I'll try this now *crosses fingers*...

This post has been edited by elanman on Saturday, Dec 6 2008, 23:14
PM
  Top
 

 
Voodooman  
Posted: Saturday, Dec 6 2008, 23:11
Quote Post


JUSTICE WARRIOR
Group Icon
Group: Members
Joined: Jul 28, 2005

ru.gif

XXXXX



Aru)) U saved my day again, like few years ago with your command line version of Spark)) thx! lol.gif
Users WebsitePMMSNICQ
  Top
 

 
Dup  
Posted: Saturday, Dec 6 2008, 23:18
Quote Post


Retired Lurker
Group Icon
Group: Zaibatsu
Joined: May 18, 2002

uk.gif

Member Award




This also circumvents idiots not backing up files and needing to re-install. Good show.
Users WebsitePMMSNXbox Live
  Top
 

 
elanman  
Posted: Saturday, Dec 6 2008, 23:19
Quote Post


PC Gamer
Group Icon
Group: Andolini Mafia Family
Joined: Apr 11, 2007

wa.gif

XXXXX



GTA IV won't f*cking start now...

YES! IT'S WORKING! RELIABLE AND EASY TO INSTALL! Caps were necessary, great mot, thanks.

user posted image

This post has been edited by elanman on Sunday, Dec 7 2008, 00:10
PM
  Top
 

 
Zach  
Posted: Sunday, Dec 7 2008, 00:22
Quote Post


Thug
Group Icon
Group: Members
Joined: Jun 29, 2004

us.gif

XXXXX



QUOTE (elanman @ Dec 6 2008, 18:19)
GTA IV won't f*cking start now...

YES! IT'S WORKING! RELIABLE AND EASY TO INSTALL! Caps were necessary, great mot, thanks.

I'm confused. Don't those two statements contradict each other? mercie_blink.gif
PM
  Top
 

 
DexX  
Posted: Sunday, Dec 7 2008, 01:51
Quote Post


Black Hat
Group Icon
Group: Retired Staff
Joined: May 16, 2002

Member Award




QUOTE (aru @ Dec 6 2008, 10:55)
Oh, and don't be too sure about it still working after a patch... if R* fixes their checking, it won't work.

Yea, but thats a risk no matter what method is used. After 3 years of telling people to mod SA with a 1.0 exe, i'm not keen on starting the same conversations with iv. Provided R* doesn't fix it, a method that is exe-independent is ideal.

QUOTE
I'm confused. Don't those two statements contradict each other?

He edited his post.
PM
  Top
 

 
gorgeprofondegta4  
Posted: Sunday, Dec 7 2008, 03:33
Quote Post


5 years on GTAForums... Putain !
Group Icon
Group: Members
Joined: Apr 4, 2007

fr.gif

XXXXX



that is great ! Thank you for this stuff.

I edited the "ped.dat" and "relationships.dat" to try to make a "riot mode" (everybody hates everybody), but it didn't not works very well. When you start a fight with someone, some other random people starts to fight with you against your oponant, like 4 or 5 people fighting each others smile.gif But not big big riot like in San Andreas.

For the weapons, wich file do I need to edit ? A lot of files in "common / data" folder seems to come from San Andreas !
Users WebsitePM
  Top
 

 
Tweeqit2  
Posted: Sunday, Dec 7 2008, 08:31
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Jul 13, 2005

XXXXX



nvm. Got it to work by only adding the file I modded to the list instead of all. Good work.

This post has been edited by Tweeqit2 on Sunday, Dec 7 2008, 10:58
PM
  Top
 

 
mr.Dageron  
Posted: Sunday, Dec 7 2008, 09:31
Quote Post


Bbobik - my old nickname
Group Icon
Group: BUSTED!
Joined: Nov 25, 2008

ru.gif

XXXXX



aru, really great work!

And any news about your SparkIV?
Users WebsitePMICQ
  Top
 

 
bobster uk  
Posted: Sunday, Dec 7 2008, 11:18
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Dec 3, 2008

XXXXX



this is very nice aru,

alltho wont work for me tho sadly.

Good job tho.

edit: nvm got it to work

This post has been edited by bobster uk on Sunday, Dec 7 2008, 11:29
PM
  Top
 

 
voodoo48  
Posted: Sunday, Dec 7 2008, 11:50
Quote Post


The chosen one...
Group Icon
Group: Members
Joined: Jan 16, 2007

hg.gif

XXXXX



Soundz great, I'll try it out as soon as I get my PC version of GTA IV. smile.gif


QUOTE (ARU)
Oh, and don't be too sure about it still working after a patch... if R* fixes their checking, it won't work.
They are full of work right now, I don't think they have time to f*ck with the modders, who'll find the way to do the modding after a week.
PMMSNXbox Live
  Top
 

 
elanman  
Posted: Sunday, Dec 7 2008, 12:46
Quote Post


PC Gamer
Group Icon
Group: Andolini Mafia Family
Joined: Apr 11, 2007

wa.gif

XXXXX



QUOTE (Zach @ Dec 7 2008, 00:22)
QUOTE (elanman @ Dec 6 2008, 18:19)
GTA IV won't f*cking start now...

YES! IT'S WORKING! RELIABLE AND EASY TO INSTALL! Caps were necessary, great mot, thanks.

I'm confused. Don't those two statements contradict each other? mercie_blink.gif

I edited my post, first it wasn't working, now it is.
PM
  Top
 

 
Dup  
Posted: Sunday, Dec 7 2008, 13:31
Quote Post


Retired Lurker
Group Icon
Group: Zaibatsu
Joined: May 18, 2002

uk.gif

Member Award




I keep getting asked for my DVD. I've got the UK DVD release running on Vista 64.

EDIT: DON'T FORGET to copy the generated "files.txt" from arus' "gtaiv-magic" folder in to the GTA IV folder once you have run his .bat file

This post has been edited by Dup on Sunday, Dec 7 2008, 13:54
Users WebsitePMMSNXbox Live
  Top
 

 
n1k  
Posted: Sunday, Dec 7 2008, 16:08
Quote Post


Rat
Group Icon
Group: Members
Joined: Jun 3, 2005

XXXXX



OMFG Thank you so much, I now have motion blur at any speed in a car. No longer need I be speeding through the city to have it on, I can be checking out the details cruising through slowly with motion blur on. Awesome.
PM
  Top
 

 

0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)

0 Members:

Pages: (13) [1] 2 3 ... Last »

Topic Options Reply to this topicStart new topicStart Poll
Search topic for posted by (exact match)



 
IMG IMG