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

if collection_exists GLOBAL\GLOBALB.LZC CarTypeInfos IMPREZA
	do
		// nothing
	else
		// Add unlock condition
	copy_incareer GLOBAL\GLOBALB.LZC GCareers Main GCarUnlocks IS300 IMPREZA
end

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

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

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

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

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

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

end