[VERSN2]
//unlocks memory files and installs speedreflect.asi in scripts folder
unlock_memory all
speedreflect auto

// Add CarTypeInfos
import override GLOBAL\GLOBALB.LZC CarTypeInfos FX45\CarTypeInfos\INFIFX45.BIN

// Add DBModelParts
import override GLOBAL\GLOBALB.LZC DBModelParts FX45\DBModelParts\INFIFX45.BIN

// Move BIN files to the INFIFX45 folder
move_file override relative absolute FX45\INFIFX45\GEOMETRY.BIN CARS\INFIFX45\GEOMETRY.BIN
move_file override relative absolute FX45\INFIFX45\TEXTURES.BIN CARS\INFIFX45\TEXTURES.BIN
move_file override relative absolute FX45\INFIFX45\VINYLS.BIN CARS\INFIFX45\VINYLS.BIN
move_file override relative absolute FX45\INFIFX45\PARTS_ANIMATIONS.BIN CARS\INFIFX45\PARTS_ANIMATIONS.BIN

// Add SlotOverrides
import override GLOBAL\GLOBALB.LZC SlotOverrides FX45\SlotOverrides\INFIFX45_PART_SPOILER.BIN
import override GLOBAL\GLOBALB.LZC SlotOverrides FX45\SlotOverrides\INFIFX45_PART_WING_MIRROR.BIN

// Add unlock condition
copy_incareer GLOBAL\GLOBALB.LZC GCareers Main GCarUnlocks G35 INFIFX45

// Add Unlimiter ini
move_file override relative absolute FX45\UnlimiterData\INFIFX45.ini scripts\UnlimiterData\INFIFX45.ini 

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

// Add badge texture
add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES SECONDARY_LOGO_INFIFX45 SECONDARY_LOGO_INFIFX45 FX45\SECONDARY_LOGO_INFIFX45.dds