The forum

Lucas Arts games :)

monkey island 4 & 4 and grim Fandango

Author Replies
bain Thursday 27 March 2008 at 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. Tuesday 8 April 2008 at 17:44
Aymeric P.

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."

Edited by Ghostofkendo


Former member.
Quentin PÂRIS Tuesday 15 April 2008 at 10:11
Quentin PÂRISAnonymous

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.

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 dmcayonlinux.com