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

if collection_exists GLOBAL\GLOBALB.LZC CarTypeInfos LANCER
	do
		// nothing
	else
end

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

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

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

// Add Car Sound Tuner ini
move_file override relative absolute CarSoundData\CarTypeMapping\LANCER.ini scripts\CarSoundData\CarTypeMapping\LANCER.ini
move_file override relative absolute CarSoundData\CarDataMapping\89.ini scripts\CarSoundData\CarDataMapping\89.ini

// Add Unlimiter ini
move_file override relative absolute UnlimiterData\LANCER.ini scripts\UnlimiterData\LANCER.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 Lancer Menu Logo" "Install High Quality Lancer Menu Logo" "Select an action"
	"Install Vanilla Quality Lancer Menu Logo"
		// Add badge texture
		add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES SECONDARY_LOGO_LANCER SECONDARY_LOGO_LANCER SecondaryLogo\SECONDARY_LOGO_LANCER.dds

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

end