[VERSN2]

if directory_exists absolute CARS\CORSA
do
else
create_folder absolute CARS\CORSA
end

move_file override relative absolute Car\GEOMETRY.BIN CARS\CORSA\GEOMETRY.BIN
move_file override relative absolute Car\TEXTURES.BIN CARS\CORSA\TEXTURES.BIN
move_file override relative absolute Car\VINYLS.BIN CARS\CORSA\VINYLS.BIN

add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO CAR_MODEL_NAME_CORSA "Corsa 1.8 SRi"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO FULL_NAME_CORSA "2004 Corsa 1.8 SRi"
update_collection FRONTEND\FRONTB.LZC GCareerRaces 1 NumberOfUnlocks 2
update_collection FRONTEND\FRONTB.LZC GCareerRaces 1 Unlocks UNLOCK1 UnlockType Car
update_collection FRONTEND\FRONTB.LZC GCareerRaces 1 Unlocks UNLOCK1 UnlockName CORSA

if collection_exists FRONTEND\FRONTB.LZC TPKBlocks DEFAULT
do
add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks DEFAULT CARSELECT_MANUFACTURER_VAUXHALL CARSELECT_MANUFACTURER_VAUXHALL "CORSAstuff\CARSELECT_MANUFACTURER_VAUXHALL.dds"
add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks DEFAULT SECONDARY_LOGO_CORSA SECONDARY_LOGO_CORSA "CORSAstuff\SECONDARY_LOGO_CORSA.dds"
else
add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES CARSELECT_MANUFACTURER_VAUXHALL CARSELECT_MANUFACTURER_VAUXHALL "CORSAstuff\CARSELECT_MANUFACTURER_VAUXHALL.dds"
add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES SECONDARY_LOGO_CORSA SECONDARY_LOGO_CORSA "CORSAstuff\SECONDARY_LOGO_CORSA.dds"
end


delete LANGUAGES\ENGLISH.BIN
delete FRONTEND\FRONTB.LZC


import override GLOBAL\GLOBALB.LZC CarTypeInfos "CORSAstuff\CORSA.BIN"
import override GLOBAL\GLOBALB.LZC DBModelParts "CORSAstuff\DBMPCORSA.bin"