[VERSN2]
version 2.5.5
watermark ""

unlock_memory all
speedreflect auto

// CarTypeInfo
import negate GLOBAL\GLOBALB.LZC CarTypeInfos _CarTypeInfos\TTRS10.bin

// Collision
import negate GLOBAL\GLOBALB.LZC Collisions _Collisions\TTRS10.bin

// Add Car Parts
### Add The Parts for the Cars ###
import negate GLOBAL\GLOBALB.LZC DBModelParts _DBModelParts\TTRS10.bin

// Slot Overrides
### Spoilers Porsches ###
import negate GLOBAL\GLOBALB.LZC SlotOverrides _SlotOverrides\TTRS10_PART_SPOILER.bin

// Add requierd Languages
if file_exists absolute LANGUAGES\ENGLISH.BIN
do
append _Strings\English.end 
else
// do nothing
end

if file_exists absolute LANGUAGES\DANISH.BIN
do
append _Strings\Danish.end 
else
// do nothing
end

if file_exists absolute LANGUAGES\FRENCH.BIN
do
append _Strings\French.end 
else
// do nothing
end

if file_exists absolute LANGUAGES\GERMAN.BIN
do
append _Strings\German.end 
else
// do nothing
end

if file_exists absolute LANGUAGES\ITALIAN.BIN
do
append _Strings\Italian.end 
else
// do nothing
end

if file_exists absolute LANGUAGES\KOREAN.BIN
do
append _Strings\Korean.end 
else
// do nothing
end

if file_exists absolute LANGUAGES\POLISH.BIN
do
append _Strings\Polish.end 
else
// do nothing
end

if file_exists absolute LANGUAGES\SPANISH.BIN
do
append _Strings\Spanish.end 
else
// do nothing
end

if file_exists absolute LANGUAGES\SWEDISH.BIN
do
append _Strings\Swedish.end 
else
// do nothing
end


combobox "Vinyls 512x" "Vinyls 1024x" "Choose Vinyl Resolution"

"Vinyls 512x"
move_file negate relative absolute TTRS10\Vinyls_512x.BIN CARS\TTRS10\VINYLS.BIN

"Vinyls 1024x"
move_file negate relative absolute TTRS10\Vinyls_1024x.BIN CARS\TTRS10\VINYLS.BIN

end

//copies geometry.bin, textures.bin and vinyls.bin files from the TTRS10 folder in the mod's folder to the CARS\TTRS10 folder of the game, will overwrite existing files (override)
move_file override relative absolute TTRS10\GEOMETRY.BIN CARS\TTRS10\GEOMETRY.BIN
move_file override relative absolute TTRS10\TEXTURES.BIN CARS\TTRS10\TEXTURES.BIN

//copies TTRS10.ini files from the scripts\unlimiterdata\ folder in the mod's folder to the scripts\unlimiterdata\ folder of the game, will overwrite existing files (override)
move_file override relative absolute scripts\unlimiterdata\TTRS10.ini scripts\unlimiterdata\TTRS10.ini

move_file override relative absolute SOUND\ENGINE\car_116_exhaust_2.gin SOUND\ENGINE\car_116_exhaust_2.gin
move_file override relative absolute SOUND\ENGINE\car_116_exhaust_3.gin SOUND\ENGINE\car_116_exhaust_3.gin
move_file override relative absolute SOUND\ENGINE\ex_acl_83.gin SOUND\ENGINE\ex_acl_83.gin
move_file override relative absolute SOUND\ENGINE\ex_dcl_83.gin SOUND\ENGINE\ex_dcl_83.gin

// Add required textures

if collection_exists FRONTEND\FRONTB.LZC TPKBlocks DEFAULT
do
bind_textures synchronize Frontend\FrontB.lzc TPKBlocks DEFAULT _Textures\_FrontB
else
bind_textures synchronize Frontend\FrontB.lzc TPKBlocks FRONTENDTEXTURES _Textures\_FrontB
end


