Pirate 101

Informations

Creator Nachricht
jhersey Anonymous

Warning

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

Informations

Platforms:
Downloads: 4024
Wine: System

Feedbacks

Description

(From MMORPG.com):Pirate101 is a free-to-play, pirate-themed MMOG from KingsIsle Entertainment, makers of Wizard101. The game is set in the same universe as its wizard-themed predecessor, so players can expect to continue to challenge the Clockwork Empire. Players begin the game by creating a pirate and then setting out to gain a ship and crew. Pirate101 offers swashbuckling ground combat, but its main fighting focus is comprised of ship-to-ship combat high in the sky among the skyways and floating islands in the Weave.

Source code

#!/bin/bash
# Date : (2014-01-29 ??-??)
# Wine version used : 1.7.11 x86
# Distribution used to test : Ubuntu 13.10 x86_64
# PlayOnLinux : 4.2.1
# Author : Joseph Hersey
 
# CHANGELOG
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
PREFIX="Pirate101-t"
TITLE="Pirate 101"
EDITOR="KingsIsle Entertainment, Inc."
GAME_URL="https://www.pirate101.com"
AUTHOR="Joseph Hersey"
 
# Initialization
#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 1935
POL_Debug_Init
 
# Presentation
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
# Create Prefix
POL_System_SetArch "x86" # Game crashes if installed with x86_64
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate
 
# Installation - Determine if user wants to download or use a local copy.

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD" # Choose method of installation
 if [ "$INSTALL_METHOD" = "LOCAL" ]
   then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE" # Browse for File
 
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine "$APP_ANSWER" # Install Application
 
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    POL_System_TmpCreate "$PREFIX"  # Create temp folder
    cd "$POL_System_TmpDir"
    POL_Download "https://www.pirate101.com/downloadGame/OtherDownload" # Download installer
    mv OtherDownload InstallPirate101.exe # Setup will give a feature transfer error if not named InstallPirate101.exe 
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine "InstallPirate101.exe" # Install Application
 
    POL_System_TmpDelete
fi
 
# Create Shortcuts
POL_Shortcut "Pirate101.exe" "$TITLE" "" "" "Game;RolePlaying;"
 
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Nachricht