Animal War

Informations

Créateur Messages
Dadu042

Information

Cet installateur a été accepté par l'équipe.

Informations

Plate-formes :
Téléchargements : 4545
Wine: 4.0.1

Retours d'expérience

Description

Short FPS in a desert. 2019. Steam page.

Captures d'écran

Miniature

Code source

#!/bin/bash
# Date : (2019-08-14)
# Last revision : see changelog
# Wine version used : see below
# Distribution used to test : XUbuntu 18.04 x64
# Script licence : GPL3
# Program licence : Retail
# Playonlinux v4.3.4
#
# Tested version : august 2019 (demo ?).
#
# Game based on (ie: middlewares): Unity.
#
#
# CHANGELOG:
# [Dadu042] (2019-08-14)
#   First script.
#
# KNOWN ISSUES:
#  - Slow rendering without a 3D GPU.

[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
         
TITLE="Animal War"
PREFIX="Animal_War"
WORKING_WINE_VERSION="4.0.1"
AUTHOR="Dadu042"
EDITOR=""
GAME_URL=""
    
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_Wine_PrefixCreate "$WORKING_WINE_VERSION"
# POL_Wine_PrefixCreate
POL_System_TmpCreate "$TITLE"
  
Set_OS "win7"
  
# POL_Call POL_Install_corefonts
  
## Begin Common PlayOnMac Section ##
[ "$POL_OS" = "Mac" ] && Set_Managed "Off"
# End Section ##

# This web game was not released on CD/DVD.
# POL_SetupWindow_InstallMethod "LOCAL,STEAM,CD" 
POL_SetupWindow_InstallMethod "LOCAL"
     
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_SetupWindow_message "We recommend to uncheck all checkboxes (ie: about DirectX, VC++ ..." "$TITLE"

        POL_SetupWindow_message "Warning: the auto extract tool will path to a wrong way ! (the same where is the .EXE), so change it to the right POL volume (or type 'C:\animal')." "$TITLE"

        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE"

elif [ "$INSTALL_METHOD" == "STEAM" ];then
        POL_Call POL_Install_steam
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
        POL_Wine "steam.exe" steam://install/000
        POL_Wine_WaitBefore "$TITLE"

elif [ "$INSTALL_METHOD" == "DVD" ];then
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "dotnetfx.exe"
        POL_Wine start /unix "$CDROM/setup.exe"
        POL_Wine_WaitExit "setup.exe"
        cd "$POL_System_TmpDir"
fi
      
      
if [ "$INSTALL_METHOD" == "STEAM" ]; then
        POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/000"
else         
       POL_Shortcut "game.exe" "$TITLE" "" "" "Game;Shooter;"
#       POL_Shortcut_Document "$TITLE" "readme.html"
fi
  
# GPU selection. Useful when there is 2 GPU on the same computer (ie: Intel HD + Nvidia).
POL_Call POL_Install_VideoDriver

POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribuer
Membre Messages
Dadu042 Vendredi 16 Aoüt 2019 à 11:48
Dadu042

Information

Cette mise à jour a été acceptée par l'équipe

Differences

@@ -0,0 +1,97 @@
+#!/bin/bash
+# Date : (2019-08-14)
+# Last revision : see changelog
+# Wine version used : see below
+# Distribution used to test : XUbuntu 18.04 x64
+# Script licence : GPL3
+# Program licence : Retail
+# Playonlinux v4.3.4
+#
+# Tested version : august 2019 (demo ?).
+#
+# Game based on (ie: middlewares): Unity.
+#
+#
+# CHANGELOG:
+# [Dadu042] (2019-08-14)
+#   First script.
+#
+# KNOWN ISSUES:
+#  - Slow rendering without a 3D GPU.
+
+[ -z "$PLAYONLINUX" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+         
+TITLE="Animal War"
+PREFIX="Animal_War"
+WORKING_WINE_VERSION="4.0.1"
+AUTHOR="Dadu042"
+EDITOR=""
+GAME_URL=""
+    
+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_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+# POL_Wine_PrefixCreate
+POL_System_TmpCreate "$TITLE"
+  
+Set_OS "win7"
+  
+# POL_Call POL_Install_corefonts
+  
+## Begin Common PlayOnMac Section ##
+[ "$POL_OS" = "Mac" ] && Set_Managed "Off"
+# End Section ##
+
+# This web game was not released on CD/DVD.
+# POL_SetupWindow_InstallMethod "LOCAL,STEAM,CD" 
+POL_SetupWindow_InstallMethod "LOCAL"
+     
+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_SetupWindow_message "We recommend to uncheck all checkboxes (ie: about DirectX, VC++ ..." "$TITLE"
+
+	POL_SetupWindow_message "Warning: the auto extract tool will path to a wrong way ! (the same where is the .EXE), so change it to the right POL volume (or type 'C:\animal')." "$TITLE"
+
+        POL_Wine start /unix "$SETUP_EXE"
+        POL_Wine_WaitExit "$TITLE"
+
+elif [ "$INSTALL_METHOD" == "STEAM" ];then
+        POL_Call POL_Install_steam
+        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
+        POL_Wine "steam.exe" steam://install/000
+        POL_Wine_WaitBefore "$TITLE"
+
+elif [ "$INSTALL_METHOD" == "DVD" ];then
+        POL_SetupWindow_cdrom
+        POL_SetupWindow_check_cdrom "dotnetfx.exe"
+        POL_Wine start /unix "$CDROM/setup.exe"
+        POL_Wine_WaitExit "setup.exe"
+        cd "$POL_System_TmpDir"
+fi
+      
+      
+if [ "$INSTALL_METHOD" == "STEAM" ]; then
+        POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/000"
+else         
+       POL_Shortcut "game.exe" "$TITLE" "" "" "Game;Shooter;"
+#       POL_Shortcut_Document "$TITLE" "readme.html"
+fi
+  
+# GPU selection. Useful when there is 2 GPU on the same computer (ie: Intel HD + Nvidia).
+POL_Call POL_Install_VideoDriver
+
+POL_System_TmpDelete
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2019-08-14)
# Last revision : see changelog
# Wine version used : see below
# Distribution used to test : XUbuntu 18.04 x64
# Script licence : GPL3
# Program licence : Retail
# Playonlinux v4.3.4
#
# Tested version : august 2019 (demo ?).
#
# Game based on (ie: middlewares): Unity.
#
#
# CHANGELOG:
# [Dadu042] (2019-08-14)
#   First script.
#
# KNOWN ISSUES:
#  - Slow rendering without a 3D GPU.

[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
         
TITLE="Animal War"
PREFIX="Animal_War"
WORKING_WINE_VERSION="4.0.1"
AUTHOR="Dadu042"
EDITOR=""
GAME_URL=""
    
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_Wine_PrefixCreate "$WORKING_WINE_VERSION"
# POL_Wine_PrefixCreate
POL_System_TmpCreate "$TITLE"
  
Set_OS "win7"
  
# POL_Call POL_Install_corefonts
  
## Begin Common PlayOnMac Section ##
[ "$POL_OS" = "Mac" ] && Set_Managed "Off"
# End Section ##

# This web game was not released on CD/DVD.
# POL_SetupWindow_InstallMethod "LOCAL,STEAM,CD" 
POL_SetupWindow_InstallMethod "LOCAL"
     
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_SetupWindow_message "We recommend to uncheck all checkboxes (ie: about DirectX, VC++ ..." "$TITLE"

        POL_SetupWindow_message "Warning: the auto extract tool will path to a wrong way ! (the same where is the .EXE), so change it to the right POL volume (or type 'C:\animal')." "$TITLE"

        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE"

elif [ "$INSTALL_METHOD" == "STEAM" ];then
        POL_Call POL_Install_steam
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
        POL_Wine "steam.exe" steam://install/000
        POL_Wine_WaitBefore "$TITLE"

elif [ "$INSTALL_METHOD" == "DVD" ];then
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "dotnetfx.exe"
        POL_Wine start /unix "$CDROM/setup.exe"
        POL_Wine_WaitExit "setup.exe"
        cd "$POL_System_TmpDir"
fi
      
      
if [ "$INSTALL_METHOD" == "STEAM" ]; then
        POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/000"
else         
       POL_Shortcut "game.exe" "$TITLE" "" "" "Game;Shooter;"
#       POL_Shortcut_Document "$TITLE" "readme.html"
fi
  
# GPU selection. Useful when there is 2 GPU on the same computer (ie: Intel HD + Nvidia).
POL_Call POL_Install_VideoDriver

POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Réponses

Jeudi 26 Décembre 2019 à 12:46
Free -> not free.

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