Applications

Choose a category

accessories
Accessories
development
Development
education
Education
games
Games
graphics
Graphics
internet
Internet
multimedia
Multimedia
office
Office
other
Other

Wolfenstein 3D

#!/bin/bash
if [ "$PLAYONLINUX" = "" ]
then
exit 0
fi

source "$PLAYONLINUX/lib/sources"
cfg_check



#Declaration des variables
PREFIXNAME="Wolf3D"
REALNAME="Wolfenstein 3D"
EDITEUR="ID Software"
WEBSITE="http://www.idsoftware.com/"
SCRIPTEUR="Djabal"
REPINSTALL="Wolf3D"

if [ "$POL_LANG" == "fr_FR.UTF-8" ]; then
LNG_DL="Téléchargement du jeu."
else
LNG_DL="Download of the game."
fi

presentation "$REALNAME" "$EDITEUR" "$WEBSITE" "$SCRIPTEUR" "$PREFIXNAME"
select_prefixe "$REPERTOIRE/wineprefix/$PREFIXNAME/"
dosprefixcreate

cd "$DOSPREFIX/drive_c/"
mkdir "$REPINSTALL"
cd "$REPINSTALL"

telecharger "$LNG_DL" "http://www.gameslegend.net/gldl/aban/games/fps/wolf_3d.rar"
unrar -u x "wolf_3d.rar"
rm "wolf_3d.rar"

creer_lanceur_dos "$PREFIXNAME" "$REPINSTALL" "WOLF3D.EXE" "" "$REALNAME"
exit