
Set_WineVersion_Assign "$WORKINGWINEVERSION" "Play BF2 Online Now!" POL_SetupWindow_make_shortcut "$PREFIX" "$PROGRAMFILES/EA GAMES/Battlefield 2" "BF2.exe" "" "Play BF2 Online Now!" "" "+playNow 1 +menu 1 +fullscreen 1" Set_WineVersion_Assign "$WORKINGWINEVERSION" "$TYTUL" POL_SetupWindow_make_shortcut "$PREFIX" "$PROGRAMFILES/EA GAMES/Battlefield 2" "BF2.exe" "" "$TYTUL" "" "+menu 1 +fullscreen 1" Rm -rf "$WINEPREFIX/drive_c/windows/temp/*"Ĭp "$CDROM/BF2.ico" "$REPERTOIRE/icones/32/$TYTUL"Ĭp "$CDROM/BF2.ico" "$REPERTOIRE/icones/32/Play BF2 Online Now!" POL_SetupWindow_question "Do you've got ATI Radeon X1xxx or earlier graphic card?" "$TYTUL"Įcho "\"UseGLSL\"=\"disabled\"" > VideoDriver.reg POL_SetupWindow_message "Click \"Next\" when installation will finish." "$TYTUL"Įcho "" > msa.regĮcho "\"Multisampling\"=\"enabled\"" > msa.reg #fetching PROGRAMFILES environmental variableĮcho "" > cdrom.reg POL_SetupWindow_install_wine "$WORKINGWINEVERSION" POL_SetupWindow_message "Please insert $TYTUL media into your disk drive."

POL_SetupWindow_menu "What do you want to do?" "Actions" "Patch game" "~"

#asking about patching or updating Wine version Select_prefix "$REPERTOIRE/wineprefix/$PREFIX" POL_SetupWindow_presentation "$TYTUL" "Dice" "battlefield.ea.com/battlefield/bf2/" "NSLW" "$PREFIX" POL_SetupWindow_message "Patch for $TYTUL has been installed successfully" "$TYTUL"

POL_SetupWindow_browse "Select patch file downloaded from support.ea.com" "$TYTUL" ""
