|
 |
|
|
|
|
|
GTA Modification Forums
Documenting GTA3/VC memory adresses Vice *and* GTA3
 |
|
 |
| |
DexX  |
|
Black Hat

Group: Retired Staff
Joined: May 16, 2002


|
gta3.ini - gta3 actually uses this, i just copied it to my vice root folder. Data/SPECIAL.TXT Data/Views.txt it lists some view variables.. | CODE | View #i assume the views.txt format... %0.6f %0.6f %0.6f %0.6f %0.6f %0.6f %0.6f %s%d
|
Interesting messages... "Cannot Write to preset view file" "Cannot Open preset View file" "Out of memory - not all preset views loaded"
and elsewhere in the exe it lists this...
| CODE | CamX: %f CamY: %f CamZ: %f Frontx: %f, Fronty: %f, Frontz: %f Look@: %f, Look@: %f, Look@: %f |
Yea, looks like alot of stuff was left out for the final release. others, like your "press start to reload carcols data" is probably left over form the ps2 version, where the controller actually HAS a start button, lol.
yay, hex edit my .set file, that will be fun. could be useful though...
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
steve-m  |
|

Group: Members
Joined: Jul 26, 2002



|
| QUOTE (ashdexx @ Dec 7 2003, 01:37) | Data/SPECIAL.TXT Data/Views.txt |
VC doesn't even attempt to open these or other files (in its current configuration), I checked it. But it looks for a directory "movies\subtitles\" for example. Strange stuff.
BTW, I extracted the whole data segment to an extra file for easier reading.
@Ash: Hope you reply to my PM...
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
JernejL  |
|
Big Homie

Group: Retired Staff
Joined: Mar 11, 2002



|
| QUOTE (ST.MU @ Dec 7 2003, 12:58) | | QUOTE (ashdexx @ Dec 7 2003, 01:37) | Data/SPECIAL.TXT Data/Views.txt |
VC doesn't even attempt to open these or other files (in its current configuration), I checked it. But it looks for a directory "movies\subtitles\" for example. Strange stuff.
BTW, I extracted the whole data segment to an extra file for easier reading.
@Ash: Hope you reply to my PM... | yes it loads them, use sysinternals file monitor.. btw, about data segments, i made a tool for exporting / importing this stuff for GTA1, quite old program.. http://www.infofeast.com/delfi/will_be_del...sap/exeedit.zip it also renames the section and does some other sh*t..
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
steve-m  |
|

Group: Members
Joined: Jul 26, 2002



|
| QUOTE (Delfi @ Dec 7 2003, 19:00) | | yes it loads them, use sysinternals file monitor.. |
That's what I did!?
That tool is great, exactly what I'm looking for. Could you give me the source? I wanted to update my MenuEditor to read the offset of the data segment from the exe, because most users have problems finding the offset of menu data themselves.
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
JernejL  |
|
Big Homie

Group: Retired Staff
Joined: Mar 11, 2002



|
| QUOTE (ST.MU @ Dec 7 2003, 20:01) | | QUOTE (Delfi @ Dec 7 2003, 19:00) | | yes it loads them, use sysinternals file monitor.. |
That's what I did!?
That tool is great, exactly what I'm looking for. Could you give me the source? I wanted to update my MenuEditor to read the offset of the data segment from the exe, because most users have problems finding the offset of menu data themselves. | new offsets: 10554188 > mouse controller enabled 10554184 > Freeze world - freezes everything that is usualy doing something the player freezes (even with a plane mid-air), cars freeze, pedesterians freeze etc.. but the trash and rain drops on camera are still doing "their stuff", the clock is still working.. you can safely unfreeze this mode later, everything works like nothing happened.. this might be used for replay feature as some stuff disappears after it is turned off again.. heh - try this with a scene with thousands of cars onscreen, then use "bigbang" cheat so everything explodes but stays on place, after that disable the cheat, and everything exploded will start fliying around it is also interesting to turn this on in middle of replay, everything visual will halt, but the player and car shadows will still follow the movement interesting thing is that debug menu doesn't activate the funky cam mode setting..
ashdexx: the things around your offsets are gold mine i tell you.. @ST.MU: sure, the program is a edit of something i got from borlands website, but i added the section importer / exporter myself.. http://www.infofeast.com/delfi/will_be_del...xe%20editor.zip feel free to do anything with it, it is very crap and old code, so don't expect to see anything fancy.. also, Steve - you'll need my component pack if you don't want to fix the form and unit by hand to use standard vcl - it is from my components page on my website..
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
Stretchnutter  |
|
Also known as Racer_S

Group: Members
Joined: Jun 15, 2002



|
| QUOTE (Squidd @ Dec 21 2003, 10:21) | Hi everyone,
my first reply here at gtaforums.  I tried to modify the camera, with the offsets given at the beginning of that thread. But nothing happens.
When I set the Currently Selected View (Car) to 4, it works. Is there no other way to change the camera when you're on foot, for example?
Excuse me for my english. Hope you'll understand me.
Greets Squiddy |
Welcome to GTAForums!!!
ive already made a tool to do this.
http://toca.game-editing.net/dl?f=fpstest.zip
VC Camera Hack v2.1 Final
v2.2 is in progress...
This post has been edited by Stretchnutter on Sunday, Dec 21 2003, 18:47
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
JernejL  |
|
Big Homie

Group: Retired Staff
Joined: Mar 11, 2002



|
| QUOTE (Stretchnutter @ Dec 22 2003, 12:12) | | QUOTE (Delfi @ Dec 22 2003, 10:32) | | QUOTE (Stretchnutter @ Dec 21 2003, 19:46) | | v2.2 is in progress... |
2.1 never worked for me.. crashed game instantly. |
the readme suggeststhat if it crashes, use the no cd and even a link in there.
Its a bit of dodgy code injection which can really only be fixed by distributing a pre-made gta-vc.exe
check the readme if you still want to try it. |
i tried nocd and it didn't have ANY sounds ingame (not even sound effects) if i ran it with the cd it froze on loading.. can you distribute the modified exe? do it or find better camera memory data find the cameradistance and cameratarget..
This post has been edited by Delfi on Monday, Dec 22 2003, 12:16
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
Squidd  |
|
Player Hater

Group: Members
Joined: Dec 11, 2003

|
Sorry, but i've got another question. Somebody found out something about velocity or gravity? Don't know the right word. I mean that you can jump higher for example. I'm searching a long time, but found nothing yet. Before i continue searching, is it possible that this could be modified through an offset? I mean that it stands somewhere in the memory. And for another time, sry for my english. Think i'm going to improve it by posting here. Squiddy This post has been edited by Squidd on Tuesday, Dec 23 2003, 09:32
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
Squidd  |
Posted: Tuesday, Dec 23 2003, 09:32
|
Player Hater

Group: Members
Joined: Dec 11, 2003

|
| QUOTE (ashdexx @ Dec 23 2003, 04:45) | i understand your english is bad, so maybe you got your terms mixed up, everything is at an offset, all the data exists somewhere, the trick is in finding that offset, and exploiting it to its fullest.
I thought Delfi modded the player attributes for how high you could jump didnt he? | Sorry for my english, i try to improve it, so you could understand me.
About the player attributes, thats why i am asking. I tryed the search, but found nothing. You've maybe got a link or something else for me?
Thx Squiddy
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
JernejL  |
Posted: Thursday, Dec 25 2003, 23:50
|
Big Homie

Group: Retired Staff
Joined: Mar 11, 2002



|
more: note: all decimal. ashdexx posted only the hours for game time, here are the minutes: 10554258 > longword (4 byte unsigned integer) carpointer + 581 1 byte switch > alternate siren works on any car, specials like ambulance will have the siren and lights, but on ordinary cars the car will have double horn
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
DexX  |
|
Black Hat

Group: Retired Staff
Joined: May 16, 2002


|
lmfao, you can set it to whatever you want, set it to zero and make tommy jump. he doesnt come down, ever  here'e a pic (brightness raised for clarity)  Side effects- peds are stuck in the sidewalk, and cant walk, even when they get out of the car if you accelerate too fast, you do wheelies, even in that idaho, which is exactly how that happened also, if you exit the car midair, the player stays in that spot, he doesnt fall down Edit: i clicked start new game by accident, with no grav on, and decided to let it play out. this is a BAD thing to do, when ken drives you to the office, he cant stop! the car flys into, and through the camera, and the cutscene doesnt end, i needed to close vice via the task manager to get out of the game. just a warning... Edit 2: as odd as it may sound, you can make tommy swim with this! seriously. i failed at a jump on the docks with my pcj, and tommy plummeted to the water, except he didnt drown, he just keeps doing the falling animation and never goes into the water, and while he's falling i can control which direction he falls, so i steered him back to the shore. damn. @stretchnutter - damn good find here with that address! thanks you! More stuff to do with it... -hit bikes, the people fly much farther -get into more fights with cops, and use weapons that make bodies fly, like grenades or rockets, the bodies get mad air -stay by bridges and piss cars off by shooting at them -do pretty much anything that onvoles an object leaving the area and travelling vertically... here's my gravity settings orig - 6f 12 01 3c change 3c, to 3b, to keep the game playable, but much more interesting. This post has been edited by ashdexx on Friday, Feb 27 2004, 21:27
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
steve-m  |
Posted: Saturday, Feb 28 2004, 01:20
|

Group: Members
Joined: Jul 26, 2002



|
Congrats Stretchnutter, an awesome discovery! What happens, when you set the gravity to a very high value like 1? This:   With this value it is impossible to jump, you will land the same moment you jumped off. Running and then jumping results in immediate death. And the best of all: If peds are spawned higher than ground level (e.g. when paths aren't set exactly), they don't survive the few centimeters falling distance!  The same happens to .scm-placed cars, they fly through the air burning and exploding. Another nice effect is setting the gravity to a negative value, jumping results in infinite rising, and not only for the player. If you let some people take off and then set the gravity back positive again, they fall down and crash into the ground, another way to kill peds...  ² Some common values: | Hex Bytes | Float | Description |
|---|
| 6F 12 03 3C | 0.008 | default gravity | | 6F 12 83 3B | 0.004 | half gravity | | 6F 12 03 3B | 0.002 | quater gravity | | 6F 12 83 3C | 0.016 | double gravity | | 6F 12 03 3D | 0.032 | fourfold gravity | | 6F 12 03 BC | -0.008 | negative gravity | | 00 00 80 3F | 1.0 | very high gravity | | 17 B7 D1 38 | 0.0001 | very low gravity |
Low gravity (1/2 or 1/4) makes you jump wider, higher and longer and makes doing wheelies damn easy. I've no idea what a gravity value of 0.008 could stand for. Normally it is defined as m/s² with values like 9.8 (Earth) or 1.62 (Moon). Either the hundredth of the slightly changed original gravity or an undefined invention by R*.
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
DexX  |
Posted: Saturday, Feb 28 2004, 13:40
|
Black Hat

Group: Retired Staff
Joined: May 16, 2002


|
man oh man....i do the oddest things. im not even sure of *exactly* what it was this time, but ill give my instrucstions nonethless, vague though they are. from 69b1c0 to 69b21f, fill it with zeros. this will have 2 effects ingame, one, all the parked cars will be facing one direction, the other is every time you press a key on the keyboard, it will spawn a blooding, i sh*t you not. pic -  im unable to narrow down the address(es?) any more, because im about to pass out. if anyone wants too, have at it. btw, DO NOT hold down a key, it WILL start raining bloodrings, and drop your fps to less than 1. and i literally mean "rain", there will be that many if you press a key for too long. i made the mistake of holding a key down for a solid 5 seconds. 2 minutes later, when my game resumed, i had about 1/4 of a frame per second, before vice crashed. oops  time for
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
Stretchnutter  |
Posted: Thursday, Mar 4 2004, 16:16
|
Also known as Racer_S

Group: Members
Joined: Jun 15, 2002



|
7838D1 - Current Gear (Byte) apparently you can force it to change gears, but the sound type relies on switches... the offsets around that one contain nothing but 1's and 0's interesting. changing the gear doesn't have an effect on the vehicle speed, but the sound definately changes (you have to do some ASM hacking to disable the instructions that are updating the gear offset, or you can just FREEZE the value) This works perfectly next to a speedometer Ill have to play around with this a bit more later  EDIT: Ok, more is now known. 7838E0 (dword) - Timer for when sound starts playing, gear changed? Compare to global timer @ 974B2C 7838D8 (dword) - frequency of sound when in 'overdrive' (just increases with time if above certain speed until it reaches 800(dec) then it starts decreasing if over) 7838DD (byte?) - some kinda 'overdrive' switch | CODE | _text:005F1625 080 mov ds:dword_0_7838D8, 0 _text:005F162F 080 jmp loc_0_5F1D9A ; Jump _text:005F1634 ; ---------------------------------------------------------------------------
|
if you NOP out the Jump @ 005F162F by setting it to hex 9090909090 (size?) you can have overdrive on all the time and control the frequency. I used the speed to control the frequency and it sounded like it had one gear This post has been edited by Stretchnutter on Friday, Mar 5 2004, 09:34
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
DexX  |
|
Black Hat

Group: Retired Staff
Joined: May 16, 2002


|
more info, these change the text thats entered to activte a cheat, kinda. like some kind of cheat identifer keypad-thingy  Example, if you type in TRAVELINSTYLE, you spawn a bloodring, soo.. [carname] [address] [cheat text]Bloodring - 69B1D8, thats the offset for TRAVELINSTYLE Romero's Hearse - 69b1e8 - THELASTRIDE Love Fist Limo - 69b1f4 - ROCKANDROLLCAR Trashmaster - 69b204 - RUBBISHCAR Sabre Turbo - 69b210 - GETTHEREFAST Now, if you swap around the values of say romero's hearse, and the bloodring, then typing in TRAVELINSTYLE, will spawn a hearse, instead of a bloodring, ive tested this. If you fill the value with zero, as mentioned before, it will spawn that car when you press ANY a-z key thanks to AJH for narrowing it down mate  This is one i'm still exploring, but if you mess with it, there is no door animation, the door (driver side, front door) is EITHER open or closed, but when tommy gets in / out of a vehicle, it skips the animation and all the frames, and just becomes open / closed. 69b34a
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
Pages:
(56) 1 [2] 3 4 ... Last »
Track this topic
Receive email notification when a reply has been made to this topic and you are not active on the board.
Subscribe to this forum
Receive email notification when a new topic is posted in this forum and you are not active on the board.
Download / Print this Topic
Download this topic in different formats or view a printer friendly version.
| |
 |
|
 |
|
|
|
|