GOG.com - Jagged Alliance 2

Informations

Creator Message
petch
Developer

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 10221
Wine: 1.4.1

Feedbacks

Description

English: Manage a team of mercenaries to take back the control of a country.
(updated for GOG installer v2)

GOG now has installers for Mac

Français : Gérer un groupe de mercenaires pour reprendre le contrôle d'un pays.
(mis à jour pour l'installeur GOG v2)

GOG propose maintenant des installeurs pour Mac

Screenshots

MiniatureMiniatureMiniatureMiniature

Source code

#!/bin/bash
# Date : (2012-06-09 14-38)
# Last revision : (2013-11-24 10-27)
# Wine version used : 1.4.1
# Distribution used to test : Debian Sid (Unstable)
# Author : Pierre Etchemaite pe-pol@concept-micro.com
# Script licence : GPL v.2
# Program licence : Retail
# Depend :

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

GOGID="jagged_alliance_2"
PREFIX="JaggedAlliance2_gog"
WORKING_WINE_VERSION="1.4.1"

TITLE="GOG.com - Jagged Alliance 2"
SHORTCUT_NAME="Jagged Alliance 2"

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 1249
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Sir-Tech Software / Strategy First" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" "0504839fc0ca7831c6be2ed25feefc2c"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install


# GoG work!
Set_OS winxp

POL_SetupWindow_VMS "1"

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "ja2.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;StrategyGame;"
POL_Shortcut_QuietDebug "$SHORTCUT_NAME"
POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGROOT/Jagged Alliance 2/manual.pdf"
# C:\GOG Games\Jagged Alliance 2\readme.txt

POL_SetupWindow_Close

exit 0

Contributions

Filters:

Contribute
Member Message
IronCretin Thursday 28 December 2017 at 15:23
IronCretin Anonymous

Message

I cannot get this to work.

Downloaded PlayonLinux using the terminal in Fedora 26. All associated dependencies downloaded successfully. Installs ok, but gives an error at the end. Says it has completed, but the program JA2 keeps crashing before running. Downloaded the PC JA2 installer direct from GOG. 

 

Here is the error: 

[12/28/17 17:18:59] - Running wine-1.4.1 ja2.exe (Working directory : /home/ajp/.PlayOnLinux/wineprefix/JaggedAlliance2_gog/drive_c/GOG Games/Jagged Alliance 2)
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
wine: Unhandled page fault on read access to 0x00000000 at address 0x450ef6 (thread 0009), starting debugger...
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x00450ef6).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:00450ef6 ESP:0032fdc4 EBP:0032fe70 EFLAGS:00010246(  R- --  I  Z- -P- )
 EAX:00000000 EBX:00000000 ECX:c0000001 EDX:c000000d
 ESI:00e20648 EDI:00000001
Stack dump:
0x0032fdc4:  00000000 00467e10 0046801d 00000001
0x0032fdd4:  005e6f74 00000000 7b895a48 005e5cd4
0x0032fde4:  005e6ee8 ffffffff 00000000 00000000
0x0032fdf4:  005e5dbd ffffffff 005e5cd4 7ffdf000
0x0032fe04:  7b895a48 c0000005 001217b0 ffffffff
0x0032fe14:  00000044 00000000 00111088 001110a0
Backtrace:
=>0 0x00450ef6 in ja2 (+0x50ef6) (0x0032fe70)
  1 0x7b85ad4c call_process_entry+0xb() in kernel32 (0x0032fe88)
  2 0x7b85e27b in kernel32 (+0x4e27a) (0x0032fec8)
  3 0x7bc714e0 call_thread_func_wrapper+0xb() in ntdll (0x0032fed8)
  4 0x7bc7173d call_thread_func+0x7c() in ntdll (0x0032ffa8)
  5 0x7bc714be RtlRaiseException+0x21() in ntdll (0x0032ffc8)
  6 0x7bc4c31e in ntdll (+0x3c31d) (0x0032ffe8)
0x00450ef6: movl 0x0(%eax),%ecx
Modules:
Module Address Debug info Name (80 modules)
PE   400000-  9e5000 Export          ja2
PE 10000000-1001b000 Deferred        smackw32
PE 21100000-2115c000 Deferred        mss32
ELF 7b800000-7b8f6000 Dwarf           kernel32<elf>
  \-PE 7b810000-7b8f6000 \               kernel32
ELF 7bc00000-7bcc1000 Dwarf           ntdll<elf>
  \-PE 7bc10000-7bcc1000 \               ntdll
ELF 7bf00000-7bf03000 Deferred        <wine-loader>
ELF 7d7c7000-7d7d2000 Deferred        libpciaccess.so.0
ELF 7d7d2000-7d7ef000 Deferred        libgcc_s.so.1
ELF 7d7ef000-7d815000 Deferred        libdrm_intel.so.1
ELF 7d845000-7e167000 Deferred        i965_dri.so
ELF 7e167000-7e1dd000 Deferred        libpcre.so.1
ELF 7e1dd000-7e1f0000 Deferred        libdrm.so.2
ELF 7e1f0000-7e1f6000 Deferred        libxcb-dri2.so.0
ELF 7e1f6000-7e213000 Deferred        libxcb-glx.so.0
ELF 7e213000-7e216000 Deferred        libx11-xcb.so.1
ELF 7e216000-7e21a000 Deferred        libxdamage.so.1
ELF 7e21a000-7e243000 Deferred        libselinux.so.1
ELF 7e243000-7e273000 Deferred        libglapi.so.0
ELF 7e273000-7e27b000 Deferred        libxcb-sync.so.1
ELF 7e27b000-7e27f000 Deferred        libxcb-present.so.0
ELF 7e27f000-7e2b1000 Deferred        libexpat.so.1
ELF 7e2b1000-7e32f000 Deferred        libglx_mesa.so.0
ELF 7e333000-7e341000 Deferred        libdrm_radeon.so.1
ELF 7e341000-7e34b000 Deferred        libdrm_nouveau.so.2
ELF 7e34b000-7e35f000 Deferred        libz.so.1
ELF 7e37f000-7e3dd000 Deferred        libgldispatch.so.0
ELF 7e3dd000-7e3fe000 Deferred        libglx.so.0
ELF 7e3fe000-7e45f000 Deferred        libgl.so.1
ELF 7e45f000-7e466000 Deferred        libxfixes.so.3
ELF 7e466000-7e471000 Deferred        libxcursor.so.1
ELF 7e471000-7e483000 Deferred        libxi.so.6
ELF 7e483000-7e487000 Deferred        libxcomposite.so.1
ELF 7e487000-7e493000 Deferred        libxrandr.so.2
ELF 7e493000-7e49f000 Deferred        libxrender.so.1
ELF 7e49f000-7e4a6000 Deferred        libxxf86vm.so.1
ELF 7e4a6000-7e4aa000 Deferred        libxinerama.so.1
ELF 7e4aa000-7e4cb000 Deferred        imm32<elf>
  \-PE 7e4b0000-7e4cb000 \               imm32
ELF 7e4cb000-7e4f6000 Deferred        libxcb.so.1
ELF 7e4f6000-7e63a000 Deferred        libx11.so.6
ELF 7e63a000-7e655000 Deferred        libice.so.6
ELF 7e655000-7e658000 Deferred        libxshmfence.so.1
ELF 7e658000-7e661000 Deferred        libxcb-xfixes.so.0
ELF 7e661000-7e665000 Deferred        libxcb-dri3.so.0
ELF 7e685000-7e718000 Deferred        winex11<elf>
  \-PE 7e690000-7e718000 \               winex11
ELF 7e718000-7e73f000 Deferred        msacm32<elf>
  \-PE 7e720000-7e73f000 \               msacm32
ELF 7e73f000-7e7b5000 Deferred        rpcrt4<elf>
  \-PE 7e750000-7e7b5000 \               rpcrt4
ELF 7e7b5000-7e8ba000 Deferred        ole32<elf>
  \-PE 7e7d0000-7e8ba000 \               ole32
ELF 7e8ba000-7e966000 Deferred        winmm<elf>
  \-PE 7e8c0000-7e966000 \               winmm
ELF 7e966000-7ea9d000 Deferred        wined3d<elf>
  \-PE 7e970000-7ea9d000 \               wined3d
ELF 7ea9d000-7eb03000 Deferred        ddraw<elf>
  \-PE 7eaa0000-7eb03000 \               ddraw
ELF 7eb03000-7eb64000 Deferred        advapi32<elf>
  \-PE 7eb10000-7eb64000 \               advapi32
ELF 7eb64000-7ec21000 Deferred        gdi32<elf>
  \-PE 7eb70000-7ec21000 \               gdi32
ELF 7ec21000-7ed5f000 Deferred        user32<elf>
  \-PE 7ec30000-7ed5f000 \               user32
ELF 7ef5f000-7ef73000 Deferred        libnss_files.so.2
ELF 7ef73000-7efd0000 Deferred        libm.so.6
ELF 7efd0000-7efd4000 Deferred        libxau.so.6
ELF 7efd4000-7efe8000 Deferred        libxext.so.6
ELF 7efe8000-7f000000 Deferred        version<elf>
  \-PE 7eff0000-7f000000 \               version
ELF f7bf3000-f7bf8000 Deferred        libdl.so.2
ELF f7bf8000-f7da7000 Deferred        libc.so.6
ELF f7da7000-f7dc6000 Deferred        libpthread.so.0
ELF f7dc6000-f7dd0000 Deferred        libsm.so.6
ELF f7df0000-f7df6000 Deferred        libuuid.so.1
ELF f7df6000-f7f37000 Dwarf           libwine.so.1
ELF f7f39000-f7f62000 Deferred        ld-linux.so.2
ELF f7f65000-f7f66000 Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) C:\GOG Games\Jagged Alliance 2\ja2.exe
00000009    0 <==
0000000e services.exe
0000001f    0
0000001e    0
00000019    0
00000018    0
00000017    0
00000015    0
00000010    0
0000000f    0
00000012 winedevice.exe
0000001a    0
00000014    0
00000013    0
0000001b plugplay.exe
00000020    0
0000001d    0
0000001c    0
00000021 explorer.exe
00000022    0
[12/28/17 17:22:32] - Running wine-1.4.1 ja2.exe (Working directory : /home/ajp/.PlayOnLinux/wineprefix/JaggedAlliance2_gog/drive_c/GOG Games/Jagged Alliance 2)
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
wine: Unhandled page fault on read access to 0x00000000 at address 0x450ef6 (thread 0009), starting debugger...
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x00450ef6).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:00450ef6 ESP:0032fdc4 EBP:0032fe70 EFLAGS:00010246(  R- --  I  Z- -P- )
 EAX:00000000 EBX:00000000 ECX:c0000001 EDX:c000000d
 ESI:00e20648 EDI:00000001
Stack dump:
0x0032fdc4:  00000000 00467e10 0046801d 00000001
0x0032fdd4:  005e6f74 00000000 7b895a48 005e5cd4
0x0032fde4:  005e6ee8 ffffffff 00000000 00000000
0x0032fdf4:  005e5dbd ffffffff 005e5cd4 7ffdf000
0x0032fe04:  7b895a48 c0000005 001217b0 ffffffff
0x0032fe14:  00000044 00000000 00111088 001110a0
Backtrace:
=>0 0x00450ef6 in ja2 (+0x50ef6) (0x0032fe70)
  1 0x7b85ad4c call_process_entry+0xb() in kernel32 (0x0032fe88)
  2 0x7b85e27b in kernel32 (+0x4e27a) (0x0032fec8)
  3 0x7bc714e0 call_thread_func_wrapper+0xb() in ntdll (0x0032fed8)
  4 0x7bc7173d call_thread_func+0x7c() in ntdll (0x0032ffa8)
  5 0x7bc714be RtlRaiseException+0x21() in ntdll (0x0032ffc8)
  6 0x7bc4c31e in ntdll (+0x3c31d) (0x0032ffe8)
0x00450ef6: movl 0x0(%eax),%ecx
Modules:
Module Address Debug info Name (80 modules)
PE   400000-  9e5000 Export          ja2
PE 10000000-1001b000 Deferred        smackw32
PE 21100000-2115c000 Deferred        mss32
ELF 7b800000-7b8f6000 Dwarf           kernel32<elf>
  \-PE 7b810000-7b8f6000 \               kernel32
ELF 7bc00000-7bcc1000 Dwarf           ntdll<elf>
  \-PE 7bc10000-7bcc1000 \               ntdll
ELF 7bf00000-7bf03000 Deferred        <wine-loader>
ELF 7d255000-7db77000 Deferred        i965_dri.so
ELF 7e0e3000-7e0ee000 Deferred        libpciaccess.so.0
ELF 7e0ee000-7e10b000 Deferred        libgcc_s.so.1
ELF 7e10b000-7e131000 Deferred        libdrm_intel.so.1
ELF 7e161000-7e1d7000 Deferred        libpcre.so.1
ELF 7e1d7000-7e1ea000 Deferred        libdrm.so.2
ELF 7e1ea000-7e1f0000 Deferred        libxcb-dri2.so.0
ELF 7e1f0000-7e20d000 Deferred        libxcb-glx.so.0
ELF 7e20d000-7e210000 Deferred        libx11-xcb.so.1
ELF 7e210000-7e214000 Deferred        libxdamage.so.1
ELF 7e214000-7e23d000 Deferred        libselinux.so.1
ELF 7e23d000-7e26d000 Deferred        libglapi.so.0
ELF 7e26d000-7e275000 Deferred        libxcb-sync.so.1
ELF 7e275000-7e279000 Deferred        libxcb-present.so.0
ELF 7e279000-7e2ab000 Deferred        libexpat.so.1
ELF 7e2ab000-7e329000 Deferred        libglx_mesa.so.0
ELF 7e32d000-7e33b000 Deferred        libdrm_radeon.so.1
ELF 7e33b000-7e345000 Deferred        libdrm_nouveau.so.2
ELF 7e345000-7e359000 Deferred        libz.so.1
ELF 7e379000-7e3d7000 Deferred        libgldispatch.so.0
ELF 7e3d7000-7e3f8000 Deferred        libglx.so.0
ELF 7e3f8000-7e459000 Deferred        libgl.so.1
ELF 7e459000-7e460000 Deferred        libxfixes.so.3
ELF 7e460000-7e46b000 Deferred        libxcursor.so.1
ELF 7e46b000-7e47d000 Deferred        libxi.so.6
ELF 7e47d000-7e481000 Deferred        libxcomposite.so.1
ELF 7e481000-7e48d000 Deferred        libxrandr.so.2
ELF 7e48d000-7e499000 Deferred        libxrender.so.1
ELF 7e499000-7e4a0000 Deferred        libxxf86vm.so.1
ELF 7e4a0000-7e4a4000 Deferred        libxinerama.so.1
ELF 7e4a4000-7e4c5000 Deferred        imm32<elf>
  \-PE 7e4b0000-7e4c5000 \               imm32
ELF 7e4c5000-7e4f0000 Deferred        libxcb.so.1
ELF 7e4f0000-7e4f6000 Deferred        libuuid.so.1
ELF 7e4f6000-7e63a000 Deferred        libx11.so.6
ELF 7e63a000-7e655000 Deferred        libice.so.6
ELF 7e655000-7e658000 Deferred        libxshmfence.so.1
ELF 7e658000-7e661000 Deferred        libxcb-xfixes.so.0
ELF 7e661000-7e665000 Deferred        libxcb-dri3.so.0
ELF 7e685000-7e718000 Deferred        winex11<elf>
  \-PE 7e690000-7e718000 \               winex11
ELF 7e718000-7e73f000 Deferred        msacm32<elf>
  \-PE 7e720000-7e73f000 \               msacm32
ELF 7e73f000-7e7b5000 Deferred        rpcrt4<elf>
  \-PE 7e750000-7e7b5000 \               rpcrt4
ELF 7e7b5000-7e8ba000 Deferred        ole32<elf>
  \-PE 7e7d0000-7e8ba000 \               ole32
ELF 7e8ba000-7e966000 Deferred        winmm<elf>
  \-PE 7e8c0000-7e966000 \               winmm
ELF 7e966000-7ea9d000 Deferred        wined3d<elf>
  \-PE 7e970000-7ea9d000 \               wined3d
ELF 7ea9d000-7eb03000 Deferred        ddraw<elf>
  \-PE 7eaa0000-7eb03000 \               ddraw
ELF 7eb03000-7eb64000 Deferred        advapi32<elf>
  \-PE 7eb10000-7eb64000 \               advapi32
ELF 7eb64000-7ec21000 Deferred        gdi32<elf>
  \-PE 7eb70000-7ec21000 \               gdi32
ELF 7ec21000-7ed5f000 Deferred        user32<elf>
  \-PE 7ec30000-7ed5f000 \               user32
ELF 7ef5f000-7ef73000 Deferred        libnss_files.so.2
ELF 7ef73000-7efd0000 Deferred        libm.so.6
ELF 7efd0000-7efd4000 Deferred        libxau.so.6
ELF 7efd4000-7efe8000 Deferred        libxext.so.6
ELF 7efe8000-7f000000 Deferred        version<elf>
  \-PE 7eff0000-7f000000 \               version
ELF f7c21000-f7c2b000 Deferred        libsm.so.6
ELF f7c2d000-f7c32000 Deferred        libdl.so.2
ELF f7c32000-f7de1000 Deferred        libc.so.6
ELF f7de1000-f7e00000 Deferred        libpthread.so.0
ELF f7e30000-f7f71000 Dwarf           libwine.so.1
ELF f7f73000-f7f9c000 Deferred        ld-linux.so.2
ELF f7f9f000-f7fa0000 Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) C:\GOG Games\Jagged Alliance 2\ja2.exe
00000009    0 <==
0000000e services.exe
0000001f    0
0000001e    0
0000001d    0
0000001c    0
00000017    0
00000015    0
00000010    0
0000000f    0
00000012 winedevice.exe
00000018    0
00000014    0
00000013    0
00000019 plugplay.exe
00000020    0
0000001b    0
0000001a    0
00000021 explorer.exe
00000022    0

Replies

Anonymous
Thursday 28 December 2017 at 15:24
Also, I did download FreeType-freeworld via the terminal.