[language_packs] english_us = English (US) english_uk = English (UK) english_au = English (AU)
:: Set language packs directory set LANGUAGES_DIR=%GAME_SETUP_DIR%languages
:: Process user selection for %%i in (%SELECTION%) do ( if %%i == 1 ( set "ENGLISH_US=1" copy /y "%BIN_DIR%\english-us.bin" "%GAME_SETUP_DIR%bin\" ) if %%i == 2 ( set "ENGLISH_UK=1" copy /y "%BIN_DIR%\english-uk.bin" "%GAME_SETUP_DIR%bin\" ) if %%i == 3 ( set "ENGLISH_AU=1" copy /y "%BIN_DIR%\english-au.bin" "%GAME_SETUP_DIR%bin\" ) ) setupfitgirlselectiveenglishbin new
:: Copy selected language packs to game directory if defined ENGLISH_US ( xcopy /y /s "%LANGUAGES_DIR%\English (US)\*.*" "%GAME_SETUP_DIR%" ) if defined ENGLISH_UK ( xcopy /y /s "%LANGUAGES_DIR%\English (UK)\*.*" "%GAME_SETUP_DIR%" ) if defined ENGLISH_AU ( xcopy /y /s "%LANGUAGES_DIR%\English (AU)\*.*" "%GAME_SETUP_DIR%" )
Here's an example of how you can set up a selective English bin for a SetupFitGirl repository: setupfitgirlselectiveenglishbin new
@echo off setlocal
A selective English bin is a feature that allows users to choose which English language assets to include in their game installation. This is particularly useful for games that offer multiple English language packs or voiceovers. setupfitgirlselectiveenglishbin new
set /p SELECTION=Enter selection (comma-separated):