[VERSN2]
//deletes the contents of the CARS\<XNAME> (eg CARS\INTEGRALS) folder, then the <XNAME> folder itself
erase_file absolute CARS\BMWM5E60\GEOMETRY.BIN
erase_file absolute CARS\BMWM5E60\TEXTURES.BIN
erase_file absolute CARS\BMWM5E60\VINYLS.BIN
erase_folder absolute CARS\BMWM5E60

//deletes the CarTypeInfos and DBModelParts nodes
remove_collection GLOBAL\GLOBALB.LZC CarTypeInfos BMWM5E60
remove_collection GLOBAL\GLOBALB.LZC DBModelParts BMWM5E60
remove_collection GLOBAL\GLOBALB.LZC Collisions BMWM5E60

remove_collection FRONT\FRONTB.LZC TPKBlocks Textures\UNLIMITERICONS.BIN
remove_collection GLOBAL\GLOBALB.LZC TPKBlocks Textures\SEAT_TEXTURES.BIN

//checks if FrontB.lzc's TPKBlock name has been changed to DEFAULT by TexEd and renames it back to the correct name (FRONTENDTEXTURES)
if collection_exists FRONTEND\FRONTB.LZC TPKBlocks DEFAULT
	do
		update_collection FRONTEND\FRONTB.LZC TPKBlocks DEFAULT CollectionName FRONTENDTEXTURES
	else
end

//deletes the secondary logo
remove_texture FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES SECONDARY_LOGO_M5_E60

//deletes the <XNAME>.ini file in scripts\UnlimiterData\ folder of NFSU2
erase_file absolute scripts\UnlimiterData\BMWM5E60.ini