[VERSN2]

unlock_memory all


    combobox "Vanilla Carbon 1.4" "Carbon Battle Royale 1.2.5" "Other global mods" "Choose which version of the game HDUI will installed on:"
    {
        "Vanilla Carbon 1.4"
        {

    combobox "English and others" "Russian" "Select your game's language:"
    {
        "English and others"
        {
// install English fonts
bind_textures synchronize GLOBAL\GLOBALA.BUN TPKBlocks GLOBALMESSAGETEXTURES "textures\LANGUAGE\COMMON"
//bind_textures synchronize GLOBAL\GLOBALA.BUN TPKBlocks GLOBALMESSAGETEXTURES "textures\LANGUAGE\ENG"
bind_textures synchronize TRACKS\L5RA\TRACKMAPS.BIN TPKBlocks TRACKMAPS "textures\L5RA\TRACKMAPS"
bind_textures synchronize TRACKS\L5RA\TRACKMAPS.BIN TPKBlocks TRACKMAPS "textures\L5RA\TRACKMAPS\ENG"
        }
        "Russian"
        {

	combobox "Обычный" "Тонкий" "Жирный" "Какой шрифт для текста вы предпочитаете?"

"Обычный"
move_file override relative absolute textures\LANGUAGE\RUS_COMMON\BUNS\FRONTB2.BUN FRONTEND\FRONTB2.BUN
move_file override relative absolute textures\LANGUAGE\RUS\BUNS\GLOBALA.BUN GLOBAL\GLOBALA.BUN
bind_textures synchronize GLOBAL\GLOBALA.BUN TPKBlocks GLOBALMESSAGETEXTURES "textures\LANGUAGE\COMMON"
//bind_textures synchronize GLOBAL\GLOBALA.BUN TPKBlocks GLOBALMESSAGETEXTURES "textures\LANGUAGE\RUS_COMMON"
bind_textures synchronize TRACKS\L5RA\TRACKMAPS.BIN TPKBlocks TRACKMAPS "textures\L5RA\TRACKMAPS"
bind_textures synchronize TRACKS\L5RA\TRACKMAPS.BIN TPKBlocks TRACKMAPS "textures\L5RA\TRACKMAPS\RUS"
import override GLOBAL\InGameB.LZC FNGroups fngs\RUS\HUD_SingleRace.fng
import override GLOBAL\GLOBALB.LZC FNGroups fngs\RUS\WorldMapMain.fng

"Тонкий"
move_file override relative absolute textures\LANGUAGE\RUS_COMMON\BUNS\FRONTB2.BUN FRONTEND\FRONTB2.BUN
move_file override relative absolute textures\LANGUAGE\RUS_OLD\BUNS\GLOBALA.BUN GLOBAL\GLOBALA.BUN
bind_textures synchronize GLOBAL\GLOBALA.BUN TPKBlocks GLOBALMESSAGETEXTURES "textures\LANGUAGE\RUS_OLD"
//bind_textures synchronize GLOBAL\GLOBALA.BUN TPKBlocks GLOBALMESSAGETEXTURES "textures\LANGUAGE\RUS_COMMON"
bind_textures synchronize TRACKS\L5RA\TRACKMAPS.BIN TPKBlocks TRACKMAPS "textures\L5RA\TRACKMAPS"
bind_textures synchronize TRACKS\L5RA\TRACKMAPS.BIN TPKBlocks TRACKMAPS "textures\L5RA\TRACKMAPS\RUS"
import override GLOBAL\InGameB.LZC FNGroups fngs\RUS\HUD_SingleRace.fng
import override GLOBAL\GLOBALB.LZC FNGroups fngs\RUS\WorldMapMain.fng

"Жирный"
move_file override relative absolute textures\LANGUAGE\RUS_COMMON\BUNS\FRONTB2.BUN FRONTEND\FRONTB2.BUN
move_file override relative absolute textures\LANGUAGE\RUS_BOLD\BUNS\GLOBALA.BUN GLOBAL\GLOBALA.BUN
bind_textures synchronize GLOBAL\GLOBALA.BUN TPKBlocks GLOBALMESSAGETEXTURES "textures\LANGUAGE\RUS_BOLD"
//bind_textures synchronize GLOBAL\GLOBALA.BUN TPKBlocks GLOBALMESSAGETEXTURES "textures\LANGUAGE\RUS_COMMON"
bind_textures synchronize TRACKS\L5RA\TRACKMAPS.BIN TPKBlocks TRACKMAPS "textures\L5RA\TRACKMAPS"
bind_textures synchronize TRACKS\L5RA\TRACKMAPS.BIN TPKBlocks TRACKMAPS "textures\L5RA\TRACKMAPS\RUS_BOLD"
import override GLOBAL\InGameB.LZC FNGroups fngs\RUS\HUD_SingleRace.fng
import override GLOBAL\GLOBALB.LZC FNGroups fngs\RUS\WorldMapMain.fng

end

	combobox "Без субтитров" "С субтитрами" "Нужно обновить русификацию. Как предпочитаете играть?"

"Без субтитров"
move_file override relative absolute textures\LANGUAGE\RUS_COMMON\NOSUBS\Russian_Frontend.bin LANGUAGES\Russian_Frontend.bin
move_file override relative absolute textures\LANGUAGE\RUS_COMMON\NOSUBS\Russian_Global.bin LANGUAGES\Russian_Global.bin
move_file override relative absolute textures\LANGUAGE\RUS_COMMON\NOSUBS\Russian_InGame.bin LANGUAGES\Russian_InGame.bin


move_file override relative absolute textures\LANGUAGE\RUS_COMMON\SUBS\Russian_Frontend.bin LANGUAGES\Russian_Frontend.bin
move_file override relative absolute textures\LANGUAGE\RUS_COMMON\SUBS\Russian_Global.bin LANGUAGES\Russian_Global.bin
move_file override relative absolute textures\LANGUAGE\RUS_COMMON\SUBS\Russian_InGame.bin LANGUAGES\Russian_InGame.bin

"С субтитрами"

end

        }
    }
    end

import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeMainMenu.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\MC_List.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeMainMenu_Sub.fng
import override GLOBAL\GLOBALB.LZC FNGroups fngs\FeOptionsScreen.fng
import override GLOBAL\GLOBALB.LZC FNGroups fngs\Options_PC_Controller.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FEJukebox.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeRaceStatistics.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeStatisticsStatsListing.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeRewardCard.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeCustomizeMain.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeCrewLogo.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FePerformanceSlider.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeCustomizeParts.fng
import override GLOBAL\InGameB.LZC FNGroups fngs\FePauseMain.fng
import override GLOBAL\InGameB.LZC FNGroups fngs\FePauseOptionsMain.fng
import override GLOBAL\InGameB.LZC FNGroups fngs\FePostRaceResults.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FECustomizeAutozone.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeAutosculptWheel.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeAutosculptFrontBumper.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeAutosculptRearBumper.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeAutosculptSkirt.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeAutosculptHood.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeAutosculptSpoiler.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeAutosculptRoof.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeAutosculptExhaust.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeAutosculptTop.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeCrewLogoColourChooser.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeCustomizeVisuals.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeColourChooser.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeLayerManagement.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeVinylTransform.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeVisualWindowTint.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeVisualRideHeight.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeQuickRaceOptions.fng
import override GLOBAL\InGameB.LZC FNGroups fngs\FePostStages.fng
import override GLOBAL\InGameB.LZC FNGroups fngs\FePostPursuitRewards.fng
import override GLOBAL\InGameB.LZC FNGroups fngs\FeSaveGhostDialog.fng
import override GLOBAL\InGameB.LZC FNGroups fngs\Fe_WorldMap_Acquisitions.fng
import override GLOBAL\InGameB.LZC FNGroups fngs\Fe_WorldMap_DefenceRace.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeBonusCards.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeBusted.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeCarSelect.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeCarClassSelect.fng

bind_textures synchronize GLOBAL\DYNTEX.BIN TPKBlocks DYNAMICTEXTURES "textures\DYNTEX\DYNAMICTEXTURES"
replace_texture GLOBAL\DYNTEX.BIN TPKBlocks DYNAMICTEXTURES 0xC1FA9C2E "textures\DYNTEX\DYNAMICTEXTURES\XENON_WS_SPLASH_SCREEN.dds"
bind_textures synchronize GLOBAL\DYNTEX.BIN TPKBlocks DYNAMICTEXTURES "textures\DYNTEX\DYNAMICTEXTURES_AFTERMARKET"

combobox "Carbon" "Most Wanted" "Choose BMW M3 GTR logo style"
	    {
        "Carbon"
        {
bind_textures synchronize FRONTEND\FRONTB1.LZC TPKBlocks FRONTENDTEXTURES "textures\FRONTB1\FRONTENDTEXTURES"
bind_textures synchronize FRONTEND\FRONTB1.LZC TPKBlocks FRONTENDTEXTURES "textures\FRONTB1\FRONTENDTEXTURES\CARBONBMW"
replace_texture FRONTEND\FRONTB1.LZC TPKBlocks FRONTENDTEXTURES 0xD4675434 "textures\FRONTB1\FRONTENDTEXTURES\CARSELECT_MANUFACTURER_SHELBY_VINT.dds"
        }
        "Most Wanted"
        {
bind_textures synchronize FRONTEND\FRONTB1.LZC TPKBlocks FRONTENDTEXTURES "textures\FRONTB1\FRONTENDTEXTURES"
bind_textures synchronize FRONTEND\FRONTB1.LZC TPKBlocks FRONTENDTEXTURES "textures\FRONTB1\FRONTENDTEXTURES\MWBMW"
replace_texture FRONTEND\FRONTB1.LZC TPKBlocks FRONTENDTEXTURES 0xD4675434 "textures\FRONTB1\FRONTENDTEXTURES\CARSELECT_MANUFACTURER_SHELBY_VINT.dds"
        }
    }
    end

bind_textures synchronize GLOBAL\GLOBALA.BUN TPKBlocks GLOBALMESSAGETEXTURES "textures\GLOBALA\GLOBALMESSAGETEXTURES"

bind_textures synchronize GLOBAL\GLOBALB.LZC TPKBlocks GLOBALTEXTURES "textures\GLOBALB\GLOBALTEXTURES"
bind_textures synchronize GLOBAL\GLOBALB.LZC TPKBlocks GLOBALTEXTURESPC "textures\GLOBALB\GLOBALTEXTURESPC"
bind_textures synchronize GLOBAL\GLOBALB.LZC TPKBlocks EMITTER_SYSTEM_TEXTURE_PAGE "textures\GLOBALB\EMITTER_SYSTEM_TEXTURE_PAGE"

bind_textures synchronize GLOBAL\INGAMEA.BUN TPKBlocks INGAMETEXTURES "textures\INGAMEA\INGAMETEXTURES"
bind_textures synchronize GLOBAL\INGAMEA.BUN TPKBlocks INGAMETEXTURESPC "textures\INGAMEA\INGAMETEXTURESPC"
bind_textures synchronize GLOBAL\INGAMEA.BUN TPKBlocks HUDTEXTURESGLOBAL "textures\INGAMEA\HUDTEXTURESGLOBAL"

bind_textures synchronize TRACKS\L5RA\MINI_MAP_CASINOTOWN_LOCKED.BIN TPKBlocks MINI_MAP_CASINOTOWN_LOCKED "textures\L5RA\MINI_MAP_CASINOTOWN_LOCKED"
bind_textures synchronize TRACKS\L5RA\MINI_MAP_CASINOTOWN_UNLOCKED.BIN TPKBlocks MINI_MAP_CASINOTOWN_UNLOCKED "textures\L5RA\MINI_MAP_CASINOTOWN_UNLOCKED"

replace_texture GLOBAL\WMDYNTEX.BIN TPKBlocks WORLDMAPDYNAMICTEXTURES 0x3C4A32A7 "textures\WMDYNTEX\WORLDMAPDYNAMICTEXTURES\WM_CREW_LOGO_TFK.dds"
replace_texture GLOBAL\WMDYNTEX.BIN TPKBlocks WORLDMAPDYNAMICTEXTURES 0x67CF5ACC "textures\WMDYNTEX\WORLDMAPDYNAMICTEXTURES\WM_CREW_LOGO_ROTOR4.dds"
replace_texture GLOBAL\WMDYNTEX.BIN TPKBlocks WORLDMAPDYNAMICTEXTURES 0x6D45AB77 "textures\WMDYNTEX\WORLDMAPDYNAMICTEXTURES\WM_CREW_LOGO_STACKED_DECK.dds"
replace_texture GLOBAL\WMDYNTEX.BIN TPKBlocks WORLDMAPDYNAMICTEXTURES 0x9FFFC8F0 "textures\WMDYNTEX\WORLDMAPDYNAMICTEXTURES\WM_CREW_LOGO_BUSHIDO.dds"
replace_texture GLOBAL\WMDYNTEX.BIN TPKBlocks WORLDMAPDYNAMICTEXTURES 0xA2A46542 "textures\WMDYNTEX\WORLDMAPDYNAMICTEXTURES\WM_CREW_LOGO_SCORPIONS.dds"
replace_texture GLOBAL\WMDYNTEX.BIN TPKBlocks WORLDMAPDYNAMICTEXTURES 0xA99699B3 "textures\WMDYNTEX\WORLDMAPDYNAMICTEXTURES\WM_CREW_LOGO_INFERNO.dds"
replace_texture GLOBAL\WMDYNTEX.BIN TPKBlocks WORLDMAPDYNAMICTEXTURES 0xAE17AFD9 "textures\WMDYNTEX\WORLDMAPDYNAMICTEXTURES\WM_CREW_LOGO_COLIBRIS.dds"
replace_texture GLOBAL\WMDYNTEX.BIN TPKBlocks WORLDMAPDYNAMICTEXTURES 0xC3964BB5 "textures\WMDYNTEX\WORLDMAPDYNAMICTEXTURES\WM_CREW_LOGO_21ST_CENTURY.dds"
replace_texture GLOBAL\WMDYNTEX.BIN TPKBlocks WORLDMAPDYNAMICTEXTURES 0xC5DE7881 "textures\WMDYNTEX\WORLDMAPDYNAMICTEXTURES\WM_CREW_LOGO_FORTUNA.dds"
replace_texture GLOBAL\WMDYNTEX.BIN TPKBlocks WORLDMAPDYNAMICTEXTURES 0xDB1DB365 "textures\WMDYNTEX\WORLDMAPDYNAMICTEXTURES\WM_CREW_LOGO_BLACK_HEARTS.dds"
replace_texture GLOBAL\WMDYNTEX.BIN TPKBlocks WORLDMAPDYNAMICTEXTURES 0x727816F6 "textures\WMDYNTEX\WORLDMAPDYNAMICTEXTURES\REGION_HIGHLIGHT_CASINO.dds"
replace_texture GLOBAL\WMDYNTEX.BIN TPKBlocks WORLDMAPDYNAMICTEXTURES 0x78C09865 "textures\WMDYNTEX\WORLDMAPDYNAMICTEXTURES\REGION_HIGHLIGHT_EXOTIC.dds"
replace_texture GLOBAL\WMDYNTEX.BIN TPKBlocks WORLDMAPDYNAMICTEXTURES 0x8B357D82 "textures\WMDYNTEX\WORLDMAPDYNAMICTEXTURES\REGION_HIGHLIGHT_MUSCLE.dds"
replace_texture GLOBAL\WMDYNTEX.BIN TPKBlocks WORLDMAPDYNAMICTEXTURES 0xD62AE027 "textures\WMDYNTEX\WORLDMAPDYNAMICTEXTURES\REGION_HIGHLIGHT_TUNER.dds"
replace_texture GLOBAL\WMDYNTEX.BIN TPKBlocks WORLDMAPDYNAMICTEXTURES 0x26207F72 "textures\WMDYNTEX\WORLDMAPDYNAMICTEXTURES\WM_CREW_LOGO_21ST_CENTURY.dds"
replace_texture GLOBAL\WMDYNTEX.BIN TPKBlocks WORLDMAPDYNAMICTEXTURES 0x15BE728D "textures\WMDYNTEX\WORLDMAPDYNAMICTEXTURES\WM_CREW_LOGO_BUSHIDO.dds"
replace_texture GLOBAL\WMDYNTEX.BIN TPKBlocks WORLDMAPDYNAMICTEXTURES 0xCFCFDF34 "textures\WMDYNTEX\WORLDMAPDYNAMICTEXTURES\WM_CREW_LOGO_STACKED_DECK.dds"
replace_texture GLOBAL\WMDYNTEX.BIN TPKBlocks WORLDMAPDYNAMICTEXTURES 0x548295C4 "textures\WMDYNTEX\WORLDMAPDYNAMICTEXTURES\WM_CREW_LOGO_TFK.dds"

// Original author of this part of script: BadassBaboon
// Taken (and edited) from Remastered UI: https://nfsmods.xyz/mod/1095
checkbox "Install HD Barriers"
enabled
unpack_stream TRACKS\L5RA.BUN TRACKS\STREAML5RA.BUN TRACKS\_TEMP350
new negate TRACKS\_TEMP350\Y0\DATA.BIN
new negate TRACKS\_TEMP350\A12\DATA.BIN
new negate TRACKS\_TEMP350\E52\DATA.BIN
new negate TRACKS\_TEMP350\F49\DATA.BIN
replace_texture TRACKS\_TEMP350\Y0\DATA.BIN TPKBlocks TPK1 0xABEEC0C9 "textures\STREAML5RA\SFX_TRACKBARRIERNEONARROW_01_D.dds"
replace_texture TRACKS\_TEMP350\Y0\DATA.BIN TPKBlocks TPK6 0x55F0FE03 "textures\STREAML5RA\SFX_TRACKBARRIERNEONARROW_SOLID_01_D.dds"
replace_texture TRACKS\_TEMP350\A12\DATA.BIN TPKBlocks TEMPTEXTURES 0x57FC91B7 "textures\STREAML5RA\SFX_TRACKBARRIERLOCK_01_D.dds"
replace_texture TRACKS\_TEMP350\A12\DATA.BIN TPKBlocks TEMPTEXTURES 0xAF0EA290 "textures\STREAML5RA\SFX_TRACKBARRIERNEONLOCKED_0.dds"
replace_texture TRACKS\_TEMP350\E52\DATA.BIN TPKBlocks TPK1 0x57FC91B7 "textures\STREAML5RA\SFX_TRACKBARRIERLOCK_01_D.dds"
replace_texture TRACKS\_TEMP350\E52\DATA.BIN TPKBlocks TPK1 0xAF0EA290 "textures\STREAML5RA\SFX_TRACKBARRIERNEONLOCKED_0.dds"
replace_texture TRACKS\_TEMP350\F49\DATA.BIN TPKBlocks TPK1 0x57FC91B7 "textures\STREAML5RA\SFX_TRACKBARRIERLOCK_01_D.dds"
replace_texture TRACKS\_TEMP350\F49\DATA.BIN TPKBlocks TPK1 0xAF0EA290 "textures\STREAML5RA\SFX_TRACKBARRIERNEONLOCKED_0.dds"
update_texture TRACKS\_TEMP350\Y0\DATA.BIN TPKBlocks TPK1 0xABEEC0C9 ScrollTimestep -1024
update_texture TRACKS\_TEMP350\Y0\DATA.BIN TPKBlocks TPK1 0xABEEC0C9 ScrollSpeedT 1024

delete TRACKS\_TEMP350\Y0\DATA.BIN
delete TRACKS\_TEMP350\A12\DATA.BIN
delete TRACKS\_TEMP350\E52\DATA.BIN
delete TRACKS\_TEMP350\F49\DATA.BIN

pack_stream TRACKS\L5RA.BUN TRACKS\STREAML5RA.BUN TRACKS\_TEMP350
erase_folder absolute TRACKS\_TEMP350
disabled
end

// End of the script by BadassBaboon
// Taken (and edited) from Remastered UI: https://nfsmods.xyz/mod/1095

        }
		"Carbon Battle Royale 1.2.5"
        {
    combobox "English and others" "Russian (Madevi)" "Select your game's language:"
    {
        "English and others"
        {
// install English fonts
bind_textures synchronize GLOBAL\GLOBALA.BUN TPKBlocks GLOBALMESSAGETEXTURES "textures\LANGUAGE\COMMON"
//bind_textures synchronize GLOBAL\GLOBALA.BUN TPKBlocks GLOBALMESSAGETEXTURES "textures\LANGUAGE\ENG"
bind_textures synchronize TRACKS\L5RA\TRACKMAPS.BIN TPKBlocks TRACKMAPS "textures\L5RA\TRACKMAPS"
bind_textures synchronize TRACKS\L5RA\TRACKMAPS.BIN TPKBlocks TRACKMAPS "textures\L5RA\TRACKMAPS\CBR"
        }
        "Russian (Madevi)"
        {
move_file override relative absolute textures\LANGUAGE\RUS_CBR\Russian_Frontend.bin LANGUAGES\Russian_Frontend.bin
move_file override relative absolute textures\LANGUAGE\RUS_CBR\Russian_Global.bin LANGUAGES\Russian_Global.bin
move_file override relative absolute textures\LANGUAGE\RUS_CBR\Russian_InGame.bin LANGUAGES\Russian_InGame.bin        

	combobox "Обычный" "Тонкий" "Жирный" "Какой шрифт для текста вы предпочитаете?"

"Обычный"
move_file override relative absolute textures\LANGUAGE\RUS_COMMON\BUNS\FRONTB2.BUN FRONTEND\FRONTB2.BUN
move_file override relative absolute textures\LANGUAGE\RUS\BUNS\GLOBALA.BUN GLOBAL\GLOBALA.BUN
bind_textures synchronize GLOBAL\GLOBALA.BUN TPKBlocks GLOBALMESSAGETEXTURES "textures\LANGUAGE\COMMON"
//bind_textures synchronize GLOBAL\GLOBALA.BUN TPKBlocks GLOBALMESSAGETEXTURES "textures\LANGUAGE\RUS_CBR"
//bind_textures synchronize GLOBAL\GLOBALA.BUN TPKBlocks GLOBALMESSAGETEXTURES "textures\LANGUAGE\RUS_COMMON"
bind_textures synchronize TRACKS\L5RA\TRACKMAPS.BIN TPKBlocks TRACKMAPS "textures\L5RA\TRACKMAPS"
bind_textures synchronize TRACKS\L5RA\TRACKMAPS.BIN TPKBlocks TRACKMAPS "textures\L5RA\TRACKMAPS\ENG"
bind_textures synchronize TRACKS\L5RA\TRACKMAPS.BIN TPKBlocks TRACKMAPS "textures\L5RA\TRACKMAPS\CBR"

"Тонкий"
move_file override relative absolute textures\LANGUAGE\RUS_COMMON\BUNS\FRONTB2.BUN FRONTEND\FRONTB2.BUN
move_file override relative absolute textures\LANGUAGE\RUS_OLD\BUNS\GLOBALA.BUN GLOBAL\GLOBALA.BUN
bind_textures synchronize GLOBAL\GLOBALA.BUN TPKBlocks GLOBALMESSAGETEXTURES "textures\LANGUAGE\COMMON"
bind_textures synchronize GLOBAL\GLOBALA.BUN TPKBlocks GLOBALMESSAGETEXTURES "textures\LANGUAGE\RUS_OLD"
//bind_textures synchronize GLOBAL\GLOBALA.BUN TPKBlocks GLOBALMESSAGETEXTURES "textures\LANGUAGE\RUS_COMMON"
bind_textures synchronize TRACKS\L5RA\TRACKMAPS.BIN TPKBlocks TRACKMAPS "textures\L5RA\TRACKMAPS"
bind_textures synchronize TRACKS\L5RA\TRACKMAPS.BIN TPKBlocks TRACKMAPS "textures\L5RA\TRACKMAPS\ENG"
bind_textures synchronize TRACKS\L5RA\TRACKMAPS.BIN TPKBlocks TRACKMAPS "textures\L5RA\TRACKMAPS\CBR"

"Жирный"
move_file override relative absolute textures\LANGUAGE\RUS_COMMON\BUNS\FRONTB2.BUN FRONTEND\FRONTB2.BUN
move_file override relative absolute textures\LANGUAGE\RUS_BOLD\BUNS\GLOBALA.BUN GLOBAL\GLOBALA.BUN
bind_textures synchronize GLOBAL\GLOBALA.BUN TPKBlocks GLOBALMESSAGETEXTURES "textures\LANGUAGE\COMMON"
bind_textures synchronize GLOBAL\GLOBALA.BUN TPKBlocks GLOBALMESSAGETEXTURES "textures\LANGUAGE\RUS_BOLD"
//bind_textures synchronize GLOBAL\GLOBALA.BUN TPKBlocks GLOBALMESSAGETEXTURES "textures\LANGUAGE\RUS_COMMON"
bind_textures synchronize TRACKS\L5RA\TRACKMAPS.BIN TPKBlocks TRACKMAPS "textures\L5RA\TRACKMAPS"
bind_textures synchronize TRACKS\L5RA\TRACKMAPS.BIN TPKBlocks TRACKMAPS "textures\L5RA\TRACKMAPS\ENG"
bind_textures synchronize TRACKS\L5RA\TRACKMAPS.BIN TPKBlocks TRACKMAPS "textures\L5RA\TRACKMAPS\CBR"

end

        }
    }
    end

import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeMainMenu.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\MC_List.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeMainMenu_Sub.fng
import override GLOBAL\GLOBALB.LZC FNGroups fngs\FeOptionsScreen.fng
import override GLOBAL\GLOBALB.LZC FNGroups fngs\Options_PC_Controller.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FEJukebox.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeRaceStatistics.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeStatisticsStatsListing.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeRewardCard.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeCustomizeMain.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeCrewLogo.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FePerformanceSlider.fng
import override GLOBAL\InGameB.LZC FNGroups fngs\FePauseMain.fng
import override GLOBAL\InGameB.LZC FNGroups fngs\FePauseOptionsMain.fng
import override GLOBAL\InGameB.LZC FNGroups fngs\FePostRaceResults.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FECustomizeAutozone.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeAutosculptWheel.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeAutosculptFrontBumper.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeAutosculptRearBumper.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeAutosculptSkirt.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeAutosculptHood.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeAutosculptSpoiler.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeAutosculptRoof.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeAutosculptExhaust.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeAutosculptTop.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeCrewLogoColourChooser.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeCustomizeVisuals.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeColourChooser.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeLayerManagement.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeVinylTransform.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeVisualWindowTint.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeVisualRideHeight.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeQuickRaceOptions.fng
import override GLOBAL\InGameB.LZC FNGroups fngs\FePostStages.fng
import override GLOBAL\InGameB.LZC FNGroups fngs\FePostPursuitRewards.fng
import override GLOBAL\InGameB.LZC FNGroups fngs\FeSaveGhostDialog.fng
import override GLOBAL\InGameB.LZC FNGroups fngs\Fe_WorldMap_Acquisitions.fng
import override GLOBAL\InGameB.LZC FNGroups fngs\Fe_WorldMap_DefenceRace.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeBonusCards.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeBusted.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeCarSelect.fng
import override FRONTEND\FRONTB2.BUN FNGroups fngs\FeCarClassSelect.fng
		
bind_textures synchronize GLOBAL\GLOBALA.BUN TPKBlocks GLOBALMESSAGETEXTURES "textures\GLOBALA\GLOBALMESSAGETEXTURES"

bind_textures synchronize GLOBAL\DYNTEX.BIN TPKBlocks DYNAMICTEXTURES "textures\DYNTEX\DYNAMICTEXTURES_CBR"
bind_textures synchronize GLOBAL\DYNTEX.BIN TPKBlocks DYNAMICTEXTURES "textures\DYNTEX\DYNAMICTEXTURES_AFTERMARKET"

bind_textures synchronize FRONTEND\FRONTB1.LZC TPKBlocks FRONTENDTEXTURES "textures\FRONTB1\FRONTENDTEXTURES"
bind_textures synchronize FRONTEND\FRONTB1.LZC TPKBlocks FRONTENDTEXTURES "textures\FRONTB1\FRONTENDTEXTURES\CBR"
replace_texture FRONTEND\FRONTB1.LZC TPKBlocks FRONTENDTEXTURES 0xD4675434 "textures\FRONTB1\FRONTENDTEXTURES\CARSELECT_MANUFACTURER_SHELBY_VINT.dds"

bind_textures synchronize GLOBAL\GLOBALB.LZC TPKBlocks GLOBALTEXTURES "textures\GLOBALB\GLOBALTEXTURES"
bind_textures synchronize GLOBAL\GLOBALB.LZC TPKBlocks GLOBALTEXTURES "textures\GLOBALB\GLOBALTEXTURES\CBR"
bind_textures synchronize GLOBAL\GLOBALB.LZC TPKBlocks GLOBALTEXTURESPC "textures\GLOBALB\GLOBALTEXTURESPC"
bind_textures synchronize GLOBAL\GLOBALB.LZC TPKBlocks EMITTER_SYSTEM_TEXTURE_PAGE "textures\GLOBALB\EMITTER_SYSTEM_TEXTURE_PAGE"

combobox "Red" "Blue" "What kind of player's camo did you choose when installing CBR?"

"Red"
replace_texture GLOBAL\GLOBALB.LZC TPKBlocks GLOBALTEXTURES 0x4A651A60 "textures\GLOBALB\GLOBALTEXTURES\CBR\CAMO_TYPE_14.dds"

"Blue"
replace_texture GLOBAL\GLOBALB.LZC TPKBlocks GLOBALTEXTURES 0x4A651A60 "textures\GLOBALB\GLOBALTEXTURES\CAMO_TYPE_01.dds"

end

bind_textures synchronize GLOBAL\INGAMEA.BUN TPKBlocks INGAMETEXTURES "textures\INGAMEA\INGAMETEXTURES"
bind_textures synchronize GLOBAL\INGAMEA.BUN TPKBlocks INGAMETEXTURESPC "textures\INGAMEA\INGAMETEXTURESPC"
bind_textures synchronize GLOBAL\INGAMEA.BUN TPKBlocks HUDTEXTURESGLOBAL "textures\INGAMEA\HUDTEXTURESGLOBAL"

bind_textures synchronize TRACKS\L5RA\MINI_MAP_CASINOTOWN_LOCKED.BIN TPKBlocks MINI_MAP_CASINOTOWN_LOCKED "textures\L5RA\MINI_MAP_CASINOTOWN_LOCKED"
bind_textures synchronize TRACKS\L5RA\MINI_MAP_CASINOTOWN_UNLOCKED.BIN TPKBlocks MINI_MAP_CASINOTOWN_UNLOCKED "textures\L5RA\MINI_MAP_CASINOTOWN_UNLOCKED"

replace_texture GLOBAL\WMDYNTEX.BIN TPKBlocks WORLDMAPDYNAMICTEXTURES 0x3C4A32A7 "textures\WMDYNTEX\WORLDMAPDYNAMICTEXTURES\WM_CREW_LOGO_TFK.dds"
replace_texture GLOBAL\WMDYNTEX.BIN TPKBlocks WORLDMAPDYNAMICTEXTURES 0x67CF5ACC "textures\WMDYNTEX\WORLDMAPDYNAMICTEXTURES\WM_CREW_LOGO_ROTOR4.dds"
replace_texture GLOBAL\WMDYNTEX.BIN TPKBlocks WORLDMAPDYNAMICTEXTURES 0x6D45AB77 "textures\WMDYNTEX\WORLDMAPDYNAMICTEXTURES\WM_CREW_LOGO_STACKED_DECK.dds"
replace_texture GLOBAL\WMDYNTEX.BIN TPKBlocks WORLDMAPDYNAMICTEXTURES 0x9FFFC8F0 "textures\WMDYNTEX\WORLDMAPDYNAMICTEXTURES\WM_CREW_LOGO_BUSHIDO.dds"
replace_texture GLOBAL\WMDYNTEX.BIN TPKBlocks WORLDMAPDYNAMICTEXTURES 0xA2A46542 "textures\WMDYNTEX\WORLDMAPDYNAMICTEXTURES\WM_CREW_LOGO_SCORPIONS.dds"
replace_texture GLOBAL\WMDYNTEX.BIN TPKBlocks WORLDMAPDYNAMICTEXTURES 0xA99699B3 "textures\WMDYNTEX\WORLDMAPDYNAMICTEXTURES\WM_CREW_LOGO_INFERNO.dds"
replace_texture GLOBAL\WMDYNTEX.BIN TPKBlocks WORLDMAPDYNAMICTEXTURES 0xAE17AFD9 "textures\WMDYNTEX\WORLDMAPDYNAMICTEXTURES\WM_CREW_LOGO_COLIBRIS.dds"
replace_texture GLOBAL\WMDYNTEX.BIN TPKBlocks WORLDMAPDYNAMICTEXTURES 0xC3964BB5 "textures\WMDYNTEX\WORLDMAPDYNAMICTEXTURES\WM_CREW_LOGO_21ST_CENTURY.dds"
replace_texture GLOBAL\WMDYNTEX.BIN TPKBlocks WORLDMAPDYNAMICTEXTURES 0xC5DE7881 "textures\WMDYNTEX\WORLDMAPDYNAMICTEXTURES\WM_CREW_LOGO_FORTUNA.dds"
replace_texture GLOBAL\WMDYNTEX.BIN TPKBlocks WORLDMAPDYNAMICTEXTURES 0xDB1DB365 "textures\WMDYNTEX\WORLDMAPDYNAMICTEXTURES\WM_CREW_LOGO_BLACK_HEARTS.dds"
replace_texture GLOBAL\WMDYNTEX.BIN TPKBlocks WORLDMAPDYNAMICTEXTURES 0x727816F6 "textures\WMDYNTEX\WORLDMAPDYNAMICTEXTURES\REGION_HIGHLIGHT_CASINO.dds"
replace_texture GLOBAL\WMDYNTEX.BIN TPKBlocks WORLDMAPDYNAMICTEXTURES 0x78C09865 "textures\WMDYNTEX\WORLDMAPDYNAMICTEXTURES\REGION_HIGHLIGHT_EXOTIC.dds"
replace_texture GLOBAL\WMDYNTEX.BIN TPKBlocks WORLDMAPDYNAMICTEXTURES 0x8B357D82 "textures\WMDYNTEX\WORLDMAPDYNAMICTEXTURES\REGION_HIGHLIGHT_MUSCLE.dds"
replace_texture GLOBAL\WMDYNTEX.BIN TPKBlocks WORLDMAPDYNAMICTEXTURES 0xD62AE027 "textures\WMDYNTEX\WORLDMAPDYNAMICTEXTURES\REGION_HIGHLIGHT_TUNER.dds"
replace_texture GLOBAL\WMDYNTEX.BIN TPKBlocks WORLDMAPDYNAMICTEXTURES 0x26207F72 "textures\WMDYNTEX\WORLDMAPDYNAMICTEXTURES\WM_CREW_LOGO_21ST_CENTURY.dds"
replace_texture GLOBAL\WMDYNTEX.BIN TPKBlocks WORLDMAPDYNAMICTEXTURES 0x15BE728D "textures\WMDYNTEX\WORLDMAPDYNAMICTEXTURES\WM_CREW_LOGO_BUSHIDO.dds"
replace_texture GLOBAL\WMDYNTEX.BIN TPKBlocks WORLDMAPDYNAMICTEXTURES 0xCFCFDF34 "textures\WMDYNTEX\WORLDMAPDYNAMICTEXTURES\WM_CREW_LOGO_STACKED_DECK.dds"
replace_texture GLOBAL\WMDYNTEX.BIN TPKBlocks WORLDMAPDYNAMICTEXTURES 0x548295C4 "textures\WMDYNTEX\WORLDMAPDYNAMICTEXTURES\WM_CREW_LOGO_TFK.dds"
bind_textures override GLOBAL\WMDYNTEX.BIN TPKBlocks WORLDMAPDYNAMICTEXTURES "textures\WMDYNTEX\WORLDMAPDYNAMICTEXTURES\CBR"
        }
		"Other global mods"
        {
bind_textures synchronize GLOBAL\GLOBALA.BUN TPKBlocks GLOBALMESSAGETEXTURES "textures\LANGUAGE\COMMON"
//bind_textures synchronize GLOBAL\GLOBALA.BUN TPKBlocks GLOBALMESSAGETEXTURES "textures\LANGUAGE\ENG"
bind_textures synchronize TRACKS\L5RA\TRACKMAPS.BIN TPKBlocks TRACKMAPS "textures\L5RA\TRACKMAPS\ENG"

bind_textures synchronize GLOBAL\DYNTEX.BIN TPKBlocks DYNAMICTEXTURES "textures\DYNTEX\DYNAMICTEXTURES_AFTERMARKET"

bind_textures synchronize FRONTEND\FRONTB1.LZC TPKBlocks FRONTENDTEXTURES "textures\FRONTB1\FRONTENDTEXTURES"
bind_textures synchronize FRONTEND\FRONTB1.LZC TPKBlocks FRONTENDTEXTURES "textures\FRONTB1\FRONTENDTEXTURES\MWBMW"
replace_texture FRONTEND\FRONTB1.LZC TPKBlocks FRONTENDTEXTURES 0xD4675434 "textures\FRONTB1\FRONTENDTEXTURES\CARSELECT_MANUFACTURER_SHELBY_VINT.dds"

bind_textures synchronize GLOBAL\GLOBALA.BUN TPKBlocks GLOBALMESSAGETEXTURES "textures\GLOBALA\GLOBALMESSAGETEXTURES"

bind_textures synchronize GLOBAL\GLOBALB.LZC TPKBlocks GLOBALTEXTURES "textures\GLOBALB\GLOBALTEXTURES"
bind_textures synchronize GLOBAL\GLOBALB.LZC TPKBlocks GLOBALTEXTURESPC "textures\GLOBALB\GLOBALTEXTURESPC"

bind_textures synchronize GLOBAL\INGAMEA.BUN TPKBlocks INGAMETEXTURES "textures\INGAMEA\INGAMETEXTURES"
bind_textures synchronize GLOBAL\INGAMEA.BUN TPKBlocks INGAMETEXTURESPC "textures\INGAMEA\INGAMETEXTURESPC"
bind_textures synchronize GLOBAL\INGAMEA.BUN TPKBlocks HUDTEXTURESGLOBAL "textures\INGAMEA\HUDTEXTURESGLOBAL"

replace_texture GLOBAL\WMDYNTEX.BIN TPKBlocks WORLDMAPDYNAMICTEXTURES 0x3C4A32A7 "textures\WMDYNTEX\WORLDMAPDYNAMICTEXTURES\WM_CREW_LOGO_TFK.dds"
replace_texture GLOBAL\WMDYNTEX.BIN TPKBlocks WORLDMAPDYNAMICTEXTURES 0x67CF5ACC "textures\WMDYNTEX\WORLDMAPDYNAMICTEXTURES\WM_CREW_LOGO_ROTOR4.dds"
replace_texture GLOBAL\WMDYNTEX.BIN TPKBlocks WORLDMAPDYNAMICTEXTURES 0x6D45AB77 "textures\WMDYNTEX\WORLDMAPDYNAMICTEXTURES\WM_CREW_LOGO_STACKED_DECK.dds"
replace_texture GLOBAL\WMDYNTEX.BIN TPKBlocks WORLDMAPDYNAMICTEXTURES 0x9FFFC8F0 "textures\WMDYNTEX\WORLDMAPDYNAMICTEXTURES\WM_CREW_LOGO_BUSHIDO.dds"
replace_texture GLOBAL\WMDYNTEX.BIN TPKBlocks WORLDMAPDYNAMICTEXTURES 0xA2A46542 "textures\WMDYNTEX\WORLDMAPDYNAMICTEXTURES\WM_CREW_LOGO_SCORPIONS.dds"
replace_texture GLOBAL\WMDYNTEX.BIN TPKBlocks WORLDMAPDYNAMICTEXTURES 0xA99699B3 "textures\WMDYNTEX\WORLDMAPDYNAMICTEXTURES\WM_CREW_LOGO_INFERNO.dds"
replace_texture GLOBAL\WMDYNTEX.BIN TPKBlocks WORLDMAPDYNAMICTEXTURES 0xAE17AFD9 "textures\WMDYNTEX\WORLDMAPDYNAMICTEXTURES\WM_CREW_LOGO_COLIBRIS.dds"
replace_texture GLOBAL\WMDYNTEX.BIN TPKBlocks WORLDMAPDYNAMICTEXTURES 0xC3964BB5 "textures\WMDYNTEX\WORLDMAPDYNAMICTEXTURES\WM_CREW_LOGO_21ST_CENTURY.dds"
replace_texture GLOBAL\WMDYNTEX.BIN TPKBlocks WORLDMAPDYNAMICTEXTURES 0xC5DE7881 "textures\WMDYNTEX\WORLDMAPDYNAMICTEXTURES\WM_CREW_LOGO_FORTUNA.dds"
replace_texture GLOBAL\WMDYNTEX.BIN TPKBlocks WORLDMAPDYNAMICTEXTURES 0xDB1DB365 "textures\WMDYNTEX\WORLDMAPDYNAMICTEXTURES\WM_CREW_LOGO_BLACK_HEARTS.dds"
replace_texture GLOBAL\WMDYNTEX.BIN TPKBlocks WORLDMAPDYNAMICTEXTURES 0x727816F6 "textures\WMDYNTEX\WORLDMAPDYNAMICTEXTURES\REGION_HIGHLIGHT_CASINO.dds"
replace_texture GLOBAL\WMDYNTEX.BIN TPKBlocks WORLDMAPDYNAMICTEXTURES 0x78C09865 "textures\WMDYNTEX\WORLDMAPDYNAMICTEXTURES\REGION_HIGHLIGHT_EXOTIC.dds"
replace_texture GLOBAL\WMDYNTEX.BIN TPKBlocks WORLDMAPDYNAMICTEXTURES 0x8B357D82 "textures\WMDYNTEX\WORLDMAPDYNAMICTEXTURES\REGION_HIGHLIGHT_MUSCLE.dds"
replace_texture GLOBAL\WMDYNTEX.BIN TPKBlocks WORLDMAPDYNAMICTEXTURES 0xD62AE027 "textures\WMDYNTEX\WORLDMAPDYNAMICTEXTURES\REGION_HIGHLIGHT_TUNER.dds"
replace_texture GLOBAL\WMDYNTEX.BIN TPKBlocks WORLDMAPDYNAMICTEXTURES 0x26207F72 "textures\WMDYNTEX\WORLDMAPDYNAMICTEXTURES\WM_CREW_LOGO_21ST_CENTURY.dds"
replace_texture GLOBAL\WMDYNTEX.BIN TPKBlocks WORLDMAPDYNAMICTEXTURES 0x15BE728D "textures\WMDYNTEX\WORLDMAPDYNAMICTEXTURES\WM_CREW_LOGO_BUSHIDO.dds"
replace_texture GLOBAL\WMDYNTEX.BIN TPKBlocks WORLDMAPDYNAMICTEXTURES 0xCFCFDF34 "textures\WMDYNTEX\WORLDMAPDYNAMICTEXTURES\WM_CREW_LOGO_STACKED_DECK.dds"
replace_texture GLOBAL\WMDYNTEX.BIN TPKBlocks WORLDMAPDYNAMICTEXTURES 0x548295C4 "textures\WMDYNTEX\WORLDMAPDYNAMICTEXTURES\WM_CREW_LOGO_TFK.dds"

        }
    }
    end		

move_file override relative absolute scripts\NFSCHDContentSupport.asi scripts\NFSCHDContentSupport.asi

delete GLOBAL\GLOBALA.BUN
delete GLOBAL\GLOBALB.LZC
delete GLOBAL\INGAMEA.BUN
delete GLOBAL\WMDYNTEX.BIN
delete FRONTEND\FRONTB1.LZC
delete TRACKS\L5RA\MINI_MAP_CASINOTOWN_LOCKED.BIN
delete TRACKS\L5RA\MINI_MAP_CASINOTOWN_UNLOCKED.BIN
delete TRACKS\L5RA\TRACKMAPS.BIN
delete FRONTEND\FRONTB2.BUN
delete GLOBAL\InGameB.lzc