GOG.com - The Longest Journey

Informations

Créateur Messages
petch

Information

Cet installateur a été accepté par l'équipe.

Informations

Plate-formes :
Téléchargements : 10222
Wine: 3.0.3

Retours d'expérience

Description

English: Great point'n'click adventure game.
Known issues (2014):
- You may need many clicks to select an object;
- Bugs may block your progression in the game, see the feedback in our forum;
- The games GPFs on exit (harmless).

Français : Très bon jeu d'aventure classique.
Problèmes connus (2014) :
- De nombreux clicks peuvent être nécessaires pour sélectionner un objet ;
- Des bugs peuvent barrer votre progression dans le jeu, voir le retour d'expérience dans notre forum;
- Le jeu fait une exception générale de protection en quittant (sans gravité).

 

Appdb.winehq.org , PCGamingWiki

Captures d'écran

MiniatureMiniatureMiniatureMiniature

Code source

#!/bin/bash
# Date : (2012-08-10 15-11)
# Last revision : see changelog
# Wine version used : 3.0.3
# Distribution used to test : Debian Sid (Unstable), Arch Linux
# Author : Pierre Etchemaite pe-pol@concept-micro.com
# Author : Kevin Becker khbecker@gmail.com
# Script licence : GPL v.2
# Program licence : Retail
# Depend :
#
# CHANGELOG
# [Pierre Etchemaite] (2012-08-10 15-11)
#   Initial script.
# [Kevin Becker] (2014-09-03 20-14)
#   ?
# [Dadu042] (2020-01-05)
#   Wine "1.3.32-tlj2" (outdated) -> 3.0.3

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

GOGID="the_longest_journey"
PREFIX="TheLongestJourney_gog"
WORKING_WINE_VERSION="3.0.3"

TITLE="GOG.com - The Longest Journey"
SHORTCUT_NAME="The Longest Journey"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"

POL_SetupWindow_Init
POL_SetupWindow_SetID 1359
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Funcom" "http://www.gog.com/game/$GOGID" "Pierre Etchemaite" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" "7b97808b8a282af566a9bac4ee5aa790"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install

# GoG work!
Set_OS winxp

POL_SetupWindow_VMS "4"

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "Game.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;AdventureGame;"
# GPFs on exit, I know
POL_Shortcut_QuietDebug "$SHORTCUT_NAME"
POL_Shortcut_Document "$SHORTCUT_NAME" "$WINEPREFIX/drive_c/$PROGRAMFILES/GOG.com/The Longest Journey/manual.pdf"
# C:\Program Files\GOG.com\The Longest Journey\readme.txt

# Fix pink text bug
REGFILE="$POL_USER_ROOT/tmp/tlj.reg"
(echo "[HKEY_CURRENT_USER\\Software\\Wine\\X11 Driver]"
echo "\"ClientSideAntiAliasWithRender\"=\"N\"") > "$REGFILE"
POL_Wine regedit "$REGFILE"
rm "$REGFILE"

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="-all"

POL_LoadVar_PROGRAMFILES
cd "\$WINEPREFIX/drive_c/\$PROGRAMFILES/GOG.com/The Longest Journey/" || exit 1
TITLE="$TITLE"
POL_Wine configure.exe
exit 0
_EOF_

exit 0

Contributions

Filters:

Contribuer
Membre Messages
Dadu042 Dimanche 5 Janvier 2020 à 3:45
Dadu042

Information

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

Differences

@@ -1,20 +1,28 @@
 #!/bin/bash
 # Date : (2012-08-10 15-11)
-# Last revision : (2014-09-03 20-14)
-# Wine version used : 1.3.32-tlj2
+# Last revision : see changelog
+# Wine version used : 3.0.3
 # Distribution used to test : Debian Sid (Unstable), Arch Linux
 # Author : Pierre Etchemaite pe-pol@concept-micro.com
 # Author : Kevin Becker khbecker@gmail.com
 # Script licence : GPL v.2
 # Program licence : Retail
 # Depend :
+#
+# CHANGELOG
+# [Pierre Etchemaite] (2012-08-10 15-11)
+#   Initial script.
+# [Kevin Becker] (2014-09-03 20-14)
+#   ?
+# [Dadu042] (2020-01-05)
+#   Wine "1.3.32-tlj2" (outdated) -> 3.0.3
 
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
 GOGID="the_longest_journey"
 PREFIX="TheLongestJourney_gog"
-WORKING_WINE_VERSION="1.3.32-tlj2"
+WORKING_WINE_VERSION="3.0.3"
 
 TITLE="GOG.com - The Longest Journey"
 SHORTCUT_NAME="The Longest Journey"

Nouveau code source

#!/bin/bash
# Date : (2012-08-10 15-11)
# Last revision : see changelog
# Wine version used : 3.0.3
# Distribution used to test : Debian Sid (Unstable), Arch Linux
# Author : Pierre Etchemaite pe-pol@concept-micro.com
# Author : Kevin Becker khbecker@gmail.com
# Script licence : GPL v.2
# Program licence : Retail
# Depend :
#
# CHANGELOG
# [Pierre Etchemaite] (2012-08-10 15-11)
#   Initial script.
# [Kevin Becker] (2014-09-03 20-14)
#   ?
# [Dadu042] (2020-01-05)
#   Wine "1.3.32-tlj2" (outdated) -> 3.0.3

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

GOGID="the_longest_journey"
PREFIX="TheLongestJourney_gog"
WORKING_WINE_VERSION="3.0.3"

TITLE="GOG.com - The Longest Journey"
SHORTCUT_NAME="The Longest Journey"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"

POL_SetupWindow_Init
POL_SetupWindow_SetID 1359
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Funcom" "http://www.gog.com/game/$GOGID" "Pierre Etchemaite" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" "7b97808b8a282af566a9bac4ee5aa790"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install

# GoG work!
Set_OS winxp

POL_SetupWindow_VMS "4"

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "Game.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;AdventureGame;"
# GPFs on exit, I know
POL_Shortcut_QuietDebug "$SHORTCUT_NAME"
POL_Shortcut_Document "$SHORTCUT_NAME" "$WINEPREFIX/drive_c/$PROGRAMFILES/GOG.com/The Longest Journey/manual.pdf"
# C:\Program Files\GOG.com\The Longest Journey\readme.txt

# Fix pink text bug
REGFILE="$POL_USER_ROOT/tmp/tlj.reg"
(echo "[HKEY_CURRENT_USER\\Software\\Wine\\X11 Driver]"
echo "\"ClientSideAntiAliasWithRender\"=\"N\"") > "$REGFILE"
POL_Wine regedit "$REGFILE"
rm "$REGFILE"

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="-all"

POL_LoadVar_PROGRAMFILES
cd "\$WINEPREFIX/drive_c/\$PROGRAMFILES/GOG.com/The Longest Journey/" || exit 1
TITLE="$TITLE"
POL_Wine configure.exe
exit 0
_EOF_

exit 0

Réponses

flatiron Samedi 18 Aoüt 2018 à 11:58
flatiron Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

I tried pasting what I needed to say here, but this thing doesn't allow pasting............................

 

See the submitted "improvement" for what I had to say. For some reason it stops at the part where the virtual drive is being created because it can't open a window. This makes no sense, because the last time I tried this it worked fine.

 

I have tried just using it with the latest version of wine, but the screen is badly distorted. Um, if I want to try the latest version of wine with this, what else do I need to install to get it to run? And how do I install the other things?

Differences

@@ -1,74 +1,14 @@
-#!/bin/bash
-# Date : (2012-08-10 15-11)
-# Last revision : (2014-09-03 20-14)
-# Wine version used : 1.3.32-tlj2
-# Distribution used to test : Debian Sid (Unstable), Arch Linux
-# Author : Pierre Etchemaite pe-pol@concept-micro.com
-# Author : Kevin Becker khbecker@gmail.com
-# Script licence : GPL v.2
-# Program licence : Retail
-# Depend :
 
-[ -z "$PLAYONLINUX" ] && exit 0
-source "$PLAYONLINUX/lib/sources"
+For some reason it just sits there at the part where it says a virtual drive is being created. The debug window says for its last entry
 
-GOGID="the_longest_journey"
-PREFIX="TheLongestJourney_gog"
-WORKING_WINE_VERSION="1.3.32-tlj2"
 
-TITLE="GOG.com - The Longest Journey"
-SHORTCUT_NAME="The Longest Journey"
-
-POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
-
-POL_SetupWindow_Init
-POL_SetupWindow_SetID 1359
-POL_Debug_Init
-
-POL_SetupWindow_presentation "$TITLE" "Funcom" "http://www.gog.com/game/$GOGID" "Pierre Etchemaite" "$PREFIX"
-
-POL_Call POL_GoG_setup "$GOGID" "7b97808b8a282af566a9bac4ee5aa790"
-
-POL_Wine_SelectPrefix "$PREFIX"
-POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
-
-POL_Call POL_GoG_install
-
-# GoG work!
-Set_OS winxp
-
-POL_SetupWindow_VMS "4"
-
-# Doesn't hurt ;)
-POL_Wine_reboot
-
-POL_Shortcut "Game.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;AdventureGame;"
-# GPFs on exit, I know
-POL_Shortcut_QuietDebug "$SHORTCUT_NAME"
-POL_Shortcut_Document "$SHORTCUT_NAME" "$WINEPREFIX/drive_c/$PROGRAMFILES/GOG.com/The Longest Journey/manual.pdf"
-# C:\Program Files\GOG.com\The Longest Journey\readme.txt
-
-# Fix pink text bug
-REGFILE="$POL_USER_ROOT/tmp/tlj.reg"
-(echo "[HKEY_CURRENT_USER\\Software\\Wine\\X11 Driver]"
-echo "\"ClientSideAntiAliasWithRender\"=\"N\"") > "$REGFILE"
-POL_Wine regedit "$REGFILE"
-rm "$REGFILE"
-
-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="-all"
-
-POL_LoadVar_PROGRAMFILES
-cd "\$WINEPREFIX/drive_c/\$PROGRAMFILES/GOG.com/The Longest Journey/" || exit 1
-TITLE="$TITLE"
-POL_Wine configure.exe
-exit 0
-_EOF_
-
-exit 0
+08/18/18 02:53:14 - [POL_Wine] Message: Running wine-1.3.32-tlj2 WindowsXP-KB975337-x86-ENU.exe /extract:C:\Tmp /q (Working directory : /home/a/.PlayOnLinux/ressources)
+err:module:load_builtin_dll failed to load .so lib for builtin L"winex11.drv": libSM.so.6: cannot open shared object file: No such file or directory
+err:module:load_builtin_dll failed to load .so lib for builtin L"winex11.drv": libSM.so.6: cannot open shared object file: No such file or directory
+err:module:load_builtin_dll failed to load .so lib for builtin L"winex11.drv": libSM.so.6: cannot open shared object file: No such file or directory
+err:module:load_builtin_dll failed to load .so lib for builtin L"winex11.drv": libSM.so.6: cannot open shared object file: No such file or directory
+Application tried to create a window, but no driver could be loaded.
+Unknown error (127).
+err:systray:initialize_systray Could not create tray window
+Application tried to create a window, but no driver could be loaded.
+Unknown error (127).
\ No newline at end of file

Nouveau code source

For some reason it just sits there at the part where it says a virtual drive is being created. The debug window says for its last entry


08/18/18 02:53:14 - [POL_Wine] Message: Running wine-1.3.32-tlj2 WindowsXP-KB975337-x86-ENU.exe /extract:C:\Tmp /q (Working directory : /home/a/.PlayOnLinux/ressources)
err:module:load_builtin_dll failed to load .so lib for builtin L"winex11.drv": libSM.so.6: cannot open shared object file: No such file or directory
err:module:load_builtin_dll failed to load .so lib for builtin L"winex11.drv": libSM.so.6: cannot open shared object file: No such file or directory
err:module:load_builtin_dll failed to load .so lib for builtin L"winex11.drv": libSM.so.6: cannot open shared object file: No such file or directory
err:module:load_builtin_dll failed to load .so lib for builtin L"winex11.drv": libSM.so.6: cannot open shared object file: No such file or directory
Application tried to create a window, but no driver could be loaded.
Unknown error (127).
err:systray:initialize_systray Could not create tray window
Application tried to create a window, but no driver could be loaded.
Unknown error (127).

Réponses

petch Jeudi 4 September 2014 à 13:56
petch

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

Small cleanups

Differences

@@ -49,13 +49,11 @@
 # C:\Program Files\GOG.com\The Longest Journey\readme.txt
 
 # Fix pink text bug
-TEMP="$REPERTOIRE/tmp"
-cd "$TEMP"
-echo "[HKEY_CURRENT_USER\\Software\\Wine\\X11 Driver]" > tlj.reg
-echo "\"ClientSideAntiAliasWithRender\"=\"N\"" >> tlj.reg
-regedit "$TEMP/tlj.reg"
-sleep 2
-rm "$TEMP/tlj.reg"
+REGFILE="$POL_USER_ROOT/tmp/tlj.reg"
+(echo "[HKEY_CURRENT_USER\\Software\\Wine\\X11 Driver]"
+echo "\"ClientSideAntiAliasWithRender\"=\"N\"") > "$REGFILE"
+POL_Wine regedit "$REGFILE"
+rm "$REGFILE"
 
 POL_SetupWindow_Close
 

Nouveau code source

#!/bin/bash
# Date : (2012-08-10 15-11)
# Last revision : (2014-09-03 20-14)
# Wine version used : 1.3.32-tlj2
# Distribution used to test : Debian Sid (Unstable), Arch Linux
# Author : Pierre Etchemaite pe-pol@concept-micro.com
# Author : Kevin Becker khbecker@gmail.com
# Script licence : GPL v.2
# Program licence : Retail
# Depend :

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

GOGID="the_longest_journey"
PREFIX="TheLongestJourney_gog"
WORKING_WINE_VERSION="1.3.32-tlj2"

TITLE="GOG.com - The Longest Journey"
SHORTCUT_NAME="The Longest Journey"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"

POL_SetupWindow_Init
POL_SetupWindow_SetID 1359
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Funcom" "http://www.gog.com/game/$GOGID" "Pierre Etchemaite" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" "7b97808b8a282af566a9bac4ee5aa790"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install

# GoG work!
Set_OS winxp

POL_SetupWindow_VMS "4"

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "Game.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;AdventureGame;"
# GPFs on exit, I know
POL_Shortcut_QuietDebug "$SHORTCUT_NAME"
POL_Shortcut_Document "$SHORTCUT_NAME" "$WINEPREFIX/drive_c/$PROGRAMFILES/GOG.com/The Longest Journey/manual.pdf"
# C:\Program Files\GOG.com\The Longest Journey\readme.txt

# Fix pink text bug
REGFILE="$POL_USER_ROOT/tmp/tlj.reg"
(echo "[HKEY_CURRENT_USER\\Software\\Wine\\X11 Driver]"
echo "\"ClientSideAntiAliasWithRender\"=\"N\"") > "$REGFILE"
POL_Wine regedit "$REGFILE"
rm "$REGFILE"

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="-all"

POL_LoadVar_PROGRAMFILES
cd "\$WINEPREFIX/drive_c/\$PROGRAMFILES/GOG.com/The Longest Journey/" || exit 1
TITLE="$TITLE"
POL_Wine configure.exe
exit 0
_EOF_

exit 0

Réponses

Vendredi 12 Juin 2015 à 15:05
Well, today it can be written as POL_Wine_X11Drv "ClientSideAntiAliasWithRender" "N"
Vendredi 12 Juin 2015 à 15:07
(Since POL 4.0.14 it seems, so it was an overlook from my part when I wrote the script)
Jeudi 8 Février 2018 à 8:24
I comment up here then. So since POL 4.0.14 it is no longer (echo "[HKEY_CURRENT_USER\\Software\\Wine\\X11 Driver]"
echo "\"ClientSideAntiAliasWithRender\"=\"N\"") > "$REGFILE" to depurple the texts but (echo "[HKEY_CURRENT_USER\\Software\\Wine\\POL_Wine_X11Drv]"
echo "\"ClientSideAntiAliasWithRender\"=\"N\"") > "$REGFILE" ?
km3k Jeudi 4 September 2014 à 2:22
km3k Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

This script runs pretty well, but I made a couple of improvements. First off, I noticed that there's a wine-1.3.32-tlj2 available, while wine-1.3.32-tlj is the default for this script. I had a couple crashes with -tlj, but not -tlj2 (so far at least). I also found a fix for the bug where the text has a pink border around it. This is due to the game not handling font smoothing properly. I've included the registry changes to fix this pink text issue.

Differences

@@ -1,9 +1,10 @@
 #!/bin/bash
 # Date : (2012-08-10 15-11)
-# Last revision : (2013-07-10 13-42)
-# Wine version used : 1.3.32-tlj
-# Distribution used to test : Debian Sid (Unstable)
+# Last revision : (2014-09-03 20-14)
+# Wine version used : 1.3.32-tlj2
+# Distribution used to test : Debian Sid (Unstable), Arch Linux
 # Author : Pierre Etchemaite pe-pol@concept-micro.com
+# Author : Kevin Becker khbecker@gmail.com
 # Script licence : GPL v.2
 # Program licence : Retail
 # Depend :
@@ -13,7 +14,7 @@
 
 GOGID="the_longest_journey"
 PREFIX="TheLongestJourney_gog"
-WORKING_WINE_VERSION="1.3.32-tlj"
+WORKING_WINE_VERSION="1.3.32-tlj2"
 
 TITLE="GOG.com - The Longest Journey"
 SHORTCUT_NAME="The Longest Journey"
@@ -24,7 +25,7 @@
 POL_SetupWindow_SetID 1359
 POL_Debug_Init
 
-POL_SetupWindow_presentation "$TITLE" "Funcom" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"
+POL_SetupWindow_presentation "$TITLE" "Funcom" "http://www.gog.com/game/$GOGID" "Pierre Etchemaite" "$PREFIX"
 
 POL_Call POL_GoG_setup "$GOGID" "7b97808b8a282af566a9bac4ee5aa790"
 
@@ -33,7 +34,6 @@
 
 POL_Call POL_GoG_install
 
-
 # GoG work!
 Set_OS winxp
 
@@ -48,6 +48,15 @@
 POL_Shortcut_Document "$SHORTCUT_NAME" "$WINEPREFIX/drive_c/$PROGRAMFILES/GOG.com/The Longest Journey/manual.pdf"
 # C:\Program Files\GOG.com\The Longest Journey\readme.txt
 
+# Fix pink text bug
+TEMP="$REPERTOIRE/tmp"
+cd "$TEMP"
+echo "[HKEY_CURRENT_USER\\Software\\Wine\\X11 Driver]" > tlj.reg
+echo "\"ClientSideAntiAliasWithRender\"=\"N\"" >> tlj.reg
+regedit "$TEMP/tlj.reg"
+sleep 2
+rm "$TEMP/tlj.reg"
+
 POL_SetupWindow_Close
 
 cat <<_EOF_ > "$POL_USER_ROOT/configurations/configurators/$SHORTCUT_NAME"

Nouveau code source

#!/bin/bash
# Date : (2012-08-10 15-11)
# Last revision : (2014-09-03 20-14)
# Wine version used : 1.3.32-tlj2
# Distribution used to test : Debian Sid (Unstable), Arch Linux
# Author : Pierre Etchemaite pe-pol@concept-micro.com
# Author : Kevin Becker khbecker@gmail.com
# Script licence : GPL v.2
# Program licence : Retail
# Depend :

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

GOGID="the_longest_journey"
PREFIX="TheLongestJourney_gog"
WORKING_WINE_VERSION="1.3.32-tlj2"

TITLE="GOG.com - The Longest Journey"
SHORTCUT_NAME="The Longest Journey"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"

POL_SetupWindow_Init
POL_SetupWindow_SetID 1359
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Funcom" "http://www.gog.com/game/$GOGID" "Pierre Etchemaite" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" "7b97808b8a282af566a9bac4ee5aa790"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install

# GoG work!
Set_OS winxp

POL_SetupWindow_VMS "4"

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "Game.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;AdventureGame;"
# GPFs on exit, I know
POL_Shortcut_QuietDebug "$SHORTCUT_NAME"
POL_Shortcut_Document "$SHORTCUT_NAME" "$WINEPREFIX/drive_c/$PROGRAMFILES/GOG.com/The Longest Journey/manual.pdf"
# C:\Program Files\GOG.com\The Longest Journey\readme.txt

# Fix pink text bug
TEMP="$REPERTOIRE/tmp"
cd "$TEMP"
echo "[HKEY_CURRENT_USER\\Software\\Wine\\X11 Driver]" > tlj.reg
echo "\"ClientSideAntiAliasWithRender\"=\"N\"" >> tlj.reg
regedit "$TEMP/tlj.reg"
sleep 2
rm "$TEMP/tlj.reg"

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="-all"

POL_LoadVar_PROGRAMFILES
cd "\$WINEPREFIX/drive_c/\$PROGRAMFILES/GOG.com/The Longest Journey/" || exit 1
TITLE="$TITLE"
POL_Wine configure.exe
exit 0
_EOF_

exit 0

Réponses

Jeudi 4 September 2014 à 13:54
Excellent, thank you!
Anonymous
Vendredi 12 Juin 2015 à 14:55
1.3.32-tlj2 is missing. Can't install...
Vendredi 12 Juin 2015 à 16:01
There's definitely a 1.3.32-tlj2 32bit available
Anonymous
Jeudi 3 Décembre 2015 à 8:30
When I look in the list of available wine versions, I see 1.3.32-tlj but not 1.3.32-tlj2 . How do I get 1.3.32-tlj2 to appear in that list?
Jeudi 3 Décembre 2015 à 9:59
You're looking at 32, or 64bit Wine versions? This script uses the 32bit version anyway
Anonymous
Jeudi 3 Décembre 2015 à 18:07
I am looking at the x86 versions. I am not even sure how to switch to search for 64 bit versions in PlayOnMac
Jeudi 3 Décembre 2015 à 18:40
Oh, you forgot to mention that, I guess that version didn't compile for Mac
Jeudi 3 Décembre 2015 à 18:40
I removed Mac compatibility on this script
Mardi 6 Février 2018 à 9:53
I managed to run it with Wine3.0 and Ubuntu MATE 17.10 32bit. Problem is, that there is no X11 Driver folder in the registry. I created it and added the line to depurple the ingame text but it had no effect. Is the depurpeling done in a different way nowadays?
Mardi 6 Février 2018 à 17:16
Why didn't you use the last version ?
Mercredi 7 Février 2018 à 23:34
I had hoped for massive improvements since 1.3.32. Btw. I use the german special edition build 1.55. The remaining problems are no dealbrakers for me since I know my way around in the game, but the thing with the context menu only appearing if you make a timed mouse move is frustrating for first time players. I have several at hand but do not want to lessen their experience. So my final goal would be to have TLJ configured as appimage with wine and/or pol inside.
Mercredi 7 Février 2018 à 23:46
Yea but why don't you use the latest version of the script ? Or you comment on the wrong location ?
Mercredi 7 Février 2018 à 23:57
Where is the right place to comment?
Jeudi 8 Février 2018 à 0:36
If you use the script up-to-date, it's on the patch up
Anonymous
Vendredi 30 Aoüt 2019 à 6:10
I could not get POL to work at all in MINT 19.2. I mean, even when just downloading the components like gecko it would give me error boxes until finally it would give me a fatal error box and stop altogether.



I have switched back to MINT 18.3, but for some reason now using the TLJ installer no longer works, it freezes when downloading "WindowsXP-KB975337-x86-ENU.exe", and when I try to bypass this by using the install a non listed program option, it will install it, but it will not display right. At first it just displayed the game in a small window, and now it completely screws up the resolution of my screen and one box that I can partly see when this happens says that I have a database deficiency.



I have attached images of the install process using the TLJ installer. (no I haven't because the forum won't let me)





And why doesn't POL work at all in 19.2?



Here's stuff from the debug window



08/29/19 21:45:20 - [POL_Download_Resource] Message: Download MD5 matches
08/29/19 21:45:20 - [POL_System_CheckFS] Message: Checking filesystem for WindowsXP-KB975337-x86-ENU.exe
08/29/19 21:45:20 - [POL_Wine] Message: Running wine-1.3.32-tlj2 WindowsXP-KB975337-x86-ENU.exe /extract:C:\Tmp /q (Working directory : /home/s/.PlayOnLinux/ressources)
err:module:load_builtin_dll failed to load .so lib for builtin L"winex11.drv": libSM.so.6: cannot open shared object file: No such file or directory
err:module:load_builtin_dll failed to load .so lib for builtin L"winex11.drv": libSM.so.6: cannot open shared object file: No such file or directory
err:module:load_builtin_dll failed to load .so lib for builtin L"winex11.drv": libSM.so.6: cannot open shared object file: No such file or directory
err:module:load_builtin_dll failed to load .so lib for builtin L"winex11.drv": libSM.so.6: cannot open shared object file: No such file or directory
Application tried to create a window, but no driver could be loaded.
Unknown error (127).
err:systray:initialize_systray Could not create tray window
Application tried to create a window, but no driver could be loaded.
Unknown error (127).

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