Title: PMG VCS developement notes
Description: basic explanation for the handling.cfg
vettefan88 - July 24, 2007 08:48 PM (GMT)
Please note that these are just some very vague development notes I had. I tried my best to format it in a readable way, and added as many notes as I can. I think everything is pretty straightforward though, it anyone has a question I'll try to answer it.
| QUOTE |
#cheat monster quad //garage information// setint(0x08C739B0, 230); //vehicle identifier setchar(0x08C739d4, 0, 0, 0, 255); //vehicle base color RGB values setchar(0x08C739d8, 255, 255, 255, 255); //vehicle stripe color RGB values //suspension information// setfloat(0x9631d60+0x74, 0.6); //suspension force setfloat(0x9631d60+0x78, 5); //suspension damping setfloat(0x9631d60+0x7c, 0); //upper limit setfloat(0x9631d60+0x80, -0.75); //lower limit setfloat(0x9631d60+0x84, 0.5); //bias setfloat(0x9631d60+0x88, 1); //anti-dive //tire information// setfloat(0x9367f18, 1.35, 1.35); //wheel size setfloat(0x9631d60+0xc4, 0.75); //traction loss setfloat(0x9631d60+0x70, 0.50); //traction bias setfloat(0x9631d60+0x6c, 0.95); //traction multiplier //handling information// setfloat(0x9631d60+0xbc, 6000); //mass setfloat(0x9631d60+0xc0, 6000); //turn mass setfloat(0x9631d60+0xa0, 0); //center of mass X setfloat(0x9631d60+0xa4, 0); //center of mass Y setfloat(0x9631d60+0xa8, -1.2); //center of mass Z setfloat(0x9631d60+0x68, 35); //steering lock setchar(0x9631d60+0x5c, '4', 'D', 4); //transmission data (drive type/engine type/# of gears) off() |
Blue = garage information.
the first 3 codes are garage information for the 101 bayshore ave garage.
the first one is the car that spawns in the garage. if you look at the spawn vehicle cheat in cheat device you'll see a number before each car. that is the cars identifying number.
the second line is the cars base colr in RGB format. (red, green, blue)
the third line is the cars secondary color (stripes, or other accenting colors) in RGB format.
this makes it easy to access the car.
Pink = Start of cars handling. it's just simply the place in hex where that car's handling starts.
Green = how much further into the hex, based on the start point, each setting is. makes it easy to apply changes.
brown = Tires size. This is the only vehicle change that isn't in the handling. This is located in the defaul.ide file, and unlike LCS, requires two values to work properly.
Purple = Each offsets Setting
Red = Each setting Sub category
if you can find the starting address for each cars handling you can change just the pink numbers and then easily apply the came code to another car, or easily modify it.
for example, I changed just the pink value to that of the caddy, and now the caddy has the same drifting elements the stallion did. Except I removed the suspension elements from it since it would hit the curb too much. the stock height works just fine.
#cheat Drifting Caddy
//by vettefan88
setfloat(0x962f3e0+0x88, 0);
setfloat(0x962f3e0+0xc4, 0.6);
setfloat(0x962f3e0+0x70, 0.5);
setfloat(0x962f3e0+0x6c, 0.8);
setfloat(0x962f3e0+0xbc, 2000);
setfloat(0x962f3e0+0xc0, 1600);
setfloat(0x962f3e0+0xa0, 0);
setfloat(0x962f3e0+0xa4, .1);
setfloat(0x962f3e0+0xa8, 0);
setfloat(0x962f3e0+0x68, 50);
setfloat(0x962f3e0+0xb8, 250);
setfloat(0x962f3e0+0xb4, 30);
setfloat(0x962f3e0+0xb0, 75);
setchar(0x962f3e0+0x5c, 'R', 'P', 5);
off()
+0x74 = suspension force
+0x78 = suspension damping
+0x7c = suspension upper limit
+0x80 = suspension lower limit
+0x84 = suspension bias
+0x88 = anti-dive multiplier
+0xc4, = traction loss
+0x70, = traction bias
+0x6c, = traction multiplier
+0xbc, = mass
+0xc0, = turn mass
+0xa0, = center of mass X
+0xa4, = center of mass Y
+0xa8, = center of mass Z
+0x68, = steering lock
+0x5c, = transmission data (drive type/engine type/# of gears)
+0xb8, = acceleration (I think, it looks right but it doesn't have any effect on the car.)
+0xb4, = max speed (same with acceleration, it looks right but it doesn't have any effect.)
There are some other settings in there I dind't actually write down becasue I never used them. The statistical X, Y, and Z size values are some of them, and the depth the car sinks in water.
I was also never able to find the braking information.
Durka Durka Mahn - July 24, 2007 09:05 PM (GMT)
Ooo...I'll look around. How do you find the starting address?
vettefan88 - July 24, 2007 09:15 PM (GMT)
| QUOTE (Durka Durka Mahn @ Jul 24 2007, 09:05 PM) |
| Ooo...I'll look around. How do you find the starting address? |
the way I found them pretty complicated.
basically I would get in the car I wanted to change, and open up the pcar hex editor. I'd go to +0xd0, and +0xd4 and write down the hex. since this was the cars weight.
then I'd open a capture with hex edit on my pc, and search for the 8 hex bytes. it would usually always end up showing something in the handling, except multiple cars have the same weight, so after I found some weights I'd just test them in the game. I'd set one to zero and spawn a car. if the car shot in the air I knew I was in the right spot. if the car landed like normal, then I reset that value and tried the next.
once I have the right weight location I just counted up to get the start address. the weight -0xbc is the handling start.
if somebody wants to make a list of all the car and their handling it'd make it real easy for anybody to change the stuff. If there was an easy way to just list off address starting at a certain point, and just adding up +0xe0 with each address.
then it would be easy to figure what goes to what.
Freestyle - July 24, 2007 09:25 PM (GMT)
Yeah I know all the garage stuff I will look around for the other stuff to.
emcp - July 24, 2007 10:48 PM (GMT)
omfg freestyle you knwo what this means i can now add content to VMS with vette permission and if i work for the next week i might manage to get it done before i go on holidays
chad1416 - July 24, 2007 10:49 PM (GMT)
so basiclly i could change certain numbers on there and then copy paste that into the cheatdevice and have a quad pimped to my likeing?
Freestyle - July 24, 2007 11:18 PM (GMT)
I think I did this some what right
write the bytes like this right vettefan?
00 00 15 15 00 00 11 22 or like this 15 15 11 22? I must be close cause I edited the comet somewhat the traction bias worked I think.
vettefan88 - July 24, 2007 11:36 PM (GMT)
| QUOTE (Freestyle @ Jul 24 2007, 11:18 PM) |
I think I did this some what right
write the bytes like this right vettefan?
00 00 15 15 00 00 11 22 or like this 15 15 11 22? I must be close cause I edited the comet somewhat the traction bias worked I think. |
just like you see them.
like 1 is 00 00 80 3f.
so if a car weighed 1, with a turn mass of 1 you would see this when you looked at +0xD0
0000803f0000803f
so you would look for that.
I search for it in hex form because hex edit doesn't allow you to look for multiple values, I can't look for 1, 1. but I can look for it's hex equivalent.
and I just checked the thing you posted, the "00 00 15 15 00 00 11 22" and you must of copied something wrong. there is no piece of hex in the game like that. and it would mean the car weighed 3 pounds.
which it doesn't.
unless you were just using those numbers as an example, in which case, post the actual hex, and I'll search on my computer, and see if I can narrow it down to the appropriate change.
| QUOTE |
| so basiclly i could change certain numbers on there and then copy paste that into the cheatdevice and have a quad pimped to my likeing? |
I suppose you could do that. but the purpose of the post was to help give people a better idea on what each thing in the code did.
Editing the quad has always been easily possible since I originally posted the code.
Freestyle - July 24, 2007 11:58 PM (GMT)
This is what I see when I try to go edit the comet. in hex
0000af4400803b45
emcp - July 25, 2007 12:16 AM (GMT)
| QUOTE (chad1416 @ Jul 24 2007, 10:49 PM) |
| so basiclly i could change certain numbers on there and then copy paste that into the cheatdevice and have a quad pimped to my likeing? |
if you have trouble wait till next week ill be releasing a tool hopefully
vettefan88 - July 25, 2007 12:33 AM (GMT)
| QUOTE (emcp @ Jul 25 2007, 12:16 AM) |
| QUOTE (chad1416 @ Jul 24 2007, 10:49 PM) | | so basiclly i could change certain numbers on there and then copy paste that into the cheatdevice and have a quad pimped to my likeing? |
if you have trouble wait till next week ill be releasing a tool hopefully
|
it'll take more than a week to get even a simple tool.
you still need every car's handling.cfg location, and a format to display it all. it took ade like 6 months to get pmg workign for LCS.
edit: freestyle, there are only 4 possible locations for the comet, when you search for 0000af4400803b45 it'll be one of the first 4 you get.
since the comet is on the bottom of the vehicle list, I'd expect it to be one of the last two.
so just search for 0000af4400803b45 in hexedit, and either the third or fourth result will be what you want.
so take the address for the car's mass, which will be all the way over to the right, and subtract whatever the mass offset is.
Freestyle - July 25, 2007 02:13 AM (GMT)
I get it sese I was actually thinking the same thing with the end bit. I'll edit more tomarrow .
emcp - July 25, 2007 11:41 AM (GMT)
| QUOTE (vettefan88 @ Jul 25 2007, 12:33 AM) |
| QUOTE (emcp @ Jul 25 2007, 12:16 AM) | | QUOTE (chad1416 @ Jul 24 2007, 10:49 PM) | | so basiclly i could change certain numbers on there and then copy paste that into the cheatdevice and have a quad pimped to my likeing? |
if you have trouble wait till next week ill be releasing a tool hopefully
|
it'll take more than a week to get even a simple tool. you still need every car's handling.cfg location, and a format to display it all. it took ade like 6 months to get pmg workign for LCS.
edit: freestyle, there are only 4 possible locations for the comet, when you search for 0000af4400803b45 it'll be one of the first 4 you get. since the comet is on the bottom of the vehicle list, I'd expect it to be one of the last two.
so just search for 0000af4400803b45 in hexedit, and either the third or fourth result will be what you want. so take the address for the car's mass, which will be all the way over to the right, and subtract whatever the mass offset is.
|
ive been working on the actual tool for couple of weeks now (its more of an engine so users can make there own page without having any coding experience except atcheats, theres just one more function i need to make and thats an OSK which will take less than a week hopefully)
the only thing that will slow us down is the vehicle ids but if freestyle gets a good enough list ill release a beta so overs can finish it when im away on holidays (all that would be needed is th starting addresses)
so far ive got every function that pmg had that is
checkboxes
pic scroll
colorpalette (allows you to save 100 colors and load them, withe preview box etc)
bars
all of them have debug modes text and description/help/credits
im now working on a showroom in which you save you cars and you can choose to add a pic for them export to file load etc aswell as rate them
IF I DONT GET THE OSK DONE BEFORE I GO AWAY SHOULD I STILL RELEASE IT AND ADD THE OSK IN SEPTEMBER CAUSE THATS WHEN IM COMING BACK OR SHOULD I WAIT.................
Freestyle - July 25, 2007 06:17 PM (GMT)
Here's the other 2 garages I found:
Clymens
vehicle ID
0x8C73B30, ID here )
0x8C73B44, ( First color )
0x8C73B48, ( second color )
Compound
0x8C73A70( vehicle ID )
0x8C73A94 ( First Color )
0x8C73A98 ( second color )
I made 2 codes to check
#cheat Street fighter In Clymens garage ( Blue )
setint(0x8C73B30, 0xfc)
setchar(0x8C73B44, 0, 0, 255, 0);
setchar(0x8C73B48, 0, 0, 255, 0);
#cheat splitz 6 In Compound garage ( Red)
setint(0x8C73A70, 0xaa)
setchar(0x8C73A94, 0, 0, 255, 0);
setchar(0x8C73A98, 0, 0, 255, 0);
i've got a error with it though and I don't see why??
vettefan88 - July 25, 2007 07:36 PM (GMT)
| QUOTE (Freestyle @ Jul 25 2007, 06:17 PM) |
Here's the other 2 garages I found:
Clymens vehicle ID 0x8C73B30, ID here ) 0x8C73B44, ( First color ) 0x8C73B48, ( second color )
Compound 0x8C73A70( vehicle ID ) 0x8C73A94 ( First Color ) 0x8C73A98 ( second color )
I made 2 codes to check
#cheat Street fighter In Clymens garage ( Blue ) setint(0x8C73B30, 0xfc) setchar(0x8C73B44, 0, 0, 255, 0); setchar(0x8C73B48, 0, 0, 255, 0);
#cheat splitz 6 In Compound garage ( Red) setint(0x8C73A70, 0xaa) setchar(0x8C73A94, 0, 0, 255, 0); setchar(0x8C73A98, 0, 0, 255, 0);
i've got a error with it though and I don't see why?? |
you forgot the asterisk after the vehicle id cheats.
#cheat Street fighter In Clymens garage ( Blue )
setint(0x8C73B30, 0xfc);
setchar(0x8C73B44, 0, 0, 255, 0);
setchar(0x8C73B48, 0, 0, 255, 0);
#cheat splitz 6 In Compound garage ( Red)
setint(0x8C73A70, 0xaa);
setchar(0x8C73A94, 0, 0, 255, 0);
setchar(0x8C73A98, 0, 0, 255, 0);
emcp - July 25, 2007 10:23 PM (GMT)
vette why is there 4 for RGB
setchar(0x08C739d8, 255, 255, 255, 255);
is one alpha does it go like
setchar(0x08C739d8, R, G, B, A);
here vette a question if you cant change a vehilces color like the spiltz-6 atv and you put a color code in does it still work (i hope it does i just tried it there and it didnt but i want to know if it was because of something else, it would make this tool easier)
also are the limits for the addresses the same as lcs pmg
ad add
'F' = front wheel drive
'R' = rear wheel drive
'4' = four wheel drive
'P' = Petrol
'D' = diesel
'E' = electric
Freestyle - July 25, 2007 11:37 PM (GMT)
woops i'm that was obvious.. now its working
emcp - July 26, 2007 12:40 AM (GMT)
HAS ANYONE HAVE ANY REQUESTS FOR THE EFFECTS PAGE
and if so could you post a cheat with the name and description thank you
(all other pages done using vettes addresses)
i have some ideas
neon
nos/exhaust smoke color
lambo doors
spinners
no boot etc
thing is is that this will effect all cars and i dont know about boot unless someone recodes them to only work with certain cars and make them take effect before you enter them
also id need to get permission
Durka Durka Mahn - July 26, 2007 02:26 AM (GMT)
Add in Neon + Exhaust color. That's all you really need.
vettefan88 - July 26, 2007 04:10 AM (GMT)
yeah, only neon and exhaust color.
lambo doors, and spinners require the code to be on when you enter the car, adn the spinners code needs to remain on.
neons, and exhaust only have to be put on once.
except, someone should change the exhaust so there is more of it, the exhaust in VCS is lame how it is.
emcp - July 26, 2007 03:53 PM (GMT)
| QUOTE (vettefan88 @ Jul 26 2007, 04:10 AM) |
yeah, only neon and exhaust color. lambo doors, and spinners require the code to be on when you enter the car, adn the spinners code needs to remain on.
neons, and exhaust only have to be put on once. except, someone should change the exhaust so there is more of it, the exhaust in VCS is lame how it is. |
kk going now
vette see the atv neons would that be bikes also whats the domostobot
and has boat neons been done can boats be modified
can planes/helicopters be modified
Freestyle - July 26, 2007 05:32 PM (GMT)
I've been on the hunt for the domestbot neon for a upcoming code. I think I might of found it but nothing yet...
vettefan88 - July 26, 2007 07:55 PM (GMT)
the domostobot probably uses the car neon, same with the quad.
Freestyle - July 26, 2007 09:30 PM (GMT)
yeah I think I had bike neons instead of car neons at the time..
emcp - July 26, 2007 10:44 PM (GMT)
kk done
here just wondering does anyone know which cars have 2 colors, 1 color and no color
(sry development had to stop today had to go to my sis 21st birthday party)
emcp - July 27, 2007 01:55 AM (GMT)
sry for double post but
vette i cant get this working ive tried getting the atv comet stinger and ones youve found but i get some addresses then i add 8400000 to them then enter that into vcs cheatdevice and modify them to 0 (most of the time theyre already 0) but nothing happens
and ive wen through all the instances
vettefan88 - July 27, 2007 02:08 AM (GMT)
| QUOTE (emcp @ Jul 27 2007, 01:55 AM) |
sry for double post but
vette i cant get this working ive tried getting the atv comet stinger and ones youve found but i get some addresses then i add 8400000 to them then enter that into vcs cheatdevice and modify them to 0 (most of the time theyre already 0) but nothing happens
and ive wen through all the instances |
do you have the us game?
I know the eur copy isn't exactly 8400000 off. and I usually have to look further back.
if you find the address is already at 0, or isn't what it should be scroll up until you find a matching value, and check to see if the surrounding values match up with the in-game hex. it may not be exactly 8400000
the mass will always be the far right in the window, and the turn mass will always be to the far left. like this:

see, the mass and turn mass will always be arranged like that within the hex.
emcp - July 27, 2007 02:21 AM (GMT)
damn my eyes hurt looking through the hex do you know roughly how many lines up and im gonna try and google for the euro offset cause its ridiculous looking through that hex with that bloddy annoying flashing text lol
thanks vette by the way
vettefan88 - July 27, 2007 04:04 AM (GMT)
| QUOTE (emcp @ Jul 27 2007, 02:21 AM) |
damn my eyes hurt looking through the hex do you know roughly how many lines up and im gonna try and google for the euro offset cause its ridiculous looking through that hex with that bloddy annoying flashing text lol
thanks vette by the way |
it's not off by much.
just take the hex address, add the +0x84???
and then go to that address. just keep pushing up until you see wht you want. it's not much further.
what I would do, it look for the last byte. in the exmple I posted you'd see the mass was 0000af44
so I'd look at only the F column for 0x44, and if I found it I'd see if 0000af was before it.
creepers - July 27, 2007 08:12 AM (GMT)
vette,i think you found the sabre tb's adress?
give it to me on a set of normal settings unedited
emcp - July 27, 2007 08:46 PM (GMT)
YES
ive got the euro offset
83FFD00
thanks vette its 300 off the us one
although now i did a search for the comets address and 4 instances appeared i tried them all and set them to zero yet nothing
i then went to try the stallion because only 1 instance was found so i added the offset the right bits appeared changed them but nothing happened
what am i doing wrong
do you have to take a capture with the car you want beside you
also do you hvae to be in the vehicle when you change the values
vettefan88 - July 27, 2007 09:44 PM (GMT)
change it to zero, and then spawn the car and see what happens. if nothing then reset the value and try the next.
the car has to be loaded every time it's mass is changed, so just spawning one works.
emcp - July 27, 2007 11:30 PM (GMT)
| QUOTE (vettefan88 @ Jul 27 2007, 09:44 PM) |
change it to zero, and then spawn the car and see what happens. if nothing then reset the value and try the next.
the car has to be loaded every time it's mass is changed, so just spawning one works. |
aaaaaaa
got it thanks i didnt know you had to respawn it
thanks vette
also i noticed if you dont reset it and a new stallion comes down the road it drives all right but if you touch it , it flys away
ALSO SHOULD YOU IGNORE THE INSTANCES WHICH END IN 0 AND ONLY LOOK AT THE ONES THAT END IN C
my first find lol
here creepers heres the sabre turbo address
sabre turbo - 0x9634420
sabre - 0x9634340
chollo sabre - 0x9633880
you do minus 0xbc dont you
creepers - July 28, 2007 12:17 AM (GMT)
creepers - July 28, 2007 01:04 AM (GMT)
now i need phoenix and cheetah
vettefan88 - July 28, 2007 01:32 AM (GMT)
yeah emcp you subtract 0xBC from the mass address.
here's all of the cars I managed to find as I went:
Cuban - 9633d20
Stallion - 9630800
Caddy - 962f3e0
Deluxo - 962f680
Phoenix - 96334A0
Quad - 9631d60
Mesa - 9633200
Polaris V8 - 9631d60
creepers - July 28, 2007 03:58 AM (GMT)
my first pmg code
| CODE |
#cheat pimped mesa grande setint(0x08C739B0,259); setchar(0x08C739d4,0,0,0,0); setfloat(0x9633200+0x74, 2.0); setfloat(0x9633200+0x78, 5); setfloat(0x9633200+0x7c, 0); setfloat(0x9633200+0x80, -1.18); setfloat(0x9633200+0x84, 0.5); setfloat(0x936cb38, 2.20, 2.20); setfloat(0x9633200+0xc4, 0.71); setfloat(0x9633200+0x70, 0.40); setfloat(0x9633200+0x6c, 0.95); setfloat(0x9633200+0xa0, 0); setfloat(0x9633200+0xa4, 0); setfloat(0x9633200+0x68, 38); setchar(0x9633200+0x5c, '4', 'D', 5); off() |
it has big 2.20 wheels!!!!
and the only way to get in is to shoot one of the wheels and get in as fast as you could

and the drag saber.
| CODE |
#cheat drag saber setint(0x08C739B0,273); setchar(0x08C739d4,255,0,0,0,); setchar(0x08C739d8,255,255,255,255); setfloat(0x9634420+0x74, 0.9); setfloat(0x9634420+0x78, 300); setfloat(0x9634420+0x80, -0.2); setfloat(0x9634420+0x88, -6.5); setfloat(0x936eff8, 0.75, 0.75); setfloat(0x9634420+0x70, 0.40); setfloat(0x9634420+0x68, 40); setchar(0x9634420+0x5c, 'R', 'D', 6); off() |
both spawn at 101 bayshore avenue garage
vettefan88 - July 28, 2007 04:35 AM (GMT)
can you post a video of that mesa in action?
A problem with most monster trucks, especially when the suspension gets too high is they become unstable. I found a fix for it in LCS but it was too complicated to try and incorporate, it involved messing with the X, Y, and Z size data.
I made a monster mesa back when I ported the Goblin 69:
http://z10.invisionfree.com/CheatSync_Foru...?showtopic=1327I kept the suspension pretty low though, and even getting into this one is pretty hard, but possible. Sometimes making the suspension too big isn't that great, because if it's not readily drivable, then it's a wasted effort.
creepers - July 28, 2007 10:05 AM (GMT)
that problem occured to me though.
it always get tipped so i need to tighten the suspension and its a succes.
my video is one of a kind and it rules all vids!!!!
w8 for the vid first though
creepers - July 28, 2007 10:13 AM (GMT)
most awsum video EVAH!!