[VERSN2]

unlock_memory all

    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\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"
        {
// install Russian fonts
move_file override relative absolute textures\LANGUAGE\RUS\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\RUS"
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"
        }
    }
    end

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

bind_textures synchronize FRONTEND\FRONTB1.LZC TPKBlocks FRONTENDTEXTURES "textures\FRONTB1\FRONTENDTEXTURES"
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\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"

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

// unload files to save ram usage
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