GOG.com - Wing Commander 3: Heart of the Tiger

Informations

Creator Message
petch

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 8504
Wine: 1.4-dos_support_0.6

Feedbacks

Description

English: Third episode of the famous space combat simulator. Made during the golden era of full motion videos, it features long sequences with Mark Hamill, John Rhys-Davies, Malcolm McDowell,...

GOG now has installers for Mac

Français : Troisième épisode du célèbre simulateur de combat spatial. Créé durant l'âge d'or des films interactifs, il comporte de longues séquences avec Mark Hamill, John Rhys-Davis, Malcolm McDowell,...

GOG propose maintenant des installeurs pour Mac

Languages: English, Français, Deutsch

Screenshots

MiniatureMiniatureMiniatureMiniature

Source code

#!/bin/bash
# Date : (2013-01-27 21-58)
# Last revision : (2013-07-10 13-42)
# Wine version used : 1.4-dos_support_0.6
# 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="wing_commander_3_heart_of_the_tiger"
PREFIX="WingCommander3_gog"
WORKING_WINE_VERSION="1.4-dos_support_0.6"

TITLE="GOG.com - Wing Commander 3: Heart of the Tiger"
SHORTCUT_NAME="Wing Commander 3: Heart of the Tiger"

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

POL_SetupWindow_presentation "$TITLE" "Origin Systems / Electronic Arts" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" "1d723903aca5fbd555ad407cddf6924d" "07a937795137de0e6c71644671bd8f22" "21955f4041ea3aa43ed1ffea73301f3c"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install


# Game looks for itself in C:\WC3\
mkdir -p "$WINEPREFIX/drive_c/WC3"
mv "$WINEPREFIX/drive_c/GOG Games/Wing Commander III - Heart of the Tiger/WC3"/* "$WINEPREFIX/drive_c/WC3/"

cat <<_EOFCFG_ >> "$WINEPREFIX/playonlinux_dos.cfg"
manual_mount=true
dosbox_memsize=30
cpu_core=auto
cpu_cycles=max
mixer_rate=22050
mixer_blocksize=2048
mixer_prebuffer=10000
sblaster_sbtype=sb16
sblaster_sbbase=220
sblaster_irq=5
sblaster_dma=1
sblaster_hdma=5
sblaster_mixer=true
sblaster_oplmode=auto
sblaster_oplrate=22050
gus_gus=false
ipx_ipx=false
_EOFCFG_
[ "$POL_OS" = "Linux" ] && echo "render_scaler=hq2x" >> "$WINEPREFIX/playonlinux_dos.cfg"

cat <<_EOFBAT_ > "$WINEPREFIX/drive_c/autoexec.bat"
imgmount D "$WINEPREFIX/drive_c/GOG Games/Wing Commander III - Heart of the Tiger/DATA.DAT" -t iso
_EOFBAT_

cat <<_EOFBAT_ > "$WINEPREFIX/drive_c/GOG Games/Wing Commander III - Heart of the Tiger/WC3.BAT"
@ECHO OFF
D:
wc3.exe
EXIT
_EOFBAT_

POL_Shortcut "WC3.BAT" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;ActionGame;"
POL_Shortcut_Document "$SHORTCUT_NAME" "$WINEPREFIX/drive_c/GOG Games/Wing Commander III - Heart of the Tiger/manual.pdf"

POL_SetupWindow_Close

cat <<_EOF_ > "$POL_USER_ROOT/configurations/configurators/$SHORTCUT_NAME"
#!/bin/bash
[ -z "\$PLAYONLINUX" ] && exit 0
source "\$PLAYONLINUX/lib/sources"
export WINEPREFIX="\$POL_USER_ROOT/wineprefix/$PREFIX"
export WINEDEBUG="-all"

POL_LoadVar_PROGRAMFILES
cd "\$WINEPREFIX/drive_c/GOG Games/Wing Commander III - Heart of the Tiger/" || exit 1
TITLE="$TITLE"

POL_Wine "WC3.BAT" "-install"
exit 0
_EOF_

exit 0

Contributions

Filters:

Contribute
Member Message
Nobody Monday 11 April 2016 at 23:49
Nobody Anonymous

Message

Same as the installer for WC 1+2 - this one here produces a "runtime error (at 68:445):" at the end.
If I press ok, it shows 3-4 more errors...

 

I am using latest Mint Mate 17.3, PlayOnLinux 4.2.2, WC-files are the setupfiles from GOG, bought minutes ago.

Replies

Anonymous
Tuesday 8 May 2018 at 22:32
Same problem here. I get these messages:
Anonymous
Tuesday 8 May 2018 at 22:33
Same problem here. I get these messages:

First message:
Runtime Error (at 69:445):
:

Second message:
Runtime Error (at 196:800):
Invalid Opcode.

Third Message:
Runtime Error (at 196:807):
Out of Global Vars range.

Forth message:
Out of Global Vars range.

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