[VERSN2]
watermark "Mod made by YochiThMaster333"

if file_exists absolute CARS\WHEELS\GEOMETRY.BAK
do
move_file override absolute absolute CARS\WHEELS\GEOMETRY.BAK CARS\WHEELS\GEOMETRY.BIN
move_file override absolute absolute CARS\WHEELS\TEXTURES.BAK CARS\WHEELS\TEXTURES.BIN
erase_file absolute CARS\WHEELS\GEOMETRY.BAK
erase_file absolute CARS\WHEELS\TEXTURES.BAK
else
end

import override FRONTEND\FRONTB.LZC FNGroups RimParts_Vanilla\CUSTOMIZEGENERICTOP.bin
import override FRONTEND\FRONTB.LZC FNGroups RimParts_Vanilla\CUSTOMIZEGENERICTOP_BACKROOM.bin

move_file override relative absolute RimParts_Vanilla\_RimBrands.ini scripts\UnlimiterData\_RimBrands.ini

add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO CO_RIM_BRAND_VOLK "Volk"

if collection_exists FRONTEND\FRONTB.LZC TPKBlocks DEFAULT
do
add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks DEFAULT VISUAL_RIMS_BRAND_ADR VISUAL_RIMS_BRAND_ADR "RimParts_Vanilla\VISUAL_RIMS_BRAND_ADR.dds"
add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks DEFAULT VISUAL_RIMS_BRAND_VOLK VISUAL_RIMS_BRAND_VOLK "RimParts_Vanilla\VISUAL_RIMS_BRAND_VOLK.dds"
else
add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES VISUAL_RIMS_BRAND_ADR VISUAL_RIMS_BRAND_ADR "RimParts_Vanilla\VISUAL_RIMS_BRAND_ADR.dds"
add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES VISUAL_RIMS_BRAND_VOLK VISUAL_RIMS_BRAND_VOLK "RimParts_Vanilla\VISUAL_RIMS_BRAND_VOLK.dds"
end

if directory_exists absolute CARS\YTMRIM1
do
erase_folder absolute CARS\YTMRIM1
erase_folder absolute CARS\YTMRIM2
erase_folder absolute CARS\YTMRIM3
else
end

if collection_exists GLOBAL\GLOBALB.LZC TPKBlocks YTMTIRES
do
remove_texture GLOBAL\GLOBALB.LZC TPKBlocks YTMTIRES 0x033BB61A
remove_texture GLOBAL\GLOBALB.LZC TPKBlocks YTMTIRES 0x5DB0434D
remove_texture GLOBAL\GLOBALB.LZC TPKBlocks YTMTIRES 0xA1B8D115
remove_texture GLOBAL\GLOBALB.LZC TPKBlocks YTMTIRES 0xBD695721
remove_texture GLOBAL\GLOBALB.LZC TPKBlocks YTMTIRES 0xECBBFEBE
remove_texture GLOBAL\GLOBALB.LZC TPKBlocks YTMTIRES 0xE4CEA06C
remove_texture GLOBAL\GLOBALB.LZC TPKBlocks YTMTIRES 0xE4CEA06B
remove_texture GLOBAL\GLOBALB.LZC TPKBlocks YTMTIRES 0xE4CEA06A
remove_texture GLOBAL\GLOBALB.LZC TPKBlocks YTMTIRES 0xE4CEA069
remove_texture GLOBAL\GLOBALB.LZC TPKBlocks YTMTIRES 0xE4CEA068
remove_texture GLOBAL\GLOBALB.LZC TPKBlocks YTMTIRES 0xE4CEA067
remove_texture GLOBAL\GLOBALB.LZC TPKBlocks YTMTIRES 0xE4CEA066
remove_texture GLOBAL\GLOBALB.LZC TPKBlocks YTMTIRES 0xE4CEA065
remove_texture GLOBAL\GLOBALB.LZC TPKBlocks YTMTIRES 0xE4CEA04D
remove_texture GLOBAL\GLOBALB.LZC TPKBlocks YTMTIRES 0xE4CEA04C
remove_texture GLOBAL\GLOBALB.LZC TPKBlocks YTMTIRES 0xE4CEA04B
remove_texture GLOBAL\GLOBALB.LZC TPKBlocks YTMTIRES 0xE4CEA04A
remove_texture GLOBAL\GLOBALB.LZC TPKBlocks YTMTIRES 0xE4CEA049
remove_texture GLOBAL\GLOBALB.LZC TPKBlocks YTMTIRES 0xE4CEA048
remove_texture GLOBAL\GLOBALB.LZC TPKBlocks YTMTIRES 0xE4CEA047
remove_texture GLOBAL\GLOBALB.LZC TPKBlocks YTMTIRES 0xE4CEA046
remove_texture GLOBAL\GLOBALB.LZC TPKBlocks YTMTIRES 0xE4CEA045
remove_texture GLOBAL\GLOBALB.LZC TPKBlocks YTMTIRES 0xE4CEA044
remove_texture GLOBAL\GLOBALB.LZC TPKBlocks YTMTIRES 0xE4CEA02C
remove_texture GLOBAL\GLOBALB.LZC TPKBlocks YTMTIRES 0xE4CEA02B
remove_texture GLOBAL\GLOBALB.LZC TPKBlocks YTMTIRES 0xE4CEA02A
remove_texture GLOBAL\GLOBALB.LZC TPKBlocks YTMTIRES 0xE4CEA029
remove_texture GLOBAL\GLOBALB.LZC TPKBlocks YTMTIRES 0xE4CEA028
remove_texture GLOBAL\GLOBALB.LZC TPKBlocks YTMTIRES 0xE4CEA027
remove_texture GLOBAL\GLOBALB.LZC TPKBlocks YTMTIRES 0xE4CEA026
remove_texture GLOBAL\GLOBALB.LZC TPKBlocks YTMTIRES 0xE4CEA025
remove_texture GLOBAL\GLOBALB.LZC TPKBlocks YTMTIRES 0x6F0E2BCF
remove_texture GLOBAL\GLOBALB.LZC TPKBlocks YTMTIRES 0x6F0E2BCF
remove_texture GLOBAL\GLOBALB.LZC TPKBlocks YTMTIRES 0x6A943B83
remove_texture GLOBAL\GLOBALB.LZC TPKBlocks YTMTIRES 0x6A943B83
remove_texture GLOBAL\GLOBALB.LZC TPKBlocks YTMTIRES 0x7EA2A4E5
else
end

if collection_exists GLOBAL\GLOBALB.LZC DBModelParts TIRE
do
remove_collection GLOBAL\GLOBALB.LZC DBModelParts TIRE
else
end

if string_exists LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL CO_RIM_BRAND_FOXX
do
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL CO_RIM_BRAND_FOXX
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL CO_RIM_BRAND_SSR
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL CO_RIM_BRAND_WATANA
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL CO_RIM_BRAND_1552
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL CO_RIM_BRAND_ADVAN
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL CO_RIM_BRAND_SLINE
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL CO_RIM_BRAND_BIM
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL CO_RIM_BRAND_AR
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL CO_RIM_BRAND_CL
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL CO_RIM_BRAND_HRE
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL CO_RIM_BRAND_TOMS
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL CO_RIM_BRAND_ROTIFORM
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL CO_RIM_BRAND_VEILSIDE
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL CO_RIM_BRAND_VORS
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL CO_RIM_BRAND_SAVINI
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL CO_RIM_BRAND_SCHMIDT
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL CO_RIM_BRAND_WORK
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL CO_RIM_BRAND_TSW
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL CO_RIM_BRAND_LEXANI
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL CO_RIM_BRAND_BOYD
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL CO_RIM_BRAND_TENZO
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL CO_RIM_BRAND_MUGEN
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL CO_RIM_BRAND_RALLIART
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL CO_RIM_BRAND_COSMIS
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL CO_RIM_BRAND_VOSSEN
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL CO_RIM_BRAND_WEDS
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL CO_RIM_BRAND_COMPOMO
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL CO_RIM_BRAND_HOLESHOT
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL CO_RIM_BRAND_HALIBRAND
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL CO_RIM_BRAND_FIKSE
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL CO_RIM_BRAND_OEM
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL PN_YTMTIRE_1
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL PN_YTMTIRE_2
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL PN_YTMTIRE_3
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL PN_YTMTIRE_4
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL PN_YTMTIRE_5
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL PN_YTMTIRE_6
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL PN_YTMTIRE_7
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL PN_YTMTIRE_8
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL PN_YTMTIRE_9
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL PN_YTMTIRE_10
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL PN_YTMTIRE_11
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL PN_YTMTIRE_12
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL PN_YTMTIRE_13
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL PN_YTMTIRE_14
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL PN_YTMTIRE_15
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL PN_YTMTIRE_16
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL PN_YTMTIRE_17
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL PN_YTMTIRE_18
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL PN_YTMTIRE_19
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL PN_YTMTIRE_20
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL PN_YTMTIRE_21
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL PN_YTMTIRE_22
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL PN_YTMTIRE_23
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL PN_YTMTIRE_24
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL PN_YTMTIRE_25
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL PN_YTMTIRE_26
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL PN_YTMTIRE_27
remove_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL PN_YTMTIRE_CN
else
end

import override GLOBAL\GLOBALB.LZC DBModelParts RimParts_Vanilla\WHEELS.bin
import override GLOBAL\GLOBALB.LZC DBModelParts RimParts_Vanilla\WHEEL_MANUFACTURERS.bin

// Those files are actually unloaded to save RAM, so don't worry ^^
delete FRONTEND\FRONTB.LZC
delete LANGUAGES\ENGLISH.BIN