DSHack

Archive Generated December 23rd, 2018
Help with kartphysicalparam.bin and kartoffestdata.bin
Author Posted on 2016/08/07
#2026
FFIVGUY I opened kartphysicalparam.bin kin a hex editor (Hex Edit.exe) to change the stats of the karts and I was having trouble finding the values to edit. I know what the values for the different stats are. The only thing that I could figure out how to edit is the top speed (sort of) (Only because those values are consistently in the 70's) . I am also having trouble figuring out where the values for the karts are. With kartoffsetdata.bin I just need some help finding the values for the tire alignment.
Author Posted on 2016/08/08
#2045
FFIVGUY Can somebody help me with this please?
Author Posted on 2016/08/09
#2047
szymbar Been a while since I done that, but I remember quite a bit.
KartPhysicalParams are different between files, AFAIR one of them had entries 148 bytes long, the second one 152, so the first thing you want to do is to toggle the "bytes in line" setting to either 148 or 152 and respective values appear one after another. There is a very basic explanation for the respective stats shown in this 152 byte model over here:
http://florian.nouwt.com/wiki/index.php/Kartphysicalparam.bin_(File_Format)

The whole thing is a link, including the "File Format" between brackets.
The others have not been tested/documented yet, so I can't really help you.

"With kartoffsetdata.bin I just need some help finding the values for the tire alignment. "
Alright, this one is a bit tougher, it has 224 byte blocks each for a separate kart and I was kinda fed up with editing it by hand, so I coded an editor for this file, there you go:
https://github.com/szymbar15/TooLazyToKeepDoingItByHand/blob/master/bin/Release/TooLazyToKeepDoingItByHand.exe
Just download it and try opening your file, it should work. Have fun!
Author Posted on 2016/08/09
#2049
FFIVGUY I clicked on http://florian.nouwt.com/wiki/index.php/Kartphysicalparam.bin_ (File_Format) and it said "There is currently not text on this page." Other than that it helped a lot. Thanks!
Author Posted on 2016/08/09
#2050
Platinatic You have to copy the link with "(File_Format)" included, something went wrong and not the intire link is there when you clicked on it
Or you can click here to get to the page.
Author Posted on 2016/08/09
#2051
FFIVGUY Szymbar, in the editor where it says wheel size I changed the value and when I replaced kartoffsetdata.bin only the size of the font wheels were changed. Is it supposed to be like that or is there a way to change the size of the back and the front wheels?
Author Posted on 2016/08/31
#2175
Platinatic Since my problem is strongly related to this thread, i thought i would ask it here.
I've been trying to edit kartphysicalparam.bin, but it hasn't been going as expected.

I tried to edit the top speed, but i always end up with a kart that goes slower than a snail.

How do i know what value will result in what? What value sets your speed to the maximum?
Author Posted on 2016/09/02
#2195
FFIVGUY First of all, which kart are you trying to change the top speed of?
The Values range from 00-FF. 78 is about 83 kl/h
Author Posted on 2016/10/20
#2413
FFIVGUY I was looking here at the kart stats and I saw 2 acceleration stats which I am not sure what they do. (Related to acceleration (second value?) and Related to acceleration (% of top speed to start changing to value 2?). Can somebody help me figure out what these stats do?