[VERSN2]

//-------memory files------------------------------------------------------------------------------

unlock_memory all

//-------model and texture data--------------------------------------------------------------------

move_file override relative absolute "mdl" "CARS\G1RGT\GEOMETRY.BIN"
move_file override relative absolute "tpk" "CARS\G1RGT\TEXTURES.BIN"

//-------GlobalB entries---------------------------------------------------------------------------

import override GLOBAL\GLOBALB.LZC CarTypeInfos "CARTYPEINFOS.BIN"
import override GLOBAL\GLOBALB.LZC Collisions "CV.BIN"
import override GLOBAL\GLOBALB.LZC DBModelParts "DBMODELPARTS.BIN"

//-------texed TPKBlock fix------------------------------------------------------------------------

if collection_exists FRONTEND\FRONTB.LZC TPKBlocks DEFAULT
do
update_collection FRONTEND\FRONTB.LZC TPKBlocks DEFAULT CollectionName FRONTENDTEXTURES
else
// do nothing
end

//-------secondary logo----------------------------------------------------------------------------

if texture_exists FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES SECONDARY_LOGO_G1RGT
do
replace_texture FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES SECONDARY_LOGO_G1RGT "sl"
else
add_texture FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES SECONDARY_LOGO_G1RGT "sl"
end

//-------frontend label---------------------------------------------------------------------------

if string_exists LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL CARNAME_LAMBORGHINI_G1RGT
do
// do nothing
else
add_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL 0xE227A445 CARNAME_LAMBORGHINI_G1RGT "Lamborghini Murciélago R-GT"
end

//-------vinyls------------------------------------------------------------------------------------

combobox "512x512" "1024x1024" "Choose vinyl resolution"
"512x512"
move_file override relative absolute "va" "CARS\G1RGT\VINYLS.BIN"
"1024x1024"
move_file override relative absolute "vb" "CARS\G1RGT\VINYLS.BIN"
end
