1.  

Grand Theft Auto IV ISO Modding

Discussion in 'Grand Theft Auto IV Modding' started by Cathering, Feb 19, 2010 with 63 replies and 125,610 views.

  1. Cathering

    Cathering Seasoned Member

    Messages:
    1,339
    Likes Received:
    555
    Grand Theft Auto ISO Modding
    GTA IV Original Version Only

    The purpose of this tutorial is to introduce Grand Theft Auto ISO modding to people who are new to it - it will show you how to replace the standard common file within the GTA IV ISO and how to burn it, I will also provide basic tips on designing your own common file however I will not document how to make your own, that's for another tutorial.

    Please note, GTA IV has been patched with no current bypass, these mods are for offline use only and you must clear your system cache before use to remove the patch.

    Requirements
    Quickly grab all these programs and install them and then download the modifications - then we can get started.

    The first thing we're going to do is open wx360 and then replace the stardard common file with that of the downloaded mods (common.rpf).

    First of all find and open wx360
    [​IMG]We want to open the GTA IV ISO with wx360 so go to File > Open and click.

    [​IMG]Navigate towards your GTA IV ISO, select it and then click open as illustrated above.

    [​IMG]You will now see that wx360 has a list of files and folders contained within the ISO. Right click on "common.rpf" and select "Replace File".

    [​IMG]Navigate to the modified common.rpf you downloaded earlier, select it and click "Open" wx360 will now begin the replacement process. If you get an error saying the file is too large to replace with the original common, then please make sure the modified common.rpf file is 16,820kb or lower - if it's not then please see the rebuilding a common file section of this tutorial.

    [​IMG]Wait until the "Status" column states that the replacement process is completed, this is indicated by "Done" in the common.rpf row as illustrated above. Once it is finished close wx360.

    You have now sucessfully replaced the common.rpf file within the GTA IV ISO. We can now proceed to burn the modified ISO onto a dual layer disc.

    Now open ImgBurn, we will be using this program to burn the modified ISO file.[​IMG]When ImgBurn is opened navigate to Tools > Settings and then left click. We must apply some write settings before burning.

    [​IMG]A window will appear as illustrated above. Click on the "Write" tab.

    [​IMG]You will come across an array of various settings. Under the "Options" section there is an option labeled "Layer Break (For DL Media)" select "User Specified" and then set "Sectors in L0:" to exactly 1913760 as illustrated above. After you have finished click OK.

    [​IMG]When you have closed the window click on "Write image file to disc"

    [​IMG]You now have to select the modified GTA IV ISO - to do this click on the "Select File" as illustrated above.

    [​IMG]Navigate towards your modified GTA IV ISO, select the .dvd file (if you do not have one then select the ISO) and then click open as illustrated above.

    [​IMG]Insert your dual layer disc (you should have bought them). Wait a moment and the Write image file should be enabled and then finally under the "Settings" section set the "Write Speed" to 1x as illustrated above (this will force ImgBurn to burn at the slowest speed possible) also uncheck "Verify".

    It's important to ensure your dual layer disc is scratch free before burning and that your DVD Drive can burn dual layer media.

    [​IMG]Once you are sure everything is done - press the Write image to file icon as illustrated above. You disc will begin burning, if you have done everything correctly and your drive is currently not in use you should encounter no errors.

    Congratulations when this process is complete you will be able to use your disc to play a modified version of Grand Theft Auto IV.

    Rebuilding a common.rpf
    This is a requirement to be able to make your own modifications for GTA IV. While you can make common.rpf modifications by not rebuilding, it can be alot of hassle and is best done only if you're releasing it to the public. If they are for your private use, the method I'm about to show you is probably the best and easiest way.

    Sometimes you'll find that the common.rpf file size is too big to replace the original common.rpf with. This is where rebuilding comes in - it makes the common.rpf file size smaller so you can fit it in the GTA IV ISO.​

    Requirements
    After you download these programs, extract gtaiv.exe and setup OpenIV​

    I'm going to show you what happens when you replace a file with a bigger file in the common.rpf and then I'll demostrate how to make the common.rpf smaller by rebuilding.​

    First of all Open OpenIV
    [​IMG]
    When it is open go to File > Open and left click.


    [​IMG]
    Navigate to the common.rpf file you wish to modify and click "Open" as illustrated above. Take note of the file size - 16820kb (assuming this is an edited common.rpf).

    [​IMG]
    If the dialog box above appears, left click on "Yes".​

    [​IMG]A list of folders will appear, double click on the "data" folder as illustrated above.​

    [​IMG]Find the file you wish to replace, for example I have chosen to replace the weaponinfo.xml file. When you have chosen the file, right click on the file and select "Replace" as illustrated above.​

    [​IMG]Navigate to the file you wish to replace your chosen file with, select and click "Open" as illustrated above. I have selected my modified weaponinfo.xml to replace with the original weaponinfo.xml.​

    [​IMG]If we navigate back to the common.rpf we have open, after replacing the file we can see that the common.rpf has increased to 16824kb which is too large to fit into the GTA IV ISO, we must now rebuild the common.rpf to make it smaller.​

    [​IMG]Navigate back to the list of folders by clicking on "common.rpf" and then double click on the "text" folder like above.​

    [​IMG]A list of files with the names of languages will appear. These are the game language files. Decide which language file you want to delete, do not delete your currently set one - delete one that you do not use for example, I have chosen to delete the Italian language file. Right click your chosen language file and click on "Delete". It should then be removed.​

    [​IMG]Go to File > Rebuild to begin the rebuilding process as illustrated above.​

    [​IMG]
    A dialog box will appear asking you "Do you want to rebuild" click "Yes".


    [​IMG]
    The rebuilding process will now begin. A window will appear giving you feedback on the current status of the rebuild, wait until it is finished as illustrated above.

    [​IMG]As you can see above, the file size has dramatically decreased from 16824kb. You can now replace the original common file with this common file, provided you use a fresh ISO. There will usually be no need to rebuild again as 2MB of space is usually more than enough to fit your files into.

    Notes
    • This is my first tutorial, constructive criticism is appreciated.
    • This tutorial is designed be simple.
  2. SSM

    SSM Getting There

    Messages:
    428
    Likes Received:
    122
    Great job for a first tutorial bro!
  3. austin89

    austin89 Enthusiast

    Messages:
    112
    Likes Received:
    4
    yeah its a good tut very simple for those first time modders and will you make a tut on how to get around the new 2010 february patch please thanks and good tut
  4. Cathering

    Cathering Seasoned Member

    Messages:
    1,339
    Likes Received:
    555
    I will do when I have the time, however there is no present bypass for the GTA IV Orig version.
  5. DeRealGatekeepe

    DeRealGatekeepe Enthusiast

    Messages:
    511
    Likes Received:
    91
    THat is a really good tut!! Exactely how I do it only I use XBC in place of wx360. Other than that step by step exact!! :thumbup:
    So much info on here I cant understand how people still have questions!
    Is it ok if I copy the link to this? I only ask because rather than explaining it to everyone over and over I can just send them here!? I wont try to take credit just to get people off my pm's lol :thumbup:
  6. Cathering

    Cathering Seasoned Member

    Messages:
    1,339
    Likes Received:
    555
    The more links, the more views this tutorial gets, of course you can.
  7. DeRealGatekeepe

    DeRealGatekeepe Enthusiast

    Messages:
    511
    Likes Received:
    91
    Quick question about moddign weapons and handling in TBOGT (I have modded org gta 100+times never TBOGT)
    I looked threw the available commons, and DLC's I noticed that the common.rpf seems to be left alone? Are you Modding the files in the Common.rpf renaming them then putting these modded files into the DLC and leaving the common.rpf alone? Just wonderign as I tryed to open the hand.dat in the DLC's common and I cant?? Just tryign to figure this one out as I have never modded this one.
  8. Cathering

    Cathering Seasoned Member

    Messages:
    1,339
    Likes Received:
    555
    You cannot change much in the common.rpf due to the patch, DLC.rpf is used to override things in the common.rpf - provided they're loaded up in the "content.dat"
    as for not being able to open hand.dat files, I don't know what's wrong maybe it's just on your side.
  9. warfare

    warfare Newbie

    Messages:
    84
    Likes Received:
    3
    i would do but my last verbatim is goin to red dead redemption
  10. maps4890

    maps4890 Newbie

    Messages:
    53
    Likes Received:
    21
    ok 1 question. can i use wx360 on tbogt 4.0 mods?
  11. Cathering

    Cathering Seasoned Member

    Messages:
    1,339
    Likes Received:
    555
  12. Hunterrr

    Hunterrr Enthusiast

    Messages:
    155
    Likes Received:
    2
    so i can use those 4.1 mods or w/e on just the regular iso? no gay tony?
  13. Cathering

    Cathering Seasoned Member

    Messages:
    1,339
    Likes Received:
    555
    Ballad of Gay Tony mods will not work with an original GTA IV ISO. This is for original mods only.
    1 person likes this.
  14. Hunterrr

    Hunterrr Enthusiast

    Messages:
    155
    Likes Received:
    2
    kk thats probably why i get i/o error when i try to burn.
    Can you link me a good common file for the regular iso? Im a noob at GTA4 modding i just bought the game for xbox o_O.

    Oh i tried thanking your post for letting me know that wouldnt work but i got
    504 timeout on page?:?
  15. Cathering

    Cathering Seasoned Member

    Messages:
    1,339
    Likes Received:
    555
    Try to thank me again, should work. 504 is because the site's servers appear to be unstable. The link to a good working common file is at the top of my tutorial in the "Requirements" section, also be aware that these are not full mods e.g. God Mode as the patched has stopped that - until a bypass is found at least, you're better off on The Ballad of Gay Tony as there is full working mods.

    Link: http://www.se7ensins.com/forums/gta...-official-gta-iv-release-bypass-god-mode.html
  16. Hunterrr

    Hunterrr Enthusiast

    Messages:
    155
    Likes Received:
    2

    Ok sweet thanks.
    PS what iso do i mod for TBOGT?
    i have the original iso
    and i have a Episodes From Liberty City ISO?:?
  17. DeRealGatekeepe

    DeRealGatekeepe Enthusiast

    Messages:
    511
    Likes Received:
    91
    The ISO for TBOGT... Episodes...is TBOGT
  18. xXShAdOvVXx

    xXShAdOvVXx <(^_^)>

    Messages:
    6,046
    Likes Received:
    1,704
    Make sure to put the DLC.rpf into DLC2 folder - NOT DLC1 folder :)
  19. xboxblazed

    xboxblazed Enthusiast

    Messages:
    223
    Likes Received:
    13
    im new to this, and i was wondering if you can change the cars like you can in the pc mod?? thanks :)
  20. Cathering

    Cathering Seasoned Member

    Messages:
    1,339
    Likes Received:
    555
    If you are referring to changing car spawns:
    You can only do this on the Liberty City episodes as the original GTA IV has been patched.

    If you are referring to changing the actual car:
    This currently cannot be done.