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

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

// Add CarTypeInfos
import override GLOBAL\GLOBALB.LZC CarTypeInfos CarTypeInfos\S2000.BIN

// Add DBModelParts
import override GLOBAL\GLOBALB.LZC DBModelParts DBModelParts\S2000.BIN

copy_incareer GLOBAL\GLOBALB.LZC GCareers Main GCarUnlocks RSX S2000

// SlotOverrides
import override GLOBAL\GLOBALB.LZC SlotOverrides SlotOverrides\S2000_PART_WING_MIRROR.bin

// Add Car Sound Tuner ini
move_file override relative absolute CarSoundData\CarTypeMapping\S2000.ini scripts\CarSoundData\CarTypeMapping\S2000.ini

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

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

combobox "Install Vanilla Quality S2000 Menu Logo" "Install High Quality S2000 Menu Logo" "Select an action"
	"Install Vanilla Quality S2000 Menu Logo"
		// Add badge texture
		add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES SECONDARY_LOGO_S2000 SECONDARY_LOGO_S2000 SecondaryLogo\SECONDARY_LOGO_S2000.dds

	"Install High Quality S2000 Menu Logo"
		// Add HQ badge texture
		add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES SECONDARY_LOGO_S2000 SECONDARY_LOGO_S2000 SecondaryLogo\HQ\SECONDARY_LOGO_S2000.dds

end