Вы находитесь здесь

Форум

[script] Arctic Command

Автор Replies
marco_g Thursday 20 May 2010 at 12:09
marco_gAnonymous

Here is a script to download and install Arctic Adventure 1-4. It is a DOS game which was made freeware a while ago.

edit: I accidently called the game Arctic Command instead of Arctic Adventure :sad:

#!/bin/bash
# Date : (2010-05-23)
# Last revision : (2010-08-11)
# Distribution used to test : Ubuntu 10.04
# Author : Marco Gerards
# Licence : GPLv3
# Depend : dosbox, dosbox plugin

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

TITLE="Arctic Adventure I, II, III and IV"
AUTHOR="Marco Gerards"
PREFIX="ArcticAdventure"
PREFIXDIR="$HOME/.PlayOnLinux/wineprefix/$PREFIX"

POL_SetupWindow_Init

POL_SetupWindow_presentation "$TITLE" "Apogee Software" "http://www.apogeesoftware.com/" "$AUTHOR" "$PREFIX"
select_prefix "$PREFIXDIR"
POL_SetupWindow_prefixcreate

cd "$WINEPREFIX/drive_c"
if [ ! -e aa_freew.zip ]; then
  POL_SetupWindow_download "Downloading $TITLE" "$TITLE" "ftp://ftp.3drealms.com/freeware/aa_freew.zip" 
fi

unzip "aa_freew.zip"

POL_SetupWindow_make_dos_shortcut "$PREFIX" "" "AA1.EXE" "" "Arctic Adventure I"
POL_SetupWindow_make_dos_shortcut "$PREFIX" "" "AA2.EXE" "" "Arctic Adventure II"
POL_SetupWindow_make_dos_shortcut "$PREFIX" "" "AA3.EXE" "" "Arctic Adventure III"
POL_SetupWindow_make_dos_shortcut "$PREFIX" "" "AA4.EXE" "" "Arctic Adventure IV"

POL_SetupWindow_Close
exit

Edited by marco_g

marco_g Sunday 25 July 2010 at 10:36
marco_gAnonymous

Do you have any comments on this script? When I send it in for validation it seems to be rejected.

This game was made freeware and can be downloaded for free. The script downloads the game
and installs it.

If you do not want this script in PlayOnLinux, can you please tell me?
NSLW Sunday 1 August 2010 at 8:46
NSLW

There is dosprefixcreate in this script and it shouldn't be there.
marco_g Wednesday 11 August 2010 at 21:48
marco_gAnonymous

Where can I find the documentation on dosbox support? I think I missed it somehow. I have updated the script in my first post.
marco_g Sunday 15 August 2010 at 20:50
marco_gAnonymous

The script from my first post was sent in for validation, after fixing it as you suggested. However, I did not get any feedback. Instead, the script was simply deleted.

If you do not want a certain script, like this script or any other script I will submit in the future, can you please tell me? If I try to fix a script which will not be accepted I am wasting my time.
Вы находитесь здесь: Index > Your creations. > [script] Arctic Command