The forum

Runaway 3 : A Twist of Fates

Author Replies
Berillions Thursday 31 December 2009 at 11:47
Berillions

Game Icon :


Script :

#!/bin/bash
# Date: (2009-12-31 11-46)
# Distribution used to test: Debian Sid
# Wine version used: 1.1.35
# Author: Berillions
 
#Vérifier que PlayOnLinux est bien exécuté avant
[ "$PLAYONLINUX" = "" ] && exit 0 
 
#Charger les librairies
source "$PLAYONLINUX/lib/sources"
 
Title="Runaway 3 : A Twist of Fate"
Prefix="Runaway3"
IMG="$WINEPREFIX/drive_c/$PROGRAMFILES/Runaway A Twist of Fate"
 
if [ "$POL_LANG" == "fr" ]; then
LNG_WAIT_END="Appuyez sur \\"Suivant\\" UNIQUEMENT quand l'installation du jeu sera
terminée sous peine de devoir recommencer l'installation."
else
LNG_WAIT_END="Click on \\"Next\\" ONLY when the game installation
is finished or you will have to redo the installation.."
fi

cd $REPERTOIRE/tmp
rm *.jpg
wget http://cdn.cnetnetworks.fr/gamekult-com/images/photos/00/01/19/86/ME0001198630_2.jpg --output-document="$REPERTOIRE/tmp/$Title.jpg"
convert "$REPERTOIRE/tmp/$Title.jpg" -scale 150x356\\! "$REPERTOIRE/tmp/left.jpg"
 
POL_SetupWindow_Init "" "$REPERTOIRE/tmp/left.jpg" 
 
#Presentation
POL_SetupWindow_presentation "$Title" "Pendulo Studios" "http://www.runaway-lejeu.com/" "Berillions" "$Prefix"

#Installation de Wine
POL_SetupWindow_install_wine "1.1.35"

#Utilisation de Wine
Use_WineVersion "1.1.35"
 
#Détection du cd-rom
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "setup.exe" 

#Préparation de Wine
select_prefix "$REPERTOIRE/wineprefix/$Prefix"
POL_SetupWindow_prefixcreate

#fetching PROGRAMFILES environmental variable
PROGRAMFILES=`wine cmd /c echo "%ProgramFiles%"`
PROGRAMFILES=${PROGRAMFILES:3} 

#Install Directx9
POL_Call POL_Install_d3dx9_aug2009

#Taille de la mémoire graphique
POL_SetupWindow_menu_list "Your Memory Graphic" "$Title" "32 64 128 256 384 512 768 896 1024 2048" " "
VMS="$APP_ANSWER"
 
#Réglage DirectDrawRenderer
cd "$WINEPREFIX/drive_c/windows/temp"
echo "[HKEY_CURRENT_USER\\\\Software\\\\Wine\\\\Direct3D]" > OGL.reg
echo "\\"VideoMemorySize\\"=\\"$VMS\\"" >> OGL.reg
regedit OGL.reg
 
#Configuration de Wine
Set_OS winxp

POL_SetupWindow_wait_next_signal "Installing ..." "$Title"
wine "$CDROM/setup.exe"
POL_SetupWindow_detect_exit

POL_SetupWindow_message "$LNG_WAIT_END" "$Title"

#Création Icone
convert "$IMG/logo-paul.bmp" -geometry 32x32 "$REPERTOIRE/icones/32/$Title"
 
#Création Launcher 
POL_SetupWindow_make_shortcut "$Prefix" "$PROGRAMFILES/Pendulo Studios/RUNAWAY - A TWIST OF FATE" "RATOF.exe" "" "$Title"
 
Set_WineVersion_Assign "1.1.35" "$Title"

POL_SetupWindow_Close
exit

Edited by Berillions


NSLW Thursday 31 December 2009 at 12:57
NSLW

IMG="$WINEPREFIX/drive_c/Program Files/Runaway A Twist of Fate"
Program Files is here and that won't be working with all languages. Rest is good as in previous post :)

BTW. Does this game need NO-CD since it's protected by SecuROM v7?

Edited by NSLW

Berillions Wednesday 13 January 2010 at 20:55
Berillions

Hello NSLW,

The game works correctly if you have the legal DVD in your drive. :)

deynek Wednesday 19 January 2011 at 3:07
deynekAnonymous

Hello, I'm french (sorry for my english) and trying to run this game since a week without success. I found this topic in google and even if it has a year you should be able to help me. I have the legal DVD of the game (trilogy pack) and this one is the only one I can't run because of securom. The installation goes fine but i get the securom message (3000) when i want to launch it. This is strange but I'm sure that a year ago, this DVD worked without any problem. Could this be a POL or Wine version problem? if yes, witch one should I use?
Thanks a lot.