Starborne

Informations

Creator Message
Dadu042

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 3864
Wine: 5.0.3

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)
# [Dadu042] (2020-07-12) ('Open Alpha', Launcher v1.3.98)
#   Can now download the installer .EXE
#   Note: DXVK161 tested successfully (Xubuntu 18.04, AMD APU Ryzen 5 3400G + drivers Vulkan and AMDgpu).
#
#
# 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="5.0.3"
AUTHOR="Dadu042"
EDITOR="Solid Clouds"
GAME_URL="https://www.solidclouds.com"
SHORTCUT_FILENAME="Launcher.exe"
SOFTWARE_CATEGORIES="Game;StrategyGame;"    
DOCUMENT_FILE=""


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"

    
#######################################
#  Installing mandatory dependencies  #
#######################################

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 v0.8)
 
################
#      GPU     #
################
 
POL_SetupWindow_VMS "256"
 
POL_Wine_SetVideoDriver
  
###############
# Go          #
###############
    
  
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"

POL_SetupWindow_message  "WARNING: Do not run (nor try to login into) the game at the end of the installation, you must exit the game in order to finish the installation first.\n" "$TITLE"
             
# Begin game installation
if [ "$INSTALL_METHOD" == "LOCAL" ]; then
        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" # "/silent"
        POL_Wine_WaitExit "$TITLE"
                  
        POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES"
        POL_Shortcut_QuietDebug "$TITLE"
            
        POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE"
                     
elif [ "$INSTALL_METHOD" == "DOWNLOAD" ]; then
        cd "$WINEPREFIX/drive_c"
            
        # POL_SetupWindow_message "$(eval_gettext '\n\nNote: this script will download the demo .')" "$TITLE"
        POL_Download "https://starbornecdn.azureedge.net/files/installers/StarborneInstaller.exe"
   
        mv StarborneInstaller.exe GameInstaller.exe
             
        POL_Wine "GameInstaller.exe" # "/SILENT"
        POL_Wine_WaitBefore "$TITLE"
    
        rm GameInstaller.exe
            
        POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES"
        POL_Shortcut_QuietDebug "$TITLE"
            
        POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE"
fi     
           
  
#######################################
# 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_SetupWindow_message "$(eval_gettext 'WARNING: to avoid to get a huge log file, you should type \ninto Debug flags : fixme-all')" "$TITLE"


POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
Dadu042 Thursday 28 January 2021 at 11:27
Dadu042

Information

This update has been approved by the team.

Differences

@@ -39,7 +39,7 @@
   
 TITLE="Starborne"
 PREFIX="starborne"
-WORKING_WINE_VERSION="5.0.2"
+WORKING_WINE_VERSION="5.0.3"
 AUTHOR="Dadu042"
 EDITOR="Solid Clouds"
 GAME_URL="https://www.solidclouds.com"

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)
# [Dadu042] (2020-07-12) ('Open Alpha', Launcher v1.3.98)
#   Can now download the installer .EXE
#   Note: DXVK161 tested successfully (Xubuntu 18.04, AMD APU Ryzen 5 3400G + drivers Vulkan and AMDgpu).
#
#
# 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="5.0.3"
AUTHOR="Dadu042"
EDITOR="Solid Clouds"
GAME_URL="https://www.solidclouds.com"
SHORTCUT_FILENAME="Launcher.exe"
SOFTWARE_CATEGORIES="Game;StrategyGame;"    
DOCUMENT_FILE=""


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"

    
#######################################
#  Installing mandatory dependencies  #
#######################################

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 v0.8)
 
################
#      GPU     #
################
 
POL_SetupWindow_VMS "256"
 
POL_Wine_SetVideoDriver
  
###############
# Go          #
###############
    
  
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"

POL_SetupWindow_message  "WARNING: Do not run (nor try to login into) the game at the end of the installation, you must exit the game in order to finish the installation first.\n" "$TITLE"
             
# Begin game installation
if [ "$INSTALL_METHOD" == "LOCAL" ]; then
        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" # "/silent"
        POL_Wine_WaitExit "$TITLE"
                  
        POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES"
        POL_Shortcut_QuietDebug "$TITLE"
            
        POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE"
                     
elif [ "$INSTALL_METHOD" == "DOWNLOAD" ]; then
        cd "$WINEPREFIX/drive_c"
            
        # POL_SetupWindow_message "$(eval_gettext '\n\nNote: this script will download the demo .')" "$TITLE"
        POL_Download "https://starbornecdn.azureedge.net/files/installers/StarborneInstaller.exe"
   
        mv StarborneInstaller.exe GameInstaller.exe
             
        POL_Wine "GameInstaller.exe" # "/SILENT"
        POL_Wine_WaitBefore "$TITLE"
    
        rm GameInstaller.exe
            
        POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES"
        POL_Shortcut_QuietDebug "$TITLE"
            
        POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE"
fi     
           
  
#######################################
# 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_SetupWindow_message "$(eval_gettext 'WARNING: to avoid to get a huge log file, you should type \ninto Debug flags : fixme-all')" "$TITLE"


POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

Dadu042 Tuesday 22 September 2020 at 14:58
Dadu042

Warning

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

Differences

@@ -39,7 +39,7 @@
   
 TITLE="Starborne"
 PREFIX="starborne"
-WORKING_WINE_VERSION="5.0.1"
+WORKING_WINE_VERSION="5.0.2"
 AUTHOR="Dadu042"
 EDITOR="Solid Clouds"
 GAME_URL="https://www.solidclouds.com"

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)
# [Dadu042] (2020-07-12) ('Open Alpha', Launcher v1.3.98)
#   Can now download the installer .EXE
#   Note: DXVK161 tested successfully (Xubuntu 18.04, AMD APU Ryzen 5 3400G + drivers Vulkan and AMDgpu).
#
#
# 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="5.0.2"
AUTHOR="Dadu042"
EDITOR="Solid Clouds"
GAME_URL="https://www.solidclouds.com"
SHORTCUT_FILENAME="Launcher.exe"
SOFTWARE_CATEGORIES="Game;StrategyGame;"    
DOCUMENT_FILE=""


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"

    
#######################################
#  Installing mandatory dependencies  #
#######################################

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 v0.8)
 
################
#      GPU     #
################
 
POL_SetupWindow_VMS "256"
 
POL_Wine_SetVideoDriver
  
###############
# Go          #
###############
    
  
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"

POL_SetupWindow_message  "WARNING: Do not run (nor try to login into) the game at the end of the installation, you must exit the game in order to finish the installation first.\n" "$TITLE"
             
# Begin game installation
if [ "$INSTALL_METHOD" == "LOCAL" ]; then
        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" # "/silent"
        POL_Wine_WaitExit "$TITLE"
                  
        POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES"
        POL_Shortcut_QuietDebug "$TITLE"
            
        POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE"
                     
elif [ "$INSTALL_METHOD" == "DOWNLOAD" ]; then
        cd "$WINEPREFIX/drive_c"
            
        # POL_SetupWindow_message "$(eval_gettext '\n\nNote: this script will download the demo .')" "$TITLE"
        POL_Download "https://starbornecdn.azureedge.net/files/installers/StarborneInstaller.exe"
   
        mv StarborneInstaller.exe GameInstaller.exe
             
        POL_Wine "GameInstaller.exe" # "/SILENT"
        POL_Wine_WaitBefore "$TITLE"
    
        rm GameInstaller.exe
            
        POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES"
        POL_Shortcut_QuietDebug "$TITLE"
            
        POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE"
fi     
           
  
#######################################
# 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_SetupWindow_message "$(eval_gettext 'WARNING: to avoid to get a huge log file, you should type \ninto Debug flags : fixme-all')" "$TITLE"


POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

Dadu042 Monday 13 July 2020 at 8:28
Dadu042

Warning

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

Differences

@@ -21,8 +21,8 @@
 #   Wine 4.5 -> 4.21
 #   Win7 -> win10 (just in case)
 # [Dadu042] (2020-07-12) ('Open Alpha', Launcher v1.3.98)
-#   Can now download the installer .EXE
-#   Note: DXVK161 tested successfully (Xubuntu 18.04, AMD APU Ryzen 5 3400G + drivers Vulkan and AMDgpu).
+#   Can now download the installer .EXE
+#   Note: DXVK161 tested successfully (Xubuntu 18.04, AMD APU Ryzen 5 3400G + drivers Vulkan and AMDgpu).
 #
 #
 # KNOWN ISSUES:
@@ -45,7 +45,7 @@
 GAME_URL="https://www.solidclouds.com"
 SHORTCUT_FILENAME="Launcher.exe"
 SOFTWARE_CATEGORIES="Game;StrategyGame;"    
-DOCUMENT_FILE="Manual.htm"
+DOCUMENT_FILE=""
 
 
 POL_SetupWindow_Init
@@ -88,7 +88,7 @@
   
 POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
 
-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"
+POL_SetupWindow_message  "WARNING: Do not run (nor try to login into) the game at the end of the installation, you must exit the game in order to finish the installation first.\n" "$TITLE"
              
 # Begin game installation
 if [ "$INSTALL_METHOD" == "LOCAL" ]; then

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)
# [Dadu042] (2020-07-12) ('Open Alpha', Launcher v1.3.98)
#   Can now download the installer .EXE
#   Note: DXVK161 tested successfully (Xubuntu 18.04, AMD APU Ryzen 5 3400G + drivers Vulkan and AMDgpu).
#
#
# 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="5.0.1"
AUTHOR="Dadu042"
EDITOR="Solid Clouds"
GAME_URL="https://www.solidclouds.com"
SHORTCUT_FILENAME="Launcher.exe"
SOFTWARE_CATEGORIES="Game;StrategyGame;"    
DOCUMENT_FILE=""


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"

    
#######################################
#  Installing mandatory dependencies  #
#######################################

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 v0.8)
 
################
#      GPU     #
################
 
POL_SetupWindow_VMS "256"
 
POL_Wine_SetVideoDriver
  
###############
# Go          #
###############
    
  
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"

POL_SetupWindow_message  "WARNING: Do not run (nor try to login into) the game at the end of the installation, you must exit the game in order to finish the installation first.\n" "$TITLE"
             
# Begin game installation
if [ "$INSTALL_METHOD" == "LOCAL" ]; then
        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" # "/silent"
        POL_Wine_WaitExit "$TITLE"
                  
        POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES"
        POL_Shortcut_QuietDebug "$TITLE"
            
        POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE"
                     
elif [ "$INSTALL_METHOD" == "DOWNLOAD" ]; then
        cd "$WINEPREFIX/drive_c"
            
        # POL_SetupWindow_message "$(eval_gettext '\n\nNote: this script will download the demo .')" "$TITLE"
        POL_Download "https://starbornecdn.azureedge.net/files/installers/StarborneInstaller.exe"
   
        mv StarborneInstaller.exe GameInstaller.exe
             
        POL_Wine "GameInstaller.exe" # "/SILENT"
        POL_Wine_WaitBefore "$TITLE"
    
        rm GameInstaller.exe
            
        POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES"
        POL_Shortcut_QuietDebug "$TITLE"
            
        POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE"
fi     
           
  
#######################################
# 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_SetupWindow_message "$(eval_gettext 'WARNING: to avoid to get a huge log file, you should type \ninto Debug flags : fixme-all')" "$TITLE"


POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

Dadu042 Sunday 12 July 2020 at 21:28
Dadu042

Warning

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

Differences

@@ -18,8 +18,11 @@
 #   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)
+#   Wine 4.5 -> 4.21
+#   Win7 -> win10 (just in case)
+# [Dadu042] (2020-07-12) ('Open Alpha', Launcher v1.3.98)
+#   Can now download the installer .EXE
+#   Note: DXVK161 tested successfully (Xubuntu 18.04, AMD APU Ryzen 5 3400G + drivers Vulkan and AMDgpu).
 #
 #
 # KNOWN ISSUES:
@@ -30,82 +33,116 @@
 # 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"
+WORKING_WINE_VERSION="5.0.1"
 AUTHOR="Dadu042"
 EDITOR="Solid Clouds"
 GAME_URL="https://www.solidclouds.com"
-   
+SHORTCUT_FILENAME="Launcher.exe"
+SOFTWARE_CATEGORIES="Game;StrategyGame;"    
+DOCUMENT_FILE="Manual.htm"
+
+
 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"
 
+    
+#######################################
+#  Installing mandatory dependencies  #
+#######################################
+
+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 v0.8)
+ 
 ################
 #      GPU     #
 ################
-
+ 
 POL_SetupWindow_VMS "256"
-
-POL_Wine_SetVideoDriver
  
+POL_Wine_SetVideoDriver
+  
 ###############
 # Go          #
 ###############
-   
-cd "$HOME"
-POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
+    
+  
+POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
 
 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)
-
-          
- 
+             
+# Begin game installation
+if [ "$INSTALL_METHOD" == "LOCAL" ]; then
+        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" # "/silent"
+        POL_Wine_WaitExit "$TITLE"
+                  
+        POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES"
+        POL_Shortcut_QuietDebug "$TITLE"
+            
+        POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE"
+                     
+elif [ "$INSTALL_METHOD" == "DOWNLOAD" ]; then
+        cd "$WINEPREFIX/drive_c"
+            
+        # POL_SetupWindow_message "$(eval_gettext '\n\nNote: this script will download the demo .')" "$TITLE"
+        POL_Download "https://starbornecdn.azureedge.net/files/installers/StarborneInstaller.exe"
+   
+        mv StarborneInstaller.exe GameInstaller.exe
+             
+        POL_Wine "GameInstaller.exe" # "/SILENT"
+        POL_Wine_WaitBefore "$TITLE"
+    
+        rm GameInstaller.exe
+            
+        POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES"
+        POL_Shortcut_QuietDebug "$TITLE"
+            
+        POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE"
+fi     
+           
+  
 #######################################
 # 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_SetupWindow_message "$(eval_gettext 'WARNING: to avoid to get a huge log file, you should type \ninto Debug flags : fixme-all')" "$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)
# [Dadu042] (2020-07-12) ('Open Alpha', Launcher v1.3.98)
#   Can now download the installer .EXE
#   Note: DXVK161 tested successfully (Xubuntu 18.04, AMD APU Ryzen 5 3400G + drivers Vulkan and AMDgpu).
#
#
# 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="5.0.1"
AUTHOR="Dadu042"
EDITOR="Solid Clouds"
GAME_URL="https://www.solidclouds.com"
SHORTCUT_FILENAME="Launcher.exe"
SOFTWARE_CATEGORIES="Game;StrategyGame;"    
DOCUMENT_FILE="Manual.htm"


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"

    
#######################################
#  Installing mandatory dependencies  #
#######################################

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 v0.8)
 
################
#      GPU     #
################
 
POL_SetupWindow_VMS "256"
 
POL_Wine_SetVideoDriver
  
###############
# Go          #
###############
    
  
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"

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"
             
# Begin game installation
if [ "$INSTALL_METHOD" == "LOCAL" ]; then
        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" # "/silent"
        POL_Wine_WaitExit "$TITLE"
                  
        POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES"
        POL_Shortcut_QuietDebug "$TITLE"
            
        POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE"
                     
elif [ "$INSTALL_METHOD" == "DOWNLOAD" ]; then
        cd "$WINEPREFIX/drive_c"
            
        # POL_SetupWindow_message "$(eval_gettext '\n\nNote: this script will download the demo .')" "$TITLE"
        POL_Download "https://starbornecdn.azureedge.net/files/installers/StarborneInstaller.exe"
   
        mv StarborneInstaller.exe GameInstaller.exe
             
        POL_Wine "GameInstaller.exe" # "/SILENT"
        POL_Wine_WaitBefore "$TITLE"
    
        rm GameInstaller.exe
            
        POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES"
        POL_Shortcut_QuietDebug "$TITLE"
            
        POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE"
fi     
           
  
#######################################
# 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_SetupWindow_message "$(eval_gettext 'WARNING: to avoid to get a huge log file, you should type \ninto Debug flags : fixme-all')" "$TITLE"


POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

Dadu042 Thursday 21 May 2020 at 13:26
Dadu042

Warning

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

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

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

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

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