You are here    Supported software    GOG.com - Beyond Good and Evil nl sv ru pl es de fr

GOG.com - Beyond Good and Evil

Informations

Creator Message
petch
Developer

Warning

This installer is a beta script. It means that it might not work as expected

Informations

Platforms:
Downloads: 5632
Wine: 1.5.29

Feedbacks

Description

English: Adventure/action game with comics style and lovely characters.
Known issues:
- Looping/desynchronized sounds at times. Do not start the game from its configuration program, or you will most likely experience sound issues. Enabling subtitles is recommended to avoid missing any important information.
(updated for GOG installer v2)

Français : Un jeu d'aventure action dans un style bande dessinée avec des personnages attachants.
Problèmes connus:
- Parfois des sons partent en boucle ou sont décalés par rapport à l'image. Ne lancez pas le jeu par son programme de configuration, ou il est presque certain que vous aurez ces problèmes de son. Il est recommandé d'activer les sous-titres pour être sûr de ne pas manquer un dialogue important.
(mis à jour pour l'installeur GOG v2)

Source code

#!/bin/bash
# Date : (2011-12-14 23-58)
# Last revision : (2013-05-22 23-28)
# Wine version used : 1.5.5, 1.5.29
# Distribution used to test : Debian Sid (Unstable)
# Author : Pierre Etchemaite pe-pol@concept-micro.com
# Script licence : GPL v.2
# Program licence : Retail
# Depend :

# Tested up to 1.3.35 without native DirectSound, and still looping sounds
# Same thing with 1.3.36
# Same thing with 1.5.0 (less often I feel)

[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"

GOGID="beyond_good_and_evil"
PREFIX="BeyondGaE_gog"
WORKING_WINE_VERSION="1.5.29"

TITLE="GOG.com - Beyond Good and Evil"
SHORTCUT_NAME="Beyond Good and Evil"

POL_SetupWindow_Init
POL_SetupWindow_SetID 1263
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Ubisoft" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" "8599aff06ba1ccd81f74ed16cb98a01f"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# fake sdbinst.exe
POL_Call POL_Install_nop "$WINEPREFIX/drive_c/windows/system32/sdbinst.exe" 

POL_Call POL_GoG_install


# Can only get lots of looping sounds (2s loops) without native DirectSound
# (and emulated sound outputs?)
# Not so bad as it used to in 1.5.0?
# POL_Call POL_install_dsound

# GoG work!
Set_OS winxp

# Has problems when unconstrained
Set_Desktop "On" "1024" "768"

POL_SetupWindow_VMS "32"

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "BGE.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;ActionGame;"
# Fixes a problem with CPU management on modern computers (specially laptops):
# BGE doesn't handle variable frequency, so make sure they stay at top frequency
# with a background busy loop (other means are less portable and/or require root privileges)
POL_Shortcut_InsertBeforeWine "$SHORTCUT_NAME" 'taskset -pc 0 $$'
POL_Shortcut_InsertBeforeWine "$SHORTCUT_NAME" 'nice -19 bash -c "while true; do let i=1; done" &'
POL_Shortcut_InsertBeforeWine "$SHORTCUT_NAME" 'BUSYLOOP_PID=$!'
echo 'kill $BUSYLOOP_PID' >> "$POL_USER_ROOT/shortcuts/$SHORTCUT_NAME"

POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGROOT/Beyond Good and Evil/manual.pdf"
# C:/GOG Games/Beyond Good and Evil/readme.txt

POL_SetupWindow_Close

cat <<_EOF_ > "$POL_USER_ROOT/configurations/configurators/$SHORTCUT_NAME"
#!/bin/bash
[ -z "\$PLAYONLINUX" ] && exit 0
source "\$PLAYONLINUX/lib/sources"
export WINEPREFIX="$POL_USER_ROOT/wineprefix/$PREFIX"
export WINEDEBUG=""

POL_LoadVar_PROGRAMFILES

cd "$GOGROOT/Beyond Good and Evil/" || exit 1

TITLE="$TITLE"

POL_Wine "SettingsApplication.exe"

exit 0
_EOF_

# Run the configurator? Ok!
bash "$POL_USER_ROOT/configurations/configurators/$SHORTCUT_NAME"

exit 0

Contributions

Filters:

Contribute
Member Message
TimForce Wednesday 8 November 2017 at 7:23
TimForce Anonymous

Message

POL crash !ne perdait pas votre temps !!

Replies