Infantry Online
Informations
Créateur | Messages |
---|---|
spiffyguy
|
InformationCet installateur a été accepté par l'équipe. InformationsPlate-formes : Retours d'expérience3 1 DescriptionInfantry is an online-only multiplayer action game with a science fiction theme. Game types are generally team based, and include marines vs aliens, capture the flag, and various sports themes, including football, hockey, and futuristic "Gravball." Website. Captures d'écranCode source#!/usr/bin/env playonlinux-bash # Date : (2022-02-17 07-00) # Last revision : (2022-03-02 05-15) # Wine version used : 7.0 # Distribution used to test : Ubuntu 20.04 LTS # Author : Spiff # PlayOnLinux : 4.3.4 # Script license : GPL3 # Program license : Retail [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Infantry Online" PREFIX="InfantryOnline" COMPANY="Free Infantry Group" DOMAIN="http://www.freeinfantry.com" TEMPTITLE="$TITLE" WINEVERSION="7.0" #POL_GetSetupImages "http://files.playonlinux.com/resources/setups/infantryonline/top.jpg" "http://files.playonlinux.com/resources/setups/infantryonline/left.jpg" "$TITLE" POL_GetSetupImages "http://freeinfantry.com/download/installer-images/linux-pol-top-64x64.png" "http://freeinfantry.com/download/installer-images/linux-pol-left-150x356.jpg" "$TITLE" POL_SetupWindow_Init POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "$COMPANY" "$DOMAIN" "Spiff" "$PREFIX" POL_System_TmpCreate "$PREFIX" POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL" POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WINEVERSION" if [ "$INSTALL_METHOD" = "LOCAL" ] then POL_SetupWindow_browse "Please select the installation file to run." "$TITLE Installer" INSTALLER="$APP_ANSWER" elif [ "$INSTALL_METHOD" = "DOWNLOAD" ] then POL_SetupWindow_wait "Downloading installer into a temp directory..." "$TITLE" cd "$POL_System_TmpDir" POL_Download "http://freeinfantry.com/download/win/latest/Install-Infantry-Online.exe" INSTALLER="$POL_System_TmpDir/Install-Infantry-Online.exe" fi if (( $(($WINEVERSION + 0)) >= 7.0 )); then TITLE="$TEMPTITLE (Step 1/1)" else TITLE="$TEMPTITLE (Step 1/2)" POL_SetupWindow_wait "Installing .NET Framework 4.0..." "$TITLE" POL_Call POL_Install_dotnet40 TITLE="$TEMPTITLE (Step 2/2)" fi POL_SetupWindow_wait "Installing Infantry Online..." "$TITLE" TITLE="$TEMPTITLE" if [ "$INSTALL_METHOD" = "LOCAL" ] then # Run the installer NOT silently since you chose local and most likely will want to change settings POL_Wine "$INSTALLER" /ddraw=opengl elif [ "$INSTALL_METHOD" = "DOWNLOAD" ] then # Run the installer silently (/S) and override the ddraw renderer to be opengl POL_Wine "$INSTALLER" /ddraw=opengl /S fi # Tell WINE we are overriding the ddraw dll POL_Wine_OverrideDLL "native, builtin" "ddraw" POL_Shortcut "InfantryLauncher.exe" "$TITLE" "" "" "Game;MultiplayerGame;" POL_System_TmpDelete POL_SetupWindow_Close exit |
Contributions
Filters:
ContribuerMembre | Messages |
spiffyguy | Mercredi 2 Mars 2022 à 14:18 |
spiffyguy
|
InformationCette mise à jour a été acceptée par l'équipe MessagesOn Ubuntu Desktop 20.04.03 LTS, if I target WINE 7.0 "POL_Wine_PrefixCreate 7.0" then WINE mono is able to handle the calls for the Infantry Launcher and it appears .NET is not required to install! I have tested the following script and it works to skip .NET on WINE 7.0. Differences@@ -1,7 +1,7 @@ #!/usr/bin/env playonlinux-bash # Date : (2022-02-17 07-00) -# Last revision : (2022-02-24 06-21) -# Wine version used : 5.0.0 +# Last revision : (2022-03-02 05-15) +# Wine version used : 7.0 # Distribution used to test : Ubuntu 20.04 LTS # Author : Spiff # PlayOnLinux : 4.3.4 @@ -16,6 +16,7 @@ COMPANY="Free Infantry Group" DOMAIN="http://www.freeinfantry.com" TEMPTITLE="$TITLE" +WINEVERSION="7.0" #POL_GetSetupImages "http://files.playonlinux.com/resources/setups/infantryonline/top.jpg" "http://files.playonlinux.com/resources/setups/infantryonline/left.jpg" "$TITLE" POL_GetSetupImages "http://freeinfantry.com/download/installer-images/linux-pol-top-64x64.png" "http://freeinfantry.com/download/installer-images/linux-pol-left-150x356.jpg" "$TITLE" @@ -30,7 +31,7 @@ POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL" POL_Wine_SelectPrefix "$PREFIX" -POL_Wine_PrefixCreate +POL_Wine_PrefixCreate "$WINEVERSION" if [ "$INSTALL_METHOD" = "LOCAL" ] then @@ -41,23 +42,28 @@ elif [ "$INSTALL_METHOD" = "DOWNLOAD" ] then - POL_SetupWindow_wait "Downloading all files first into a temp directory..." "$TITLE" + POL_SetupWindow_wait "Downloading installer into a temp directory..." "$TITLE" cd "$POL_System_TmpDir" POL_Download "http://freeinfantry.com/download/win/latest/Install-Infantry-Online.exe" INSTALLER="$POL_System_TmpDir/Install-Infantry-Online.exe" fi -TITLE="$TEMPTITLE (Step 1/2)" -POL_SetupWindow_wait "Setting up .NET Framework 4.0..." "$TITLE" -POL_Call POL_Install_dotnet40 +if (( $(($WINEVERSION + 0)) >= 7.0 )); then + TITLE="$TEMPTITLE (Step 1/1)" + +else + TITLE="$TEMPTITLE (Step 1/2)" + POL_SetupWindow_wait "Installing .NET Framework 4.0..." "$TITLE" + POL_Call POL_Install_dotnet40 + + TITLE="$TEMPTITLE (Step 2/2)" +fi -TITLE="$TEMPTITLE (Step 2/2)" POL_SetupWindow_wait "Installing Infantry Online..." "$TITLE" TITLE="$TEMPTITLE" - if [ "$INSTALL_METHOD" = "LOCAL" ] then Nouveau code source#!/usr/bin/env playonlinux-bash # Date : (2022-02-17 07-00) # Last revision : (2022-03-02 05-15) # Wine version used : 7.0 # Distribution used to test : Ubuntu 20.04 LTS # Author : Spiff # PlayOnLinux : 4.3.4 # Script license : GPL3 # Program license : Retail [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Infantry Online" PREFIX="InfantryOnline" COMPANY="Free Infantry Group" DOMAIN="http://www.freeinfantry.com" TEMPTITLE="$TITLE" WINEVERSION="7.0" #POL_GetSetupImages "http://files.playonlinux.com/resources/setups/infantryonline/top.jpg" "http://files.playonlinux.com/resources/setups/infantryonline/left.jpg" "$TITLE" POL_GetSetupImages "http://freeinfantry.com/download/installer-images/linux-pol-top-64x64.png" "http://freeinfantry.com/download/installer-images/linux-pol-left-150x356.jpg" "$TITLE" POL_SetupWindow_Init POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "$COMPANY" "$DOMAIN" "Spiff" "$PREFIX" POL_System_TmpCreate "$PREFIX" POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL" POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WINEVERSION" if [ "$INSTALL_METHOD" = "LOCAL" ] then POL_SetupWindow_browse "Please select the installation file to run." "$TITLE Installer" INSTALLER="$APP_ANSWER" elif [ "$INSTALL_METHOD" = "DOWNLOAD" ] then POL_SetupWindow_wait "Downloading installer into a temp directory..." "$TITLE" cd "$POL_System_TmpDir" POL_Download "http://freeinfantry.com/download/win/latest/Install-Infantry-Online.exe" INSTALLER="$POL_System_TmpDir/Install-Infantry-Online.exe" fi if (( $(($WINEVERSION + 0)) >= 7.0 )); then TITLE="$TEMPTITLE (Step 1/1)" else TITLE="$TEMPTITLE (Step 1/2)" POL_SetupWindow_wait "Installing .NET Framework 4.0..." "$TITLE" POL_Call POL_Install_dotnet40 TITLE="$TEMPTITLE (Step 2/2)" fi POL_SetupWindow_wait "Installing Infantry Online..." "$TITLE" TITLE="$TEMPTITLE" if [ "$INSTALL_METHOD" = "LOCAL" ] then # Run the installer NOT silently since you chose local and most likely will want to change settings POL_Wine "$INSTALLER" /ddraw=opengl elif [ "$INSTALL_METHOD" = "DOWNLOAD" ] then # Run the installer silently (/S) and override the ddraw renderer to be opengl POL_Wine "$INSTALLER" /ddraw=opengl /S fi # Tell WINE we are overriding the ddraw dll POL_Wine_OverrideDLL "native, builtin" "ddraw" POL_Shortcut "InfantryLauncher.exe" "$TITLE" "" "" "Game;MultiplayerGame;" POL_System_TmpDelete POL_SetupWindow_Close exit RéponsesSamedi 5 Mars 2022 à 12:42
|
Dadu042 | Lundi 28 Février 2022 à 17:02 |
Dadu042
|
MessagesThe game fails to launch: "CLR error: 80004005". Tested on Wine 7.0, 5.0.3, and 6.0.1. RéponsesMardi 1 Mars 2022 à 6:04
Mardi 1 Mars 2022 à 13:15
Samedi 5 Mars 2022 à 12:43
Edité par Dadu042 |
spiffyguy | Lundi 28 Février 2022 à 15:31 |
spiffyguy
|
MessagesI am sorry for so many after submission edits. Script is good and working! I have made the 4 different POL required images and am linking them here for upload to the catalog:
I re-read this forum post about submissions: https://www.playonlinux.com/en/topic-10187-Standards_for_script_publishing.html and saw that I was missing the two icon files. Can someone help me get those submitted properly so they show up in the catalog when searching? (I guess the 22x22 is used in this case, and the 48x48 is used for the installed icon) Thanks! - Spiff RéponsesEdité par spiffyguy |
spiffyguy | Jeudi 24 Février 2022 à 23:06 |
spiffyguy
|
|
spiffyguy | Jeudi 24 Février 2022 à 23:03 |
spiffyguy
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. MessagesDidn't see on the original form where to submit the script. Submitting it now! Differences@@ -0,0 +1,84 @@ +#!/usr/bin/env playonlinux-bash +# Date : (2022-02-17 07-00) +# Last revision : (2022-02-24 06-21) +# Wine version used : 5.0.0 +# Distribution used to test : Ubuntu 20.04 LTS +# Author : Spiff +# PlayOnLinux : 4.3.4 +# Script license : GPL3 +# Program license : Retail + +[ "$PLAYONLINUX" = "" ] && exit 0 +source "$PLAYONLINUX/lib/sources" + +TITLE="Infantry Online" +PREFIX="InfantryOnline" +COMPANY="Free Infantry Group" +DOMAIN="http://www.freeinfantry.com" +TEMPTITLE="$TITLE" + +#POL_GetSetupImages "http://files.playonlinux.com/resources/setups/infantryonline/top.jpg" "http://files.playonlinux.com/resources/setups/infantryonline/left.jpg" "$TITLE" +POL_GetSetupImages "http://freeinfantry.com/download/installer-images/linux-pol-top-64x64.png" "http://freeinfantry.com/download/installer-images/linux-pol-left-150x356.jpg" "$TITLE" + +POL_SetupWindow_Init +POL_Debug_Init + +POL_SetupWindow_presentation "$TITLE" "$COMPANY" "$DOMAIN" "Spiff" "$PREFIX" + +POL_System_TmpCreate "$PREFIX" + +POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL" + +POL_Wine_SelectPrefix "$PREFIX" +POL_Wine_PrefixCreate + +if [ "$INSTALL_METHOD" = "LOCAL" ] +then + + POL_SetupWindow_browse "Please select the installation file to run." "$TITLE Installer" + INSTALLER="$APP_ANSWER" + +elif [ "$INSTALL_METHOD" = "DOWNLOAD" ] +then + + POL_SetupWindow_wait "Downloading all files first into a temp directory..." "$TITLE" + cd "$POL_System_TmpDir" + POL_Download "http://freeinfantry.com/download/win/latest/Install-Infantry-Online.exe" + INSTALLER="$POL_System_TmpDir/Install-Infantry-Online.exe" + +fi + +TITLE="$TEMPTITLE (Step 1/2)" +POL_SetupWindow_wait "Setting up .NET Framework 4.0..." "$TITLE" +POL_Call POL_Install_dotnet40 + +TITLE="$TEMPTITLE (Step 2/2)" +POL_SetupWindow_wait "Installing Infantry Online..." "$TITLE" + +TITLE="$TEMPTITLE" + + +if [ "$INSTALL_METHOD" = "LOCAL" ] +then + + # Run the installer NOT silently since you chose local and most likely will want to change settings + POL_Wine "$INSTALLER" /ddraw=opengl + +elif [ "$INSTALL_METHOD" = "DOWNLOAD" ] +then + + # Run the installer silently (/S) and override the ddraw renderer to be opengl + POL_Wine "$INSTALLER" /ddraw=opengl /S + +fi + +# Tell WINE we are overriding the ddraw dll +POL_Wine_OverrideDLL "native, builtin" "ddraw" + +POL_Shortcut "InfantryLauncher.exe" "$TITLE" "" "" "Game;MultiplayerGame;" + +POL_System_TmpDelete + +POL_SetupWindow_Close + +exit \ No newline at end of file Nouveau code source#!/usr/bin/env playonlinux-bash # Date : (2022-02-17 07-00) # Last revision : (2022-02-24 06-21) # Wine version used : 5.0.0 # Distribution used to test : Ubuntu 20.04 LTS # Author : Spiff # PlayOnLinux : 4.3.4 # Script license : GPL3 # Program license : Retail [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Infantry Online" PREFIX="InfantryOnline" COMPANY="Free Infantry Group" DOMAIN="http://www.freeinfantry.com" TEMPTITLE="$TITLE" #POL_GetSetupImages "http://files.playonlinux.com/resources/setups/infantryonline/top.jpg" "http://files.playonlinux.com/resources/setups/infantryonline/left.jpg" "$TITLE" POL_GetSetupImages "http://freeinfantry.com/download/installer-images/linux-pol-top-64x64.png" "http://freeinfantry.com/download/installer-images/linux-pol-left-150x356.jpg" "$TITLE" POL_SetupWindow_Init POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "$COMPANY" "$DOMAIN" "Spiff" "$PREFIX" POL_System_TmpCreate "$PREFIX" POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL" POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate if [ "$INSTALL_METHOD" = "LOCAL" ] then POL_SetupWindow_browse "Please select the installation file to run." "$TITLE Installer" INSTALLER="$APP_ANSWER" elif [ "$INSTALL_METHOD" = "DOWNLOAD" ] then POL_SetupWindow_wait "Downloading all files first into a temp directory..." "$TITLE" cd "$POL_System_TmpDir" POL_Download "http://freeinfantry.com/download/win/latest/Install-Infantry-Online.exe" INSTALLER="$POL_System_TmpDir/Install-Infantry-Online.exe" fi TITLE="$TEMPTITLE (Step 1/2)" POL_SetupWindow_wait "Setting up .NET Framework 4.0..." "$TITLE" POL_Call POL_Install_dotnet40 TITLE="$TEMPTITLE (Step 2/2)" POL_SetupWindow_wait "Installing Infantry Online..." "$TITLE" TITLE="$TEMPTITLE" if [ "$INSTALL_METHOD" = "LOCAL" ] then # Run the installer NOT silently since you chose local and most likely will want to change settings POL_Wine "$INSTALLER" /ddraw=opengl elif [ "$INSTALL_METHOD" = "DOWNLOAD" ] then # Run the installer silently (/S) and override the ddraw renderer to be opengl POL_Wine "$INSTALLER" /ddraw=opengl /S fi # Tell WINE we are overriding the ddraw dll POL_Wine_OverrideDLL "native, builtin" "ddraw" POL_Shortcut "InfantryLauncher.exe" "$TITLE" "" "" "Game;MultiplayerGame;" POL_System_TmpDelete POL_SetupWindow_Close exit RéponsesVendredi 25 Février 2022 à 9:51
|
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