Jesteś tutaj > Les forums > Your creations. > [script] Arctic Command sv ru es en fr

Fora

[script] Arctic Command

Nowy  - Odpowiedz
Autor Odpowiedzi
marco_g Data: Czwartek 20 Maj 2010 ŕ 12:09 - [Cytuj]
Membre

Membre
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

#!/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

Edytowane przez marco_g

marco_g Data: Niedziela 25 Lipiec 2010 ŕ 10:36 - [Cytuj]
Membre

Membre
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 Data: Niedziela 1 Sierpień 2010 ŕ 8:46 - [Cytuj]
Membre

Membre
There is dosprefixcreate in this script and it shouldn't be there.
marco_g Data: Środa 11 Sierpień 2010 ŕ 21:48 - [Cytuj]
Membre

Membre
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 Data: Niedziela 15 Sierpień 2010 ŕ 20:50 - [Cytuj]
Membre

Membre
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.
Il n'y a rien à voir ici