Du bist hier

Das Forum

Jagged Alliance 2

retail version installer (install also git update).

Autor Antworten
lahtis Sunday 30 June 2013 at 13:07

Noticed for retail game not working with any wine versions in Ubuntu. That is strange. But game working with updated git (win) version or using ubuntu repository ja2 packages.

+Installer working with Linux and Mac.
+downloader working with fixed zip file for git.

-How to unzip downloaded file for correct file path? example

  # unzip file the correct path
    unzip "ja2-v0.12.175-win.zip" "drive_c/Program Files/TalonSoft/Ja2/"

-How to use game starting settings? example ja2.exe -resversion ENGLISH -res 1024x768

For game icons and installer images found to the http://ubuntuone.com/7LiIdpDaNoS7m7aVHoirsZ address.

# Date : (2013-06-25 20:43)
# Last revision : (2013-06-25 20:43)
# Wine version used : 1.3.25
# Distribution used to test : Ubuntu 12.10, Nvidia Geforce 9800 GT 512MB using
# nvidia-experimental-310 driver, Intel® Core™2 Duo CPU E4400 @ 2.00GHz×2, Memory 1,9 GiB
# Author : lahtis <lahtis@gmail.com>
# Script licence : GPL v.2
# Program licence : Retail
# Jagged Alliance 2 - retail and git installer
# User is using this installer for coping the all data files in linux native version witch found Ubuntu repository ja2-Stracciatella or Bitbucket git ja2-Straccietella Continued version. This installer install Bitbucket Git ja2-Straccietella Continued patch.

[ -z "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"

TITLE="Jagged Alliance 2"
EDITOR="Sir-Tech Software / Strategy First"           

# Initialization
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"

# Presentation
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
Set_OS winxp

# Asking about memory size of graphic card

# Fix pulseaudio issue
which pulseaudio && Set_OS "winxp"

# Select virtual desktop mode on
Set_Desktop On 800 600
# Asking for CDROM and checking if it's correct one
POL_SetupWindow_message "$(eval_gettext 'Please insert the game media into your disk drive')" "$TITLE"
POL_SetupWindow_check_cdrom "install/SETUP.EXE"

POL_Wine start /unix "$CDROM/install/SETUP.EXE" || POL_Debug_Fatal "$(eval_gettext 'Error while installing game.')"
POL_Wine_WaitExit "$TITLE"

# Create tmp directory for downloaded files
POL_System_TmpCreate "$PREFIX"

# Select install method
POL_SetupWindow_InstallMethod "DOWNLOAD"

    cd "$POL_System_TmpDir"

    # Download latest ja2-Straccietella Continued files in GIT.
    # version is 0.12.175

    POL_Download "http://ubuntuone.com/5pCsYVOXzXVIOqpPNHFJ3Z"
    POL_SetupWindow_wait "Installation in progress." "$TITLE installation"

    # Move correct filename
    mv "5pCsYVOXzXVIOqpPNHFJ3Z" "ja2-v0.12.175-win.zip"

    # unzip file the correct filepath
    unzip "ja2-v0.12.175-win.zip" "drive_c/Program Files/TalonSoft/Ja2/"



# Create shortcuts adn parameters (ja2.exe -resversion ENGLISH -res 1024x768)
POL_Shortcut "ja2.exe" "$TITLE" "$TITLE.png"
POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')"
exit 0

Using Ubuntu 18.04.4 LTS and latest Playonlinux.
My scripts: https://github.com/lahtis/playonlinux
petch Sunday 30 June 2013 at 16:26

Hi lahtis,
If you start using JA2 - Stracciatella binaries, why not go all the way and compile it for Linux instead?
lahtis Sunday 30 June 2013 at 16:40

Yes, im using linux binaries. But binaries needed orginal data files for ja2 cd's. But they not to the directly from cds. The game has to install to get it all data files. (Copy Protection) :D

It is then the same thing to make a functional game installer for PlaOnLinux software. Each user can do whatever it wants. Using linux binaries or wine.

I would note: Orginal game not running wine versions 0.9.7 - 1.3.25.

Editiert von: lahtis

Using Ubuntu 18.04.4 LTS and latest Playonlinux.
My scripts: https://github.com/lahtis/playonlinux
Du bist hier: Index > > Jagged Alliance 2