Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. Red Dead Redemption 2

      1. Gameplay
      2. Missions
      3. Help & Support
    2. Red Dead Online

      1. Gameplay
      2. Find Lobbies & Outlaws
      3. Help & Support
    1. Crews & Posses

      1. Recruitment
    2. Events

    1. GTA Online

      1. Arena War
      2. After Hours
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Grand Theft Auto Series

    3. GTA Next

    4. GTA V

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

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

    7. GTA Vice City Stories

    8. GTA Liberty City Stories

    9. GTA San Andreas

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

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

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

      1. GTA Advance
      2. GTA 2
      3. GTA
    13. 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. 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. News

    2. Forum Support

    3. Site Suggestions

GoofyHTS

Memory Handling Editor

Recommended Posts

GoofyHTS

My Memory Handling Editor has been trashed. I found a way to let the game reload this file for your via some code injection. I made a simple application to inject the code or see one of my posts below to find out where to inject the code. The app can be downloaded here at GTAGarage:

 

Download Link

 

user posted image

 

To use it, just click on "Inject Code" and every time you change something in the file click "Reload Handling.cfg"

(There won't be any success messages, only error messages (if any) that will be displayed.)

 

Note: Some handling/model flags might need the car to be respawned to take a effect though.

Edited by GoofyHTS

Share this post


Link to post
Share on other sites
xmen

sounds interesting, one suggestion, can you make it that you can save all the handling in a file, then can read that file when restart the game, this will help in 2 ways, 1 you can read handling while game isnt running and 2 you dont need to enter same values again and again, anyway good tool, keep it up icon14.gifwink.gif

Edited by xmen

Share this post


Link to post
Share on other sites
Alexander Blade

2xmen : xD lol.gif

2GoofyHTS : nice , Delphi 6 rulezz biggrin.gifalien.gif

Share this post


Link to post
Share on other sites
X_ATP_X

Yeah your tool is very great smile.gif

 

Can you give me please the memory adresses?

Share this post


Link to post
Share on other sites
xmen

 

Can you give me please the memory adresses?

this page will help, Link

wink.gif

Share this post


Link to post
Share on other sites
Alexander Blade

Vehicle Main Handling

 

Delphi code

 

 

  VehicleHandling = packed record  index : integer;  fMass : single; // single = float 4 bytes  field_8 : single;  fTurnMass : single;  fDragMult : single;  x : single;  y : single;  z : single;  nPercentSubmerged : byte;  field_21       : byte;  field_22       : byte;  field_23       : byte;  field_24  : single;  fTractionMultiplier : single;  transmissionData : TransmissionData;  field_90 : single;  fBrakeDeceleration : single;  fBrakeBias : single;  bABS            : byte;  field_9D        : byte;  field_9E        : byte;  field_9F        : byte;  fSteeringLock : single;  fTractionLoss : single;  fTractionBias : single;  fSuspensionForceLevel : single;  fSuspensionDampingLevel : single;  fSuspensionHighSpdComDamp : single;  fSuspensionUpperLimit : single;  fSuspensionLowerLimit : single;  fSuspensionBiasBetweenFrontAndRear : single;  fSuspensionAntiDiveMultiplier : single;  fCollisionDamageMultiplier : single;  modelFlags      : single;  handlingFlags   : single;  fSeatOffsetDistance : single;  nMonetaryValue  : integer;  frontLight      : byte;  rearLight       : byte;  animGroup       : byte;  field_DF        : byte; end; TransmissionData = packed record  field_0         : single;  field_4         : single;  field_8         : single;  field_C         : single;  field_10        : single;  field_14        : single;  field_18        : single;  field_1C        : single;  field_20        : single;  field_24        : single;  field_28        : single;  field_2C        : single;  field_30        : single;  field_34        : single;  field_38        : single;  field_3C        : single;  field_40        : single;  field_44        : single;  nDriveType      : byte;  nEngineType     : byte;  nNumberOfGears  : byte;  field_4B        : byte;  field_4C        : single;  fEngineAcceleration : single;  fEngineInertia  : single;  fMaxVelocity    : single;  field_5C        : single;  field_60        : single; end;

 

 

210 signatures from 0xC2B9C8(general handling)+0x14(main handling offset)

 

Share this post


Link to post
Share on other sites
GoofyHTS

Glad all of you like it. The memory addresses I use was found Here

 

 

modelFlags      : single;

  handlingFlags  : single;

 

Is not single's, it's hex.

 

I might add like a config save (not to handling.cfg) this way you can leave your handling.cfg file original add load up your values in memory, and i'm still planning to export to handling.cfg.

 

The user interface will be overhauled to make it more attractive,as this is a experimental version.

Edited by GoofyHTS

Share this post


Link to post
Share on other sites
Squiddy
Is not single's, it's hex.

Hex is, just like binary or decimal, a mean to express numbers. Single is a datatype. Two different things.

Share this post


Link to post
Share on other sites
GoofyHTS

 

Is not single's, it's hex.

Hex is, just like binary or decimal, a mean to express numbers. Single is a datatype. Two different things.

 

Yes, what I meant with hex was that the handling/model stuff contains flags, so it can't really be represented with a data type, instead the value gets built up by adding certain flag values together for each digit of the hex string.

 

 

Edited by GoofyHTS

Share this post


Link to post
Share on other sites
GoofyHTS

Memory Handling Editor no longer available....Please see my first post for the Handling Reloader

Edited by GoofyHTS

Share this post


Link to post
Share on other sites
S_G

YES! Thank you! I can't wait to try this out. I've been trying to perfect my vehicle handling, but I had to exit the game and restart after EVERY change. Now I can do it all with this nifty thing!

Share this post


Link to post
Share on other sites
xmen

Suggestion :

the combobox that have all named should be sorted or change its DropDownStyle to DropDown(its in C# dunno whats in delphi) so that desire vehicle can be find easily...monocle.gif

 

is it possible to save the file like handling format...

Share this post


Link to post
Share on other sites
GoofyHTS

 

the combobox that have all named should be sorted or change its DropDownStyle to DropDown(its in C# dunno whats in delphi) so that desire vehicle can be find easily...

I will do that (should have anyway tounge2.gif )

 

 

s it possible to save the file like handling format...

 

Not yet. I still need to add the Special Handling stuff of bikes,boats and planes. Once I add those and hopefully find the secret behind MaxVelocity and Damage Col Mul I'll add that feature. (Or for the time being I'll just default that two values to something)

Share this post


Link to post
Share on other sites
TTKRickJames

From what i know of "fMaxVelocity", all it does is tell the car when to stop accelerating, the engine acceleration line(fEngineAcceleration) is the one that makes the cars "faster"...

 

If thats what your even talking about, it says in the Handling config to only use values from 5-150 for max velocity, and 1-10 for engine acceleration but i have used values up to 1000 in both... makes for some crazy fast cars....GL in your heandling editor, DLing now.

 

EDIT: Hey are you able to make he vehicles.ide file editable whilst in game so we can change our wheel sizes with ease, as some mods ive come accross have retardedly huge wheels on them, and entering/exitng the game numerous times to get the wheel size just right sucks.

Edited by TTKRickJames

Share this post


Link to post
Share on other sites
GoofyHTS
From what i know of "fMaxVelocity", all it does is tell the car when to stop accelerating, the engine acceleration line(fEngineAcceleration) is the one that makes the cars "faster"...

 

If thats what your even talking about, it says in the Handling config to only use values from 5-150 for max velocity, and 1-10 for engine acceleration but i have used values up to 1000 in both... makes for some crazy fast cars....GL in your heandling editor, DLing now.

 

EDIT: Hey are you able to make he vehicles.ide file editable whilst in game so we can change our wheel sizes with ease, as some mods ive come accross have retardedly huge wheels on them, and entering/exitng the game numerous times to get the wheel size just right sucks.

The problem comes in how MaxVelocity is stored. If you change it then it changes about 20 addresses in memory, unlike the other values that only change one address.

 

I will look into the vehicles.ide file.

Share this post


Link to post
Share on other sites
Rapier

 

Again bugs, suggestion etc. is welcome.

OK, let's go:

1 - The EXE name could be "GTASAMHE". I like file names in old DOS format (8.3) tounge.gif

2 - The application's icon may be another instead of the standard Delphi's icon.

3 - A self installer would be great!

 

But anyway the program is very good! icon14.gif

Share this post


Link to post
Share on other sites
GoofyHTS

This tool is now thrashed........

I made a Break Through!!!

 

I figured out how to reload the handling.cfg file while the game is running...

You have to inject some code in memory, I made a simple application that does this.

 

Downloaded link can be found on the first post in this thread.

 

To use it, just click on "Inject Code" and every time you change something in the file click "Reload Handling.cfg"

(There won't be any success messages, only error messages (if any) that will be displayed.)

 

Or you can do it yourself:

 

Poke this at 0x856FE0 : (hex)

80,3D,10,10,30,1,1,75,A,B9,C8,B9,C2,0,E8,3D,68,D6,FF,C6,05,10,10,30,1,0,E9,CA,1D,EF,FF

 

Poke this at 0x748A82 : (hex) (this is the gateway)

E9,59,E5,10,0

 

You will have to set 0x1301010 to 1 to reload the file (gets set back to 0 when loading is done)

 

Some handling/model flags might need the car to be respawned to take a effect though.

 

Have Fun!

 

 

Hey are you able to make he vehicles.ide file editable whilst in game so we can change our wheel sizes with ease, as some mods ive come accross have retardedly huge wheels on them, and entering/exitng the game numerous times to get the wheel size just right sucks.

I'm planning to do this with Vehicles.ide,Weapon.dat ect.

 

Is there any possibility that I can rename this topic? It kinda went in a totally different direction...

Edited by GoofyHTS

Share this post


Link to post
Share on other sites
_6mik_

hey , i just try it, it is awesome !!! Thx a lot !!!

 

it work perfectly, but i saw that for the suspension modification take effect, you need to respawn the car, anyhow, reaaly nice

 

(and thx for keeping me in the loop )

 

cookie.gifcookie.gifcookie.gif

 

icon14.gif

Share this post


Link to post
Share on other sites
FatAssCartman

is it possible to make an injector for GTA IV?

Share this post


Link to post
Share on other sites
GoofyHTS
is it possible to make an injector for GTA IV?

what exactly do you mean making an injector?

Share this post


Link to post
Share on other sites
Chi J. Creeper

Please reload the link, current link is not working just give: Access denied: Account disabled.

What gives?

Share this post


Link to post
Share on other sites
GoofyHTS

 

Please reload the link, current link is not working just give: Access denied: Account disabled.

What gives?

Sorry about that, my account got disabled due to inactivity, please see the first post of this thread with the updated links,.

 

The app can be downloaded via GTAGarage HERE

Edited by GoofyHTS

Share this post


Link to post
Share on other sites
Darecki

I still have it on one of my backup CD's, so tomorrow I'll try to upload this for you wink.gif

Share this post


Link to post
Share on other sites
Logofero

Sorry could strange question, but someone tell formula for

receiving TransmissionData.fMaxVelocity (Multiplied by 5.5555599e-3)

 

I Tried:

 

[email protected] = 0xC2B9DC

[email protected] + = 0x84

0A8D: [email protected] = read_memory [email protected] size 4 virtual_protect 0 // Landstalker TransmissionData.fMaxVelocity

 

speed does not match..

 

Someone tell me how to?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

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