Vous êtes ici

Nox

Informations

Créateur Messages
horsemanoffaith Anonymous

Information

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

Informations

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

Retours d'expérience

Description

English: Nox (released in 2000) is an hack'n'slash game. Choose between a warrior, a druid or a magician, then just hack away.
Wikipedia. PCGamingWiki. AppDB.winehq.org

Français : Nox est un "hack and slash", dans lequel vous pouvez jouer un guerrier, un druide ou un magicien, sans vous prendre la tête.

Captures d'écran

Miniature

Code source

#!/bin/bash
# Date : (2013-02-09 17-55)
# Last revision : See changelog
# Wine version used : 1.4.1
# Distribution used to test : XUbuntu 19.04 x64
# Author : horsemanoffaith
#
# CHANGELOG
# [horsemanoffaith] (2013-02-09)
#   First script.
# [Dadu042] (2019-09-12)  with the GOG installer (contain game v1.2).
#   Add comments, game category.
#   Wine 1.4.1 -> 2.22 (because GUI issues with POL installer up to v1.9.24, Ubuntu 18.10)
# 
#
# KNOWN ISSUES
# - Screen resolution crashed (wrong frequency) after tring to optimise the display on a 1280x1024 monitor (by selecting 1024x768).
#   GPU involved was: PCI Nvidia. Only rebooting and using the iGPU Intel allowed me to retake access to the computer (OS: XUbuntu 19.04 x64).


[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Nox"
PREFIX="Nox"
WORKING_WINE_VERSION="2.22"
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"

SHORTCUT_FILENAME="nox.exe"
SOFTWARE_CATEGORIES="Game;RolePlaying;"
GAME_VMS="4" 
 
POL_SetupWindow_Init
# For POL_System_CopyDirectory function
POL_RequiredVersion "4.0.18"
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Westwood Studios / Electronic Arts" "http://www.ea.com" "horsemanoffaith" "$PREFIX"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

Set_OS winxp

# Choose between Steam and other Digital Download versions
POL_SetupWindow_InstallMethod "DVD,LOCAL"

if [ "$INSTALL_METHOD" == "DVD" ]; then

        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "setup.exe"
 
        cd "$CDROM"
        POL_Wine "setup.exe"
        POL_Wine_WaitExit "$TITLE"
 
        mkdir "$POL_USER_ROOT/wineprefix/Nox/drive_c/Westwood/Nox/music"
        mkdir "$POL_USER_ROOT/wineprefix/Nox/drive_c/Westwood/Nox/movies"
 
        POL_System_CopyDirectory "$CDROM/install/music" "$POL_USER_ROOT/wineprefix/Nox/drive_c/Westwood/Nox/music"
        POL_System_CopyDirectory "$CDROM/install/movies" "$POL_USER_ROOT/wineprefix/Nox/drive_c/Westwood/Nox/movies"

        # Apply patch v1.2 
        #
        cd "$POL_USER_ROOT/wineprefix/Nox/drive_c/Westwood/Nox"
        POL_Download "http://files.playonlinux.com/NoxEng12.exe" "3080102586633a684fd64ea19f52f024"
        POL_Wine "NoxEng12.exe"

elif [ "$INSTALL_METHOD" == "LOCAL" ]; then

        # Asking then installing local files of the game
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE"
#        POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES"
#        POL_Shortcut_Document "$TITLE" "Readme.txt"
fi

POL_Shortcut "NOX.EXE" "$TITLE" "$TITLE.png" "" "$SOFTWARE_CATEGORIES"

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribuer
Membre Messages
Dadu042 Mardi 24 September 2019 à 23:59
Dadu042

Information

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

Differences

@@ -2,23 +2,33 @@
 # Date : (2013-02-09 17-55)
 # Last revision : See changelog
 # Wine version used : 1.4.1
-# Distribution used to test : Ubuntu 12.04.01 LTS 64-bit
+# Distribution used to test : XUbuntu 19.04 x64
 # Author : horsemanoffaith
 #
 # CHANGELOG
 # [horsemanoffaith] (2013-02-09)
 #   First script.
-# [Dadu042] (2019-09-12)
+# [Dadu042] (2019-09-12)  with the GOG installer (contain game v1.2).
 #   Add comments, game category.
+#   Wine 1.4.1 -> 2.22 (because GUI issues with POL installer up to v1.9.24, Ubuntu 18.10)
+# 
+#
+# KNOWN ISSUES
+# - Screen resolution crashed (wrong frequency) after tring to optimise the display on a 1280x1024 monitor (by selecting 1024x768).
+#   GPU involved was: PCI Nvidia. Only rebooting and using the iGPU Intel allowed me to retake access to the computer (OS: XUbuntu 19.04 x64).
+
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
  
 TITLE="Nox"
 PREFIX="Nox"
-WORKING_WINE_VERSION="1.4.1"
+WORKING_WINE_VERSION="2.22"
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
- 
+
+SHORTCUT_FILENAME="nox.exe"
+SOFTWARE_CATEGORIES="Game;RolePlaying;"
+GAME_VMS="4" 
  
 POL_SetupWindow_Init
 # For POL_System_CopyDirectory function
@@ -32,27 +42,46 @@
 
 Set_OS winxp
 
-POL_SetupWindow_cdrom
-POL_SetupWindow_check_cdrom "setup.exe"
+# Choose between Steam and other Digital Download versions
+POL_SetupWindow_InstallMethod "DVD,LOCAL"
+
+if [ "$INSTALL_METHOD" == "DVD" ]; then
+
+	POL_SetupWindow_cdrom
+	POL_SetupWindow_check_cdrom "setup.exe"
  
-cd "$CDROM"
-POL_Wine "setup.exe"
-POL_Wine_WaitExit "$TITLE"
+	cd "$CDROM"
+	POL_Wine "setup.exe"
+	POL_Wine_WaitExit "$TITLE"
  
-mkdir "$POL_USER_ROOT/wineprefix/Nox/drive_c/Westwood/Nox/music"
-mkdir "$POL_USER_ROOT/wineprefix/Nox/drive_c/Westwood/Nox/movies"
+	mkdir "$POL_USER_ROOT/wineprefix/Nox/drive_c/Westwood/Nox/music"
+	mkdir "$POL_USER_ROOT/wineprefix/Nox/drive_c/Westwood/Nox/movies"
  
-POL_System_CopyDirectory "$CDROM/install/music" "$POL_USER_ROOT/wineprefix/Nox/drive_c/Westwood/Nox/music"
-POL_System_CopyDirectory "$CDROM/install/movies" "$POL_USER_ROOT/wineprefix/Nox/drive_c/Westwood/Nox/movies"
+	POL_System_CopyDirectory "$CDROM/install/music" "$POL_USER_ROOT/wineprefix/Nox/drive_c/Westwood/Nox/music"
+	POL_System_CopyDirectory "$CDROM/install/movies" "$POL_USER_ROOT/wineprefix/Nox/drive_c/Westwood/Nox/movies"
+
+	# Apply patch v1.2 
+	#
+	cd "$POL_USER_ROOT/wineprefix/Nox/drive_c/Westwood/Nox"
+	POL_Download "http://files.playonlinux.com/NoxEng12.exe" "3080102586633a684fd64ea19f52f024"
+	POL_Wine "NoxEng12.exe"
+
+elif [ "$INSTALL_METHOD" == "LOCAL" ]; then
+
+        # Asking then installing local files of the game
+        cd "$HOME"
+        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
+        SETUP_EXE="$APP_ANSWER"
+        POL_Wine start /unix "$SETUP_EXE"
+        POL_Wine_WaitExit "$TITLE"
+#        POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES"
+#        POL_Shortcut_Document "$TITLE" "Readme.txt"
+fi
+
+POL_Shortcut "NOX.EXE" "$TITLE" "$TITLE.png" "" "$SOFTWARE_CATEGORIES"
+
+# Asking about memory size of graphic card
+POL_SetupWindow_VMS $GAME_VMS
 
-# Apply patch v1.2 
-#
-cd "$POL_USER_ROOT/wineprefix/Nox/drive_c/Westwood/Nox"
-POL_Download "http://files.playonlinux.com/NoxEng12.exe" "3080102586633a684fd64ea19f52f024"
-POL_Wine "NoxEng12.exe"
- 
-POL_Shortcut "NOX.EXE" "$TITLE" "$TITLE.png" "" "Game;RolePlaying;"
- 
 POL_SetupWindow_Close
- 
 exit 0
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2013-02-09 17-55)
# Last revision : See changelog
# Wine version used : 1.4.1
# Distribution used to test : XUbuntu 19.04 x64
# Author : horsemanoffaith
#
# CHANGELOG
# [horsemanoffaith] (2013-02-09)
#   First script.
# [Dadu042] (2019-09-12)  with the GOG installer (contain game v1.2).
#   Add comments, game category.
#   Wine 1.4.1 -> 2.22 (because GUI issues with POL installer up to v1.9.24, Ubuntu 18.10)
# 
#
# KNOWN ISSUES
# - Screen resolution crashed (wrong frequency) after tring to optimise the display on a 1280x1024 monitor (by selecting 1024x768).
#   GPU involved was: PCI Nvidia. Only rebooting and using the iGPU Intel allowed me to retake access to the computer (OS: XUbuntu 19.04 x64).


[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Nox"
PREFIX="Nox"
WORKING_WINE_VERSION="2.22"
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"

SHORTCUT_FILENAME="nox.exe"
SOFTWARE_CATEGORIES="Game;RolePlaying;"
GAME_VMS="4" 
 
POL_SetupWindow_Init
# For POL_System_CopyDirectory function
POL_RequiredVersion "4.0.18"
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Westwood Studios / Electronic Arts" "http://www.ea.com" "horsemanoffaith" "$PREFIX"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

Set_OS winxp

# Choose between Steam and other Digital Download versions
POL_SetupWindow_InstallMethod "DVD,LOCAL"

if [ "$INSTALL_METHOD" == "DVD" ]; then

        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "setup.exe"
 
        cd "$CDROM"
        POL_Wine "setup.exe"
        POL_Wine_WaitExit "$TITLE"
 
        mkdir "$POL_USER_ROOT/wineprefix/Nox/drive_c/Westwood/Nox/music"
        mkdir "$POL_USER_ROOT/wineprefix/Nox/drive_c/Westwood/Nox/movies"
 
        POL_System_CopyDirectory "$CDROM/install/music" "$POL_USER_ROOT/wineprefix/Nox/drive_c/Westwood/Nox/music"
        POL_System_CopyDirectory "$CDROM/install/movies" "$POL_USER_ROOT/wineprefix/Nox/drive_c/Westwood/Nox/movies"

        # Apply patch v1.2 
        #
        cd "$POL_USER_ROOT/wineprefix/Nox/drive_c/Westwood/Nox"
        POL_Download "http://files.playonlinux.com/NoxEng12.exe" "3080102586633a684fd64ea19f52f024"
        POL_Wine "NoxEng12.exe"

elif [ "$INSTALL_METHOD" == "LOCAL" ]; then

        # Asking then installing local files of the game
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE"
#        POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES"
#        POL_Shortcut_Document "$TITLE" "Readme.txt"
fi

POL_Shortcut "NOX.EXE" "$TITLE" "$TITLE.png" "" "$SOFTWARE_CATEGORIES"

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

POL_SetupWindow_Close
exit 0

Réponses

Dadu042 Lundi 23 September 2019 à 17:16
Dadu042

Warning

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

Messages

Changelog added.

Differences

@@ -1,50 +1,58 @@
 #!/bin/bash
 # Date : (2013-02-09 17-55)
-# Last revision : (2013-02-09 17-55)
+# Last revision : See changelog
 # Wine version used : 1.4.1
 # Distribution used to test : Ubuntu 12.04.01 LTS 64-bit
 # Author : horsemanoffaith
+#
+# CHANGELOG
+# [horsemanoffaith] (2013-02-09)
+#   First script.
+# [Dadu042] (2019-09-12)
+#   Add comments, game category.
 
-[ "$PLAYONLINUX" = "" ] && exit
+[ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-
+ 
 TITLE="Nox"
 PREFIX="Nox"
 WORKING_WINE_VERSION="1.4.1"
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
-
-
+ 
+ 
 POL_SetupWindow_Init
 # For POL_System_CopyDirectory function
 POL_RequiredVersion "4.0.18"
 POL_Debug_Init
-
+ 
 POL_SetupWindow_presentation "$TITLE" "Westwood Studios / Electronic Arts" "http://www.ea.com" "horsemanoffaith" "$PREFIX"
-
+ 
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
+Set_OS winxp
+
 POL_SetupWindow_cdrom
 POL_SetupWindow_check_cdrom "setup.exe"
-
+ 
 cd "$CDROM"
 POL_Wine "setup.exe"
 POL_Wine_WaitExit "$TITLE"
-
+ 
 mkdir "$POL_USER_ROOT/wineprefix/Nox/drive_c/Westwood/Nox/music"
 mkdir "$POL_USER_ROOT/wineprefix/Nox/drive_c/Westwood/Nox/movies"
-
+ 
 POL_System_CopyDirectory "$CDROM/install/music" "$POL_USER_ROOT/wineprefix/Nox/drive_c/Westwood/Nox/music"
 POL_System_CopyDirectory "$CDROM/install/movies" "$POL_USER_ROOT/wineprefix/Nox/drive_c/Westwood/Nox/movies"
 
+# Apply patch v1.2 
+#
 cd "$POL_USER_ROOT/wineprefix/Nox/drive_c/Westwood/Nox"
 POL_Download "http://files.playonlinux.com/NoxEng12.exe" "3080102586633a684fd64ea19f52f024"
 POL_Wine "NoxEng12.exe"
-
-Set_OS winxp
-
-POL_Shortcut "NOX.EXE" "$TITLE" "$TITLE.png"
-
+ 
+POL_Shortcut "NOX.EXE" "$TITLE" "$TITLE.png" "" "Game;RolePlaying;"
+ 
 POL_SetupWindow_Close
-
-exit
\ No newline at end of file
+ 
+exit 0
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2013-02-09 17-55)
# Last revision : See changelog
# Wine version used : 1.4.1
# Distribution used to test : Ubuntu 12.04.01 LTS 64-bit
# Author : horsemanoffaith
#
# CHANGELOG
# [horsemanoffaith] (2013-02-09)
#   First script.
# [Dadu042] (2019-09-12)
#   Add comments, game category.

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Nox"
PREFIX="Nox"
WORKING_WINE_VERSION="1.4.1"
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
 
 
POL_SetupWindow_Init
# For POL_System_CopyDirectory function
POL_RequiredVersion "4.0.18"
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Westwood Studios / Electronic Arts" "http://www.ea.com" "horsemanoffaith" "$PREFIX"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

Set_OS winxp

POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "setup.exe"
 
cd "$CDROM"
POL_Wine "setup.exe"
POL_Wine_WaitExit "$TITLE"
 
mkdir "$POL_USER_ROOT/wineprefix/Nox/drive_c/Westwood/Nox/music"
mkdir "$POL_USER_ROOT/wineprefix/Nox/drive_c/Westwood/Nox/movies"
 
POL_System_CopyDirectory "$CDROM/install/music" "$POL_USER_ROOT/wineprefix/Nox/drive_c/Westwood/Nox/music"
POL_System_CopyDirectory "$CDROM/install/movies" "$POL_USER_ROOT/wineprefix/Nox/drive_c/Westwood/Nox/movies"

# Apply patch v1.2 
#
cd "$POL_USER_ROOT/wineprefix/Nox/drive_c/Westwood/Nox"
POL_Download "http://files.playonlinux.com/NoxEng12.exe" "3080102586633a684fd64ea19f52f024"
POL_Wine "NoxEng12.exe"
 
POL_Shortcut "NOX.EXE" "$TITLE" "$TITLE.png" "" "Game;RolePlaying;"
 
POL_SetupWindow_Close
 
exit 0

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