Forums

Lucas Arts games :)

monkey island 4 & 4 and grim Fandango

Auteur Réponses
bain Jeudi 27 Mars 2008 à 11:42
bainAnonymous

howdy :

I'm busy working on scripts for the lucas arts games Grim Fandango and M=oneky Island 3 & 4

Currenlt grim is rated bronze on wine while MI3/4 are rated gold.

I'm posting the Grim script here for now , MI will follow soon

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

cfg_check

presentation "Grim Fandango" "Lucas Arts" "http://www.grimfandango.net/" "bain" "GrimFandango"

Ask_For_cdrom
Check_cdrom "grim.exe"

mkdir -p $HOME/.PlayOnLinux/wineprefix/GrimFandango
cd $HOME/.PlayOnLinux/wineprefix/GrimFandango

select_prefixe "$(pwd)"
creer_prefixe

mkdir -p $WINEPREFIX/drive_c/windows/temp
cd $WINEPREFIX/dosdevices
rm ./*
ln -s ../drive_c c:
ln -s / z:
ln -s $CDROM ./d:
cd $CDROM
wine d:\setup.exe

message "Click next when installation is finished" "Installation"

creer_lanceur "GrimFandango" "Program Files/LucasArts/Grim/" "grimfandango.exe" "grimfandango.xpm" "Grim Fandango"

exit
Aymeric P. Mardi 8 Avril 2008 à 17:44
Aymeric P.
Admin

Hi,
I have re-put this script in edition mode.
Function "select_prefixe" and "creer_prefixe" create the prefix so you don't need to use the cd and mkdir

When you remove a file, use the -f option to prevent aliases created by user.

When we ask for "editor" (submitting script) it's not with what you have wrote the script but the company who create the game

Please post the icon file

You can prepare this script for future translating

*In french "Click next when installation is finished" <=> "Cliquez sur suivant quand l'installation est finie."

Edité par Ghostofkendo


Former member.
Quentin PÂRIS Mardi 15 Avril 2008 à 10:11
Quentin PÂRIS
Admin

In PlayOnLinux, you have the function "sur_installed" instead of message "Click next..."

I think it's a good idea to put check_cdrom before creating the prefix.