Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!   (92,792 visits to this link)

    2. News

    1. GTA Online

      1. Find Lobbies & Players
      2. Guides & Strategies
      3. Vehicles
      4. Content Creator
      5. Help & Support
    2. Crews

      1. Events
      2. Recruitment
    1. Grand Theft Auto Series

    2. GTA Next

    3. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    4. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA Mods
    5. GTA Chinatown Wars

    6. GTA Vice City Stories

    7. GTA Liberty City Stories

    8. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    9. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    10. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    11. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    12. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    3. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption 2

    2. Red Dead Redemption

    3. Rockstar Games

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Programming
      5. Movies & TV
      6. Music
      7. Sports
      8. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Forum Support

    2. Site Suggestions

Sign in to follow this  
opium_addict

GTA4 - modding ability

Recommended Posts

Mania-92

Tried setting the key to 0 as a QWORD (64-bit) but that didn't work either.. Does anyone have a solution?

Share this post


Link to post
Share on other sites
opium_addict

OK there was a bug that caused the game to crash in the middle of the game while modding, i am addressing this now and i will release a fix (NO SRC) later.

Share this post


Link to post
Share on other sites
JKM
OK there was a bug that caused the game to crash in the middle of the game while modding, i am addressing this now and i will release a fix (NO SRC) later.

Pls could you make a support for vista, too?

I think its not that bad to add some lines for you to enable the ASLR for Vista....

Share this post


Link to post
Share on other sites
opium_addict
OK there was a bug that caused the game to crash in the middle of the game while modding, i am addressing this now and i will release a fix (NO SRC) later.

Pls could you make a support for vista, too?

I think its not that bad to add some lines for you to enable the ASLR for Vista....

read aru's post, fix it that way; that security technique is not something i am aware that i can fix.

Share this post


Link to post
Share on other sites
unopieceo

Ahahaha, 3 days and gta4 is already moddable. nice try R*, but you failed.

Share this post


Link to post
Share on other sites
Mania-92
OK there was a bug that caused the game to crash in the middle of the game while modding, i am addressing this now and i will release a fix (NO SRC) later.

Pls could you make a support for vista, too?

I think its not that bad to add some lines for you to enable the ASLR for Vista....

read aru's post, fix it that way; that security technique is not something i am aware that i can fix.

It doesn't work, atleast for me and DexX.. So or the fix just doesn't work or we're doing something wrong.

Share this post


Link to post
Share on other sites
Andylg

If it possible with this tool to start the game with "fonts.dat" replaced with "fonts_r.dat" (Russian .dat)?

Does anyone know how to use russian fonts "fonts_r.wtd" & "fonts_r_streamed_1.wtd" in the game?

Share this post


Link to post
Share on other sites
ikt

Lol s0beit, didn't expect you'd be still active @ GTA =D

Share this post


Link to post
Share on other sites
JKM

I asked because the way with the registry didnt work for me too...

i tried the dep way too but nothing changed... still the crash while loading the gta4.exe...

Share this post


Link to post
Share on other sites
opium_addict

here is a mod i made with changes to the weapon file tounge.gif

 

 

 

here is how

 

<weapon type="PISTOL">

  <data slot="HEAVY" firetype="PROJECTILE" damagetype="EXPLOSIVE" group="ROCKET" targetrange="50.0" weaponrange="100.0" clipsize="17" ammomax="1500" timebetweenshots="333">

  <damage base="25" networkplayermod="3.0" networkpedmod="1.0"/>

  <reload time="2000" fasttime="2000" crouchtime="2000"/>

 

  <aiming accuracy="0.5">

    <offset        x="0.15" y="1.0" z="0.55"/>

    <crouchedoffset x="0.2"  y="1.0" z="0.05"/>

    <reticule standing="0.65" ducked="0.55" scale="0.3"/>

  </aiming>

 

  <pickup regentime="120000" ammoonstreet="30"/>

 

  <controller>

    <rumble duration="110" intensity="0.02"/>

  </controller>

 

  <flags>

    <flag>GUN</flag>

    <flag>CAN_AIM</flag>

    <flag>CAN_FREE_AIM</flag>

    <flag>ANIM_RELOAD</flag>

    <flag>ANIM_CROUCH_FIRE</flag>

    <flag>CREATE_VISIBLE_ORDNANCE</flag>

  </flags>

 

  <projectile>

    <typetocreate type="ROCKET"/>

    <offset    x="0.54" y="0.0" z="0.055"/>

    <rotoffset x="0.0"  y="0.0" z="-1.571"/>

  </projectile>

  </data>

 

  <assets model="w_glock">

  <anim group="[email protected]" meleegroup1="firearm_core"/>

 

  <effects>

    <muzzle fx="muz_pistol_small"/>

    <shell fx="weap_ejected_pistol"/>

  </effects>

  </assets>

</weapon>

 

 

and shotgun

 

 

<weapon type="SHOTGUN">

  <data slot="SHOTGUN" firetype="INSTANT_HIT" damagetype="BULLET" group="SHOTGUN" targetrange="45.0" weaponrange="50.0" clipsize="80" ammomax="80" timebetweenshots="1233">

  <damage base="20" networkplayermod="5.0" networkpedmod="1.0"/>

  <physics force="1800.0"/>

  <reload time="2933" fasttime="2933" crouchtime="2933"/>

 

  <aiming accuracy="0.08">

    <offset        x="0.16" y="1.0" z="0.44"/>

    <crouchedoffset x="0.16" y="1.0" z="0.0"/>

    <reticule standing="1.0" ducked="1.0" scale="0.0"/>

  </aiming>

 

  <pickup regentime="240000" ammoonstreet="16"/>

 

  <controller>

    <rumble duration="200" intensity="1.0"/>

  </controller>

 

  <flags>

    <flag>GUN</flag>

    <flag>CAN_AIM</flag>

    <flag>CAN_FREE_AIM</flag>

    <flag>ANIM_RELOAD</flag>

    <flag>ANIM_CROUCH_FIRE</flag>

    <flag>HIGHER_BREAK_FORCE</flag>

    <flag>ARMOUR_PENETRATING</flag>

  </flags>

  </data>

 

  <assets model="w_shotgun">

  <anim group="[email protected]"/>

 

  <effects>

    <muzzle fx="muz_shotgun"/>

    <shell fx="weap_ejected_shotgun"/>

  </effects>

  </assets>

</weapon>

Share this post


Link to post
Share on other sites
Dysprosium

I've also done a little launcher. It works for me with Vista x64.

Copy it to your GTAIV directory and run. Then the game will start automatically.

Download

Share this post


Link to post
Share on other sites
KickyMcAssington

 

here is a mod i made with changes to the weapon file tounge.gif

 

 

 

here is how

 

<weapon type="PISTOL">

  <data slot="HEAVY" firetype="PROJECTILE" damagetype="EXPLOSIVE" group="ROCKET" targetrange="50.0" weaponrange="100.0" clipsize="17" ammomax="1500" timebetweenshots="333">

   <damage base="25" networkplayermod="3.0" networkpedmod="1.0"/>

   <reload time="2000" fasttime="2000" crouchtime="2000"/>

 

   <aiming accuracy="0.5">

    <offset         x="0.15" y="1.0" z="0.55"/>

    <crouchedoffset x="0.2"  y="1.0" z="0.05"/>

    <reticule standing="0.65" ducked="0.55" scale="0.3"/>

   </aiming>

 

   <pickup regentime="120000" ammoonstreet="30"/>

 

   <controller>

    <rumble duration="110" intensity="0.02"/>

   </controller>

 

   <flags>

    <flag>GUN</flag>

    <flag>CAN_AIM</flag>

    <flag>CAN_FREE_AIM</flag>

    <flag>ANIM_RELOAD</flag>

    <flag>ANIM_CROUCH_FIRE</flag>

    <flag>CREATE_VISIBLE_ORDNANCE</flag>

   </flags>

  

   <projectile>

    <typetocreate type="ROCKET"/>

    <offset    x="0.54" y="0.0" z="0.055"/>

    <rotoffset x="0.0"  y="0.0" z="-1.571"/>

   </projectile>

  </data>

 

  <assets model="w_glock">

   <anim group="[email protected]" meleegroup1="firearm_core"/>

 

   <effects>

    <muzzle fx="muz_pistol_small"/>

    <shell fx="weap_ejected_pistol"/>

   </effects>

  </assets>

</weapon>

 

 

and shotgun

 

 

<weapon type="SHOTGUN">

  <data slot="SHOTGUN" firetype="INSTANT_HIT" damagetype="BULLET" group="SHOTGUN" targetrange="45.0" weaponrange="50.0" clipsize="80" ammomax="80" timebetweenshots="1233">

   <damage base="20" networkplayermod="5.0" networkpedmod="1.0"/>

   <physics force="1800.0"/>

   <reload time="2933" fasttime="2933" crouchtime="2933"/>

 

   <aiming accuracy="0.08">

    <offset         x="0.16" y="1.0" z="0.44"/>

    <crouchedoffset x="0.16" y="1.0" z="0.0"/>

    <reticule standing="1.0" ducked="1.0" scale="0.0"/>

   </aiming>

 

   <pickup regentime="240000" ammoonstreet="16"/>

 

   <controller>

    <rumble duration="200" intensity="1.0"/>

   </controller>

 

   <flags>

    <flag>GUN</flag>

    <flag>CAN_AIM</flag>

    <flag>CAN_FREE_AIM</flag>

    <flag>ANIM_RELOAD</flag>

    <flag>ANIM_CROUCH_FIRE</flag>

    <flag>HIGHER_BREAK_FORCE</flag>

    <flag>ARMOUR_PENETRATING</flag>

   </flags>

  </data>

 

  <assets model="w_shotgun">

   <anim group="[email protected]"/>

 

   <effects>

    <muzzle fx="muz_shotgun"/>

    <shell fx="weap_ejected_shotgun"/>

   </effects>

  </assets>

</weapon>

Very nice(borat voice) biggrin.gif

 

 

I was going to go crazy with the weapons until I remembered what happened when I did that in San Andreas

I seem to recall having my car one shot'ed by npc's after ramping up the damage, so my question then, Does this effect the NPC's weapons as well? as in, with this weapon mod will the cops now be shooting rocket pistols at you? tounge.gif

 

Hopefully the in game crash you mentioned is an easy fix.

I'm going to get back to modding now, hopefully I wont run into the bug before it gets fixed :-)

Edited by KickyMcAssington

Share this post


Link to post
Share on other sites
Johnnnyboy15nl

Wow, thats nice man! Very nice! can't wait for the mods tounge.gif.

Share this post


Link to post
Share on other sites
user21043

It's soo cooll!!!! very nice man!!!! Good luck

Share this post


Link to post
Share on other sites
DuKtape

the hook works with a modified handling.dat, but ingame the handling is exactly the same. i tried setting damage multiplier to 0, and the car still took damage but the game crashed right when the car was supposed to blow up. all handling settings dont seem to affect how the car drives aswell.

Share this post


Link to post
Share on other sites
KickyMcAssington
the hook works with a modified handling.dat, but ingame the handling is exactly the same. i tried setting damage multiplier to 0, and the car still took damage but the game crashed right when the car was supposed to blow up. all handling settings dont seem to affect how the car drives aswell.

If that's true I think I will cry :-(

Handling is what I'm most excited to be able to mod, I want better traction damn it! :-)

 

be right back with a test to confirm handling.dat isn't working yet.

Share this post


Link to post
Share on other sites
DuKtape

game loads with handling.dat deleted, it's being loaded from somewhere else (im on retail, maybe cd?)

 

edit: filelist.pak has handling info in, im gonna try editing that

Edited by DuKtape

Share this post


Link to post
Share on other sites
KickyMcAssington
game loads with handling.dat deleted, it's being loaded from somewhere else (im on retail, maybe cd?)

 

edit: filelist.pak has handling info in, im gonna try editing that

Good eye sir smile.gif

 

That explains why editing handling.dat was crashing my game.

Drastic changes would crash the game as it loaded but subtle ones only crashed in game after a couple min. Also The changes didn't seem to take effect, though as I said they had to be subtle to get past the crash so who knows for sure.

I guess the files are conflicting tounge.gif

 

I'll try editing filelist.pak as well.

Both files may have to match up, I'll have a look anyway.

Thanks.

Share this post


Link to post
Share on other sites
WearingNothing

Ive tried opening the .pak file. I edited somthing then saved it. It crashes on start of gta iv. Its probally because if you look at the top of the file when you open there is some stuff that Notepad can't get right so when you save you just screw up that part. Id guess someone would need to make somthing to open the file correctly.

Share this post


Link to post
Share on other sites
DuKtape

well you open it with a hex editor lol. i tried changing the handling in filelist.pak, game crashes some time into the loading screen. tried changing both files so they match, crashes too.

Share this post


Link to post
Share on other sites
KickyMcAssington

Also If you delete filelist.pak and leave handling.dat the game will still start up, it only crashed 1 minute into gameplay. weird..

I think I'm out of my depth now :-(

 

Now after putting everything back to my default backups (other then the weapon tweak) the game is still crashing after a couple min, though now I cant be sure if its because of all the alt-tabbing I've been doing and the extra windows I've got open and the crashes I've had without rebooting or if its the weapon mod :-)

Time to reboot I think.

Share this post


Link to post
Share on other sites
DexX
I've also done a little launcher. It works for me with Vista x64.

Copy it to your GTAIV directory and run. Then the game will start automatically.

Download

Doesn't work. File was removed. Upload a new one?

Share this post


Link to post
Share on other sites
STEVE124

is this working with the non STEAM version.

Share this post


Link to post
Share on other sites
KickyMcAssington
is this working with the non STEAM version.

Yes

Share this post


Link to post
Share on other sites
WearingNothing

 

Download < Uploaded the one posted above, and this works with non-steam and steam if im not mistaken

Share this post


Link to post
Share on other sites
STEVE124
is this working with the non STEAM version.

Yes

what files are safe to mod modify at this time.

Share this post


Link to post
Share on other sites
WearingNothing

 

well you open it with a hex editor lol. i tried changing the handling in filelist.pak, game crashes some time into the loading screen. tried changing both files so they match, crashes too.

I just changed only the .pak file and gave my stallion alot of Mass. It has worked, i can't really video it but all you need to change is the .pak file.

Share this post


Link to post
Share on other sites
DexX

 

Download < Uploaded the one posted above, and this works with non-steam and steam if im not mistaken

Thank you.

 

Using that launcher, I edited my visualSettings.dat (common/data) to give the cars green headlights;

http://img523.imageshack.us/my.php?image=greenlightsrm4.jpg

 

Not a proper mod by any means, just a quick and obvious test. Now it's time to overhaul that file.

 

Note that for the visualsettings.dat file, there is also an .xls file of the same name, and it is also in filelist.pak. The only file i edited was visualsettings.dat in the data folder. Nothing else.

Share this post


Link to post
Share on other sites
opium_addict

I'm actually pretty sure you can edit the visualSettings.dat with my launch-injector as well.

 

Anyway, for the post asking about handling edits, and talking of "subtle" crashes, it could be because i did not update the version (i am using an updated version) there is no ingame crashes.

 

i will release it in the first post and update links etc.

Share this post


Link to post
Share on other sites
DexX

 

I'm actually pretty sure you can edit the visualSettings.dat with my launch-injector as well.

I couldn't start the game with your launcher, thus i never attempted to modify any files until i could launch a stock game first.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.