GOG.com - Beyond Good and Evil

Informations

Créateur Messages
petch
Développeur

Attention

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

Informations

Plate-formes :
Téléchargements : 8042
Wine: 2.22

Retours d'expérience

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)

 

Appdb.winehq.org

Code source

#!/bin/bash
# Date : (2011-12-14 23-58)
# Last revision : see changelog
# 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 :
#
#
# CHANGELOG
# [Pierre Etchemaite] (2011-12-14 23-58)
#   Initial script, for the GOG release.
# [Pierre Etchemaite] (2013-05-22 23-28)
#   ?: 1.5.5 -> 1.5.29
# [Dadu042] (2020-01-25 11:10)
#   Wine 1.5.29 (outdated) -> 2.22
#
# KNOWN ISSUE (2011 ?):
# Tested up to Wine 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="2.22"

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:

Contribuer
Membre Messages
Dadu042 Samedi 25 Janvier 2020 à 11:54
Dadu042
Modérateur

Information

Cette mise à jour a été acceptée par l'équipe

Differences

@@ -1,23 +1,34 @@
 #!/bin/bash
 # Date : (2011-12-14 23-58)
-# Last revision : (2013-05-22 23-28)
+# Last revision : see changelog
 # 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
+#
+#
+# CHANGELOG
+# [Pierre Etchemaite] (2011-12-14 23-58)
+#   Initial script, for the GOG release.
+# [Pierre Etchemaite] (2013-05-22 23-28)
+#   ?: 1.5.5 -> 1.5.29
+# [Dadu042] (2020-01-25 11:10)
+#   Wine 1.5.29 (outdated) -> 2.22
+#
+# KNOWN ISSUE (2011 ?):
+# Tested up to Wine 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"
+WORKING_WINE_VERSION="2.22"
 
 TITLE="GOG.com - Beyond Good and Evil"
 SHORTCUT_NAME="Beyond Good and Evil"

Nouveau code source

#!/bin/bash
# Date : (2011-12-14 23-58)
# Last revision : see changelog
# 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 :
#
#
# CHANGELOG
# [Pierre Etchemaite] (2011-12-14 23-58)
#   Initial script, for the GOG release.
# [Pierre Etchemaite] (2013-05-22 23-28)
#   ?: 1.5.5 -> 1.5.29
# [Dadu042] (2020-01-25 11:10)
#   Wine 1.5.29 (outdated) -> 2.22
#
# KNOWN ISSUE (2011 ?):
# Tested up to Wine 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="2.22"

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

Réponses

TimForce Mercredi 8 Novembre 2017 à 7:23
TimForce Anonymous

Messages

POL crash !ne perdait pas votre temps !!

Réponses