Du är här

HAWKEN

Informations

Creator Meddelanden
Tutul

Warning

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

Informations

Platforms:
Downloads: 10035
Wine: 1.7.5

Feedbacks

Description

Free-to-play multiplayer mech first-person shooter video game.

Server (for Windows) closed in 2018.

Wikipedia. Official website.

Source code

#!/bin/bash
# Date : (2014-11-18 12:12)
# Last revision : (2014-11-18 12:12)
# Wine version used : 1.7.5
# Distribution used to test : Fedora 20 - 64 bits
# Author : Tutul
# License : GNU/GPL v3
    
## Beta script ##
    
[ "$PLAYONLINUX" = "" ] && exit 1
source "$PLAYONLINUX/lib/sources"
    
TITLE="HAWKEN"
PREFIX="HAWKEN"
EDITOR="Adhesive Games"
GAME_URL="http://www.playhawken.com/"
AUTHOR="Tutul"
GAME_VMS="256"
STEAM_ID="271290"
    
# Starting the script
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 2346
    
# Starting debugging API
POL_Debug_Init
    
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
    
# Setting Wine Version
WORKING_WINE_VERSION="1.7.5"
    
# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
    
# Downloading wine if necessary and creating prefix
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
    
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
    
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver
  
# Install mandatory dependencies
POL_Call POL_Install_xact
POL_Call POL_Install_xinput
POL_Call POL_Install_d3dx9

# Prepare Steam
POL_Call POL_Install_steam
POL_Call POL_Install_steam_flags "$STEAM_ID"
    
# Run the install
POL_Wine_WaitBefore "$TITLE"
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID
POL_Wine_WaitExit "$TITLE"
    
# Making shortcut
POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID" "Game;"

#Closing POL
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Meddelanden
Tutul Tuesday 18 November 2014 at 12:13
Tutul

Information

This update has been approved by the team.

Meddelanden

First script.

Game crash and multiple error to fix
 

Differences

@@ -0,0 +1,68 @@
+#!/bin/bash
+# Date : (2014-11-18 12:12)
+# Last revision : (2014-11-18 12:12)
+# Wine version used : 1.7.5
+# Distribution used to test : Fedora 20 - 64 bits
+# Author : Tutul
+# License : GNU/GPL v3
+    
+## Beta script ##
+    
+[ "$PLAYONLINUX" = "" ] && exit 1
+source "$PLAYONLINUX/lib/sources"
+    
+TITLE="HAWKEN"
+PREFIX="HAWKEN"
+EDITOR="Adhesive Games"
+GAME_URL="http://www.playhawken.com/"
+AUTHOR="Tutul"
+GAME_VMS="256"
+STEAM_ID="271290"
+    
+# Starting the script
+POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
+POL_SetupWindow_Init
+POL_SetupWindow_SetID 2346
+    
+# Starting debugging API
+POL_Debug_Init
+    
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+    
+# Setting Wine Version
+WORKING_WINE_VERSION="1.7.5"
+    
+# Setting prefix path
+POL_Wine_SelectPrefix "$PREFIX"
+    
+# Downloading wine if necessary and creating prefix
+POL_System_SetArch "x86"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+    
+# Asking about memory size of graphic card
+POL_SetupWindow_VMS $GAME_VMS
+    
+# Set Graphic Card information keys for wine
+POL_Wine_SetVideoDriver
+  
+# Install mandatory dependencies
+POL_Call POL_Install_xact
+POL_Call POL_Install_xinput
+POL_Call POL_Install_d3dx9
+
+# Prepare Steam
+POL_Call POL_Install_steam
+POL_Call POL_Install_steam_flags "$STEAM_ID"
+    
+# Run the install
+POL_Wine_WaitBefore "$TITLE"
+cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
+POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID
+POL_Wine_WaitExit "$TITLE"
+    
+# Making shortcut
+POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID" "Game;"
+
+#Closing POL
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2014-11-18 12:12)
# Last revision : (2014-11-18 12:12)
# Wine version used : 1.7.5
# Distribution used to test : Fedora 20 - 64 bits
# Author : Tutul
# License : GNU/GPL v3
    
## Beta script ##
    
[ "$PLAYONLINUX" = "" ] && exit 1
source "$PLAYONLINUX/lib/sources"
    
TITLE="HAWKEN"
PREFIX="HAWKEN"
EDITOR="Adhesive Games"
GAME_URL="http://www.playhawken.com/"
AUTHOR="Tutul"
GAME_VMS="256"
STEAM_ID="271290"
    
# Starting the script
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 2346
    
# Starting debugging API
POL_Debug_Init
    
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
    
# Setting Wine Version
WORKING_WINE_VERSION="1.7.5"
    
# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
    
# Downloading wine if necessary and creating prefix
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
    
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
    
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver
  
# Install mandatory dependencies
POL_Call POL_Install_xact
POL_Call POL_Install_xinput
POL_Call POL_Install_d3dx9

# Prepare Steam
POL_Call POL_Install_steam
POL_Call POL_Install_steam_flags "$STEAM_ID"
    
# Run the install
POL_Wine_WaitBefore "$TITLE"
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID
POL_Wine_WaitExit "$TITLE"
    
# Making shortcut
POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID" "Game;"

#Closing POL
POL_SetupWindow_Close
exit 0

Svar

Anonymous
Wednesday 23 December 2015 at 21:43
It won't start up now.

Ändrat av Tutul

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