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

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

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

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

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

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

// Add SlotOverrides
import override GLOBAL\GLOBALB.LZC SlotOverrides CORVETTEC5\SlotOverrides\CORVETTEC5_PART_WING_MIRROR.BIN

// Add SlotOverrides
import override GLOBAL\GLOBALB.LZC Materials CORVETTEC5\Materials\GAUGE.BIN

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_CORVETTEC5 SECONDARY_LOGO_CORVETTEC5 CORVETTEC5\SECONDARY_LOGO_CORVETTEC5.dds
add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES CARSELECT_MANUFACTURER_CORVETTE CARSELECT_MANUFACTURER_CORVETTE CORVETTEC5\CARSELECT_MANUFACTURER_CORVETTE.dds

// add car sound tuner shi
move_file override relative absolute CORVETTEC5\SOUND\ENGINE\car_073-exhaust_acc.gin SOUND\ENGINE\car_073-exhaust_acc.gin
move_file override relative absolute CORVETTEC5\SOUND\ENGINE\car_073-exhaust_dec.gin SOUND\ENGINE\car_073-exhaust_dec.gin
move_file override relative absolute CORVETTEC5\SOUND\ENGINE\car_082-exhaust_acc.gin SOUND\ENGINE\car_082-exhaust_acc.gin
move_file override relative absolute CORVETTEC5\SOUND\ENGINE\car_082-exhaust_dec.gin SOUND\ENGINE\car_082-exhaust_dec.gin
move_file override relative absolute CORVETTEC5\SOUND\ENGINE\car_101-exhaust_acc.gin SOUND\ENGINE\car_101-exhaust_acc.gin
move_file override relative absolute CORVETTEC5\SOUND\ENGINE\car_101-exhaust_dec.gin SOUND\ENGINE\car_101-exhaust_dec.gin
move_file override relative absolute CORVETTEC5\SOUND\TURBO\TURBO_SC_COBRA.abk SOUND\TURBO\TURBO_SC_COBRA.abk
move_file override relative absolute CORVETTEC5\scripts\CarSoundData\CarDataMapping\55.ini scripts\CarSoundData\CarDataMapping\55.ini
move_file override relative absolute CORVETTEC5\scripts\CarSoundData\CarTypeMapping\CORVETTEC5.ini scripts\CarSoundData\CarTypeMapping\CORVETTEC5.ini
move_file override relative absolute CORVETTEC5\scripts\CarSoundData\DualGinsu\55.ini scripts\CarSoundData\DualGinsu\55.ini
move_file override relative absolute CORVETTEC5\scripts\CarSoundData\DualGinsu\56.ini scripts\CarSoundData\DualGinsu\56.ini
move_file override relative absolute CORVETTEC5\scripts\CarSoundData\DualGinsu\57.ini scripts\CarSoundData\DualGinsu\57.ini
move_file override relative absolute CORVETTEC5\scripts\CarSoundData\EngineData\55.ini scripts\CarSoundData\EngineData\55.ini
move_file override relative absolute CORVETTEC5\scripts\CarSoundData\EngineData\56.ini scripts\CarSoundData\EngineData\56.ini
move_file override relative absolute CORVETTEC5\scripts\CarSoundData\EngineData\57.ini scripts\CarSoundData\EngineData\57.ini
move_file override relative absolute CORVETTEC5\scripts\CarSoundData\TurboDataSet\15.ini scripts\CarSoundData\TurboDataSet\15.ini




