Fora

Lista tematów

Lucas Arts games :) Nowy  - Odpowiedz
Autor Odpowiedzi
bain Data: Czwartek 27 Marzec 2008 ŕ 11:42 - [Cytuj]
Ranga: Membre

Membre
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
MulX Data: Wtorek 8 Kwiecień 2008 ŕ 17:44 - [Cytuj]
Ranga: Scripteur

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

Edytowane przez Ghostofkendo



Polistats | package coordinator | Sorry for my English, I am French ... | Geek at 69.7% oO

Merci de passer votre post en résolu quand c'est fait ;)
Tinou Data: Wtorek 15 Kwiecień 2008 ŕ 10:11 - [Cytuj]
Ranga: Admin

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