You are here    Supported software    GOG.com - The Longest Journey nl sv ru pl es de fr

GOG.com - The Longest Journey

Informations

Creator Message
petch
Developer

Warning

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

Informations

Platforms:
Downloads: 5137
Wine: 1.3.32-tlj2

Feedbacks

Description

English: Great point'n'click adventure game.
Known issues:
- You may need many clicks to select an object;
- Bugs may block your progression in the game, see the feedback in the forum: http://www.playonlinux.com/en/topic-10032-The_Longest_Journey.html
- The games GPFs on exit (harmless).

Français : Très bon jeu d'aventure classique.
Problèmes connus :
- 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 le forum : http://www.playonlinux.com/en/topic-10032-The_Longest_Journey.html
- Le jeu fait une exception générale de protection en quittant (sans gravité).

Screenshots

MiniatureMiniatureMiniatureMiniature

Source code

#!/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

Contributions

Filters:

Contribute
Member Message
Ford786 Tuesday 19 September 2017 at 12:14
Ford786 Anonymous

Message

Replies

petch Thursday 4 September 2014 at 13:56
petch
Developer

Information

This update has been approved by the team.

Message

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
 

New source code

#!/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

Replies

Friday 12 June 2015 at 15:05 -
Well, today it can be written as POL_Wine_X11Drv "ClientSideAntiAliasWithRender" "N"
Friday 12 June 2015 at 15:07 -
(Since POL 4.0.14 it seems, so it was an overlook from my part when I wrote the script)
km3k Thursday 4 September 2014 at 2:22
km3k Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

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"

New source code

#!/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

Replies

Thursday 4 September 2014 at 13:54 -
Excellent, thank you!
Anonymous
Friday 12 June 2015 at 14:55 -
1.3.32-tlj2 is missing. Can't install...
Friday 12 June 2015 at 16:01 -
There's definitely a 1.3.32-tlj2 32bit available
Anonymous
Thursday 3 December 2015 at 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?
Thursday 3 December 2015 at 9:59 -
You're looking at 32, or 64bit Wine versions? This script uses the 32bit version anyway
Anonymous
Thursday 3 December 2015 at 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
Thursday 3 December 2015 at 18:40 -
Oh, you forgot to mention that, I guess that version didn't compile for Mac
Thursday 3 December 2015 at 18:40 -
I removed Mac compatibility on this script