FIFA 11

Informatie

Creator Bericht
GNU_Raziel

Information

This installer has been approved by the team.

Informatie

Platforms:
Downloads: 129759
Wine: System

Feedbacks

Omschrijving

FIFA 11 Soccer game installer.

Script wrote before 2012, to update.

Broncode

#!/bin/bash
# Wine version used : 1.2
# Distribution used to test : Debian Lenny
# Author : Maximo90
# Licence : Retail
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Fifa 2011"
PREFIX="fifa11"
WORKING_WINE_VERSION="1.2"
 
#starting the script
rm "$REPERTOIRE/tmp/*.jpg"
POL_SetupWindow_Init
 
POL_SetupWindow_presentation "$TITLE" "EA Sports" "http://www.ea.com/soccer/fifa" "Maximo90" "$PREFIX"
 
#asking for CDROM and checking if it's correct one
POL_SetupWindow_message "Please insert $TITLE media into your disk drive."
POL_SetupWindow_cdrom
cd "$CDROM"
CHECK=$(find . -iwholename ./EASetup.exe | cut -d'/' -f2)
POL_SetupWindow_check_cdrom "$CHECK"
 
select_prefix "$REPERTOIRE/wineprefix/$PREFIX"
 
#downloading specific Wine
POL_SetupWindow_install_wine "$WORKING_WINE_VERSION"
Use_WineVersion "$WORKING_WINE_VERSION"
 
#fetching PROGRAMFILES environmental variable
POL_LoadVar_PROGRAMFILES
 
#Installing mandatory dependencies 
POL_Call POL_Install_vcrun2005
POL_Call POL_Install_d3dx9
POL_Call POL_Install_gecko
POL_Call POL_Install_tahoma
POL_Call POL_Install_dotnet20
POL_Call POL_Install_vcrun2008
 
#starting installation
POL_SetupWindow_wait_next_signal "Installation in progress..." "$TITLE"
wine "$CDROM/$CHECK"
POL_SetupWindow_detect_exit
 
## PlayOnMac Section
[ "$PLAYONMAC" == "" ] || Set_Managed "Off"
## End Section
 
#cleaning temp
if [ -e "$WINEPREFIX/drive_c/windows/temp/" ]; then
        rm -rf "$WINEPREFIX/drive_c/windows/temp/*"
        chmod -R 777 "$REPERTOIRE/tmp/"
        rm -rf "$REPERTOIRE/tmp/*"
fi
 
#making shortcut
POL_SetupWindow_auto_shortcut "$PREFIX" "fifa.exe" "$TITLE" "" ""
Set_WineVersion_Assign "$WORKING_WINE_VERSION" "$TITLE"
 
POL_SetupWindow_message "$TITLE has been installed successfully." "$TITLE"
 
POL_SetupWindow_message "Please note that this game has a copy protection system\nand sadly, it prevents Wine from running the game.\n\nPlayOnLinux will not provide any help concerning any illegal\nstuff." $TITLE"
 
POL_SetupWindow_Close
exit

Contributions

Filters:

Contribute
Member Bericht
monrra Donderdag 18 Mei 2023 om 5:25
monrra Anonymous

Bericht

como lo instalo?:(

Antwoorden

evild4ve Dinsdag 10 Januari 2023 om 2:25
evild4ve

Bericht

This worked well on Ubuntu 22.04 but I had to change the wine version to 6.10

I have only tested briefly with 2p hotseat using xbox controllers... fairly common user-case I would think

Antwoorden

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com