Starborne

Informations

Creator Message
Dadu042
Moderator

Warning

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

Informations

Platforms:
Downloads: 1033
Wine: 4.21

Feedbacks

Description

Hex-based MMORTS, 2020. Website (Developper website).

Notes:

  • This game does auto update (auto patch) itself, this might break the compatibility.
  • A Linux native version seems to be on the roadmap of the developpers (Ref 2017).
  • As of 2020-05, this game still needs a strong CPU.

Appdb.winehq.org

Screenshots

Miniature

Source code

#!/usr/bin/env playonlinux-bash
# Date : (2019-04-17 11-14)
# Last revision : see changelog
# Wine version used : see script
# Distribution used to test : XUbuntu 18.04 x64
# Script licence : GPL3
# Program licence : Retail
# Playonlinux version used : 4.3.4
#
# This game is a hex-based MMORTS.
#
# Middlewares used by this software : Unity ( https://appdb.winehq.org/objectManager.php?sClass=application&iId=11075 )
#
# CHANGELOG
# [Dadu042] (2019-04-17)  (game v0.8)
#   First script.
# [Dadu042] (2019-12-30) 
#   POL_RequiredVersion 4.3.4
#   Improve POL_Shortcut
# [Dadu042] (2020-05-21) (Launcher v1.3.64)
#   Wine 4.5 -> 4.21
#   Win7 -> win10 (just in case)
#
#
# KNOWN ISSUES:
# W 4.0, 4.0.4 64b + v0.8 : starborne patcher "Unhandled exception: page fault on read access to 0xc0008e1a8 in 64-bit code (0x000000007bca04ed)."
# W 4.0 32b ? + 0.8 : starborne patcher "Unhandled exception: page fault on read access to 0xffffffffffffffff in 64-bit code (0x000000007bc5a1b8)."
# W 4.5 64b + 0.8 : starborne patcher does stall of "Updating: Launcher. Downloading package..."
# W 4.5 64b + 0.8 : often "No mouse nor keyboard on main menu". Creating a virtual desktop prevent that.
# All Wine versions : After ALT+TAB or using another Window, mouse and keyboard are disabled on the game window. Virtual desktop does workaround that.
# W 4.5 64b + 0.8 : jerky music when launching a game session.
# W 4.5, 4.21 + 2020-05 version : on the login screen, typing on the keyboard does not display character. Fix: end the installation, then relauch the game. Fix: warning message added.

[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Starborne"
PREFIX="starborne"
WORKING_WINE_VERSION="4.21"
AUTHOR="Dadu042"
EDITOR="Solid Clouds"
GAME_URL="https://www.solidclouds.com"
   
POL_SetupWindow_Init
POL_Debug_Init
   
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
POL_RequiredVersion "4.3.4" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "amd64"
# POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"
 
Set_OS "win10"

################
#      GPU     #
################

POL_SetupWindow_VMS "256"

POL_Wine_SetVideoDriver
 
###############
# Go          #
###############
   
cd "$HOME"
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"

POL_SetupWindow_message  "WARNING: Do not run (nor try to login into) the game at the end of the installation, you must finish installation first.\n" "$TITLE"

SETUP_EXE="$APP_ANSWER"
POL_Wine start /unix "$SETUP_EXE"
POL_Wine_WaitExit "$TITLE"
cd "$POL_System_TmpDir"
 
POL_Shortcut "Launcher.exe" "$TITLE" "" "" "Game;StrategyGame;"
# POL_Shortcut_Document "$TITLE" "Manual.htm"
 
 
POL_Call POL_Install_d3dx11
 
# Try to fix the jerky music when launching a game session:
# POL_Call POL_Install_dsound  <- this freeze my PC (Wine 4.6, game 0.8)

          
 
#######################################
# Create a 'virtual desktop' (window) #
#######################################
 
# Workaround to fix the "No mouse nor keyboard on main menu":
 
POL_SetupWindow_menu_list "$(eval_gettext "Choose the game resolution")" "$TITLE" "800x600-1152x864-1024x768-1280x720-1280x800-1280x900-1280x1024-1360x768-1440x900-1400x1050-1600x900-1600x1024-1680x1050-1920x1080" "-" "800x600"
   
resolution="$APP_ANSWER"
WIDTH="$(echo $resolution | cut -d"x" -f1)"
HEIGHT="$(echo $resolution | cut -d"x" -f2)"
 
Set_Desktop "On" "$WIDTH" "$HEIGHT"
 
Set_WineWindowTitle "$TITLE"
 
 
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
Dadu042 Thursday 21 May 2020 at 13:26
Dadu042
Moderator

Information

This update has been approved by the team.

Message

Played 5 min.

Differences

@@ -1,99 +1,111 @@
 #!/usr/bin/env playonlinux-bash
 # Date : (2019-04-17 11-14)
-# Last revision : (2019-04-17 11-14)
-# Wine version used : 4.5
-# Distribution used to test : Ubuntu 18.04 x64
+# Last revision : see changelog
+# Wine version used : see script
+# Distribution used to test : XUbuntu 18.04 x64
 # Script licence : GPL3
 # Program licence : Retail
-#
 # Playonlinux version used : 4.3.4
 #
-# This game is a hex-based MMORTS.
-# The 3D engine of this game is Unity ( https://appdb.winehq.org/objectManager.php?sClass=application&iId=11075 )
+# This game is a hex-based MMORTS.
+#
+# Middlewares used by this software : Unity ( https://appdb.winehq.org/objectManager.php?sClass=application&iId=11075 )
 #
 # CHANGELOG
-# [Dadu042] (2019-04-17)
+# [Dadu042] (2019-04-17)  (game v0.8)
 #   First script.
-# [Dadu042] (2019-12-30)
+# [Dadu042] (2019-12-30) 
 #   POL_RequiredVersion 4.3.4
 #   Improve POL_Shortcut
+# [Dadu042] (2020-05-21) (Launcher v1.3.64)
+#   Wine 4.5 -> 4.21
+#   Win7 -> win10 (just in case)
+#
 #
 # KNOWN ISSUES:
-# W 4.0 64b + 0.8 : starborne patcher "Unhandled exception: page fault on read access to 0xc0008e1a8 in 64-bit code (0x000000007bca04ed)."
+# W 4.0, 4.0.4 64b + v0.8 : starborne patcher "Unhandled exception: page fault on read access to 0xc0008e1a8 in 64-bit code (0x000000007bca04ed)."
 # W 4.0 32b ? + 0.8 : starborne patcher "Unhandled exception: page fault on read access to 0xffffffffffffffff in 64-bit code (0x000000007bc5a1b8)."
 # W 4.5 64b + 0.8 : starborne patcher does stall of "Updating: Launcher. Downloading package..."
 # W 4.5 64b + 0.8 : often "No mouse nor keyboard on main menu". Creating a virtual desktop prevent that.
-# All Wine versions : After ALT+TAB or using another Window, mouse and keyboard are disabled on the game window. Virtual desktop does workaround that.
+# All Wine versions : After ALT+TAB or using another Window, mouse and keyboard are disabled on the game window. Virtual desktop does workaround that.
 # W 4.5 64b + 0.8 : jerky music when launching a game session.
+# W 4.5, 4.21 + 2020-05 version : on the login screen, typing on the keyboard does not display character. Fix: end the installation, then relauch the game. Fix: warning message added.
 
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-
+ 
 TITLE="Starborne"
 PREFIX="starborne"
-WORKING_WINE_VERSION="4.5"
+WORKING_WINE_VERSION="4.21"
 AUTHOR="Dadu042"
 EDITOR="Solid Clouds"
 GAME_URL="https://www.solidclouds.com"
-  
+   
 POL_SetupWindow_Init
 POL_Debug_Init
-  
+   
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
-
+ 
 POL_RequiredVersion "4.3.4" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
-
+ 
 POL_Wine_SelectPrefix "$PREFIX"
 POL_System_SetArch "amd64"
-# POL_System_SetArch "x86"
+# POL_System_SetArch "x86"
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 POL_System_TmpCreate "$TITLE"
+ 
+Set_OS "win10"
 
-Set_OS "win7"
+################
+#      GPU     #
+################
 
-POL_SetupWindow_message  "Please note: Do not run the game at the end of the installation, finish first.\n" "$TITLE"
+POL_SetupWindow_VMS "256"
 
+POL_Wine_SetVideoDriver
+ 
 ###############
 # Go          #
 ###############
-  
+   
 cd "$HOME"
 POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
+
+POL_SetupWindow_message  "WARNING: Do not run (nor try to login into) the game at the end of the installation, you must finish installation first.\n" "$TITLE"
+
 SETUP_EXE="$APP_ANSWER"
 POL_Wine start /unix "$SETUP_EXE"
 POL_Wine_WaitExit "$TITLE"
 cd "$POL_System_TmpDir"
-
-POL_Shortcut "Launcher.exe" "$TITLE" "" "" "Game;"
+ 
+POL_Shortcut "Launcher.exe" "$TITLE" "" "" "Game;StrategyGame;"
 # POL_Shortcut_Document "$TITLE" "Manual.htm"
-
-# Really Useful ? (Dadu042). This seems to not work with POL 4.3.4 (this launch the script a second time !)
-# POL_Call POL_SetupWindow_VMS "256"
-
-POL_Call POL_Install_VideoDriver
-
+ 
+ 
 POL_Call POL_Install_d3dx11
-
+ 
 # Try to fix the jerky music when launching a game session:
 # POL_Call POL_Install_dsound  <- this freeze my PC (Wine 4.6, game 0.8)
 
+          
+ 
 #######################################
 # Create a 'virtual desktop' (window) #
 #######################################
-
-# Workaround to fix the "No mouse nor keyboard on main menu":
-
+ 
+# Workaround to fix the "No mouse nor keyboard on main menu":
+ 
 POL_SetupWindow_menu_list "$(eval_gettext "Choose the game resolution")" "$TITLE" "800x600-1152x864-1024x768-1280x720-1280x800-1280x900-1280x1024-1360x768-1440x900-1400x1050-1600x900-1600x1024-1680x1050-1920x1080" "-" "800x600"
-  
+   
 resolution="$APP_ANSWER"
 WIDTH="$(echo $resolution | cut -d"x" -f1)"
 HEIGHT="$(echo $resolution | cut -d"x" -f2)"
-
+ 
 Set_Desktop "On" "$WIDTH" "$HEIGHT"
-
+ 
 Set_WineWindowTitle "$TITLE"
-
-
+ 
+ 
 POL_System_TmpDelete
 POL_SetupWindow_Close
 exit 0
\ No newline at end of file

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2019-04-17 11-14)
# Last revision : see changelog
# Wine version used : see script
# Distribution used to test : XUbuntu 18.04 x64
# Script licence : GPL3
# Program licence : Retail
# Playonlinux version used : 4.3.4
#
# This game is a hex-based MMORTS.
#
# Middlewares used by this software : Unity ( https://appdb.winehq.org/objectManager.php?sClass=application&iId=11075 )
#
# CHANGELOG
# [Dadu042] (2019-04-17)  (game v0.8)
#   First script.
# [Dadu042] (2019-12-30) 
#   POL_RequiredVersion 4.3.4
#   Improve POL_Shortcut
# [Dadu042] (2020-05-21) (Launcher v1.3.64)
#   Wine 4.5 -> 4.21
#   Win7 -> win10 (just in case)
#
#
# KNOWN ISSUES:
# W 4.0, 4.0.4 64b + v0.8 : starborne patcher "Unhandled exception: page fault on read access to 0xc0008e1a8 in 64-bit code (0x000000007bca04ed)."
# W 4.0 32b ? + 0.8 : starborne patcher "Unhandled exception: page fault on read access to 0xffffffffffffffff in 64-bit code (0x000000007bc5a1b8)."
# W 4.5 64b + 0.8 : starborne patcher does stall of "Updating: Launcher. Downloading package..."
# W 4.5 64b + 0.8 : often "No mouse nor keyboard on main menu". Creating a virtual desktop prevent that.
# All Wine versions : After ALT+TAB or using another Window, mouse and keyboard are disabled on the game window. Virtual desktop does workaround that.
# W 4.5 64b + 0.8 : jerky music when launching a game session.
# W 4.5, 4.21 + 2020-05 version : on the login screen, typing on the keyboard does not display character. Fix: end the installation, then relauch the game. Fix: warning message added.

[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Starborne"
PREFIX="starborne"
WORKING_WINE_VERSION="4.21"
AUTHOR="Dadu042"
EDITOR="Solid Clouds"
GAME_URL="https://www.solidclouds.com"
   
POL_SetupWindow_Init
POL_Debug_Init
   
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
POL_RequiredVersion "4.3.4" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "amd64"
# POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"
 
Set_OS "win10"

################
#      GPU     #
################

POL_SetupWindow_VMS "256"

POL_Wine_SetVideoDriver
 
###############
# Go          #
###############
   
cd "$HOME"
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"

POL_SetupWindow_message  "WARNING: Do not run (nor try to login into) the game at the end of the installation, you must finish installation first.\n" "$TITLE"

SETUP_EXE="$APP_ANSWER"
POL_Wine start /unix "$SETUP_EXE"
POL_Wine_WaitExit "$TITLE"
cd "$POL_System_TmpDir"
 
POL_Shortcut "Launcher.exe" "$TITLE" "" "" "Game;StrategyGame;"
# POL_Shortcut_Document "$TITLE" "Manual.htm"
 
 
POL_Call POL_Install_d3dx11
 
# Try to fix the jerky music when launching a game session:
# POL_Call POL_Install_dsound  <- this freeze my PC (Wine 4.6, game 0.8)

          
 
#######################################
# Create a 'virtual desktop' (window) #
#######################################
 
# Workaround to fix the "No mouse nor keyboard on main menu":
 
POL_SetupWindow_menu_list "$(eval_gettext "Choose the game resolution")" "$TITLE" "800x600-1152x864-1024x768-1280x720-1280x800-1280x900-1280x1024-1360x768-1440x900-1400x1050-1600x900-1600x1024-1680x1050-1920x1080" "-" "800x600"
   
resolution="$APP_ANSWER"
WIDTH="$(echo $resolution | cut -d"x" -f1)"
HEIGHT="$(echo $resolution | cut -d"x" -f2)"
 
Set_Desktop "On" "$WIDTH" "$HEIGHT"
 
Set_WineWindowTitle "$TITLE"
 
 
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

Thursday 21 May 2020 at 13:32
Note: with Wine 5.0 the game does crash as soon as the game session does appear.

Edited by Dadu042

Dadu042 Tuesday 31 December 2019 at 1:41
Dadu042
Moderator

Warning

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

Differences

@@ -10,8 +10,15 @@
 #
 # This game is a hex-based MMORTS.
 # The 3D engine of this game is Unity ( https://appdb.winehq.org/objectManager.php?sClass=application&iId=11075 )
-# 
-# Crashes known :
+#
+# CHANGELOG
+# [Dadu042] (2019-04-17)
+#   First script.
+# [Dadu042] (2019-12-30)
+#   POL_RequiredVersion 4.3.4
+#   Improve POL_Shortcut
+#
+# KNOWN ISSUES:
 # W 4.0 64b + 0.8 : starborne patcher "Unhandled exception: page fault on read access to 0xc0008e1a8 in 64-bit code (0x000000007bca04ed)."
 # W 4.0 32b ? + 0.8 : starborne patcher "Unhandled exception: page fault on read access to 0xffffffffffffffff in 64-bit code (0x000000007bc5a1b8)."
 # W 4.5 64b + 0.8 : starborne patcher does stall of "Updating: Launcher. Downloading package..."
@@ -33,7 +40,9 @@
 POL_Debug_Init
   
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
-  
+
+POL_RequiredVersion "4.3.4" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
+
 POL_Wine_SelectPrefix "$PREFIX"
 POL_System_SetArch "amd64"
 # POL_System_SetArch "x86"
@@ -55,18 +64,18 @@
 POL_Wine_WaitExit "$TITLE"
 cd "$POL_System_TmpDir"
 
-POL_Shortcut "Launcher.exe" "$TITLE" ""
-# POL_Shortcut_Document "$TITLE" "Manual.htm"
+POL_Shortcut "Launcher.exe" "$TITLE" "" "" "Game;"
+# POL_Shortcut_Document "$TITLE" "Manual.htm"
 
-# Really Useful ? (Dadu042). This seems to not work with POL 4.3.4 (this launch the script a second time !)
-# POL_Call POL_SetupWindow_VMS "256"
+# Really Useful ? (Dadu042). This seems to not work with POL 4.3.4 (this launch the script a second time !)
+# POL_Call POL_SetupWindow_VMS "256"
 
 POL_Call POL_Install_VideoDriver
 
 POL_Call POL_Install_d3dx11
 
-# Try to fix the jerky music when launching a game session:
-# POL_Call POL_Install_dsound  <- this freeze my PC (Wine 4.6, game 0.8)
+# Try to fix the jerky music when launching a game session:
+# POL_Call POL_Install_dsound  <- this freeze my PC (Wine 4.6, game 0.8)
 
 #######################################
 # Create a 'virtual desktop' (window) #

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2019-04-17 11-14)
# Last revision : (2019-04-17 11-14)
# Wine version used : 4.5
# Distribution used to test : Ubuntu 18.04 x64
# Script licence : GPL3
# Program licence : Retail
#
# Playonlinux version used : 4.3.4
#
# This game is a hex-based MMORTS.
# The 3D engine of this game is Unity ( https://appdb.winehq.org/objectManager.php?sClass=application&iId=11075 )
#
# CHANGELOG
# [Dadu042] (2019-04-17)
#   First script.
# [Dadu042] (2019-12-30)
#   POL_RequiredVersion 4.3.4
#   Improve POL_Shortcut
#
# KNOWN ISSUES:
# W 4.0 64b + 0.8 : starborne patcher "Unhandled exception: page fault on read access to 0xc0008e1a8 in 64-bit code (0x000000007bca04ed)."
# W 4.0 32b ? + 0.8 : starborne patcher "Unhandled exception: page fault on read access to 0xffffffffffffffff in 64-bit code (0x000000007bc5a1b8)."
# W 4.5 64b + 0.8 : starborne patcher does stall of "Updating: Launcher. Downloading package..."
# W 4.5 64b + 0.8 : often "No mouse nor keyboard on main menu". Creating a virtual desktop prevent that.
# All Wine versions : After ALT+TAB or using another Window, mouse and keyboard are disabled on the game window. Virtual desktop does workaround that.
# W 4.5 64b + 0.8 : jerky music when launching a game session.

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

TITLE="Starborne"
PREFIX="starborne"
WORKING_WINE_VERSION="4.5"
AUTHOR="Dadu042"
EDITOR="Solid Clouds"
GAME_URL="https://www.solidclouds.com"
  
POL_SetupWindow_Init
POL_Debug_Init
  
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

POL_RequiredVersion "4.3.4" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"

POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "amd64"
# POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"

Set_OS "win7"

POL_SetupWindow_message  "Please note: Do not run the game at the end of the installation, finish first.\n" "$TITLE"

###############
# Go          #
###############
  
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"
cd "$POL_System_TmpDir"

POL_Shortcut "Launcher.exe" "$TITLE" "" "" "Game;"
# POL_Shortcut_Document "$TITLE" "Manual.htm"

# Really Useful ? (Dadu042). This seems to not work with POL 4.3.4 (this launch the script a second time !)
# POL_Call POL_SetupWindow_VMS "256"

POL_Call POL_Install_VideoDriver

POL_Call POL_Install_d3dx11

# Try to fix the jerky music when launching a game session:
# POL_Call POL_Install_dsound  <- this freeze my PC (Wine 4.6, game 0.8)

#######################################
# Create a 'virtual desktop' (window) #
#######################################

# Workaround to fix the "No mouse nor keyboard on main menu":

POL_SetupWindow_menu_list "$(eval_gettext "Choose the game resolution")" "$TITLE" "800x600-1152x864-1024x768-1280x720-1280x800-1280x900-1280x1024-1360x768-1440x900-1400x1050-1600x900-1600x1024-1680x1050-1920x1080" "-" "800x600"
  
resolution="$APP_ANSWER"
WIDTH="$(echo $resolution | cut -d"x" -f1)"
HEIGHT="$(echo $resolution | cut -d"x" -f2)"

Set_Desktop "On" "$WIDTH" "$HEIGHT"

Set_WineWindowTitle "$TITLE"


POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

Dadu042 Wednesday 17 April 2019 at 15:34
Dadu042
Moderator

Warning

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

Message

My v1.1 script.

I have just went up to running a game session on a server, then I tryed to fix the jerky music issue (without success until now).
Wine 4.6 (and nexts) may improve the compatibility with this game.

 

Versions of the game installer tested with success : v0.8 alpha , v0.9.1.3, v1.0.61

Differences

@@ -29,8 +29,6 @@
 EDITOR="Solid Clouds"
 GAME_URL="https://www.solidclouds.com"
   
-Set_OS "Win7"
-
 POL_SetupWindow_Init
 POL_Debug_Init
   
@@ -42,6 +40,8 @@
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 POL_System_TmpCreate "$TITLE"
 
+Set_OS "win7"
+
 POL_SetupWindow_message  "Please note: Do not run the game at the end of the installation, finish first.\n" "$TITLE"
 
 ###############

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2019-04-17 11-14)
# Last revision : (2019-04-17 11-14)
# Wine version used : 4.5
# Distribution used to test : Ubuntu 18.04 x64
# Script licence : GPL3
# Program licence : Retail
#
# Playonlinux version used : 4.3.4
#
# This game is a hex-based MMORTS.
# The 3D engine of this game is Unity ( https://appdb.winehq.org/objectManager.php?sClass=application&iId=11075 )
# 
# Crashes known :
# W 4.0 64b + 0.8 : starborne patcher "Unhandled exception: page fault on read access to 0xc0008e1a8 in 64-bit code (0x000000007bca04ed)."
# W 4.0 32b ? + 0.8 : starborne patcher "Unhandled exception: page fault on read access to 0xffffffffffffffff in 64-bit code (0x000000007bc5a1b8)."
# W 4.5 64b + 0.8 : starborne patcher does stall of "Updating: Launcher. Downloading package..."
# W 4.5 64b + 0.8 : often "No mouse nor keyboard on main menu". Creating a virtual desktop prevent that.
# All Wine versions : After ALT+TAB or using another Window, mouse and keyboard are disabled on the game window. Virtual desktop does workaround that.
# W 4.5 64b + 0.8 : jerky music when launching a game session.

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

TITLE="Starborne"
PREFIX="starborne"
WORKING_WINE_VERSION="4.5"
AUTHOR="Dadu042"
EDITOR="Solid Clouds"
GAME_URL="https://www.solidclouds.com"
  
POL_SetupWindow_Init
POL_Debug_Init
  
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
  
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "amd64"
# POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"

Set_OS "win7"

POL_SetupWindow_message  "Please note: Do not run the game at the end of the installation, finish first.\n" "$TITLE"

###############
# Go          #
###############
  
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"
cd "$POL_System_TmpDir"

POL_Shortcut "Launcher.exe" "$TITLE" ""
# POL_Shortcut_Document "$TITLE" "Manual.htm"

# Really Useful ? (Dadu042). This seems to not work with POL 4.3.4 (this launch the script a second time !)
# POL_Call POL_SetupWindow_VMS "256"

POL_Call POL_Install_VideoDriver

POL_Call POL_Install_d3dx11

# Try to fix the jerky music when launching a game session:
# POL_Call POL_Install_dsound  <- this freeze my PC (Wine 4.6, game 0.8)

#######################################
# Create a 'virtual desktop' (window) #
#######################################

# Workaround to fix the "No mouse nor keyboard on main menu":

POL_SetupWindow_menu_list "$(eval_gettext "Choose the game resolution")" "$TITLE" "800x600-1152x864-1024x768-1280x720-1280x800-1280x900-1280x1024-1360x768-1440x900-1400x1050-1600x900-1600x1024-1680x1050-1920x1080" "-" "800x600"
  
resolution="$APP_ANSWER"
WIDTH="$(echo $resolution | cut -d"x" -f1)"
HEIGHT="$(echo $resolution | cut -d"x" -f2)"

Set_Desktop "On" "$WIDTH" "$HEIGHT"

Set_WineWindowTitle "$TITLE"


POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

Saturday 27 April 2019 at 12:10
Versions tested with success : v0.8 alpha and v0.9.1.3
Long loading time : more than 10 minutes is the time before to run a game session (with the GPU below, and Wine's dx3d11).
A low price GPU such as "NVIDIA Corporation GT218 [GeForce 210]" is too slow. A faster 3D GPU is required.

Edited by Dadu042