[YACHT] Yet Another Carbon Hex-editing Tutorial

Discuss editing Need for Speed Carbon.
cparty
Valued Member
Valued Member
Posts: 91
Joined: 23 Apr 2006, 21:08

[YACHT] Yet Another Carbon Hex-editing Tutorial

Post by cparty »

[YACHT] - Yet Another Carbon Hex-Editing Tutorial
Here is some information which should help you hex-edit your savegame or memory, of course not every detail is covered. If you aren't yet familiar with hex-editing you might want to read the MW Hex-Editing Guide & Tutorial, which is for MW though but also gives you some basic ideas about hex-editing a savegame.

And don't forget:
Before messing with savegames, always make a backup copy!

0. Overview
The car data is stored in 5 subsequent blocks:
  • Car slots: A car slot contains the car code, link to customization & career slot and some other stuff (like car category). There is space for 200 car slot entries.
  • Customization slots: A customization slot contains a link to the customization2 & vinyl slot and some customization like performance parts, autosculpt settings, car/rimpaint and ride height. There is space for 75 customization entries.
  • Career slots: Your heat, impounds and other career related things are stored here. There is space for 10 career slots.
  • Customization2 slots: A customization2 slot contains the bodies, rims, spoilers, hoods, scoops, windowtint and sometimes a texture vinyl (the vinyl like it was in MW). There should be space for 75 customization2 slots.
  • Vinylslots: Those were newly introduced with Carbon. They will hold the vinyl code, color, size & stuff. There is space for 700 vinyl slots. With a total of 75 customization slots, this will leave you with 9.333 vinyls per car :)
1. Structure of those blocks

1.1 Car slot
A single carslot uses 14h Bytes and is built like this:
Image

- Carslot number: This is the car slot number, it's usually a subsequent number. However, for some bonus cars it's a unique id.
- Logocode: This is the code of the logo/name which will be displayed for your car (Sometimes this code is useless because the game uses the carcode to decide which logo/name to display).
- Carcode: This is the actual car code identifying your car, check the last section for logo/carcodes.
- Car membership: This identifies where the car will be available (01 = stock, 02 = career, 04 = my cars, 08 = bonus, 10 = custom, 20 = special, 40 = won car, 80 = wingman car).
The second byte is usually 00, if you change it to 01 the car will show up in the Mazda Dealership and as another side effect it's price will be 0$ in the carlots (Thanks to STAT-X for this info).
- Car category: This identifies which category a car will show up (01 = muscle, 02 = exotic, 04 = tuner (Note: Bonus & addon cars use 08/0F instead)).
- Customizaion slot link: This is the customization slot link number. It's the number of the customization slot which belongs to this car (Note: it is FF if the car is stock).
- Career slot link: This is the career slot link number. It's the number of the career slot which belongs to this car (Note: it is FF if it's not a career car).

1.2 Customization slot
A single customization slot uses 470h Bytes and looks like this (the image only shows the first bytes):
Image

- Customization2 slot link: This is the Customization2 slot link number. It's the pointer to the start of Customization2 slot which belongs to the car's customization.
- Vinyl slot link: This is the Vinyl slot link number. It's the number of the vinyl slot which belongs to the car's customization (Note: it is FF FF if the car has no vinyl applied).
- Tires: This is the current performance upgrade level of the car's tires.
- Brakes: This is the current performance upgrade level of the car's brakes.
- Suspension: This is the current performance upgrade level of the car's suspension.
- Transmission: This is the current performance upgrade level of the car's transmission.
- Engine: This is the current performance upgrade level of the car's engine.
- Turbo/Supercharger: This is the current performance upgrade level of the car's turbo/supercharger.
- NOS: This is the current performance upgrade level of the car's nitrous oxide system.
- Owned parts: This is a number calculated from all the parts you own, so the game know which parts you have to pay in career.
- Customization slot number: This is the customization slot identifier referenced by the car slot.
- Paint: This is the paint of the car.
- Wheel Paint: This is the paint of the car's wheels.
- Autoscult values: Here are all the settings from the autosculpt parts.
- Ride Height: Not shown in the picture, but the slot ends with the car's ride height.

1.3 Career slot
A single career slot uses 34h Bytes and looks like this:
Image

- Career slot number: This is the number identifying the career slot, it's the number referenced from the car slot.
- Max impounds: This is the max number of impound strikes your car can get before it's taken away by the cops (min 03, max 05).
- Current impounds: This is the amount of imounds strikes the car currently has.
- Car heat: This is the car's heat.
- Career specific car info: Here is some career specific car info like times busted/escaped etc.

1.4 Customization2 slot
If you have read about customization2 slot in some of my other posts, forget about them, it was only half the truth. Here is the real deal: There is nothing like a customization2 slot (as a whole block), instead there are many part slots which are chained together. This means the customization2 will vary in size (the chain expands/shrinks with adding/removing parts) and it might be spread over a large area.
One single part slot uses 4 Bytes and looks like this:
Image
- Part code: This is the code of the part. The code can represent things like rims, spoilers, hoods, scoops, skirts, side mirrors, vinyl textures, window tint etc.
- Next slot link: This is the pointer to the next part slot belonging to the car. It is FF FF if the end of the chain has been reached and there are no more parts for the car.
The savegame offers space for 9500 part slots, this should be enough for the 75 customization slots which have a "customization2".
Read section 2.4 about how to find and go through the chain of parts slots.

1.5 Vinyl slot
A single vinyl slot uses 1Ch Bytes and looks like this:
Image
- Move: This is the value the vinyl has been moved.
- Rotate: This is the value the vinyl has been rotated.
- Skew: This is the value the vinyl has been skewed.
- Scale: this is the vinyl's scale value.
- Vinyl code: This is the vinyl code identifying the vinyl. Check the last section for vinyl codes.
- Next slot link: Like the part slots for customization2 the vinyl slots can be linked. This is used whenever you apply more than one vinyl to the car. The link is the number of the vinyl slot used for the next vinyl.
- Color1: This is the vinyl's first color value.
- Color2: This is the vinyl's seconds color value.
- Color3: 3rd color value.
- Color4: 4th color value.


2. How to find the block where you want to edit something
If you know exactly what you are looking for, you can always search for the representing bytes. Just make sure that what you found is really what you were looking for, or you might end up editing something else.

2.1 Car slots
a) Hex-Editor
The car slots start at 00010BD0h. As there are already 138 slots used, your first player car (with slot number 8A) is at 00011698h.
Searching for the car code of the car (and it's membership and category) should get you to the car slot you are looking for. If you know the car slot number you can of course multiply the car slot number with 14h (the size of one car slot) and add the result to 00010BD0h.
b) Memory-Editor
As your memory is quite big, you need to search for a value you want to edit (if you know it) or which is located near the value you want to edit. For example the first car slot number is 78563412, that should be a good value.

2.2 Customization slots
a) Hex-Editor
The customization slots start at 00011B70h. To get to your car's customization read the customization link number in the car slot of your car, multiply it with 470h (the size of one customization slot) and add it to 00011B70h (Slot number x slot size + start of block).
Example: If your customization link number is 21, you should go to 21h x 470h = 9270h + 00011B70h = 0001ADE0h.
b) Memory-Editor
As the data will most certainly be located at another memory location the next time you start the game, you need to find a value to start and calculate the offsets from there. A good start would be the beginning of the car slot block. Search for 78563412 and note down the address you found.
Next, you find your car's customization link number, mulitply it with 470h and add the result to the above address + FA0h (FA0h = C8h x 14h = 200 car slots with a size of 14h Bytes).
Example: My carslot block starts at 0E44228Ch. Customization slot 21 will start at 21h x 470h = 9270h + 0E44228Ch + FA0h = 0E44C49Ch.

2.3 Career slots
a) Hex-Editor
The career slots start at 00026840h. To get to your car's career slot, read the career slot link number in the car slot of your car, multiply it with 34h (the size of one careerslot) and add it to 00026840h (Slot number x slot size + start of block).
Example: If your career slot link number is 02, go to 02h x 34h = 68h + 00026840h = 000268A8h.
b) Memory-Editor
Like for the customization above find the address of the beginning of car slot block, then mulitply your career slot link number with 34h and add it to the found address + 15C70h (15C70h = FA0h + 14CD0h (14CD0h = 4Bh x 470h = 75 customization slots with a size of 470h Bytes)).
Example: My carslot block starts at 0E44228Ch. Career slot 02 will then start at 02h x 34h = 68h + 0E44228Ch + 15C70h = 0E457F64h.

2.4 Customization2 slots
As mentioned in the previous section, there is no block of code with fixed size & position representing a customization2 slot. Instead there are plenty of 4 Byte part slots linked together and most certainly spread over the whole area for customization2. However, if you buy/add a new car or edit a premade one, the chain will be in one block, it will start to fragment when doing changes ingame. The customization2 link in the customization slot is the pointer to the first element in the chain. All elements can be located the same way:
- To get to the address where the first element of your part chain is located, read the customization2 link number (Note: the number is 2 Bytes in size) in the customization slot of your car.
- To get to the address of the next element in the chain, read the next link number of the current part slot (2 Bytes).
As the 2 Bytes for the link are in little endian order (this means the lowest order number comes first) you need to reverse the Byte order (not the numbers representing one byte) to bring them into big endian order.
a) Hex-Editor
The part slots start at 00026A48h. Multiply the big endian value you read above with 4h (as one part slot is 4 Bytes in size) and add the result to 00026A48h.
Example: The customization2 link in my customization slot is 64 06. Reversing the byte order to bring it into big endian format will give us 06 64. So the start of the part slot chain is at 664h x 4h = 1990h + 00026A48h = 000283D8h.
b) Memory-Editor
Like for the career and customization slots above, find the address of the beginning of car slot block, then multiply your part slot link number with 4h and add it to the found address + 15E78h (15E78h = FA0h + 14CD0h (14CD0h = 4Bh x 470h = 75 customization slots with a size of 470h Bytes) + 208h (208h = Ah x 34h = 10 career slots with a size of 34h Bytes)).
Example: My carslot block starts at 0E44228Ch. The first part slot (which is linked as 64 06) will then start at 664h x 4h = 1990h + 0E44228Ch + 15E78h = 0E459A94h.

2.5 Vinyl slots
a) Hex-Editor
The vinyl slots start at 0002FEB8h. To get to your car's vinyl slot, read the vinyl slot link number in the customization slot of your car (or the next slot link from the current vinyl slot), multiply it with 1ch (the size of one vinyl slot) and add the result to 0002FEB8h (Slot number x slot size + start of block).
Example: If your vinyl slot link is 08, you will find the vinyl slot at 08h x 1Ch = E0h + 0002FEB8h = 0002FF98h.
b) Memory-Editor
As we did for finding all other blocks in memory, find the start of the car slot block and we calculate from there. Multiply the vinyl slot link number from the customization slot (or the next slot link from the current vinyl slot) with 1Ch (the size of a vinyl slot) and add the result to the found address + 1F2E8h (1F2E8h = FA0h + 14CD0h (14CD0h = 4Bh x 470h = 75 customization slots with a size of 470h Bytes) + 208h (208h = Ah x 34h = 10 career slots with a size of 34h Bytes) + 9470h (9470h = 251Ch x 04h = 9500 part slots with size 4 Bytes)).
Example: My carslot block starts at 0E44228Ch. My vinyl slot 08 will then start at 08h x 1Ch = E0h + 0E44228Ch + 1F2E8h = 0E461654h.


3. Doing your changes
Basic modifications have already been explained in other threads or in the previous Tutorial/Guide written for MW, they won't be covered here.

3.1 Remove the texture vinyl from a car you added/bought.
Some of the cars (which aren't meant to be bought) come with a texture vinyl and not a true carbon vinyl. In order to put your own carbon vinyls on, you need to remove the texture vinyl first.
1) Check the list at the bottom if there is a texture code for your car.
2) Find the customization2 slot for the car you want to remove the texture. If you haven't messed around with the parts yet, all part slots should be near each other and you should be able to find the texture code from 1) near the end of the chain.
3) Replace the code with something you can find again (in case of an error) and something that isn't another texture code itself. 1234 might be a good choice.

3.2 Add a "special" vinyl to your car
Special vinyls are vinyls that cannot be chosen from the ingame menu, of course you can add normal vinyls (which can be chosen ingame) as well.
As adding a vinyl to a car which doesn't have one yet is prone to errors, we are going to add a vinyl ingame and then replace it's code with another code.
1) Find the vinyl slot for your car.
2) Replace the old vinyl code with the new one (Check the list for vinyl codes).


A. Codes

A.1 Car codes

Code: Select all

CarNr			CarName
03E618F9 500AA602	Shelby G.T. 500
08D4BE6E 08D4BE6E	Dodge Viper SRT10
0A4F24BA 4A3E5F1D	Jaguar XK
0BC42C7B 0BC42C7B	Lamborghini Gallardo
12AC7670 12AC7670	Mazdaspeed 3
16431235 16431235	Toyota Corolla GT-S
19459490 19459490	Chevrolet Camaro SS
21BF2B94 21BF2B94	VW Golf R32
2C327487 2C327487	Audi LeMans Quattro
2C327487 CB5A6245	Audi LeMans Quattro
2FAF7782 2FAF7782	Mercedes CLK 500
33C8098E 33C8098E	Mazda RX-7
3434F166 3434F166	Toyota Supra
34898C19 C5ED32A2	Subaru Impreza WRX
36493D31 36493D31	Lotus Elise
374433D6 374433D6	Mazda RX-8
38AF78B9 38AF78B9	Dodge Challenger Concept
39851335 39851335	Nissan 350Z
39947F5A 39947F5A	Porsche 911 Turbo
3A6BA4E2 3A6BA4E2	Dodge Charger SRT8
4B95353B 33417A6E	Chevrolet Corvette Z06
4D94417D 4D94417D	Mitsubishi Lancer Evo IX
4DFD939B 4DFD939B	Ford Mustang GT
4E4ACC23 0EE2332A	BMW M3 GTR #2
4E4ACC23 B35F084E	BMW M3 GTR #1
4E7EE003 4E7EE003	Chevrolet Chevelle SS
60B9FFF2 A3879E6A	Porsche 911 GT3 RS
6A1CB6A4 6A1CB6A4	Aston Martin DB9
708E3EE7 708E3EE7	Infiniti G35
726790A3 726790A3	Dodge Challenger
756F8D86 756F8D86 	Dodge Charger R/T
75D7DF4F 00A497C0	Chevrolet Camaro Concept
860C8930 860C8930	Toyota MR2
89F654AD 89F654AD	Pagani Zonda F
929986C4 D43D0667	Porsche Carrera GT
9901A8DB 9901A8DB	Nissan Skyline GTR
A1E1D3D8 A1E1D3D8	Vauxhall Monaro
A1F94771 A1F94771	Mercedes SL65 AMG
A6DCC132 A6DCC132	Koenigsegg CCX
ACBD671B ACBD671B	Playmouth Road Runner
B02FFF5B B02FFF5B	Lexus IS300
B40AA291 B40AA291	Lotus Europa S
B6FA2498 4EB727B9	Shelby GT500
B778D032 1685BFB3	Mitsubishi Eclipse 1999
BBD92AE3 BBD92AE3	Mercedes SLR McLaren
BD0BD7A2 BD0BD7A2	Mitsubishi Eclipse GT
C4053AF9 09E1311B	Porsche Carrera GT
C4053AF9 0A2EAACD	Chevrolet Corvette Z06
C4053AF9 0B01D71F	Porsche CaymanS
C4053AF9 14589FE1	Mazda RX-7
C4053AF9 149A47E3	Toyota Supra
C4053AF9 2E1636B3	Palmont PD2
C4053AF9 35A8BC22	Ford GT
C4053AF9 36DEB2C1	Lamborghini Gallardo
C4053AF9 48BA06AC	Lamborghini Murci‚lago
C4053AF9 50D247AB	Mazdaspeed 3
C4053AF9 5D29CF87	Mitsubishi Lancer Evo IX
C4053AF9 68CC4A72	Dodge Charger R/T
C4053AF9 69AD7DF5	Palmont PD1
C4053AF9 74AEF516	Aston Martin DB9
C4053AF9 76531977	Palmont DT1
C4053AF9 770FE131	Dodge Charger R/T
C4053AF9 79F2F4F0	Dodge Challenger
C4053AF9 7F414C7B	Subaru Impreza WRX
C4053AF9 928F0F95	Palmont PD2
C4053AF9 961642D4	BMW M3 GTR #1
C4053AF9 A7EED9AC	Palmont FD1
C4053AF9 B31784EA	Jaguar XK
C4053AF9 BDEE5F65	Audi LeMans Quattro
C4053AF9 C3B6D9D2	Plymouth Hemi Cuda
C4053AF9 C81AD48C	Mazda RX-7
C4053AF9 CB4FF03E	Mitsubishi Eclipse GT
C4053AF9 CD8A9F1D	Dodge Charger R/T
C4053AF9 D3ACA1C8	Chrysler 300c Hemi SRT8
C4053AF9 DA9CA2D0	Palmont PD3
C4053AF9 E83BB3AC	Alfa Romeo Brera
C63D48AA C63D48AA	Pontiac GTO
C642ADD6 B367DBE4	Lamborghini Murci‚lago LP640
C6F46D5F C6F46D5F	Plymouth Hemi Cuda
D1A01768 D1A01768	Chrysler 300c Hemi SRT8
D43C67F8 D43C67F8	Alfa Romeo Brera
EAA5C042 EAA5C042 	Ford GT
EB5B5541 EB5B5541	Porsche CaymanS
EB6718EB EB6718EB 	Renault Clio V6
EB77CDC1 EB77CDC1	Lamborghini Murci‚lago
FC2B6FA8 FC2B6FA8	Nissan 240sx

---AI-CARS--------------------------------------------------
C4053AF9 21164568	Caravan 
C4053AF9 213BF9E8	Truck with Crates 
C4053AF9 23292B66	Civil Car 
C4053AF9 2682B338	Cop SUV Heavy 
C4053AF9 2C5C4DDD	Truck with Cistern 
C4053AF9 31AAC645	Trailer with Containers 
C4053AF9 36887CE6	Courtesy Car 
C4053AF9 380EB154	Cop SUV Light 
C4053AF9 38299BBB	Cop 
C4053AF9 39136CC5	Small Truck 
C4053AF9 46DF7E34	Truck without Trailer 
C4053AF9 46FA0D37	Trailer with Pipes 
C4053AF9 543E6E5D	Cop 
C4053AF9 565398CC	Cop GTO 
C4053AF9 5687C95E	Civil Car 
C4053AF9 59BBC7A0	Civil Car 
C4053AF9 67CC920A	Truck with Wood 
C4053AF9 6A4D3346	Cementtruck 
C4053AF9 6D807CD3	Cross Corvette 
C4053AF9 723CB9DB	NewsChannel VAN 
C4053AF9 7AAFE753	VAN 
C4053AF9 82D1A1A3	Undercover Cop 
C4053AF9 88341A53	Civil Car 
C4053AF9 8866EBA4	Undercover Cop Corvette 
C4053AF9 8A2FD800	Trailer with Cistern 
C4053AF9 905BAA1C	Trailer with Cars 
C4053AF9 90A08E3E	Civil Car 
C4053AF9 941A36CC	Dumptruck 
C4053AF9 9E7801D6	Taxi 
C4053AF9 9EF7FBDC	Trailer with Wood 
C4053AF9 AC9E142E	Cop SUV Heavy 
C4053AF9 B25E4606	Cop Helicopter 
C4053AF9 B7AC3795	Cop 
C4053AF9 BA480BD5	Truck without Trailer
C4053AF9 C2E727C0	Truck with Pipes 
C4053AF9 C34BCE43	Civil Car 
C4053AF9 C409B5A9	Truck with Cars 
C4053AF9 C661EEA0	Trailer with Crates 
C4053AF9 CBCC497A	Cross Corvette 
C4053AF9 D9169BDF	Civil Car 
C4053AF9 DD89BE7D	Pickup 
C4053AF9 E0ECC708	Firetruck 
C4053AF9 E22FF3B2	Cop Corvette 
C4053AF9 E9BED4E6	Civil Car 
C4053AF9 F5F7676F	Ambulance 
C4053AF9 F61DECE9	Undercover Cop GTO 
C4053AF9 FAFA0D25	Truck with Containers 
A.2 Texture vinyl codes
A texture vinyl is a vinyl as we know it from MW, it's code is in the customization and you cannot customize it.

Code: Select all

3D7D  21th
3F7D  Black Hearts
417D  Bushido
437D  Camaro SS Stock
457D  Dodge Challenger Concept Stock
477D  Dodge Charger SRT08 Bonus
497D  Chevrolet Chevelle SS Stock
4B7D  Los Colibris
4D7D  Toyota Corolla GT-S Stock
4F7D  Unknown
517D  Lotus Europa S Bonus
537D  Porsche GT3 RS Stock
557D  BMW M3 GTR Race Stock
577D  Inferno
597D  Inferno2
5B7D  Lexus IS300 Bonus
5D7D  Kings
5F7D  Unknown
617D  Plymouth Road Runner Stock
637D  Rotor4
657D  Scorpions
677D  Scorpions2
697D  Shelby GT500 Stock
6B7D  Stacked Deck
6D7D  Stacked Deck2
6F7D  Stacked Deck3
717D  Stacked Deck4
737D  TFK

--special texture vinyl----------------------------
D792  Nissan 350Z Bonus
CF92  Nissan 240SX Bonus
1D93  Subaru Impreza WRX Bonus
2B93  Ford Mustang GT Bonus
3393  Darius
3993  Mazda RX-8 Bonus
A.3 Vinyl codes
A true carbon vinyl has it's own vinyl slot and can be customized (not all but many).
Note: Every 2nd vinylcode is the variant mirrored to both car sides.
(Thanks to spectre01 for checking & naming more vinyl codes).

Code: Select all

F35A - 245B  Flame1 - Flame25
255B - 5C5B  Stripe1 - Stripe28
5D5B - 8E5B  Tribal1 - Tribal25
8F5B - C95B  Numbers
CA5B - 065C  Shape1 - Shape30
075C - 235C  Race Flag1 - Race Flag15
245C - 3D5C  Body1 - Body13
3E5C - 515C  Flame Body1 - Flame Body10
525C - 695C  Stripe Body1 - Stripe Body12
6A5C - 815C  Tribal Body1 - Tribal Body12
825C - E75C  Two Tone
E85C - 175D  National Flags
185D - 495D  Manufacturers
4A5D - 495E  After Markets
4A5E - 4D5E  Porsche GT3 RS
4E5E - 735E  Stocks
745E - 8B5E  Stock likes
8C5E - 8D5E  Subaru Impreza WRX Bonus
8E5E - 8F5E  Lamborghini Murcielago Bonus
905E - 915E  Shelby GT500 Bonus
925E - 935E  Nissan Skyline Bonus
945E - 955E  Nissan 350Z Bonus
965E - A95E  Camo1 - Camo10
AA5E - BF5E  Pinstripe1 - Pinstripe11
C05E - 215F  Logos
225F - 275F  Rotor4
285F - 2D5F  Los Colibris
2E5F - 335F  Inferno
345F - 395F  Black Hearts
3A5F - 3F5F  Scorpions
405F - 455F  Kings
465F - 475F  BOSS Kenji
485F - 495F  Crew Bushido
4A5F - 4B5F  BOSS Darius
4C5F - 4D5F  Unknown
4E5F - 555F  Crew Stacked Deck
565F - 575F  Casino Angie
585F - 595F  Casino Kenji
5A5F - 5B5F  Casino Wolf
5C5F - 5D5F  BOSS Wolf
5E5F - 5F5F  Crew TFK
605F - 615F  BOSS Angie
625F - 635F  Crew 21th
645F - 695F  Nikki
6A5F - 6F5F  Colin
705F - 755F  Yumi
765F - 775F  Cross
785F - 7D5F  Samson
7E5F - 8F5F  Neville
905F - A15F  Sal
A25F – A35F Demo Lancer eagle 
A45F – A55F Demo Camaro line vinyl 
A65F – A75F Unknow body vinyl 
A85F – A95F Beta pic Camaro Concept 2tone vinyl (by beta i mean the pics that has Galldor, Camaro and Lancer in them) 
AA5F – AB5F Demo Lancer eagle 
AC5F – AD5F Unknow flame vinyl 
AE5F – AF5F Main character’s old supra vinyl (appeared in the intro movie) 
B05F – B15F Beta pic Galldor line vinyl 
B25F – B35F Unknow dragon kind of flame vinyl 
B45F – B55F Unknow 2tone vinyl 
B65F – B75F Unknow 2tone with tribal vinyl 
B85F – B95F Unknow 55Dsl vinyl #1 
BA5F – BB5F Unknow 55Dsl vinyl #2 
BC5F – BD5F Unknow 55Dsl vinyl (same as above) 
BE5F – BF5F Unknow 55Dsl vinyl #3 
C05F - C15F  Mazda RX-8 Bonus (Mazda Dealer)
C25F - C35F  BMW M3 GTR Race
C45F – C55F Unknow no-name vinyl (I can't come up with a name for it) 
C65F – C75F 2tone with Camaro Concept stock line vinyl 
C85F – C95F Chemical body vinyl #1 
CA5F – CB5F Chemical body vinyl #2 
CC5F – CD5F Chemical body vinyl #3 
CE5F – CF5F Chemical body vinyl #4 
D05F - D95F  Bonus Pet1 - Pet5
DA5F - E35F  Bonus NFS Carbon1 - 5
E45F - E55F  Bonus Soccerball
E65F - E75F  Bonus Cardboard box
E85F - E95F  CarbonX
EC5F - ED5F  CarbonX2
EE5F - EF5F  Bonus Honeycomb
F05F - F15F  Some dark vinyl
F25F - F35F  Online Tartan
F45F - F55F  Bonus Driver
F65F - F75F  Bonus Pharrell
F85F - F95F  Bonus 21st Street
FA5F - FB5F  Online Black Hearts
FC5F - FD5F  Bonus Bushido
FE5F - FF5F  Online Los Colibris
0060 - 0160  Online Kings
0260 - 0360  Online Inferno
0460 - 0560  Online Rotor4
0660 - 0760  Online Scorpions
0860 - 0960  Bonus Stacked Deck
0A60 - 0B60  Bonus TFK
0C60 - 0D60  Bonus Dragon
0E60 - 0F60  Bonus Skeleton
1060 - 1160  Bonus Leopard
1260 - 1360  Bonus Burnout
1460 - 1560  Sims2
1660 - 1760  Unknown
*Edit* If you do not understand something (I was short in time and couldn't write a novel on each of the points :p), just ask and I try to give you an answer.

*updated* mazda dealership info from STAT-X
*updated* vinyl codes from spectre01

Happy editing :D
Greets
cparty
Last edited by cparty on 24 Dec 2006, 13:37, edited 3 times in total.
User avatar
GT3x24x7
NFSUnlimited Staff
NFSUnlimited Staff
Posts: 6309
Joined: 23 Jan 2004, 14:15
Location: Australia

Post by GT3x24x7 »

Nice work cparty! Stickied.
User avatar
Ceano
Drift King
Drift King
Posts: 710
Joined: 08 Jan 2006, 17:54
Location: Sweden

Post by Ceano »

Nice work cparty :)
User avatar
spectre01
Drift King
Drift King
Posts: 277
Joined: 14 Dec 2005, 03:07
Location: Canada

Post by spectre01 »

there is a little error: about that car membership(or ownership) code, it is "42" for cars that you won, not "40". it is the same as in Most Wanted. if it is 40, then the car won't show up in the game (i tried).
Finalmaster2

Post by Finalmaster2 »

One thing though. When I edited my BMW so, that it had Cross's vinyl and I then putted it to my Career Car Lot, but when I bought it, became stock. So do you have any suggestions to fix this?

Oh, and one more thing. When I bought another normal BMW to my Career Garage, I couldn't find 55 7D anymore from my savegame with Hex Workshop. Wtf is this then?
STAT-X
Turbo Charged
Turbo Charged
Posts: 126
Joined: 29 Dec 2005, 19:36

Post by STAT-X »

Excellent work Cparty, finally one complete overview instead of all those random threads.
spectre01 wrote:there is a little error: about that car membership(or ownership) code, it is "42" for cars that you won, not "40". it is the same as in Most Wanted. if it is 40, then the car won't show up in the game (i tried).
Actually, Cparty got it right. 40 states that you won it. 42 adds it to your carlot. (Because 02 = carlot and 40 + 02 = 42 :D ).


But I do like to add something:
cparty wrote: 1.1 Car slot
A single carslot uses 14h Bytes and is built like this:
Image

- Carslot number: This is the car slot number, it's usually a subsequent number. However, for some bonus cars it's a unique id.
- Logocode: This is the code of the logo/name which will be displayed for your car (Sometimes this code is useless because the game uses the carcode to decide which logo/name to display).
- Carcode: This is the actual car code identifying your car, check the last section for logo/carcodes.
- Car membership: This identifies where the car will be available (01 = stock, 02 = career, 04 = my cars, 08 = bonus, 10 = custom, 20 = special, 40 = won car, 80 = wingman car).
- Car category: This identifies which category a car will show up (01 = muscle, 02 = exotic, 04 = tuner (Note: Bonus & addon cars use 08/0F instead)).
- Customizaion slot link: This is the customization slot link number. It's the number of the customization slot which belongs to this car (Note: it is FF if the car is stock).
- Career slot link: This is the career slot link number. It's the number of the career slot which belongs to this car (Note: it is FF if it's not a career car).
The second part in the car membership (nice naming btw), the part thats mostly 00 indicates if a car is available in the mazda dealership. Set it to 01 and it will appear there. Also, a nice side effect, the car will be free in the regular dealership. Try it and change it on all stock cars. :D :D
Image
User avatar
prince1142003
Valued Member
Valued Member
Posts: 3862
Joined: 23 Feb 2005, 06:03
Location: Enjoying college life.
Contact:

Post by prince1142003 »

spectre01 wrote:there is a little error: about that car membership(or ownership) code, it is "42" for cars that you won, not "40". it is the same as in Most Wanted. if it is 40, then the car won't show up in the game (i tried).
Actually, it is 40. 40+2 (Bonus + Career) = 42. Same principle as in Most Wanted, these numbers can be added together hexadecimally to put a car in multiple locations.
Finalmaster2 wrote:One thing though. When I edited my BMW so, that it had Cross's vinyl and I then putted it to my Career Car Lot, but when I bought it, became stock. So do you have any suggestions to fix this?
Change the vinyl after buying the car. As soon asyou buy the car, the game creates new slots with stock values. There's no way to avoid this unfortunately.

Anyways, nice job cparty. You really deserve that valued member title. Wanna put this in .html or .doc format so that someone doesn't have to come back to this topic evertime? I could do it for you if you give me permission.
Image
Finalmaster2

Post by Finalmaster2 »

Ok, how do I then put BMW's texture-vinyl to blank Corvette Z06?
User avatar
prince1142003
Valued Member
Valued Member
Posts: 3862
Joined: 23 Feb 2005, 06:03
Location: Enjoying college life.
Contact:

Post by prince1142003 »

Maybe cparty can tell you.
Image
cparty
Valued Member
Valued Member
Posts: 91
Joined: 23 Apr 2006, 21:08

Post by cparty »

Finalmaster2 wrote:Ok, how do I then put BMW's texture-vinyl to blank Corvette Z06?
I have not yet understood what you are trying to do.
If you want to put the cross vinyl (765F) on the BMW:
- Get a BMW to career garage or mycars.
- Then remove the BMW texture vinyl (557D).
- Add a vinyl of your choice ingame.
- Find the vinyl slot and replace the vinyl code with 765F.

If you want to put the BMW vinyl on the Z06:
- Get yourself a Z06 in career garage or mycars.
- Add a vinyl of your choice.
- Find the vinyl slot and replace the vinyl code with C25F.

Either way, if you do it for a car in the carlot and you buy/add it from there, it will revert to the default settings = it becomes stock.
prince1142003 wrote:Wanna put this in .html or .doc format so that someone doesn't have to come back to this topic evertime? I could do it for you if you give me permission.
Sure :) that's a good idea. Feel free to do so. I guess there will be updates to the post in the future though.
STAT-X wrote:But I do like to add something:
Nice find STAT-X :) I'll update it with this info probably tomorrow.
Finalmaster2

Post by Finalmaster2 »

cparty wrote:
Finalmaster2 wrote:Ok, how do I then put BMW's texture-vinyl to blank Corvette Z06?
If you want to put the BMW vinyl on the Z06:
- Get yourself a Z06 in career garage or mycars.
- Add a vinyl of your choice.
- Find the vinyl slot and replace the vinyl code with C25F.
Yes, that was what I was looking for, thanks. :) One more thing, what was Cross's Corvette's (the one in Bonus-section, etc.) hex-code?
cparty
Valued Member
Valued Member
Posts: 91
Joined: 23 Apr 2006, 21:08

Post by cparty »

Finalmaster2 wrote:One more thing, what was Cross's Corvette's (the one in Bonus-section, etc.) hex-code?
It's a normal Corvette, so it's code is 4B95353B 33417A6E.
User avatar
prince1142003
Valued Member
Valued Member
Posts: 3862
Joined: 23 Feb 2005, 06:03
Location: Enjoying college life.
Contact:

Post by prince1142003 »

Wow, now I just discovered that there are a few cars that are kept stock, yet they're not in the car lot. Now, I can put those cars into the car lot (for example, the Chevrolet Chevelle and the Camaro Concept). I'm working on a savegame with all available cars in the car lot, so just hang tight.

You're right, this will need constant updating. What about a wiki instead? This can be the "discussion and ask your questions" page, with any and all information in a wiki. Editing permissions can be changed to allow only registered members to edit the wiki (if it's put on NFSUnlimited's wiki) so that spambots and other such things don't mess them up.
Image
User avatar
Turbocharger
Turbo Charged
Turbo Charged
Posts: 234
Joined: 19 Jun 2006, 08:23
Location: In aussieland, stalking you

Post by Turbocharger »

Now this will help me with Hex-Editing!
Image
User avatar
sergelac
Turbo Charged
Turbo Charged
Posts: 50
Joined: 02 Mar 2006, 14:43
Location: Quebec

Post by sergelac »

very nice work cparty :)

here my save with :
- all cars in the car shop (normal, bonus, cop cars, zonda, ...)
- all parts unlocked
- all offfline/online rewards card unlocked
- challenge series at 0 %
- career at 2 % (first car shop unlocked)
- darius and cross cars in career garage and in "my cars"

for darius and cross cars, i copied all customization 2 parts codes manualy
so if you modify the car, it will not affect the car in bonus/custom section
Attachments
ASUPER.zip
(19.99 KiB) Downloaded 859 times
Last edited by sergelac on 24 Dec 2006, 16:56, edited 1 time in total.
User avatar
prince1142003
Valued Member
Valued Member
Posts: 3862
Joined: 23 Feb 2005, 06:03
Location: Enjoying college life.
Contact:

Post by prince1142003 »

Hey, you stole my idea! :lol:

Anyways, I seem to be running into a little problem. On any hex-edited savegame (doesn't matter what I edited) the Aston Martin seems to crash the game. Does this happen to anyone else?
Image
Finalmaster2

Post by Finalmaster2 »

Sometimes random car starts crashing the game. Just use some trainer to unlock all cars temporarily, remove Aston Martin and buy it again. I can't though promise you 100 % workness of my tip. Worse things that might happen are:

- savegame gets corrupted (you can't continue playing, when going to Career, game crashes = unfixable)
- savegame starts to clone itself with different name and some car(s) goes crazy (vinyl gets name | or 'Z and it can't be removed, even if you buy a new car, this happens again = unfixable)

Hopefully none of this happened to you.
User avatar
prince1142003
Valued Member
Valued Member
Posts: 3862
Joined: 23 Feb 2005, 06:03
Location: Enjoying college life.
Contact:

Post by prince1142003 »

I found an easier workaround. When selecting the car for anything, just go backwards. Instead of hitting the right arrow key to get to the car, hit the left one. Or, if it was crashing when going left, go right. Doesn't work for My Cars, but will work for others.
Image
Finalmaster2

Post by Finalmaster2 »

Sometimes game also crashes when you're going too fast or selecting cars too fast in Car Lot.
User avatar
prince1142003
Valued Member
Valued Member
Posts: 3862
Joined: 23 Feb 2005, 06:03
Location: Enjoying college life.
Contact:

Post by prince1142003 »

Finalmaster2 wrote:Sometimes game also crashes when you're going too fast or selecting cars too fast in Car Lot.
That happens regardless of whether the savegame is hex modified or not. It appears to be geniune Carbon-based crash :lol:.

I found something neat. If you change your crew member's customization slot location in their car slot to FF (stock), your crew member will drive the same car as you.

Also, the assumption that customization slots are sequential appears to be wrong. I deleted an Aston Martin from My Cars and rebought it. It now has a customization slot number of 26, but the slot location is still the same as it was originally (21). The customization slot, however, has a slot number of 26 even though it is in the location for 21.
Image
User avatar
Turbocharger
Turbo Charged
Turbo Charged
Posts: 234
Joined: 19 Jun 2006, 08:23
Location: In aussieland, stalking you

Post by Turbocharger »

That happens all the time, thats what crashes me :S And i havnt Hexed shiznit :S
Image
User avatar
spectre01
Drift King
Drift King
Posts: 277
Joined: 14 Dec 2005, 03:07
Location: Canada

Post by spectre01 »

oops.. my bad... didn't know that 40+02 is for bosses' cars...

right now im working on my savegame. it will includes all 3 bosses' cars(including their casino verison of cars); Darius' car; Cross' car; tuner, muscle, exotic that are in the intro movie(this is the one that played when you enter the game); 3 low end TFK,21st street, and shiznit gang cars; main charactor's new BMW; main charactor's old supra(appeared during the movie when you play carrear mode, may possible); and some of the Most Wanted bosses' cars that are made by me :)
User avatar
prince1142003
Valued Member
Valued Member
Posts: 3862
Joined: 23 Feb 2005, 06:03
Location: Enjoying college life.
Contact:

Post by prince1142003 »

Looks like we're gonna have a lot of savegames pretty soon.

Remember, there is a seperate topic dedicated to posting savegames here. If you want to share your savegame, please post it in there so this thread can be kept clean and pertinent to just hex editing.
Image
User avatar
spectre01
Drift King
Drift King
Posts: 277
Joined: 14 Dec 2005, 03:07
Location: Canada

Post by spectre01 »

i took some free time and digged some of the "Various specials" vinyls, and found out a lot!!! i did my best to name them. so if someone know where those vinyls were came from, just tell cparty or me to include it in his next update...

A25F – A35F Demo Lancer eagle
A45F – A55F Demo Camaro line vinyl
A65F – A75F Unknow body vinyl
A85F – A95F Beta pic Camaro Concept 2tone vinyl (by beta i mean the pics that has Galldor, Camaro and Lancer in them)
AA5F – AB5F Demo Lancer eagle
AC5F – AD5F Unknow flame vinyl
AE5F – AF5F Main character’s old supra vinyl (appeared in the intro movie)
B05F – B15F Beta pic Galldor line vinyl
B25F – B35F Unknow dragon kind of flame vinyl
B45F – B55F Unknow 2tone vinyl
B65F – B75F Unknow 2tone with tribal vinyl
B85F – B95F Unknow 55Dsl vinyl #1
BA5F – BB5F Unknow 55Dsl vinyl #2
BC5F – BD5F Unknow 55Dsl vinyl (same as above)
BE5F – BF5F Unknow 55Dsl vinyl #3

and

C45F – C55F Unknow no-name vinyl (I can't come up with a name for it)
C65F – C75F 2tone with Camaro Concept stock line vinyl
C85F – C95F Chemical body vinyl #1
CA5F – CB5F Chemical body vinyl #2
CC5F – CD5F Chemical body vinyl #3
CE5F – CF5F Chemical body vinyl #4


and there is a pic of my supra! now i own all the special cars!!! lol
Attachments
his old supra tha Darius gave him
his old supra tha Darius gave him
Last edited by spectre01 on 24 Dec 2006, 08:55, edited 1 time in total.
User avatar
Turbocharger
Turbo Charged
Turbo Charged
Posts: 234
Joined: 19 Jun 2006, 08:23
Location: In aussieland, stalking you

Post by Turbocharger »

Can u possibly give pictures of all these vinyls, im not good at hexing yet so i need pictures
Image
Post Reply

Return to “Editing”