Trackmania Nations Forever
Informations
| Créateur | Messages | 
|---|---|
| Quentin PÂRIS   
 | InformationCet installateur a été accepté par l'équipe. InformationsPlate-formes :   Retours d'expérience1 4 DescriptionRacing game, 2007. Wikipedia. Captures d'écranCode source#!/bin/bash
# Last revision : see changelog
# Tested : Debian 6.0, Mac OSX , Kubuntu 18.04 amd64
# Author : Tinou
# Script licence : GPLv3
# 
# This script is designed for PlayOnLinux and PlayOnMac. 
#
# CHANGELOG
# [Quentin P] (2011)
#   Initial writting.
# [Quentin P] (2011-08-20 13-00) 
#   Update for POL/POM 4 
# [Dadu042] (2019-11-15 12-55)
#   Cleanup.
# [Dadu042] (2019-11-30 22-15)
#   Fix audio.
#   Try to understand the 'no keyboard' issue (set sound before the installer ? one of the two .EXE ?).
# [Dadu042] (2019-12-01 14-00)
#   Wine 4.0.2 -> 3.0.3 (to let more POL users to play the game because Wine 4.0.2 requires POL 4.3.4).
#   Game version used: v2.11.26 (it's displayed on the launcher window, top bar).
# KNOWN ISSUES:
#  - Wine amd64 4.0.2: No sound nor music. Fix: force Alsa.
#  - Wine amd64 2.22, 3.0.3, 3.21, 4.0.2 english/french, 4.0.3: keyboard does not work (so the game is not keyboard playable). https://bugs.winehq.org/show_bug.cgi?id=13705
#  - Wine amd64 4.0.2: the debug log shows errors about missing POL_Install_riched30, once installed it crash until POL_Install_msls31 is installed. But then, the game crash to load...
#  - Wine amd64 3.0.3, 4.0.2, 4.0.3: Game installer does end, but POL (v4.3.4) does not notice it.. Workaround: create the shortcuts manually. Tried: 'POL_Wine start /unix'.
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Trackmania Nations Forever"
WORKING_WINE_VERSION="3.0.3"
POL_GetSetupImages "$SITE/setups/tmnf/top.jpg" "$SITE/setups/tmnf/left.jpg" "tmnf"
POL_Debug_Init
POL_SetupWindow_Init
POL_SetupWindow_presentation "$TITLE" "Focus Home Interactive" "http://www.trackmaniaunited.com/" "Tinou" "TMNations"
 
POL_RequiredVersion "4.2.12" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
POL_Wine_SelectPrefix "TMNations"
# Determine Architecture
# POL_System_SetArch "amd64"
POL_System_SetArch "x86"
if [ "$POL_SELECTED_FILE" = "" ]
then
    cd "$HOME"
    # POL_SetupWindow_message "$TITLE setup file is needed before to continue....\n\nDownload it here:\n\nhttp://www.trackmaniaunited.com/" "$TITLE"
    POL_SetupWindow_browse "Where is the installation file of $TITLE?" "$TITLE"
    CHEMIN="$APP_ANSWER"
else
    CHEMIN="$POL_SELECTED_FILE"
fi
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
Set_OS "vista"
# POL_Call POL_Install_riched30
# POL_Call POL_Install_msls31
if [ "$PLAYONMAC" = "" ]
then
    # PlayonLinux
# Was useful before 2019:
# Setting default path for installers
#POL_LoadVar_PROGRAMFILES
#    Set_SoundDriver "oss"
#    cd "$REPERTOIRE/wineprefix/TMNations/drive_c/$PROGRAMFILES/TmNationsForever/"
#    POL_SetupWindow_download "Downloading wrap_oal.dll" "$TITLE" "$SITE/dlls/wrap_oal.dll"
    
    # Sound problem fix - pulseaudio related.
    [ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa"
    [ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y"
    # End Fix
fi
cd "$REPERTOIRE/tmp"
 
POL_SetupWindow_wait "Installing $TITLE" "$TITLE"
 
Set_Managed Off
# /silent makes the installation a bit faster (no questions).
POL_Wine "$CHEMIN" "/silent"
if [ "$PLAYONMAC" = "" ]
then
    # It's PlayonLinux.
    
    # If the content of this 'if' is empty, this seems to block POL 4.3.4.
    POL_SetupWindow_message "$(eval_gettext 'Debug: PlayonLinux is running this script.')" "$TITLE"
else
    # It's PlayonMac.
    # Setting default path for installers
    POL_LoadVar_PROGRAMFILES
    cd "$REPERTOIRE/wineprefix/TMNations/drive_c/$PROGRAMFILES/TmNationsForever/"
    POL_SetupWindow_download "Fixing sound issue..." "$TITLE" "$SITE/divers/tmnf.zip"
    unzip tmnf.zip
    POL_Call POL_Function_OverrideDLL native,builtin openal32 wrap_oa
fi
POL_Shortcut "TmForever.exe" "$TITLE" "" "" "Game;SportsGame;" 
POL_Shortcut "TmForeverLauncher.exe" "$TITLE - Launcher" "" "" "Game;SportsGame;" 
# POL_SetupWindow_message "$TITLE has been successfully installed." "Track Mania Nation For Ever"
POL_SetupWindow_message "$(eval_gettext 'WARNING: to avoid to have huge log file, you should type \ninto Debug flags : fixme-all')" "$TITLE"
POL_SetupWindow_Close
exit | 
Contributions
Filters:
Contribuer| Membre | Messages | 
| unzipped | Vendredi 8 Mai 2020 à 20:33 | 
| unzipped   
 | MessagesI have successfully installed TMN, but when I want to start the Launcher does not find DirectX 9. I have installed d3dx9, d3dx9_43 and directx9 from components but still get this error. Does anybody have a hint? RéponsesVendredi 8 Mai 2020 à 23:29                                                                                     | 
| Dadu042 | Dimanche 1 Décembre 2019 à 21:20 | 
| Dadu042   
 | InformationCette mise à jour a été acceptée par l'équipe Differences@@ -15,17 +15,22 @@
 #   Cleanup.
 # [Dadu042] (2019-11-30 22-15)
 #   Fix audio.
-#   Try to understand the 'no keyboard' issue (sound before the installer ? one of the two .EXE ?).
+#   Try to understand the 'no keyboard' issue (set sound before the installer ? one of the two .EXE ?).
+# [Dadu042] (2019-12-01 14-00)
+#   Wine 4.0.2 -> 3.0.3 (to let more POL users to play the game because Wine 4.0.2 requires POL 4.3.4).
+#   Game version used: v2.11.26 (it's displayed on the launcher window, top bar).
 
 # KNOWN ISSUES:
 #  - Wine amd64 4.0.2: No sound nor music. Fix: force Alsa.
 #  - Wine amd64 2.22, 3.0.3, 3.21, 4.0.2 english/french, 4.0.3: keyboard does not work (so the game is not keyboard playable). https://bugs.winehq.org/show_bug.cgi?id=13705
+#  - Wine amd64 4.0.2: the debug log shows errors about missing POL_Install_riched30, once installed it crash until POL_Install_msls31 is installed. But then, the game crash to load...
+#  - Wine amd64 3.0.3, 4.0.2, 4.0.3: Game installer does end, but POL (v4.3.4) does not notice it.. Workaround: create the shortcuts manually. Tried: 'POL_Wine start /unix'.
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
  
 TITLE="Trackmania Nations Forever"
-WORKING_WINE_VERSION="4.0.2"
+WORKING_WINE_VERSION="3.0.3"
 
 POL_GetSetupImages "$SITE/setups/tmnf/top.jpg" "$SITE/setups/tmnf/left.jpg" "tmnf"
 POL_Debug_Init
@@ -42,14 +47,10 @@
 POL_System_SetArch "x86"
 
 
-POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
-Set_OS "win7"
-
- 
 if [ "$POL_SELECTED_FILE" = "" ]
 then
     cd "$HOME"
-    POL_SetupWindow_message "$TITLE setup file is needed before to continue....\n\nDownload it here:\n\nhttp://www.trackmaniaunited.com/" "$TITLE"
+    # POL_SetupWindow_message "$TITLE setup file is needed before to continue....\n\nDownload it here:\n\nhttp://www.trackmaniaunited.com/" "$TITLE"
     POL_SetupWindow_browse "Where is the installation file of $TITLE?" "$TITLE"
     CHEMIN="$APP_ANSWER"
 else
@@ -57,16 +58,25 @@
 fi
 
 
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+Set_OS "vista"
+
+# POL_Call POL_Install_riched30
+# POL_Call POL_Install_msls31
+
+
 if [ "$PLAYONMAC" = "" ]
 then
     # PlayonLinux
 
 # Was useful before 2019:
+# Setting default path for installers
+#POL_LoadVar_PROGRAMFILES
 #    Set_SoundDriver "oss"
 #    cd "$REPERTOIRE/wineprefix/TMNations/drive_c/$PROGRAMFILES/TmNationsForever/"
 #    POL_SetupWindow_download "Downloading wrap_oal.dll" "$TITLE" "$SITE/dlls/wrap_oal.dll"
     
-    # Sound problem fix - pulseaudio related
+    # Sound problem fix - pulseaudio related.
     [ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa"
     [ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y"
     # End Fix
@@ -74,31 +84,25 @@
 
 cd "$REPERTOIRE/tmp"
  
-# POL_SetupWindow_wait "Installing $TITLE" "$TITLE"
+POL_SetupWindow_wait "Installing $TITLE" "$TITLE"
  
 Set_Managed Off
-POL_Wine "$CHEMIN" 
- 
-# Setting default path for installers
-POL_LoadVar_PROGRAMFILES
+
+# /silent makes the installation a bit faster (no questions).
+POL_Wine "$CHEMIN" "/silent"
+
 
 if [ "$PLAYONMAC" = "" ]
 then
-    # PlayonLinux
-
-# Was useful before 2019:
-#    Set_SoundDriver "oss"
-#    cd "$REPERTOIRE/wineprefix/TMNations/drive_c/$PROGRAMFILES/TmNationsForever/"
-#    POL_SetupWindow_download "Downloading wrap_oal.dll" "$TITLE" "$SITE/dlls/wrap_oal.dll"
+    # It's PlayonLinux.
     
-    # Sound problem fix - pulseaudio related
-#    [ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa"
-#    [ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y"
-    # End Fix
+    # If the content of this 'if' is empty, this seems to block POL 4.3.4.
+    POL_SetupWindow_message "$(eval_gettext 'Debug: PlayonLinux is running this script.')" "$TITLE"
 
 else
-    # PlayonMac
+    # It's PlayonMac.
 
+    # Setting default path for installers
     POL_LoadVar_PROGRAMFILES
     cd "$REPERTOIRE/wineprefix/TMNations/drive_c/$PROGRAMFILES/TmNationsForever/"
     POL_SetupWindow_download "Fixing sound issue..." "$TITLE" "$SITE/divers/tmnf.zip"
@@ -106,9 +110,12 @@
     POL_Call POL_Function_OverrideDLL native,builtin openal32 wrap_oa
 fi
 
-POL_Shortcut "TmForeverLauncher.exe" "$TITLE" "" "" "Game;SportsGame;" 
+POL_Shortcut "TmForever.exe" "$TITLE" "" "" "Game;SportsGame;" 
 POL_Shortcut "TmForeverLauncher.exe" "$TITLE - Launcher" "" "" "Game;SportsGame;" 
- 
-POL_SetupWindow_message "$TITLE has been successfully installed." "Track Mania Nation For Ever"
+
+# POL_SetupWindow_message "$TITLE has been successfully installed." "Track Mania Nation For Ever"
+
+POL_SetupWindow_message "$(eval_gettext 'WARNING: to avoid to have huge log file, you should type \ninto Debug flags : fixme-all')" "$TITLE"
+
 POL_SetupWindow_Close
-exit
+exit
\ No newline at end of file
Nouveau code source#!/bin/bash
# Last revision : see changelog
# Tested : Debian 6.0, Mac OSX , Kubuntu 18.04 amd64
# Author : Tinou
# Script licence : GPLv3
# 
# This script is designed for PlayOnLinux and PlayOnMac. 
#
# CHANGELOG
# [Quentin P] (2011)
#   Initial writting.
# [Quentin P] (2011-08-20 13-00) 
#   Update for POL/POM 4 
# [Dadu042] (2019-11-15 12-55)
#   Cleanup.
# [Dadu042] (2019-11-30 22-15)
#   Fix audio.
#   Try to understand the 'no keyboard' issue (set sound before the installer ? one of the two .EXE ?).
# [Dadu042] (2019-12-01 14-00)
#   Wine 4.0.2 -> 3.0.3 (to let more POL users to play the game because Wine 4.0.2 requires POL 4.3.4).
#   Game version used: v2.11.26 (it's displayed on the launcher window, top bar).
# KNOWN ISSUES:
#  - Wine amd64 4.0.2: No sound nor music. Fix: force Alsa.
#  - Wine amd64 2.22, 3.0.3, 3.21, 4.0.2 english/french, 4.0.3: keyboard does not work (so the game is not keyboard playable). https://bugs.winehq.org/show_bug.cgi?id=13705
#  - Wine amd64 4.0.2: the debug log shows errors about missing POL_Install_riched30, once installed it crash until POL_Install_msls31 is installed. But then, the game crash to load...
#  - Wine amd64 3.0.3, 4.0.2, 4.0.3: Game installer does end, but POL (v4.3.4) does not notice it.. Workaround: create the shortcuts manually. Tried: 'POL_Wine start /unix'.
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Trackmania Nations Forever"
WORKING_WINE_VERSION="3.0.3"
POL_GetSetupImages "$SITE/setups/tmnf/top.jpg" "$SITE/setups/tmnf/left.jpg" "tmnf"
POL_Debug_Init
POL_SetupWindow_Init
POL_SetupWindow_presentation "$TITLE" "Focus Home Interactive" "http://www.trackmaniaunited.com/" "Tinou" "TMNations"
 
POL_RequiredVersion "4.2.12" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
POL_Wine_SelectPrefix "TMNations"
# Determine Architecture
# POL_System_SetArch "amd64"
POL_System_SetArch "x86"
if [ "$POL_SELECTED_FILE" = "" ]
then
    cd "$HOME"
    # POL_SetupWindow_message "$TITLE setup file is needed before to continue....\n\nDownload it here:\n\nhttp://www.trackmaniaunited.com/" "$TITLE"
    POL_SetupWindow_browse "Where is the installation file of $TITLE?" "$TITLE"
    CHEMIN="$APP_ANSWER"
else
    CHEMIN="$POL_SELECTED_FILE"
fi
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
Set_OS "vista"
# POL_Call POL_Install_riched30
# POL_Call POL_Install_msls31
if [ "$PLAYONMAC" = "" ]
then
    # PlayonLinux
# Was useful before 2019:
# Setting default path for installers
#POL_LoadVar_PROGRAMFILES
#    Set_SoundDriver "oss"
#    cd "$REPERTOIRE/wineprefix/TMNations/drive_c/$PROGRAMFILES/TmNationsForever/"
#    POL_SetupWindow_download "Downloading wrap_oal.dll" "$TITLE" "$SITE/dlls/wrap_oal.dll"
    
    # Sound problem fix - pulseaudio related.
    [ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa"
    [ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y"
    # End Fix
fi
cd "$REPERTOIRE/tmp"
 
POL_SetupWindow_wait "Installing $TITLE" "$TITLE"
 
Set_Managed Off
# /silent makes the installation a bit faster (no questions).
POL_Wine "$CHEMIN" "/silent"
if [ "$PLAYONMAC" = "" ]
then
    # It's PlayonLinux.
    
    # If the content of this 'if' is empty, this seems to block POL 4.3.4.
    POL_SetupWindow_message "$(eval_gettext 'Debug: PlayonLinux is running this script.')" "$TITLE"
else
    # It's PlayonMac.
    # Setting default path for installers
    POL_LoadVar_PROGRAMFILES
    cd "$REPERTOIRE/wineprefix/TMNations/drive_c/$PROGRAMFILES/TmNationsForever/"
    POL_SetupWindow_download "Fixing sound issue..." "$TITLE" "$SITE/divers/tmnf.zip"
    unzip tmnf.zip
    POL_Call POL_Function_OverrideDLL native,builtin openal32 wrap_oa
fi
POL_Shortcut "TmForever.exe" "$TITLE" "" "" "Game;SportsGame;" 
POL_Shortcut "TmForeverLauncher.exe" "$TITLE - Launcher" "" "" "Game;SportsGame;" 
# POL_SetupWindow_message "$TITLE has been successfully installed." "Track Mania Nation For Ever"
POL_SetupWindow_message "$(eval_gettext 'WARNING: to avoid to have huge log file, you should type \ninto Debug flags : fixme-all')" "$TITLE"
POL_SetupWindow_Close
exitRéponses | 
| Dadu042 | Dimanche 1 Décembre 2019 à 1:10 | 
| Dadu042   
 | WarningCette mise à jour n'a pas été approuvée par l'équipe. Differences@@ -13,24 +13,38 @@
 #   Update for POL/POM 4 
 # [Dadu042] (2019-11-15 12-55)
 #   Cleanup.
+# [Dadu042] (2019-11-30 22-15)
+#   Fix audio.
+#   Try to understand the 'no keyboard' issue (sound before the installer ? one of the two .EXE ?).
 
+# KNOWN ISSUES:
+#  - Wine amd64 4.0.2: No sound nor music. Fix: force Alsa.
+#  - Wine amd64 2.22, 3.0.3, 3.21, 4.0.2 english/french, 4.0.3: keyboard does not work (so the game is not keyboard playable). https://bugs.winehq.org/show_bug.cgi?id=13705
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
  
 TITLE="Trackmania Nations Forever"
- 
+WORKING_WINE_VERSION="4.0.2"
+
 POL_GetSetupImages "$SITE/setups/tmnf/top.jpg" "$SITE/setups/tmnf/left.jpg" "tmnf"
 POL_Debug_Init
 POL_SetupWindow_Init
 POL_SetupWindow_presentation "$TITLE" "Focus Home Interactive" "http://www.trackmaniaunited.com/" "Tinou" "TMNations"
  
-POL_RequiredVersion "4.0.3" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
+POL_RequiredVersion "4.2.12" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
+
 
-#Préparation de Wine
 POL_Wine_SelectPrefix "TMNations"
-POL_Wine_PrefixCreate
- 
+
+# Determine Architecture
+# POL_System_SetArch "amd64"
+POL_System_SetArch "x86"
+
+
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+Set_OS "win7"
+
  
 if [ "$POL_SELECTED_FILE" = "" ]
 then
@@ -41,22 +55,50 @@
 else
     CHEMIN="$POL_SELECTED_FILE"
 fi
- 
+
+
+if [ "$PLAYONMAC" = "" ]
+then
+    # PlayonLinux
+
+# Was useful before 2019:
+#    Set_SoundDriver "oss"
+#    cd "$REPERTOIRE/wineprefix/TMNations/drive_c/$PROGRAMFILES/TmNationsForever/"
+#    POL_SetupWindow_download "Downloading wrap_oal.dll" "$TITLE" "$SITE/dlls/wrap_oal.dll"
+    
+    # Sound problem fix - pulseaudio related
+    [ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa"
+    [ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y"
+    # End Fix
+fi
+
 cd "$REPERTOIRE/tmp"
  
-POL_SetupWindow_wait "Installing $TITLE" "$TITLE"
+# POL_SetupWindow_wait "Installing $TITLE" "$TITLE"
  
 Set_Managed Off
-POL_Wine "$CHEMIN"
+POL_Wine "$CHEMIN" 
  
+# Setting default path for installers
 POL_LoadVar_PROGRAMFILES
- 
+
 if [ "$PLAYONMAC" = "" ]
 then
-    Set_SoundDriver "oss"
-    cd "$REPERTOIRE/wineprefix/TMNations/drive_c/$PROGRAMFILES/TmNationsForever/"
-    POL_SetupWindow_download "Downloading wrap_oal.dll" "$TITLE" "$SITE/dlls/wrap_oal.dll"
+    # PlayonLinux
+
+# Was useful before 2019:
+#    Set_SoundDriver "oss"
+#    cd "$REPERTOIRE/wineprefix/TMNations/drive_c/$PROGRAMFILES/TmNationsForever/"
+#    POL_SetupWindow_download "Downloading wrap_oal.dll" "$TITLE" "$SITE/dlls/wrap_oal.dll"
+    
+    # Sound problem fix - pulseaudio related
+#    [ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa"
+#    [ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y"
+    # End Fix
+
 else
+    # PlayonMac
+
     POL_LoadVar_PROGRAMFILES
     cd "$REPERTOIRE/wineprefix/TMNations/drive_c/$PROGRAMFILES/TmNationsForever/"
     POL_SetupWindow_download "Fixing sound issue..." "$TITLE" "$SITE/divers/tmnf.zip"
@@ -64,8 +106,9 @@
     POL_Call POL_Function_OverrideDLL native,builtin openal32 wrap_oa
 fi
 
-POL_Shortcut "TmForeverLauncher.exe" "$TITLE" "" "" "Game;" 
+POL_Shortcut "TmForeverLauncher.exe" "$TITLE" "" "" "Game;SportsGame;" 
+POL_Shortcut "TmForeverLauncher.exe" "$TITLE - Launcher" "" "" "Game;SportsGame;" 
  
-POL_SetupWindow_message "$TITLE has been successfully installed" "Track Mania Nation For Ever"
+POL_SetupWindow_message "$TITLE has been successfully installed." "Track Mania Nation For Ever"
 POL_SetupWindow_Close
-exit
\ No newline at end of file
+exit
Nouveau code source#!/bin/bash
# Last revision : see changelog
# Tested : Debian 6.0, Mac OSX , Kubuntu 18.04 amd64
# Author : Tinou
# Script licence : GPLv3
# 
# This script is designed for PlayOnLinux and PlayOnMac. 
#
# CHANGELOG
# [Quentin P] (2011)
#   Initial writting.
# [Quentin P] (2011-08-20 13-00) 
#   Update for POL/POM 4 
# [Dadu042] (2019-11-15 12-55)
#   Cleanup.
# [Dadu042] (2019-11-30 22-15)
#   Fix audio.
#   Try to understand the 'no keyboard' issue (sound before the installer ? one of the two .EXE ?).
# KNOWN ISSUES:
#  - Wine amd64 4.0.2: No sound nor music. Fix: force Alsa.
#  - Wine amd64 2.22, 3.0.3, 3.21, 4.0.2 english/french, 4.0.3: keyboard does not work (so the game is not keyboard playable). https://bugs.winehq.org/show_bug.cgi?id=13705
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Trackmania Nations Forever"
WORKING_WINE_VERSION="4.0.2"
POL_GetSetupImages "$SITE/setups/tmnf/top.jpg" "$SITE/setups/tmnf/left.jpg" "tmnf"
POL_Debug_Init
POL_SetupWindow_Init
POL_SetupWindow_presentation "$TITLE" "Focus Home Interactive" "http://www.trackmaniaunited.com/" "Tinou" "TMNations"
 
POL_RequiredVersion "4.2.12" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
POL_Wine_SelectPrefix "TMNations"
# Determine Architecture
# POL_System_SetArch "amd64"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
Set_OS "win7"
 
if [ "$POL_SELECTED_FILE" = "" ]
then
    cd "$HOME"
    POL_SetupWindow_message "$TITLE setup file is needed before to continue....\n\nDownload it here:\n\nhttp://www.trackmaniaunited.com/" "$TITLE"
    POL_SetupWindow_browse "Where is the installation file of $TITLE?" "$TITLE"
    CHEMIN="$APP_ANSWER"
else
    CHEMIN="$POL_SELECTED_FILE"
fi
if [ "$PLAYONMAC" = "" ]
then
    # PlayonLinux
# Was useful before 2019:
#    Set_SoundDriver "oss"
#    cd "$REPERTOIRE/wineprefix/TMNations/drive_c/$PROGRAMFILES/TmNationsForever/"
#    POL_SetupWindow_download "Downloading wrap_oal.dll" "$TITLE" "$SITE/dlls/wrap_oal.dll"
    
    # Sound problem fix - pulseaudio related
    [ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa"
    [ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y"
    # End Fix
fi
cd "$REPERTOIRE/tmp"
 
# POL_SetupWindow_wait "Installing $TITLE" "$TITLE"
 
Set_Managed Off
POL_Wine "$CHEMIN" 
 
# Setting default path for installers
POL_LoadVar_PROGRAMFILES
if [ "$PLAYONMAC" = "" ]
then
    # PlayonLinux
# Was useful before 2019:
#    Set_SoundDriver "oss"
#    cd "$REPERTOIRE/wineprefix/TMNations/drive_c/$PROGRAMFILES/TmNationsForever/"
#    POL_SetupWindow_download "Downloading wrap_oal.dll" "$TITLE" "$SITE/dlls/wrap_oal.dll"
    
    # Sound problem fix - pulseaudio related
#    [ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa"
#    [ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y"
    # End Fix
else
    # PlayonMac
    POL_LoadVar_PROGRAMFILES
    cd "$REPERTOIRE/wineprefix/TMNations/drive_c/$PROGRAMFILES/TmNationsForever/"
    POL_SetupWindow_download "Fixing sound issue..." "$TITLE" "$SITE/divers/tmnf.zip"
    unzip tmnf.zip
    POL_Call POL_Function_OverrideDLL native,builtin openal32 wrap_oa
fi
POL_Shortcut "TmForeverLauncher.exe" "$TITLE" "" "" "Game;SportsGame;" 
POL_Shortcut "TmForeverLauncher.exe" "$TITLE - Launcher" "" "" "Game;SportsGame;" 
 
POL_SetupWindow_message "$TITLE has been successfully installed." "Track Mania Nation For Ever"
POL_SetupWindow_Close
exit
Réponses | 
| Dadu042 | Jeudi 28 Novembre 2019 à 15:36 | 
| Dadu042   
 | WarningCette mise à jour n'a pas été approuvée par l'équipe. Differences@@ -1,71 +1,71 @@ #!/bin/bash -# Last revision : (2011-08-20 13-00) -# Tested : Debian 6.0, Mac OSX +# Last revision : see changelog +# Tested : Debian 6.0, Mac OSX , Kubuntu 18.04 amd64 # Author : Tinou # Script licence : GPLv3 # # This script is designed for PlayOnLinux and PlayOnMac. # -# * Revision (2011-08-20 13-00) -# - Update for POL/POM 4 +# CHANGELOG +# [Quentin P] (2011) +# Initial writting. +# [Quentin P] (2011-08-20 13-00) +# Update for POL/POM 4 +# [Dadu042] (2019-11-15 12-55) +# Cleanup. + [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" - + TITLE="Trackmania Nations Forever" - + POL_GetSetupImages "$SITE/setups/tmnf/top.jpg" "$SITE/setups/tmnf/left.jpg" "tmnf" POL_Debug_Init -POL_SetupWindow_Init +POL_SetupWindow_Init POL_SetupWindow_presentation "$TITLE" "Focus Home Interactive" "http://www.trackmaniaunited.com/" "Tinou" "TMNations" - - - - -# FIXME -[ ! "$VERSION" = "4.0.3" ] && POL_Browser "http://www.trackmaniaunited.com" + +POL_RequiredVersion "4.0.3" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE" #Préparation de Wine POL_Wine_SelectPrefix "TMNations" POL_Wine_PrefixCreate - - + + if [ "$POL_SELECTED_FILE" = "" ] then -cd "$HOME" -POL_SetupWindow_message "$TITLE setup file is needed before to continue....\n\nDownload it here:\n\nhttp://www.trackmaniaunited.com/" "$TITLE" -POL_SetupWindow_browse "Where is the installation file of $TITLE?" "$TITLE" -CHEMIN="$APP_ANSWER" + cd "$HOME" + POL_SetupWindow_message "$TITLE setup file is needed before to continue....\n\nDownload it here:\n\nhttp://www.trackmaniaunited.com/" "$TITLE" + POL_SetupWindow_browse "Where is the installation file of $TITLE?" "$TITLE" + CHEMIN="$APP_ANSWER" else -CHEMIN="$POL_SELECTED_FILE" + CHEMIN="$POL_SELECTED_FILE" fi - + cd "$REPERTOIRE/tmp" - + POL_SetupWindow_wait "Installing $TITLE" "$TITLE" - + Set_Managed Off POL_Wine "$CHEMIN" - + POL_LoadVar_PROGRAMFILES - + if [ "$PLAYONMAC" = "" ] then -Set_SoundDriver "oss" -cd "$REPERTOIRE/wineprefix/TMNations/drive_c/$PROGRAMFILES/TmNationsForever/" -POL_SetupWindow_download "Downloading wrap_oal.dll" "$TITLE" "$SITE/dlls/wrap_oal.dll" + Set_SoundDriver "oss" + cd "$REPERTOIRE/wineprefix/TMNations/drive_c/$PROGRAMFILES/TmNationsForever/" + POL_SetupWindow_download "Downloading wrap_oal.dll" "$TITLE" "$SITE/dlls/wrap_oal.dll" else -POL_LoadVar_PROGRAMFILES -cd "$REPERTOIRE/wineprefix/TMNations/drive_c/$PROGRAMFILES/TmNationsForever/" -POL_SetupWindow_download "Fixing sound issue..." "$TITLE" "$SITE/divers/tmnf.zip" -unzip tmnf.zip -POL_Call POL_Function_OverrideDLL native,builtin openal32 wrap_oa + POL_LoadVar_PROGRAMFILES + cd "$REPERTOIRE/wineprefix/TMNations/drive_c/$PROGRAMFILES/TmNationsForever/" + POL_SetupWindow_download "Fixing sound issue..." "$TITLE" "$SITE/divers/tmnf.zip" + unzip tmnf.zip + POL_Call POL_Function_OverrideDLL native,builtin openal32 wrap_oa fi -#CREATION LANCEUR -POL_Shortcut "TmForeverLauncher.exe" "$TITLE" - - +POL_Shortcut "TmForeverLauncher.exe" "$TITLE" "" "" "Game;" + POL_SetupWindow_message "$TITLE has been successfully installed" "Track Mania Nation For Ever" POL_SetupWindow_Close exit \ No newline at end of file Nouveau code source#!/bin/bash
# Last revision : see changelog
# Tested : Debian 6.0, Mac OSX , Kubuntu 18.04 amd64
# Author : Tinou
# Script licence : GPLv3
# 
# This script is designed for PlayOnLinux and PlayOnMac. 
#
# CHANGELOG
# [Quentin P] (2011)
#   Initial writting.
# [Quentin P] (2011-08-20 13-00) 
#   Update for POL/POM 4 
# [Dadu042] (2019-11-15 12-55)
#   Cleanup.
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Trackmania Nations Forever"
 
POL_GetSetupImages "$SITE/setups/tmnf/top.jpg" "$SITE/setups/tmnf/left.jpg" "tmnf"
POL_Debug_Init
POL_SetupWindow_Init
POL_SetupWindow_presentation "$TITLE" "Focus Home Interactive" "http://www.trackmaniaunited.com/" "Tinou" "TMNations"
 
POL_RequiredVersion "4.0.3" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
#Préparation de Wine
POL_Wine_SelectPrefix "TMNations"
POL_Wine_PrefixCreate
 
 
if [ "$POL_SELECTED_FILE" = "" ]
then
    cd "$HOME"
    POL_SetupWindow_message "$TITLE setup file is needed before to continue....\n\nDownload it here:\n\nhttp://www.trackmaniaunited.com/" "$TITLE"
    POL_SetupWindow_browse "Where is the installation file of $TITLE?" "$TITLE"
    CHEMIN="$APP_ANSWER"
else
    CHEMIN="$POL_SELECTED_FILE"
fi
 
cd "$REPERTOIRE/tmp"
 
POL_SetupWindow_wait "Installing $TITLE" "$TITLE"
 
Set_Managed Off
POL_Wine "$CHEMIN"
 
POL_LoadVar_PROGRAMFILES
 
if [ "$PLAYONMAC" = "" ]
then
    Set_SoundDriver "oss"
    cd "$REPERTOIRE/wineprefix/TMNations/drive_c/$PROGRAMFILES/TmNationsForever/"
    POL_SetupWindow_download "Downloading wrap_oal.dll" "$TITLE" "$SITE/dlls/wrap_oal.dll"
else
    POL_LoadVar_PROGRAMFILES
    cd "$REPERTOIRE/wineprefix/TMNations/drive_c/$PROGRAMFILES/TmNationsForever/"
    POL_SetupWindow_download "Fixing sound issue..." "$TITLE" "$SITE/divers/tmnf.zip"
    unzip tmnf.zip
    POL_Call POL_Function_OverrideDLL native,builtin openal32 wrap_oa
fi
POL_Shortcut "TmForeverLauncher.exe" "$TITLE" "" "" "Game;" 
 
POL_SetupWindow_message "$TITLE has been successfully installed" "Track Mania Nation For Ever"
POL_SetupWindow_Close
exitRéponses | 
| liloldboy | Jeudi 7 Février 2019 à 9:16 | 
| liloldboy   
 | MessagesThis program does run really well, despite it freezing every 5 minutes or so. Thus I am needing to force quit it which in turn damages the application and unables me to open it again... Please help! I have re-installed it multiple times and still get the same issue. RéponsesEdité par liloldboy | 
| javi_er | Mercredi 29 Novembre 2017 à 13:57 | 
| javi_er   
 | MessagesI installed it and it seems to run very well, except I can't log in or do anything because the keyboard doesn't work. It's ignoring anything I type.  I'm not very skilled with Linux so a simplified explanation would be much appretiated  Réponses | 
| iuvbio | Samedi 12 Décembre 2015 à 19:10 | 
| iuvbio   
 | MessagesHi, I have installed the game via the installer and it all works fine, except that it cannot connect to the internet. Whether I want to create a new account or log in using my existing one it always tells me that I am not connected, although I definitely am. Do you have any idea how to solve this? Thanks in advance. Réponses | 
| Quentin PÂRIS | Vendredi 29 Aoüt 2014 à 9:22 | 
| Quentin PÂRIS   
 | WarningCette mise à jour n'a pas été approuvée par l'équipe. Differences@@ -29,16 +29,19 @@ POL_Wine_SelectPrefix "TMNations" POL_Wine_PrefixCreate -cd "$REPERTOIRE/tmp" if [ "$POL_SELECTED_FILE" = "" ] then +cd "$HOME" POL_SetupWindow_message "$TITLE setup file is needed before to continue....\n\nDownload it here:\n\nhttp://www.trackmaniaunited.com/" "$TITLE" POL_SetupWindow_browse "Where is the installation file of $TITLE?" "$TITLE" CHEMIN="$APP_ANSWER" else CHEMIN="$POL_SELECTED_FILE" fi + +cd "$REPERTOIRE/tmp" + POL_SetupWindow_wait "Installing $TITLE" "$TITLE" Set_Managed Off Nouveau code source#!/bin/bash # Last revision : (2011-08-20 13-00) # Tested : Debian 6.0, Mac OSX # Author : Tinou # Script licence : GPLv3 # # This script is designed for PlayOnLinux and PlayOnMac. # # * Revision (2011-08-20 13-00) # - Update for POL/POM 4 [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Trackmania Nations Forever" POL_GetSetupImages "$SITE/setups/tmnf/top.jpg" "$SITE/setups/tmnf/left.jpg" "tmnf" POL_Debug_Init POL_SetupWindow_Init POL_SetupWindow_presentation "$TITLE" "Focus Home Interactive" "http://www.trackmaniaunited.com/" "Tinou" "TMNations" # FIXME [ ! "$VERSION" = "4.0.3" ] && POL_Browser "http://www.trackmaniaunited.com" #Préparation de Wine POL_Wine_SelectPrefix "TMNations" POL_Wine_PrefixCreate if [ "$POL_SELECTED_FILE" = "" ] then cd "$HOME" POL_SetupWindow_message "$TITLE setup file is needed before to continue....\n\nDownload it here:\n\nhttp://www.trackmaniaunited.com/" "$TITLE" POL_SetupWindow_browse "Where is the installation file of $TITLE?" "$TITLE" CHEMIN="$APP_ANSWER" else CHEMIN="$POL_SELECTED_FILE" fi cd "$REPERTOIRE/tmp" POL_SetupWindow_wait "Installing $TITLE" "$TITLE" Set_Managed Off POL_Wine "$CHEMIN" POL_LoadVar_PROGRAMFILES if [ "$PLAYONMAC" = "" ] then Set_SoundDriver "oss" cd "$REPERTOIRE/wineprefix/TMNations/drive_c/$PROGRAMFILES/TmNationsForever/" POL_SetupWindow_download "Downloading wrap_oal.dll" "$TITLE" "$SITE/dlls/wrap_oal.dll" else POL_LoadVar_PROGRAMFILES cd "$REPERTOIRE/wineprefix/TMNations/drive_c/$PROGRAMFILES/TmNationsForever/" POL_SetupWindow_download "Fixing sound issue..." "$TITLE" "$SITE/divers/tmnf.zip" unzip tmnf.zip POL_Call POL_Function_OverrideDLL native,builtin openal32 wrap_oa fi #CREATION LANCEUR POL_Shortcut "TmForeverLauncher.exe" "$TITLE" POL_SetupWindow_message "$TITLE has been successfully installed" "Track Mania Nation For Ever" POL_SetupWindow_Close exit Réponses | 
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
 Installer ce programme
 Installer ce programme                        


 ShouldI reinstall or something?
 ShouldI reinstall or something?