NosTale

Informatie

Creator Bericht
GNU_Raziel

Information

This installer has been approved by the team.

Informatie

Platforms:
Downloads: 24993
Wine: 3.0

Feedbacks

Omschrijving

Game released in 2008.

Wikipedia (Editor). PCGamingWiki.

Schermafdrukken

Miniature

Broncode

#!/bin/bash
# Date : (2012-05-16 21:00)
# Last revision : (2018-02-08 23:20)
# Wine version used : 1.4-Nostale, 3.0
# Distribution used to test : Linux Mint 12 x64, Ubuntu 18.04 x64
# Author : GNU_Raziel, LinuxScripter
# Licence : Retail
# Only For : http://www.playonlinux.com

## Begin Note ##
# Used patch to fix Bug #15232 - http://bugs.winehq.org/show_bug.cgi?id=15232
## End Note ##

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

TITLE="NosTale"
PREFIX="nostale"
EDITOR="Gameforge"
GAME_URL="http://www.nostale.com"
AUTHOR="GNU_Raziel and LinuxScripter"
WORKING_WINE_VERSION="3.0"
GAME_VMS="128"

# Starting the script
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/nostale/top.jpg" "http://files.playonlinux.com/resources/setups/nostale/left.jpg" "$TITLE"
POL_SetupWindow_Init

# Starting debugging API
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" 

# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"

# Downloading wine if necessary and creating prefix
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# Installing mandatory dependencies
POL_Call POL_Install_corefonts

# Begin installation
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"

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver

## Fix for this game
# Sound problem fix - pulseaudio related
[ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa"
[ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y"
## End Fix

# Making shortcut
POL_Shortcut "Nostale.exe" "$TITLE" "$TITLE.png" ""

POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Bericht
LinuxScripter Donderdag 8 Februari 2018 om 23:25
LinuxScripter Anonymous

Information

This update has been approved by the team.

Bericht

The script fails to install NosTale. The function for corefonts seems to be obsolete. After selecting the .exe file this shows up in debug log a couple times:

module:load_builtin_dll failed to load .so lib for builtin L"winex11.drv": libSM.so.6:can't open shared object: No file or directory found.

After that this shows up:

Application tried to create a window, but no driver could be loaded.
Unknown error (127).
Unhandled page fault on read access to 0x00000004 at address 0x0000:0x7e749bb4 (thread 0025), starting debugger...
err:seh:setup_exception_record stack overflow 832 bytes in thread 0025 eip 7bc3f2ef esp 00240ff0 stack 0x240000-0x241000-0x340000

I've tried to update the script. It manages to install teh game and download all the updates. Starting the game works. I haven't tested anything other than that.

Differences

@@ -1,9 +1,9 @@
 #!/bin/bash
 # Date : (2012-05-16 21:00)
-# Last revision : N/A
-# Wine version used : 1.4-Nostale
-# Distribution used to test : Linux Mint 12 x64
-# Author : GNU_Raziel
+# Last revision : (2018-02-08 23:20)
+# Wine version used : 1.4-Nostale, 3.0
+# Distribution used to test : Linux Mint 12 x64, Ubuntu 18.04 x64
+# Author : GNU_Raziel, LinuxScripter
 # Licence : Retail
 # Only For : http://www.playonlinux.com
 
@@ -18,8 +18,8 @@
 PREFIX="nostale"
 EDITOR="Gameforge"
 GAME_URL="http://www.nostale.com"
-AUTHOR="GNU_Raziel"
-WORKING_WINE_VERSION="1.4-Nostale"
+AUTHOR="GNU_Raziel and LinuxScripter"
+WORKING_WINE_VERSION="3.0"
 GAME_VMS="128"
 
 # Starting the script
@@ -35,11 +35,11 @@
 POL_Wine_SelectPrefix "$PREFIX"
 
 # Downloading wine if necessary and creating prefix
-POL_System_SetArch "auto"
+POL_System_SetArch "x86"
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
 # Installing mandatory dependencies
-POL_Wine_InstallFonts
+POL_Call POL_Install_corefonts
 
 # Begin installation
 cd "$HOME"

New source code

#!/bin/bash
# Date : (2012-05-16 21:00)
# Last revision : (2018-02-08 23:20)
# Wine version used : 1.4-Nostale, 3.0
# Distribution used to test : Linux Mint 12 x64, Ubuntu 18.04 x64
# Author : GNU_Raziel, LinuxScripter
# Licence : Retail
# Only For : http://www.playonlinux.com

## Begin Note ##
# Used patch to fix Bug #15232 - http://bugs.winehq.org/show_bug.cgi?id=15232
## End Note ##

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

TITLE="NosTale"
PREFIX="nostale"
EDITOR="Gameforge"
GAME_URL="http://www.nostale.com"
AUTHOR="GNU_Raziel and LinuxScripter"
WORKING_WINE_VERSION="3.0"
GAME_VMS="128"

# Starting the script
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/nostale/top.jpg" "http://files.playonlinux.com/resources/setups/nostale/left.jpg" "$TITLE"
POL_SetupWindow_Init

# Starting debugging API
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" 

# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"

# Downloading wine if necessary and creating prefix
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# Installing mandatory dependencies
POL_Call POL_Install_corefonts

# Begin installation
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"

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver

## Fix for this game
# Sound problem fix - pulseaudio related
[ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa"
[ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y"
## End Fix

# Making shortcut
POL_Shortcut "Nostale.exe" "$TITLE" "$TITLE.png" ""

POL_SetupWindow_Close
exit 0

Antwoorden

Koutaro Vrijdag 4 November 2016 om 2:29
Koutaro Anonymous

Bericht

¿Sabes como podría instalarlo ahora que tiene el cliente gamrforge live?

Antwoorden