Starborne

Informations

Creator Nachricht
Dadu042
Moderator

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 358
Wine: 4.5

Feedbacks

Description

Hex-based MMORTS.

Note: this game auto update (auto patch) itself, this might break the compatibility.

Note: a Linux native version seems to be on the roadmap of the developpers (Ref 2017).

Screenshots

Miniature

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

Contributions

Filters:

Contribute
Member Nachricht
Dadu042 Wednesday 17 April 2019 at 15:34
Dadu042
Moderator

Information

This update has been approved by the team.

Nachricht

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

Antworten

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.

Editiert von: Dadu042