Among US

Informations

Créateur Messages
Quentin PÂRIS Anonymous

Information

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

Informations

Plate-formes :
Téléchargements : 14896
Wine: System

Retours d'expérience

Description

Among Us is an online multiplayer game that takes place in space. Players each take on one of two roles, Crewmates, or being Impostors. Crewmates have to identify the Impostors, eliminate them, and complete tasks around the map. The Impostors goal is to kill the other Crewmates before they complete all of their tasks. Players suspected to be Impostors may be eliminated by other players.

This script should work on macOS and Linux.

Code source

#!/bin/bash
# Date : (2020-01-07)
# Last revision : see the changelog below
# Wine version used : see the changelog below
# Distribution used to test : macOS 
# Author : Quentin PARIS
# Licence : Retail
#
# 

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
          
TITLE="Among US"
PREFIX="among_us"
EDITOR=""
AUTHOR="Quentin PARIS"
GAME_VMS="128"

SOFTWARE_CATEGORIES="Game;ActionGame;"
     
# Starting the script
POL_SetupWindow_Init
             
# Starting debugging API
POL_Debug_Init
            
# Open dialogue box 
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"
            
# Determine Architecture
# POL_System_SetArch "amd64"
POL_System_SetArch "x86"
       
# Downloading wine if necessary and creating prefix
POL_Wine_PrefixCreate
               

POL_SetupWindow_InstallMethod "STEAM"
  
# POL_SetupWindow_message "Warning: do not install DirectX." "$TITLE"
  
# Begin game installation
if [ "$INSTALL_METHOD" == "STEAM" ]; then
        POL_Call POL_Install_steam
        # Mandatory pre-install fix for steam
        POL_Call POL_Install_steam_flags "$STEAM_ID"
      
        # Steam install
        POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo 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_Wine_WaitExit "$TITLE"
                  
        POL_SetupWindow_message "$(eval_gettext 'Wait until $TITLE is downloaded by Steam. Do not click next before, or the installation will fail')" "$TITLE"
            
                 
        # Shortcut done before install for steam version
        POL_Shortcut "Among Us.exe" "$TITLE"
fi

  
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribuer
Membre Messages
Quentin PÂRIS Vendredi 22 Janvier 2021 à 22:09
Quentin PÂRIS Anonymous

Information

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

Differences

@@ -50,14 +50,18 @@
         POL_Call POL_Install_steam
         # 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" "" "steam://rungameid/$STEAM_ID"
+      
         # Steam install
         POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo 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_Wine_WaitExit "$TITLE"
-    
+		  
+        POL_SetupWindow_message "$(eval_gettext 'Wait until $TITLE is downloaded by Steam. Do not click next before, or the installation will fail')" "$TITLE"
+    	
+		 
+        # Shortcut done before install for steam version
+        POL_Shortcut "Among Us.exe" "$TITLE"
 fi
 
   

Nouveau code source

#!/bin/bash
# Date : (2020-01-07)
# Last revision : see the changelog below
# Wine version used : see the changelog below
# Distribution used to test : macOS 
# Author : Quentin PARIS
# Licence : Retail
#
# 

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
          
TITLE="Among US"
PREFIX="among_us"
EDITOR=""
AUTHOR="Quentin PARIS"
GAME_VMS="128"

SOFTWARE_CATEGORIES="Game;ActionGame;"
     
# Starting the script
POL_SetupWindow_Init
             
# Starting debugging API
POL_Debug_Init
            
# Open dialogue box 
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"
            
# Determine Architecture
# POL_System_SetArch "amd64"
POL_System_SetArch "x86"
       
# Downloading wine if necessary and creating prefix
POL_Wine_PrefixCreate
               

POL_SetupWindow_InstallMethod "STEAM"
  
# POL_SetupWindow_message "Warning: do not install DirectX." "$TITLE"
  
# Begin game installation
if [ "$INSTALL_METHOD" == "STEAM" ]; then
        POL_Call POL_Install_steam
        # Mandatory pre-install fix for steam
        POL_Call POL_Install_steam_flags "$STEAM_ID"
      
        # Steam install
        POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo 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_Wine_WaitExit "$TITLE"
                  
        POL_SetupWindow_message "$(eval_gettext 'Wait until $TITLE is downloaded by Steam. Do not click next before, or the installation will fail')" "$TITLE"
            
                 
        # Shortcut done before install for steam version
        POL_Shortcut "Among Us.exe" "$TITLE"
fi

  
POL_SetupWindow_Close
exit 0

Réponses

Quentin PÂRIS Vendredi 22 Janvier 2021 à 22:04
Quentin PÂRIS Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Differences

@@ -0,0 +1,65 @@
+#!/bin/bash
+# Date : (2020-01-07)
+# Last revision : see the changelog below
+# Wine version used : see the changelog below
+# Distribution used to test : macOS 
+# Author : Quentin PARIS
+# Licence : Retail
+#
+# 
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+          
+TITLE="Among US"
+PREFIX="among_us"
+EDITOR=""
+AUTHOR="Quentin PARIS"
+GAME_VMS="128"
+
+SOFTWARE_CATEGORIES="Game;ActionGame;"
+     
+# Starting the script
+POL_SetupWindow_Init
+             
+# Starting debugging API
+POL_Debug_Init
+            
+# Open dialogue box 
+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"
+            
+# Determine Architecture
+# POL_System_SetArch "amd64"
+POL_System_SetArch "x86"
+       
+# Downloading wine if necessary and creating prefix
+POL_Wine_PrefixCreate
+               
+
+POL_SetupWindow_InstallMethod "STEAM"
+  
+# POL_SetupWindow_message "Warning: do not install DirectX." "$TITLE"
+  
+# Begin game installation
+if [ "$INSTALL_METHOD" == "STEAM" ]; then
+        POL_Call POL_Install_steam
+        # 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" "" "steam://rungameid/$STEAM_ID"
+        # Steam install
+        POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo 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_Wine_WaitExit "$TITLE"
+    
+fi
+
+  
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2020-01-07)
# Last revision : see the changelog below
# Wine version used : see the changelog below
# Distribution used to test : macOS 
# Author : Quentin PARIS
# Licence : Retail
#
# 

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
          
TITLE="Among US"
PREFIX="among_us"
EDITOR=""
AUTHOR="Quentin PARIS"
GAME_VMS="128"

SOFTWARE_CATEGORIES="Game;ActionGame;"
     
# Starting the script
POL_SetupWindow_Init
             
# Starting debugging API
POL_Debug_Init
            
# Open dialogue box 
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"
            
# Determine Architecture
# POL_System_SetArch "amd64"
POL_System_SetArch "x86"
       
# Downloading wine if necessary and creating prefix
POL_Wine_PrefixCreate
               

POL_SetupWindow_InstallMethod "STEAM"
  
# POL_SetupWindow_message "Warning: do not install DirectX." "$TITLE"
  
# Begin game installation
if [ "$INSTALL_METHOD" == "STEAM" ]; then
        POL_Call POL_Install_steam
        # 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" "" "steam://rungameid/$STEAM_ID"
        # Steam install
        POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo 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_Wine_WaitExit "$TITLE"
    
fi

  
POL_SetupWindow_Close
exit 0

Réponses