| Berillions |
Sunday 28 June 2009 at 17:22
- [Quote]
|
Rank: Scripteur

 |
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
The script :
Code PLAYONLINUX: #!/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
|
| NSLW |
Sunday 28 June 2009 at 18:09
- [Quote]
|
Rank: Admin

 |
Citation de Berillions:
# Licence: Free
Is this game free of charge?
Citation de Berillions:
POL_SetupWindow_Init "" ""
this "" "" isn't required if you do not use it
Citation de Berillions:
echo "\"Multisampling\"=\"disabled\"" >> OGL.reg
echo "\"OffscreenRenderingMode\"=\"fbo\"" >> OGL.reg
echo "\"PixelShaderMode\"=\"enabled\"" >> OGL.reg
This is set as default on Wine-1.1.24 so no need to set it manually
Does this game works out of box or do you have to use non original executable file?
|
| Berillions |
Sunday 28 June 2009 at 18:22
- [Quote]
|
Rank: Scripteur

 |
Hello NSLW,
Yes, i use a no-cd crack...
|
| NSLW |
Sunday 28 June 2009 at 19:28
- [Quote]
|
Rank: Admin

 |
Then please add following message at the end of installation
Code PLAYONLINUX: POL_SetupWindow_message_image "Please note that this game has a copy protection system\nand sadly, it prevents Wine from running the game.\n\nPlayOnLinux will not provide any help concerning any illegal\nstuff." "Note about copy protection" "/usr/share/playonlinux/themes/tango/warning.png"
you can see how it does look here and in the script Edited by NSLW
|
| AttilaTheHunk |
Thursday 23 Jully 2009 at 6:51
- [Quote]
|
Rank: Membre
 |
I have a gtx 280 and have the same problem
|