Applications
Choose a category
Fable : The Lost Chapters
Informations
This script is signed by PlayOnLinux.
Français :
maginez un monde où chacune de vos actions et chacun de vos choix déterminent ce que vous devenez, un monde dans lequel votre évolution se fait en temps réel selon ce que vous y faites. Chacun de vos actes a une influence sur les compétences, l’apparence et la moralité de votre personnage. Son histoire commence à l'enfance, se poursuit à l'âge adulte et se termine à un âge avancé. L'enfant sans expérience que vous êtes au départ deviendra-t-il l'être le plus puissant au monde, celui dont tout le monde parle et dont les légendes content les hauts faits ? L’expérience que vous obtenez vous permet de progresser et entraîne des changements physiques tels qu’une musculature plus imposante, un oeil plus vif, une silhouette plus agile ou une aura magique crépitant autour de vos doigts. Au fur et à mesure que vous développez votre avatar, le monde qui l’entoure réagit à ses actions. Les gens n’hésiteront pas à faire des commentaires sur vos réussites, vos échecs, votre apparence ou votre comportement et ils exprimeront leur jugement de diverses manières : applaudissements, moquerie, crainte, panique ou même séduction.
English :
In the world of Albion your legend has grown. Throughout the land everyone knows of your exploits. They utter your name with reverence. As a young wanderer you were impatient, wielding a sword with reckless abandon and no concern for tomorrow. But as your victories mounted along with wealth and expertise, you learned the hidden power of humility and compassion. Soon you began to incorporate magical spells into your bag of tricks, and you became truly dominant in a land brimming with wizards and warriors. There is much to see in the world of Albion, and every new day brings the promise of discovery and the possibility of incredible power.
Source code
#!/bin/bash
# Date : (2008-01-09 21-00)
# Last revision : (2011-09-24 11:39)
# Wine version used : 0.9.58, 1.1.0, 1.1.2, 1.2.3
# Distribution used to test : Debian Testing x64
# Author : GNU_Raziel
# Licence : Retail
# Only For : http://www.playonlinux.com
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
TITLE="Fable : The Lost Chapters"
PREFIX="FableTheLostChapters"
WORKING_WINE_VERSION="1.2.3"
GAME_VMS="64"
# Starting the script
rm "$POL_USER_ROOT/tmp/*.jpg"
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/top.jpg" "http://files.playonlinux.com/resources/setups/ftlc/left.jpg" "$TITLE"
POL_SetupWindow_Init
# Starting debugging API
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "Microsoft Games" "http://www.microsoft.com/games/fable/default.asp" "GNU_Raziel" "$PREFIX"
# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
# Downloading wine if necessary and creating prefix
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
# Choose between CD and Digital Download version
POL_SetupWindow_InstallMethod "CD,LOCAL"
# Installing mandatory dependancies
POL_Call POL_Install_mfc42
if [ "$INSTALL_METHOD" == "CD" ]; then
# Copy content of CDs to HDD
TEMP="$POL_USER_ROOT/tmp/$PREFIX"
chmod -R 777 "$TEMP"
rm -R "$TEMP"
mkdir -p "$TEMP"
cd "$WINEPREFIX"/dosdevices
ln -s "$TEMP" d:
# Asking for CDROM and checking if it's correct one
# CD-ROM 1
POL_SetupWindow_message "$(eval_gettext 'Please insert media 1 into your disk drive\nif not already done.')"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "manuals/fablepc_manual.pdf"
POL_SetupWindow_wait_next_signal "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
cp -r "$CDROM"/* "$TEMP"
chmod -R 777 "$TEMP"
mv "$TEMP"/autorun.inf "$TEMP"/autorun-cd1.inf
# CD-ROM 2
POL_SetupWindow_message "$(eval_gettext 'Please insert media 2 into your disk drive\nif not already done.')"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "disk2c~1.cab"
POL_SetupWindow_wait_next_signal "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
cp -r "$CDROM"/* "$TEMP"
chmod -R 777 "$TEMP"
mv "$TEMP"/autorun.inf "$TEMP"/autorun-cd2.inf
# CD-ROM 3
POL_SetupWindow_message "$(eval_gettext 'Please insert media 3 into your disk drive\nif not already done.')"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "disk3c~1.cab"
POL_SetupWindow_wait_next_signal "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
cp -r "$CDROM"/* "$TEMP"
chmod -R 777 "$TEMP"
mv "$TEMP"/autorun.inf "$TEMP"/autorun-cd3.inf
# CD-ROM 4
POL_SetupWindow_message "$(eval_gettext 'Please insert media 4 into your disk drive\nif not already done.')"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "disk4c~1.cab"
POL_SetupWindow_wait_next_signal "$(eval_gettext 'Wait while the installation is prepared...')" "$TITLE"
cp -r "$CDROM"/*.cab "$TEMP"
chmod -R 777 "$TEMP"
mv "$TEMP"/autorun.inf "$TEMP"/autorun-cd4.inf
mv "$TEMP"/autorun-cd1.inf "$TEMP"/autorun.inf
POL_Wine "d:\\install.exe"
POL_Wine_WaitExit "$TITLE"
# Relinking d: to $CDROM
cd "$WINEPREFIX"/dosdevices
rm ./d:
ln -s "$CDROM" d:
else
# Asking then installing DDV of the game
cd "$HOME"
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run:')" "$TITLE"
SETUP_EXE="$APP_ANSWER"
POL_Wine start /unix "$SETUP_EXE"
POL_Wine_WaitExit "$TITLE"
fi
# Installing other dependancies - need to be post-install for this game
POL_Call POL_Install_dxfullsetup
POL_Call POL_Install_wmp9
POL_Call POL_Install_wmpcodecs
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
## Fix for this game
POL_Wine_OverrideDLL "native,builtin" "quartz"
# Sound problem fix - pulseaudio related
POL_Wine_OverrideDLL "" "mmdevapi" # Only if wine < 1.2.4
[ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa"
[ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y"
## End Fix
## PlayOnMac Section
[ "$POL_OS" = "Linux" ] && Set_Managed "On"
[ "$POL_OS" = "Mac" ] && 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 "$POL_USER_ROOT/tmp/"
rm -rf "$POL_USER_ROOT/tmp/*"
fi
# Making shortcut
POL_Shortcut "Fable.exe" "$TITLE" "" ""
POL_SetupWindow_Close
exit 0 Signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEABECAAYFAk59qMcACgkQ5TH6yaoTykdZ9ACfWtiB+G2hD9QKLcoSzW3ImVj9
1IQAn1fLB1sbxvdvGZY4bX0KyFgZ8KsO
=WsOV
-----END PGP SIGNATURE-----
Date : 24 September 2011 11:54:15
Signed by : PlayOnLinux
E-Mail : gpg@playonlinux.com
Comment : PlayOnLinux and PlayOnMac scripting keys
Fingerprint : 45B56114D9EA1640D68135CCE531FAC9AA13CA47
Known install files