Forums

death rally (96)

Auteur Réponses
jojo Dimanche 22 Janvier 2012 à 20:02
jojoAnonymous

Voici un script simpliste pour jouer au vieux death rally. L'install est désormais dispo en freeware.
Le jeux se fini (en mode difficile) en quelque heure, mais ceux qui aime les jeux rétro de type arcade devrait pouvoir s'amuser avec.

#!/bin/bash
# Date : (2012-22-01 18-00)
# Last revision : (2012-22-01 18-00)
# Wine version used : 
# Distribution used to test : xubuntu 11.10
# Author : Jonathan Nifenecker
# Script licence : GPL v.2
# Program licence : freeware
# Depend : none

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

TITRE="Death Rally 1996 (free re-release)"
PREFIXE="DeathRally"
cd $REPERTOIRE/tmp/
POL_SetupWindow_Init
POL_SetupWindow_presentation "$TITRE" "Remedy" "http://www.remedygames.com/games/deathrally" "Crazyiop" "$PREFIXE"
cd $REPERTOIRE/tmp/
select_prefix "$REPERTOIRE/wineprefix/$PREFIXE"
POL_SetupWindow_prefixcreate

POL_System_TmpCreate "deathrallytemp"
 
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
 
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
	POL_SetupWindow_browse "Please, select the installation file." "Installing Death Rally"
	POL_SetupWindow_wait "Installation in progress." "Installation of Death Rally"
	POL_Wine start /unix "$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$POL_System_TmpDir"
    POL_Download "http://www.remedygames.com/files/DeathRallyWin_10.exe"
    POL_SetupWindow_wait "Installation in progress" "Installation of Death Rally"
    POL_Wine start /unix "$POL_System_TmpDir/DeathRallyWin_10.exe"
fi
 
POL_System_TmpDelete
 
sleep 0.1
POL_SetupWindow_set_text "Death Rally ..."
POL_SetupWindow_detect_exit
sleep 1
POL_SetupWindow_pulse 33
sleep 0.1

POL_SetupWindow_detect_exit
POL_SetupWindow_make_shortcut "$PREFIXE" "Program Files/Death Rally" "dr.exe" "" "$TITRE"
POL_SetupWindow_message "$TITRE has been installed successfully" "$TITRE"
POL_SetupWindow_Close 

exit
Grubshka Jeudi 11 Octobre 2012 à 12:58
GrubshkaAnonymous

Voici une mise à jour du script (l'URL de téléchargement a changé, et je l'ai un peu nettoyé et standardisé).

#!/bin/bash
# Date : (2012-22-01 18-00)
# Last revision : (2012-10-11 10-00)
# Wine version used : 1.5.14
# Distribution used to test : xubuntu 11.10, debian testing x86_64
# Author : Jonathan Nifenecker, Grubshka
# Licence : Freeware
# Depend : none
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Death Rally Original"
PREFIX="DeathRallyOriginal"
EDITOR="Remedy"
GAME_URL="http://www.remedygames.com/games/"
GAME_DOWNLOAD_URL="http://www.joystiq.com/game/death-rally/download/death-rally-for-windows-full-game/"
WORKING_WINE_VERSION="1.5.14"
AUTHOR="Crazyiop, grubshka"

# Starting script
POL_SetupWindow_Init

# Starting debugging API
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_System_TmpCreate "$PREFIX"
  
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
  
if [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then
    POL_browse "$GAME_DOWNLOAD_URL"
    POL_SetupWindow_message "The game is not downloadable directly anymore, please download it manually on $GAME_DOWNLOAD_URL before continue." "$TITLE"
fi

POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"

POL_Wine start /unix "$APP_ANSWER"
POL_Wine_WaitExit "$TITLE"
  
POL_System_TmpDelete
  
POL_Shortcut "dr.exe" "$TITLE" "" ""

POL_SetupWindow_Close
exit

Edité par Grubshka

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