Brawlhalla

Informations

Creator Message
HunterSephir Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 9097
Wine: 3.0.3

Feedbacks

Description

Free-to-play 2D platform fighting game, epic fantasy. 2017. Website, Wikipedia page.

Note: this script uses the Steam script.

PCGamingWiki. Appdb.winehq.org

Source code

#!/bin/bash
# Date : (2016-01-05 21:11)
# Last revision : see changelog
# Wine version used : 1.9.5, 1.9.5-staging (PlayOnLinux)
# Distribution used to test : Linux Xubuntu 19.04
# Author : HunterSephir
# Licence : N/A
# Only For : PlayOnLinux
 
# CHANGELOG
# [mauriciofauth] (2016-01-05)
#   First script.
# [Dadu042] (2019-11-20 15:00)
#   Wine 1.9.5 -> 3.0.3
#   GAME_VMS="2048" -> 256
#   Issue: Steam does fail to load.
# [Dadu042] (2019-11-20 15:40)
#   Disable POL_Wine_SetVideoDriver because this is not a 3D game.
#   Cleanup.


[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Brawlhalla"
PREFIX="Brawlhalla"
EDITOR="Blue Mammoth Games"
GAME_URL="http://www.brawlhalla.com/"
AUTHOR="HunterSephir"
WORKING_WINE_VERSION="3.0.3"
GAME_VMS="256"
STEAM_ID="291550"
 
# Starting the script
POL_GetSetupImages "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 1005
 
# Starting debugging API
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

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

# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
 
# Downloading Wine if necessary and creating prefix
# POL_System_SetArch "x86" # For dotnet/mono
POL_System_SetArch "amd64" # For dotnet/mono
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
# Installing mandatory dependencies
POL_Call POL_Install_steam
 
# Fix PulseAudio issue
which pulseaudio && Set_OS "win7"
 
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
 
# Set Graphic Card information keys for wine
# POL_Wine_SetVideoDriver
 
# Mandatory pre-install fix for steam
POL_Call POL_Install_steam_flags "$STEAM_ID"
 
# Shortcut done before install for Steam version
POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID" "Game;RolePlaying;"
# POL_Shortcut "steam.exe" "Steam ($TITLE)" "" "" "Game;"
 
# Begin game installation
POL_SetupWindow_Close

# Steam install
#POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished, do NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue.')" "$TITLE"
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID

exit 0

Contributions

Filters:

Contribute
Member Message
Dadu042 Wednesday 20 November 2019 at 15:42
Dadu042

Information

This update has been approved by the team.

Differences

@@ -2,7 +2,7 @@
 # Date : (2016-01-05 21:11)
 # Last revision : see changelog
 # Wine version used : 1.9.5, 1.9.5-staging (PlayOnLinux)
-# Distribution used to test : Linux Xubuntu 16.10
+# Distribution used to test : Linux Xubuntu 19.04
 # Author : HunterSephir
 # Licence : N/A
 # Only For : PlayOnLinux
@@ -10,10 +10,14 @@
 # CHANGELOG
 # [mauriciofauth] (2016-01-05)
 #   First script.
-# [Dadu042] (2019-11-20)
+# [Dadu042] (2019-11-20 15:00)
 #   Wine 1.9.5 -> 3.0.3
 #   GAME_VMS="2048" -> 256
 #   Issue: Steam does fail to load.
+# [Dadu042] (2019-11-20 15:40)
+#   Disable POL_Wine_SetVideoDriver because this is not a 3D game.
+#   Cleanup.
+
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
@@ -43,7 +47,8 @@
 POL_Wine_SelectPrefix "$PREFIX"
  
 # Downloading Wine if necessary and creating prefix
-POL_System_SetArch "x86" # For dotnet/mono
+# POL_System_SetArch "x86" # For dotnet/mono
+POL_System_SetArch "amd64" # For dotnet/mono
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
  
 # Installing mandatory dependencies
@@ -56,7 +61,7 @@
 POL_SetupWindow_VMS $GAME_VMS
  
 # Set Graphic Card information keys for wine
-POL_Wine_SetVideoDriver
+# POL_Wine_SetVideoDriver
  
 # Mandatory pre-install fix for steam
 POL_Call POL_Install_steam_flags "$STEAM_ID"
@@ -66,9 +71,11 @@
 # POL_Shortcut "steam.exe" "Steam ($TITLE)" "" "" "Game;"
  
 # Begin game installation
-    POL_SetupWindow_Close
-        # Steam install
-        #POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished, do NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue.')" "$TITLE"
-        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
-        POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID
+POL_SetupWindow_Close
+
+# Steam install
+#POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished, do NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue.')" "$TITLE"
+cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
+POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID
+
 exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2016-01-05 21:11)
# Last revision : see changelog
# Wine version used : 1.9.5, 1.9.5-staging (PlayOnLinux)
# Distribution used to test : Linux Xubuntu 19.04
# Author : HunterSephir
# Licence : N/A
# Only For : PlayOnLinux
 
# CHANGELOG
# [mauriciofauth] (2016-01-05)
#   First script.
# [Dadu042] (2019-11-20 15:00)
#   Wine 1.9.5 -> 3.0.3
#   GAME_VMS="2048" -> 256
#   Issue: Steam does fail to load.
# [Dadu042] (2019-11-20 15:40)
#   Disable POL_Wine_SetVideoDriver because this is not a 3D game.
#   Cleanup.


[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Brawlhalla"
PREFIX="Brawlhalla"
EDITOR="Blue Mammoth Games"
GAME_URL="http://www.brawlhalla.com/"
AUTHOR="HunterSephir"
WORKING_WINE_VERSION="3.0.3"
GAME_VMS="256"
STEAM_ID="291550"
 
# Starting the script
POL_GetSetupImages "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 1005
 
# Starting debugging API
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

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

# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
 
# Downloading Wine if necessary and creating prefix
# POL_System_SetArch "x86" # For dotnet/mono
POL_System_SetArch "amd64" # For dotnet/mono
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
# Installing mandatory dependencies
POL_Call POL_Install_steam
 
# Fix PulseAudio issue
which pulseaudio && Set_OS "win7"
 
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
 
# Set Graphic Card information keys for wine
# POL_Wine_SetVideoDriver
 
# Mandatory pre-install fix for steam
POL_Call POL_Install_steam_flags "$STEAM_ID"
 
# Shortcut done before install for Steam version
POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID" "Game;RolePlaying;"
# POL_Shortcut "steam.exe" "Steam ($TITLE)" "" "" "Game;"
 
# Begin game installation
POL_SetupWindow_Close

# Steam install
#POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished, do NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue.')" "$TITLE"
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID

exit 0

Replies

Dadu042 Wednesday 20 November 2019 at 15:21
Dadu042

Warning

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

Differences

@@ -1,66 +1,74 @@
 #!/bin/bash
 # Date : (2016-01-05 21:11)
-# Last revision : (2016-01-05 22:05)
+# Last revision : see changelog
 # Wine version used : 1.9.5, 1.9.5-staging (PlayOnLinux)
 # Distribution used to test : Linux Xubuntu 16.10
 # Author : HunterSephir
 # Licence : N/A
 # Only For : PlayOnLinux
+ 
+# CHANGELOG
+# [mauriciofauth] (2016-01-05)
+#   First script.
+# [Dadu042] (2019-11-20)
+#   Wine 1.9.5 -> 3.0.3
+#   GAME_VMS="2048" -> 256
+#   Issue: Steam does fail to load.
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-
+ 
 TITLE="Brawlhalla"
 PREFIX="Brawlhalla"
 EDITOR="Blue Mammoth Games"
 GAME_URL="http://www.brawlhalla.com/"
 AUTHOR="HunterSephir"
-WORKING_WINE_VERSION="1.9.5"
-GAME_VMS="2048"
+WORKING_WINE_VERSION="3.0.3"
+GAME_VMS="256"
 STEAM_ID="291550"
-
+ 
 # Starting the script
 POL_GetSetupImages "$TITLE"
 POL_SetupWindow_Init
 POL_SetupWindow_SetID 1005
-
+ 
 # Starting debugging API
 POL_Debug_Init
-
+ 
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
+POL_RequiredVersion "4.2.12" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
+
 # Setting prefix path
 POL_Wine_SelectPrefix "$PREFIX"
-
+ 
 # Downloading Wine if necessary and creating prefix
 POL_System_SetArch "x86" # For dotnet/mono
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
-
+ 
 # Installing mandatory dependencies
 POL_Call POL_Install_steam
-
+ 
 # Fix PulseAudio issue
 which pulseaudio && Set_OS "win7"
-
+ 
 # Asking about memory size of graphic card
 POL_SetupWindow_VMS $GAME_VMS
-
+ 
 # Set Graphic Card information keys for wine
 POL_Wine_SetVideoDriver
-
+ 
 # Mandatory pre-install fix for steam
 POL_Call POL_Install_steam_flags "$STEAM_ID"
-
+ 
 # Shortcut done before install for Steam version
 POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID" "Game;RolePlaying;"
 # POL_Shortcut "steam.exe" "Steam ($TITLE)" "" "" "Game;"
-
+ 
 # Begin game installation
     POL_SetupWindow_Close
         # Steam install
         #POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished, do NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue.')" "$TITLE"
         cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
         POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID
- 
-
 exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2016-01-05 21:11)
# Last revision : see changelog
# Wine version used : 1.9.5, 1.9.5-staging (PlayOnLinux)
# Distribution used to test : Linux Xubuntu 16.10
# Author : HunterSephir
# Licence : N/A
# Only For : PlayOnLinux
 
# CHANGELOG
# [mauriciofauth] (2016-01-05)
#   First script.
# [Dadu042] (2019-11-20)
#   Wine 1.9.5 -> 3.0.3
#   GAME_VMS="2048" -> 256
#   Issue: Steam does fail to load.

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Brawlhalla"
PREFIX="Brawlhalla"
EDITOR="Blue Mammoth Games"
GAME_URL="http://www.brawlhalla.com/"
AUTHOR="HunterSephir"
WORKING_WINE_VERSION="3.0.3"
GAME_VMS="256"
STEAM_ID="291550"
 
# Starting the script
POL_GetSetupImages "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 1005
 
# Starting debugging API
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

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

# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
 
# Downloading Wine if necessary and creating prefix
POL_System_SetArch "x86" # For dotnet/mono
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
# Installing mandatory dependencies
POL_Call POL_Install_steam
 
# Fix PulseAudio issue
which pulseaudio && Set_OS "win7"
 
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
 
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver
 
# Mandatory pre-install fix for steam
POL_Call POL_Install_steam_flags "$STEAM_ID"
 
# Shortcut done before install for Steam version
POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID" "Game;RolePlaying;"
# POL_Shortcut "steam.exe" "Steam ($TITLE)" "" "" "Game;"
 
# Begin game installation
    POL_SetupWindow_Close
        # Steam install
        #POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished, do NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue.')" "$TITLE"
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
        POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID
exit 0

Replies

HunterSephir Thursday 5 January 2017 at 23:18
HunterSephir Anonymous

Warning

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

Message

Here's the source code i forgot :

 

Differences

@@ -0,0 +1,66 @@
+#!/bin/bash
+# Date : (2016-01-05 21:11)
+# Last revision : (2016-01-05 22:05)
+# Wine version used : 1.9.5, 1.9.5-staging (PlayOnLinux)
+# Distribution used to test : Linux Xubuntu 16.10
+# Author : HunterSephir
+# Licence : N/A
+# Only For : PlayOnLinux
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+TITLE="Brawlhalla"
+PREFIX="Brawlhalla"
+EDITOR="Blue Mammoth Games"
+GAME_URL="http://www.brawlhalla.com/"
+AUTHOR="HunterSephir"
+WORKING_WINE_VERSION="1.9.5"
+GAME_VMS="2048"
+STEAM_ID="291550"
+
+# Starting the script
+POL_GetSetupImages "$TITLE"
+POL_SetupWindow_Init
+POL_SetupWindow_SetID 1005
+
+# 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" # For dotnet/mono
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+
+# Installing mandatory dependencies
+POL_Call POL_Install_steam
+
+# Fix PulseAudio issue
+which pulseaudio && Set_OS "win7"
+
+# Asking about memory size of graphic card
+POL_SetupWindow_VMS $GAME_VMS
+
+# Set Graphic Card information keys for wine
+POL_Wine_SetVideoDriver
+
+# Mandatory pre-install fix for steam
+POL_Call POL_Install_steam_flags "$STEAM_ID"
+
+# Shortcut done before install for Steam version
+POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID" "Game;RolePlaying;"
+# POL_Shortcut "steam.exe" "Steam ($TITLE)" "" "" "Game;"
+
+# Begin game installation
+    POL_SetupWindow_Close
+        # Steam install
+        #POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished, do NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue.')" "$TITLE"
+        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
+        POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID
+ 
+
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2016-01-05 21:11)
# Last revision : (2016-01-05 22:05)
# Wine version used : 1.9.5, 1.9.5-staging (PlayOnLinux)
# Distribution used to test : Linux Xubuntu 16.10
# Author : HunterSephir
# Licence : N/A
# Only For : PlayOnLinux

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

TITLE="Brawlhalla"
PREFIX="Brawlhalla"
EDITOR="Blue Mammoth Games"
GAME_URL="http://www.brawlhalla.com/"
AUTHOR="HunterSephir"
WORKING_WINE_VERSION="1.9.5"
GAME_VMS="2048"
STEAM_ID="291550"

# Starting the script
POL_GetSetupImages "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 1005

# 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" # For dotnet/mono
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# Installing mandatory dependencies
POL_Call POL_Install_steam

# Fix PulseAudio issue
which pulseaudio && Set_OS "win7"

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver

# Mandatory pre-install fix for steam
POL_Call POL_Install_steam_flags "$STEAM_ID"

# Shortcut done before install for Steam version
POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID" "Game;RolePlaying;"
# POL_Shortcut "steam.exe" "Steam ($TITLE)" "" "" "Game;"

# Begin game installation
    POL_SetupWindow_Close
        # Steam install
        #POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished, do NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue.')" "$TITLE"
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
        POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID
 

exit 0

Replies

Anonymous
Tuesday 9 April 2019 at 18:57
what do I do with this code ?
Sunday 14 April 2019 at 11:50
Install POL, then click the above button "Try this update".

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