Forums

[Script]PES 2010

Auteur Réponses
Jump to the page: 1 - 2
Berillions Lundi 26 Octobre 2009 à 13:41
Berillions

Game Icon :


Script :
#!/bin/bash
# Date: (2009-10-25 14-45)
# Distribution used to test: Frugalware Current
# Wine version used: 1.1.31 
# Author: Berillions
# Graphic Card : GeForce GTX275
# Drivers : 185.18.36

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

#Vérifier que PlayOnLinux est bien exécuté avant
[ "$PLAYONLINUX" = "" ] && exit 0 
 
#Charger les librairies
source "$PLAYONLINUX/lib/sources"
 
Title="Pro Evolution Soccer 2010"
Prefix="PES2010"
Conf="Settings"

if [ "$POL_LANG" == "fr" ]; then
LNG_MEM="La taille de votre mémoire graphique? (Ex : 512)"
LNG_WAIT_END="Appuyez sur \\"Suivant\\" UNIQUEMENT quand l'installation du jeu sera\\nterminée sous peine de devoir recommencer l'installation."
LNG_FILEPATCH="Selectionner le patch à installer pour $Title"
LNG_INST="Patch pour $Title installé avec succès"
LNG_ACTION="Que voulez-vous faire?"
LNG_WAIT="Patientez durant l'installation"
LNG_WAIT_CP="Patientez pendant la préparation de l'installation..."
else
LNG_MEM="How much memory do your graphic card have got? (Ex : 512)"
LNG_WAIT_END="Click on \\"Next\\" ONLY when the game installation
is finished or you will have to redo the installation."
LNG_FILEPATCH="Select patch file for $Title"
LNG_INST="Patch for $Title has been installed successfully"
LNG_ACTION="What do you want to do?"
LNG_WAIT="Wait during the installation"
LNG_WAIT_CP="Wait while the installation is prepared..."
fi

cd "$REPERTOIRE/tmp"
rm *.jpg
wget http://upload.wikimedia.org/wikipedia/en/4/42/PES_2010_UK_Cover.jpg --output-document="$REPERTOIRE/tmp/$Prefix.jpg"
convert "$REPERTOIRE/tmp/$Prefix.jpg" -scale 150x356\\! "$REPERTOIRE/tmp/left.jpg"

POL_SetupWindow_Init "" "$REPERTOIRE/tmp/left.jpg"


#Presentation
POL_SetupWindow_presentation "$Title" "Konami" "http://www.konami-pes2010.com/" "Berillions" "$Prefix"

#Installation de Wine
POL_SetupWindow_install_wine "1.1.31"

#Détection du cd-rom
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Setup.exe"

select_prefix "$REPERTOIRE/wineprefix/$Prefix"
POL_SetupWindow_prefixcreate

cd "$REPERTOIRE/ressources"
export POL_TITLE="$Title"
tricks d3dx9

#Taille de la mémoire graphique
POL_SetupWindow_menu_list "$LNG_MEM" "$Title" "32-64-128-256-384-512-768-896-1024-2048" "-" "128"
VMS="$APP_ANSWER"
 
if [ "$VMS" -lt "128" ]; then
	POL_SetupWindow_message_image "$LNG_VMS_ERROR" "$Title" "$PLAYONLINUX/themes/tango/warning.png"
fi
 
#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
 
msiexec /i "$CDROM/Pro Evolution Soccer 2010.msi"

POL_SetupWindow_message "$LNG_WAIT_END" "$Title"

#Création Icone
cd "$REPERTOIRE/ressources"
wget http://sd-1.archive-host.com/membres/images/51568577817080088/PES.jpg
wget http://sd-1.archive-host.com/membres/images/51568577817080088/Set.jpg
mv "$REPERTOIRE/ressources/PES.jpg" "$REPERTOIRE/icones/32/$Title"
mv "$REPERTOIRE/ressources/Set.jpg" "$REPERTOIRE/icones/32/$Conf"

POL_SetupWindow_make_shortcut "$Prefix" "$PROGRAMFILES/KONAMI/Pro Evolution Soccer 2010" "pes2010.exe" "" "$Title"
POL_SetupWindow_make_shortcut "$Prefix" "$PROGRAMFILES/KONAMI/Pro Evolution Soccer 2010" "settings.exe" "" "$Conf"

Set_WineVersion_Assign "1.1.31" "$Title"

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" "$PLAYONLINUX/themes/tango/warning.png"
 
POL_SetupWindow_Close
exit


Screens :



salemsayed Vendredi 20 Novembre 2009 à 9:45
salemsayedAnonymous

wget http://sd-1.archive-host.com/membres/images/51568577817080088/PES.jpg
wget http://sd-1.archive-host.com/membres/images/51568577817080088/Set.jpg

Server is down so i installer goes into infinte loop of waiting after installation has finished!
Also, i guess u need to manually add the registry keys after the installation because the installer always get's interrupted before done !
NSLW Vendredi 20 Novembre 2009 à 9:59
NSLW

This server is not down. Where do you live?
salemsayed Samedi 21 Novembre 2009 à 10:03
salemsayedAnonymous

i live in Egypt
i dunno what is the problem with the script but the installer never ends with the installation, it always gets interrupted and closes, and after that i click on "Forward" but nothing happens, it just stays there!

Anyway, the solution was to manually add the registry entries so the game can work, i can sed you the registry file if you can incorporate it in the script so the installation can go smooth.

Thanks
banhbaochay Mardi 24 Novembre 2009 à 10:49
banhbaochayAnonymous

Hi NSLW,
I love Pro evolution, luckily I read this topic. But now I have a noob question, I don't find the answer for this. When I installed done, copy my crack to /home/myname/.PlayOnLinux/wineprefix/.../Pro Evolution Soccer 2010/ , and run this game, the message:"Pro Evolution 2010 does not installed" appears. Can you help me, please?
Thank you for reading

Edité par banhbaochay

NSLW Mardi 24 Novembre 2009 à 11:39
NSLW

I didn't create the script and i didn't install the game and I cannot help you.
banhbaochay Mardi 24 Novembre 2009 à 15:29
banhbaochayAnonymous

Oh, I'm sorry, I'm really silly :D. I hope Berillions can help me :-s
Berillions Mardi 24 Novembre 2009 à 18:33
Berillions

I would like to help you but i must to find an other hosting service to upload my icons...

banhbaochay Mardi 24 Novembre 2009 à 19:13
banhbaochayAnonymous

I don't understand?? I think the problem is my crack file. If I use original file, a message "Wrong disc, Insert original CD...". This crack file which I use on windows is good, but on linux is none.
Berillions Mardi 24 Novembre 2009 à 19:20
Berillions

Oh sorry, I made a mistake.

Hum, i haven't the game for the moment so i can't to help you. I'm going to try to have the thanks to a friends quickly.

banhbaochay Mardi 24 Novembre 2009 à 19:28
banhbaochayAnonymous

Oh, so sad :((. I wish have a day which I can play PES2010 on linux, I needn't restart to log in windows to play it.
Thank you for your helping
NSLW Mercredi 25 Novembre 2009 à 13:50
NSLW

@banhbaochay
You can remove this part of script and script will finish.
wget http://sd-1.archive-host.com/membres/images/51568577817080088/PES.jpg
wget http://sd-1.archive-host.com/membres/images/51568577817080088/Set.jpg
mv "$REPERTOIRE/ressources/PES.jpg" "$REPERTOIRE/icones/32/$Title"
mv "$REPERTOIRE/ressources/Set.jpg" "$REPERTOIRE/icones/32/$Conf"
banhbaochay Mercredi 25 Novembre 2009 à 23:55
banhbaochayAnonymous

Thank you, NSLW
I have not trouble about icon. I install this game successfully. However, my error is the crack file. As I said, if I use original file pes2010.exe the message "Wrong disc, insert original disc.." appears--> on windows it's the same. If I use crack file, the message "Pes 2010 is not installed" appear --> on windows the game starts.
NSLW Jeudi 26 Novembre 2009 à 9:00
NSLW

It's a matter of using right NO-DVD. AFAIK there are three different NO-DVDs available.
banhbaochay Samedi 28 Novembre 2009 à 23:19
banhbaochayAnonymous

Thanks NSLW,
Sorry for my late reply, I's too busy in several days. I know there are some NO-DVD and I try with some version on gamecopyworld as: v1.01 No DVD, v1.02 No DVD. But nothing changes
Berillions Dimanche 29 Novembre 2009 à 0:24
Berillions


1) Installer crashes at the end and causes "Game not installed" message when running the game.

Some people reported that the installer crashed/hang at the end of the installation and the game cannot start, it might be because the installer failed to add the registry entries.

Solution:

Add it manually with regedit

[HKEY_LOCAL_MACHINE\\Software\\KONAMI\\PES2010]
"code"="XXX-XXX-XXX-XXX-XXX" ###put your key here
"installdir"="F:\\\\KONAMI\\\\Pro Evolution Soccer 2010\\\\" ###Does not important, you can leave it like this
"version"="1.00.0000"

Citer


You can find a solution in Wine AppDB.
http://appdb.winehq.org/objectManager.php?sClass=version&iId=18148
It's PES2010 Test.

banhbaochay Lundi 30 Novembre 2009 à 7:24
banhbaochayAnonymous

Oh, thank you Berillions. I'll try it tonight :)
banhbaochay Lundi 30 Novembre 2009 à 16:05
banhbaochayAnonymous

Hi Berillions,
I read your reply and read information in your link. After add the code to regedit, when I run pes2010, the message "The program pes2010.exe has encounted and needs to close.." I try to change program to run in win 98 but the game doesn't run in this os win98.
Can you help me please?

Edité par banhbaochay

lucho115 Dimanche 17 Janvier 2010 à 16:24
lucho115Anonymous

OK, i have the error that say " the game was not installed", iam trying to insert the reg settings with regedit but i dont know how, any bosy can help me?
i run "wine regedit" and insert them but the game still say "the game was not installed", so i thing that i have to run regedit insede the correct prefix but i donr know how to do it.
thks and sorry about my english.
bye
lucho115 Dimanche 17 Janvier 2010 à 17:07
lucho115Anonymous

OK, sorry, i found how to add the registry keys, but the game still say "the game was not installed", maybe i insert bad the keys? i insert the text in "char value" , i must to use "dword" or "binary" or what?
thks and sotty again for my english
bye

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