Among US

Informations

Creator Message
Quentin PÂRIS Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 36825
Wine: System

Feedbacks

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.

Source code

#!/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:

Contribute
Member Message
Quentin PÂRIS Friday 22 January 2021 at 22:09
Quentin PÂRIS Anonymous

Information

This update has been approved by the team.

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
 
   

New source code

#!/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

Replies

Quentin PÂRIS Friday 22 January 2021 at 22:04
Quentin PÂRIS Anonymous

Warning

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

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

New source code

#!/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

Replies

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