Hello everybody,
i have create a script for Transformers 2. No need to install Directx9 or Visual C++ 2005, everything is made during the installation.
But, i have an ATI card, a 4850HD and the game and sound are very slow when i must create a new profil. I would like to know if someone having the game and a Nvidia card can test my script and give me the result.
Thank you very much and sorry for my english, i'm french :p
The script :
#!/bin/bash
# Date: (2009-06-28 17-00)
# Distribution used to test: Ubuntu Jaunty
# Wine version used: 1.1.24
# Author: Berillions
#fetching PROGRAMFILES environmental variable
PROGRAMFILES=`wine cmd /c echo "%ProgramFiles%"`
PROGRAMFILES=${PROGRAMFILES:3}
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
Title="Transformers 2"
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
POL_SetupWindow_Init
#Presentation
POL_SetupWindow_presentation "Transformers 2" "Beenox Studios" "http://www.transformersgame.com/" "Berillions" "Transformers 2"
#Wine Installation
POL_SetupWindow_install_wine "1.1.24"
#Wine Preparation
select_prefixe "$REPERTOIRE/wineprefix/Transformers 2"
POL_SetupWindow_prefixcreate
#Memory Card
POL_SetupWindow_menu_list "Your Memory Graphic" "$Title" "32 64 128 256 384 512 768 1024 2048" " "
VMS="$APP_ANSWER"
#Réglage Direct3D
cd "$WINEPREFIX/drive_c/windows/temp"
echo "[HKEY_CURRENT_USER\\\\Software\\\\Wine\\\\Direct3D]" > OGL.reg
echo "\\"VideoMemorySize\\"=\\"$VMS\\"" >> OGL.reg
regedit OGL.reg
#Wine Configuration
Set_OS winxp
#Détection du cd-rom
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "setup.exe"
wine $CDROM/setup.exe
POL_SetupWindow_message "LNG_WAIT_END" "$Title"
#Create Launcher
POL_SetupWindow_make_shortcut "Transformers 2" "$PROGRAMFILES/Activision/Transformers - Revenge of the Fallen/" "Transformers2.exe" "" "Transformers 2"
Set_WineVersion_Assign "1.1.24" "Transformers 2"
POL_SetupWindow_message_image "Please note that this game has a copy protection system
and sadly, it prevents Wine from running the game.
PlayOnLinux will not provide any help concerning any illegal
stuff." "Note about copy protection" "/usr/share/playonlinux/themes/tango/warning.png"
POL_SetupWindow_Close
exit
A Screenshot :
[img=http://img40.imageshack.us/img40/2897/capturedts.th.png] Edited by Berillions