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

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

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

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

copy_incareer GLOBAL\GLOBALB.LZC GCareers Main GCarUnlocks 3000GT INTEGRA

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

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

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

end