How to add a new car (Burnout Paradise): Difference between revisions

Content added Content deleted
Line 11: Line 11:
# Rename the Files to have the structure VEH_<vehicleid>_AT.BIN, VEH_<vehicleid>_CD.BIN, VEH_<vehicleid>_GR.BIN
# Rename the Files to have the structure VEH_<vehicleid>_AT.BIN, VEH_<vehicleid>_CD.BIN, VEH_<vehicleid>_GR.BIN
## If you don't have a _CD.BIN file for your car, just pick another one and rename it.
## If you don't have a _CD.BIN file for your car, just pick another one and rename it.
# Find the IDs that you have to edit. For all values in the table below, do the following:
# Edit the binary files:
## Find the IDs that you have to edit. For all values in the table below, do the following:
## Edit by clicking on the menu "Edit > Edit ID" and typing in the string in '''lower case'''
## If it worked the name will show up in BundleManager
## Calculate the [[Common Data Types (Burnout_Paradise)#CgsResourceID|CgsResourceID]], by following the schema in the table below, change all letters to lowercase, generate a CRC32 value with HxD and bit swap them
# Open up VEH_<vehicleid>_AT, right click "bunrnoutcarasset", then in the menu click "Change CollectionHash"
## Open up the File in Bundle Manager and look at the IDs. They are corrected, so you have to bit swap them when looking for them, e.g. ac21de43 is 43de21ac in the binary file.
# Put in the AttribSys ID from step three and save
## Open Hexedit and search for the IDs to find out where you have to replace it
## Replace
##If it worked the name will show up in BundleManager
# Open up VEH_<vehicleid>_AT, right click "View Header", then in the menu click "Export Header"
# Calculate the [[Common Data Types (Burnout_Paradise)#Hash Int|Hash Int]] by taking AttribSys ID from step three and hash it as a lookup8 with [https://bpr.bo98.uk/lookup8/ lookup8]. The hash int is the little endian value.
# Edit the header with HxD, replace the values starting from 0x2E8 with the [[Common Data Types (Burnout_Paradise)#Hash Int|Hash Int]]
# Go to BundleManager and import the Header


Then you should see your new car!
Then you should see your new car!