#1 Le 15/11/2010, à 23:21
Script "fpwine" pour l'installation/utilisation de Future Pinball...
Edit 01/2013 : Attention, ce script était pour Ubuntu 10.04, il a deux ans et n'a pas été testé récemment, ne le testez qu'en dernier recours.
Alors voilà, la page du script fpwine ne semblant pas maintenue et obsolète pour Lucid,
ne permettant pas non plus de contacter l'auteur (merci à lui, je n'ai fait que mettre à jour), j'ai décidé en créant la page Future Pinball, de vous poster ici un petit script mis à jour par mes soins pour vous faciliter la tâche d'installation du jeu et configuration de wine :
#!/bin/bash
#
# Future Pinball v1.9.1.20101231 install script
# Script version 1.9.2_b by Mysteroïd on 23/01/2011
#
# based on 1.9.2 (2009-08-14) by LvR at http://fprelease.free.fr/fpwine/
#
# Changelog :
# v1.9.2 : Change FP dl location
# v1.9.1 : Correct a test
# v1.9.0 : Install new FP 1.9, and re-use native crypto by defaut (to speed up table loading)
# v1.8.1 : Install new FP 1.8
# v0.9.49 : Add kill process feature
# v0.9.44 : no more need of native urlmon
# v0.9.42b : Install the new FP 1.7
# v0.9.42 : Set native dlls only for Future Pinball.exe
# Add more questions for --noauto switch
# Using WINEDEBUG=-all during installation
# removed hardcoded .fpwine
# v0.9.40b : The script now modify menu entries and I change dlloverriding
# v0.9.40 : Create a winecfg launcher, auto sound config
# v0.9.39c : Set alternative method to install vbscript.dll
# v0.9.39b : Add native urlmon.dll installation
# v0.9.39 : First release
#
# ToDo :
# Check XDG Desktop dir
# Test more menu entries, pb with menu in my gnome environment
# Uninstaller
# Script Configuration
winePrefix="$HOME/.fpwine"
nativeOle="n"
urlDcom="http://download.microsoft.com/download/d/1/3/d13cd456-f0cf-4fb2-a17f-20afc79f8a51/DCOM98.EXE"
nativeCrypt="n"
urlCrypt="http://fprelease.free.fr/fpwine/dlls/crypt32.dll"
urlRsa="http://fprelease.free.fr/fpwine/dlls/rsaenh.dll"
nativeUrlmon="n"
urlUrlmon="http://fprelease.free.fr/fpwine/dlls/urlmon.dll"
urlFP="http://members.iinet.net.au/~cleathley/downloads/FuturePinballSetup_v1.9.1.20101231.exe"
urlVbs="http://download.microsoft.com/download/IE60/Patch/Q318089/W9XNT4Me/EN-US/vbs56men.exe"
# Some usefull functions
execute()
{
eval $1
if [ "$?" != "0" ]
then
echo -n "Error : can't execute '$1'"
if [ -z "$2" ]
then
echo
else
echo ", $2"
fi
exit 1
fi
}
download()
{
if [ ! -r "$1" ]
then
if [ "$auto" = "n" ]
then
echo -n "Can't find $1, try to download it ? [Y/n] : "
read answer
else
answer=""
fi
if [ -z "$answer" ] || [ "$answer" = "Y" ] || [ "$answer" = "y" ]
then
wget "$2"
if [ "$?" != "0" ]
then
echo "error : can't download $1"
else
echo "$1 successfully downloaded"
fi
fi
fi
}
# Disclaimer
echo "-----------------------------------------------------------"
echo " Future Pinball v1.9.20081225 install script"
echo " Script version 1.9.2 (2009-08-14) by LvR"
echo " Get lastest version at http://fprelease.free.fr/fpwine/"
echo "-----------------------------------------------------------"
echo " Configured for wine >= 0.9.49"
echo " With older version, use --noauto switch and choose : "
echo " - for wine < 0.9.44 : install native urlmon dll"
echo " - for wine < 0.9.40 : try low quality sound config"
echo "-----------------------------------------------------------"
# Help
if [ "$1" = "--help" ]
then
echo " Usage :"
echo " `basename $0` [--help] [-n] [--noauto]"
echo " Options :"
echo " -n,--noauto : ask user for installing some components, "
echo " mainly for testing FP with differents"
echo " wine versions/configurations"
echo " --help : display this help"
echo "-----------------------------------------------------------"
exit 0
fi
# Automatic installation ?
if [ "$1" = "--noauto" ] || [ "$1" = "-n" ]
then
auto="n"
else
auto="y"
fi
# Check if wine is installed
echo
echo -n "Checking wine version : "
execute 'wine --version' 'you must install wine before installing Future Pinball'
# Check if 3d acceleration is ok
execute 'accel=`glxinfo | grep "direct rendering" | cut -d ":" -f2`'
accel=`echo $accel` #trim accel
echo
echo -n "Checking 3D acceleration : "
if [ "$accel" = "Yes" ]
then
echo "ok"
else
echo "not found"
echo "Error : you need 3D acceleration activated to run Future Pinball."
exit 1
fi
# Choose wine prefix
echo
if [ "$auto" = "n" ]
then
echo -n "Enter wine prefix [$winePrefix] : "
read answer
else
answer=""
fi
if [ -z "$answer" ]
then
echo "Using default prefix : $winePrefix"
else
winePrefix="$answer"
echo "Using prefix : $winePrefix"
fi
shortPrefix=`basename $winePrefix`
# Delete previous wine root
echo
if [ "$auto" = "n" ]
then
echo -n "Delete old $winePrefix directory [Y/n] : "
read answer
else
answer=""
fi
if [ -z "$answer" ] || [ "$answer" = "Y" ] || [ "$answer" = "y" ]
then
rm -rf "$winePrefix"
echo "$winePrefix deleted"
fi
# Initialize wineprefix
execute "WINEPREFIX=$winePrefix ;mkdir $winePrefix"
echo "$winePrefix initialized"
# Install Windows Script Host : VBScript only
download "`basename $urlVbs`" "$urlVbs"
if [ ! -r "vbs56men.exe" ]
then
echo "Error : needed vbs56men.exe not found. Please download it and retry"
exit 1
fi
execute "WINEDEBUG=-all WINEPREFIX=$winePrefix wine vbs56men.exe /Q"
# Install native OLE
echo
if [ "$auto" = "n" ]
then
echo -n "Install native ole dlls [Y/n] : "
read answer
else
answer=""
fi
if [ -z "$answer" ] || [ "$answer" = "Y" ] || [ "$answer" = "y" ]
then
download "`basename $urlDcom`" "$urlDcom"
if [ ! -r "DCOM98.EXE" ]
then
echo "Error : needed DCOM98.EXE not found. Please download it and retry"
exit 1
fi
echo "Installing DCOM98.EXE ..."
echo 'REGEDIT4' > win98.reg
echo '' >> win98.reg
echo '[HKEY_CURRENT_USER\Software\Wine]' >> win98.reg
echo '"Version"="win98"' >> win98.reg
execute "WINEPREFIX=$winePrefix wine regedit win98.reg"
execute "rm $winePrefix/drive_c/windows/system32/ole32.dll"
execute "rm $winePrefix/drive_c/windows/system32/oleaut32.dll"
execute "rm $winePrefix/drive_c/windows/system32/olepro32.dll"
execute "rm $winePrefix/drive_c/windows/system32/rpcrt4.dll"
execute "WINEDEBUG=-all WINEPREFIX=$winePrefix WINEDLLOVERRIDES=ole32,advpack=n wine DCOM98.EXE /Q"
execute "rm win98.reg"
nativeOle="y"
fi
# Install native urlmon.dll
echo
if [ "$auto" = "n" ]
then
echo -n "Install native urlmon.dll [y/N] : "
read answer
else
answer=""
fi
if [ "$answer" = "Y" ] || [ "$answer" = "y" ]
then
download "`basename $urlUrlmon`" "$urlUrlmon"
if [ ! -r "urlmon.dll" ]
then
echo "Error : needed urlmon.dll not found. Please download it and retry"
exit 1
fi
echo "Installing native urlmon.dll ..."
execute "cp urlmon.dll $winePrefix/drive_c/windows/system32/"
nativeUrlmon="y"
fi
# Install native crypto dlls
echo
if [ "$auto" = "n" ]
then
echo -n "Install natives crypto dlls [Y/n] : "
read answer
else
answer=""
fi
if [ -z "$answer" ] || [ "$answer" = "Y" ] || [ "$answer" = "y" ]
then
download "`basename $urlCrypt`" "$urlCrypt"
if [ ! -r "crypt32.dll" ]
then
echo "Error : needed crypt32.dll not found. Please download it and retry"
exit 1
fi
download "`basename $urlRsa`" "$urlRsa"
if [ ! -r "rsaenh.dll" ]
then
echo "Error : needed crypt32.dll not found. Please download it and retry"
exit 1
fi
echo "Installing natives crypt32.dll and rsaenh.dll ..."
execute "cp crypt32.dll $winePrefix/drive_c/windows/system32/"
execute "cp rsaenh.dll $winePrefix/drive_c/windows/system32/"
nativeCrypt="y"
fi
# Set winxp compatibility
echo
echo "Setting windows XP compatibility"
echo 'REGEDIT4' > winxp.reg
echo '' >> winxp.reg
echo '[HKEY_CURRENT_USER\Software\Wine]' >> winxp.reg
echo '"Version"="winxp"' >> winxp.reg
execute "WINEDEBUG=-all WINEPREFIX=$winePrefix wine regedit winxp.reg"
execute "rm winxp.reg"
# Setting sound config
echo
if [ "$auto" = "n" ]
then
echo "Select a sound config : "
PS3="Your choice : "
select answer in 'High quality' 'Low quality' 'No sound'
do
case "$answer" in
'High quality')
break;
;;
'Low quality')
break;
;;
'No sound')
break;
;;
*)
echo "Invalid choice !"
esac
done
PS3=""
else
answer='High quality'
fi
echo 'REGEDIT4' > soundcfg.reg
echo '' >> soundcfg.reg
case "$answer" in
'High quality')
echo "Setting high quality sound ..."
echo '[HKEY_CURRENT_USER\Software\Wine\Drivers]' >> soundcfg.reg
echo '"Audio"="oss"' >> soundcfg.reg
echo '' >> soundcfg.reg
echo '[HKEY_CURRENT_USER\Software\Wine\DirectSound]' >> soundcfg.reg
echo '"DefaultSampleRate"="22050"' >> soundcfg.reg
echo '"HardwareAcceleration"="Emulation"' >> soundcfg.reg
;;
'Low quality')
echo "Setting low quality sound ..."
echo '[HKEY_CURRENT_USER\Software\Wine\Drivers]' >> soundcfg.reg
echo '"Audio"="oss"' >> soundcfg.reg
echo '' >> soundcfg.reg
echo '[HKEY_CURRENT_USER\Software\Wine\DirectSound]' >> soundcfg.reg
echo '"DefaultSampleRate"="11025"' >> soundcfg.reg
echo '"EmulDriver"="Y"' >> soundcfg.reg
echo '"HardwareAcceleration"="Emulation"' >> soundcfg.reg
;;
'No sound')
echo "Setting no sound ..."
echo '[HKEY_CURRENT_USER\Software\Wine\Drivers]' >> soundcfg.reg
echo '"Audio"=""' >> soundcfg.reg
;;
*)
echo "Error : bad luck, it's a script error :("
exit 1
esac
execute "WINEDEBUG=-all WINEPREFIX=$winePrefix wine regedit soundcfg.reg"
execute "rm soundcfg.reg"
# Set dlls overridding
if [ "$nativeUrlmon" = "y" ] || [ "$nativeCrypt" = "y" ] || [ "$nativeOle" = "y" ]
then
echo
echo "Setting dlls overridding"
echo 'REGEDIT4' > dlls.reg
echo '' >> dlls.reg
echo '[HKEY_CURRENT_USER\Software\Wine\AppDefaults\Future Pinball.exe\DllOverrides]' >> dlls.reg
if [ "$nativeUrlmon" = "y" ]
then
echo '"urlmon"="native,builtin"' >> dlls.reg
fi
if [ "$nativeCrypt" = "y" ]
then
echo '"crypt32"="native,builtin"' >> dlls.reg
echo '"rsaenh"="native,builtin"' >> dlls.reg
fi
if [ "$nativeOle" = "y" ]
then
echo '"ole32"="native,builtin"' >> dlls.reg
echo '"oleaut32"="native,builtin"' >> dlls.reg
fi
execute "WINEDEBUG=-all WINEPREFIX=$winePrefix wine regedit dlls.reg"
execute "rm dlls.reg"
fi
# Command to kill fp process
killCmd="kill -9 \`ps ex | grep WINEPREFIX=$winePrefix | grep \"Future Pinball.exe\" | cut -d \" \" -f2\` \`ps ex | grep WINEPREFIX=$winePrefix | grep \"explorer.exe\" | cut -d \" \" -f2\` \`ps ex | grep WINEPREFIX=$winePrefix | grep \"wineserver\" | cut -d \" \" -f2\`"
# Create some FP launchers
# Standard launcher
echo '#!/bin/bash' > "$winePrefix/runFP"
echo '' >> "$winePrefix/runFP"
echo "$killCmd" >> "$winePrefix/runFP"
echo "WINEPREFIX=$winePrefix WINEDEBUG=-all wine $winePrefix/drive_c/\"Games\"/\"Future Pinball\"/\"Future Pinball.exe\"" >> "$winePrefix/runFP"
# Launcher in debug mode
echo '#!/bin/bash' > "$winePrefix/debugFP"
echo '' >> "$winePrefix/debugFP"
echo "$killCmd" >> "$winePrefix/debugFP"
echo 'logFile=`date -u "+%Y%m%d_%H%M%S"`' >> "$winePrefix/debugFP"
echo 'touch "fp_$logFile.out"' >> "$winePrefix/debugFP"
echo "WINEPREFIX=$winePrefix WINEDEBUG=+loaddll wine $winePrefix/drive_c/\"Games\"/\"Future Pinball\"/\"Future Pinball.exe\" &> fp_\$logFile.out & tail -f fp_\$logFile.out" >> "$winePrefix/debugFP"
# winecfg launcher
echo '#!/bin/bash' > "$winePrefix/cfgFP"
echo '' >> "$winePrefix/cfgFP"
echo "$killCmd" >> "$winePrefix/cfgFP"
echo "WINEPREFIX=$winePrefix winecfg" >> "$winePrefix/cfgFP"
execute "chmod +x $winePrefix/runFP"
execute "chmod +x $winePrefix/debugFP"
execute "chmod +x $winePrefix/cfgFP"
# Install Future Pinball
echo
download "`basename $urlFP`" "$urlFP"
if [ ! -r "`basename $urlFP`" ]
then
echo "Error : needed `basename $urlFP` not found. Please download it and retry"
exit 1
fi
echo "Installing Future Pinball ..."
execute "WINEDEBUG=-all WINEPREFIX=$winePrefix wine `basename $urlFP`"
# Modify menu entries
echo "Modifying menu entries"
echo
#TODO : is wine XDG compliant ?
# Use XDG for locating desktop dir
# test -f ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs && source ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs
# desktopDir="${XDG_DESKTOP_DIR:-$HOME/Desktop}"
desktopDir="$HOME/Desktop"
DESKTOP_LNK="$desktopDir/Future Pinball.lnk"
if [ -e "$DESKTOP_LNK" ]
then
echo "Deleting $DESKTOP_LNK"
rm "$DESKTOP_LNK"
fi
DESKTOP_DES="$desktopDir/Future Pinball.desktop"
if [ -e "$DESKTOP_DES" ]
then
echo "Recreating $DESKTOP_DES"
echo "[Desktop Entry]" > "$DESKTOP_DES"
echo "Name=Future Pinball" >> "$DESKTOP_DES"
echo "Exec=$winePrefix/runFP" >> "$DESKTOP_DES"
echo "Type=Application" >> "$DESKTOP_DES"
echo "Icon=443e_future pinball.0" >> "$DESKTOP_DES"
fi
LOCAL_DES="$HOME/.local/share/applications/wine/Programmes/Future Pinball/Future Pinball.desktop"
if [ -e "$LOCAL_DES" ]
then
echo "Recreating $LOCAL_DES"
echo "[Desktop Entry]" > "$LOCAL_DES"
echo "Name=Future Pinball" >> "$LOCAL_DES"
echo "Exec=$winePrefix/runFP" >> "$LOCAL_DES"
echo "Type=Application" >> "$LOCAL_DES"
echo "Icon=443e_future pinball.0" >> "$LOCAL_DES"
fi
LOCAL_URL="$HOME/.local/share/applications/wine/Programmes/Future Pinball/Future Pinball Support Forums.desktop"
if [ -e "$LOCAL_URL" ]
then
echo "Recreating $LOCAL_URL"
echo "[Desktop Entry]" > "$LOCAL_URL"
echo "Name=Future Pinball Support Forums" >> "$LOCAL_URL"
echo "Exec=env WINEPREFIX=\"$winePrefix\" winebrowser http://www.futurepinball.com/forum" >> "$LOCAL_URL"
echo "Type=Application" >> "$LOCAL_URL"
echo "Icon=3550_shell32.0" >> "$LOCAL_URL"
fi
LOCAL_MAN="$HOME/.local/share/applications/wine/Programmes/Future Pinball/Future Pinball Manual.desktop"
if [ -e "$LOCAL_MAN" ]
then
echo "Recreating $LOCAL_MAN"
echo "[Desktop Entry]" > "$LOCAL_MAN"
echo "Name=Future Pinball Manual" >> "$LOCAL_MAN"
echo "Exec=env WINEPREFIX=\"$winePrefix\" wine hh \"C:\\\\Games\\\\Future Pinball\\\\Help\\\\Future Pinball Manual.chm\"" >> "$LOCAL_MAN"
echo "Type=Application" >> "$LOCAL_MAN"
echo "Icon=443e_future pinball.8" >> "$LOCAL_MAN"
fi
#TODO : do something with this entry ?
#LOCAL_UN="$HOME/.local/share/applications/wine/Programmes/Future Pinball/Uninstall Future Pinball.desktop
# End of script
echo
echo "Installation done !"
echoVoir la page de doc indiquée si vous êtes intéressé. Il faut créer le fichier contenant ce script, le rendre exécutable, le lancer, attendre un peu... et vous devriez avoir une installation de Future Pinball parfaitement jouable, seul le téléchargement de tables via l'éditeur ne marche vraiment pas, il faut les télécharger "manuellement" par ailleurs.
Dernière modification par Mysteroïd (Le 12/01/2013, à 12:50)
Hors ligne
#2 Le 23/01/2011, à 03:40
Re : Script "fpwine" pour l'installation/utilisation de Future Pinball...
Attention la ligne suivante dans le script n'est plus valide car la version téléchargée ne passe à "2011"
urlFP="http://members.iinet.net.au/~cleathley/downloads/FuturePinballSetup_v1.9.20081225.exe"
il faut la remplacer par la ligne suivante qui charge la version actualisée de Future Pinball
urlFP="http://members.iinet.net.au/~cleathley/downloads/FuturePinballSetup_v1.9.1.20101231.exe"
http://www.mozeclic.info
humours et humeurs en libertés
- Communiquez l'esprit libre http://www.colibre.org
Hors ligne
#3 Le 23/01/2011, à 20:11
Re : Script "fpwine" pour l'installation/utilisation de Future Pinball...
Merci magicvince pour cette précision, le script est désormais mis à jour pour cette nouvelle version.
Hors ligne
#4 Le 29/01/2011, à 18:31
Re : Script "fpwine" pour l'installation/utilisation de Future Pinball...
Cool j'allais le faire... je me suis rendu compte après coup que j'avais été un peu feignasse de pas coller mon script actualisé et d'avoir juste collé la modif.
Merci encore pour ton script qui marche comme un charme sous 10.04
http://www.mozeclic.info
humours et humeurs en libertés
- Communiquez l'esprit libre http://www.colibre.org
Hors ligne
#5 Le 29/01/2011, à 22:35
Re : Script "fpwine" pour l'installation/utilisation de Future Pinball...
Content qu'il ait servi en tous cas et merci à toi pour ce retour !
Mais comme je le disais au début je n'ai fait qu'adapter/actualiser le vieux script d'un auteur inconnu, ce n'est pas vraiment mon script.
Bon jeu ! ;-)
Hors ligne
#6 Le 11/01/2013, à 18:26
Re : Script "fpwine" pour l'installation/utilisation de Future Pinball...
Salut à tous !
Au jour d'aujourd'hui, je ne parviens plus à faire fonctionner Future Pinball sous WINE...
- avec WINE le plus récent, tout semble marcher sauf que... je ne peux pas démarrer de partie (probablement un pb du côté de vbscript). Sinon la table s'affiche très bien. Par exemple avec la table de démonstration "Sci-Fi Classic", l'affichage LED au dessus affiche toujours "game over".
- j'ai lu qqpart d'utiliser un WINE plus ancien sous POL (play on linux) mais cela ne fonctionne pas chez moi. (un message d'erreur dont je ne me souviens plus, mais en tout cas, rien ne se lance)
Avez-vous trouvé une solution ?
Dernière modification par torturedutopian (Le 11/01/2013, à 18:28)
Hors ligne
#7 Le 11/01/2013, à 20:15
Re : Script "fpwine" pour l'installation/utilisation de Future Pinball...
Pour ma part il y a longtemps que je n'ai pas utilisé FP mais...
1°) Si j'ai bonne mémoire, plus de deux ans après, ça me rappelle un peu le problème que j'avais quand j'ai travaillé à adapter ce script donc, l'as tu utilisé ? (Sinon commence par l'essayer au cas où...)
2°) Si tu veux qu'une bonne âme (genre moâ
) se penche sur la question, je te suggère de préciser, ta distri (10.04,10.10...12.4,12.10), ta version exacte de WINE (car la dernière ça change tout le temps et même éventuellement selon les versions d'ubuntu...) ET on ne sait jamais, indique aussi ta version de FP STP.
Après je te promets pas de le faire immédiatement mais j'essaierai de regarder ça prochainement, surtout si d'après tes infos je peux reproduire la situation de ton bug ! ![]()
Dernière modification par Mysteroïd (Le 11/01/2013, à 20:18)
Hors ligne
#8 Le 11/01/2013, à 20:50
Re : Script "fpwine" pour l'installation/utilisation de Future Pinball...
Salut !
Ma foi, ce ne serait pas de refus, merci beaucoup ! Car ça fait des mois que j'essaye sans succès, alors que ça marchait bien avant, cf mon commentaire ici : http://appdb.winehq.org/objectManager.p … &iId=22873
J'utilise Ubuntu 12.10 (bon, en fait Mint 14 édition KDE) avec le PPA officiel de WINE soit wine 1.4.1 en stable et 1.5.21sur le branche de développement, mêmes symptômes pour les 2
(quant à FP, il s'agit de la dernière version, soit la 1.9.1.20101231).
Dernière modification par torturedutopian (Le 11/01/2013, à 22:53)
Hors ligne
#9 Le 12/01/2013, à 13:54
Re : Script "fpwine" pour l'installation/utilisation de Future Pinball...
Ben c'est pas gagné non plus car je suis overcharette et tu utilises une distribution que je ne pourrai pas tester, au mieux j'installerai la 12.04 prochainnement ou je testerai sur ma liveUSB 12.04.
En attendant je ne vois pas ton commentaire sur winehq mais as-tu bien installé DCOM98 comme ils le suggèrent ?
Ils indiquent une méthode manuelle et une via winetricks, sinon tu peux aussi regarder http://wiki.winehq.org/NativeDcom
Enfin, au cas ou tu aurais oublié ce détail, comme je l'explique sur la page de doc ubuntu-fr "Pour initier une partie il faut faire (avec les touches numériques du haut du clavier) "5" pour insérer une pièce virtuelle… puis "1" ou "2" ou… pour jouer à 1 ou 2 joueurs (ou plus ?)."
Car ne pas mettre de pièce ça fait aussi rester sur game over... ![]()
Si le problème persiste dis-le moi , j'essaierai de voir sur live USB 12.04 bientôt...
Dernière modification par Mysteroïd (Le 12/01/2013, à 13:56)
Hors ligne
#10 Le 13/01/2013, à 20:22
Re : Script "fpwine" pour l'installation/utilisation de Future Pinball...
Salut !
Oui j'avais effectivement déjà tenté d'installer DCOM (c'est moi qui l'avais indiqué sur la page que je t'ai mise en ligne) et les histoires de touches (comme sous MAME), sans succès.
Si jamais tu testes sous 12.04, j'imagine que le paquet MAME 1.4 doit être le même que sous 12.10 puisque c'est la dernière version stable de toute façon.
Merci encore de ton aide ![]()
@+
Hors ligne
#11 Le 14/01/2013, à 04:09
Re : Script "fpwine" pour l'installation/utilisation de Future Pinball...
OK j'essaierai de voir ça un de ces jours mais reviens aux nouvelles d'ici quelques semaines si tu ne vois rien venir car 12.04 toujours pas installée et là je configure un serveur chez OVH et ça m'occupe un peu (en plus de tous le reste car ce n'est pas mon métier... ^^).
Dernière modification par Mysteroïd (Le 14/01/2013, à 04:11)
Hors ligne
#12 Le 29/04/2013, à 18:37
Re : Script "fpwine" pour l'installation/utilisation de Future Pinball...
Salut les pinballeurs,
Donc j'ai tester ça sous une Xubuntu 12.04 , Wine 1.5.29.
Le script ne fonctionne pas, du moins, il se lance, fait quelques magouille pour terminer sur une erreur.
Avec une installation normale, la table se lance et comme dit plus haut, impossible de placer du crédit, de lancer une partie etc.
Je suis tomber sur un tuto pour placer la dll , oleaut32.dll, qui permet de lancer ça en administrateur, comme il faut le faire sous windows, sans plus de succès malheureusement...
Pour ma part, avec ce script:
dexter@DEXTER-PORTABLE:~$ chmod +x fpwine.sh
dexter@DEXTER-PORTABLE:~$ ./fpwine.sh
-----------------------------------------------------------
Future Pinball v1.9.20081225 install script
Script version 1.9.2 (2009-08-14) by LvR
Get lastest version at http://fprelease.free.fr/fpwine/
-----------------------------------------------------------
Configured for wine >= 0.9.49
With older version, use --noauto switch and choose :
- for wine < 0.9.44 : install native urlmon dll
- for wine < 0.9.40 : try low quality sound config
-----------------------------------------------------------
Checking wine version : wine-1.5.29
Checking 3D acceleration : ok
Using default prefix : /home/dexter/.fpwine
/home/dexter/.fpwine deleted
/home/dexter/.fpwine initialized
--2013-04-29 19:24:39-- http://download.microsoft.com/download/IE60/Patch/Q318089/W9XNT4Me/EN-US/vbs56men.exe
Résolution de download.microsoft.com (download.microsoft.com)... 80.239.148.26, 80.239.148.17
Connexion vers download.microsoft.com (download.microsoft.com)|80.239.148.26|:80... connecté.
requête HTTP transmise, en attente de la réponse... 200 OK
Longueur: 314976 (308K) [application/octet-stream]
Sauvegarde en : «vbs56men.exe»
100%[======================================>] 314 976 478K/s ds 0,6s
2013-04-29 19:24:41 (478 KB/s) - «vbs56men.exe» sauvegardé [314976/314976]
vbs56men.exe successfully downloaded
WARNING: gnome-keyring:: couldn't connect to: /tmp/keyring-j0pquc/pkcs11: Aucun fichier ou dossier de ce type
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type
wine: configuration in '/home/dexter/.fpwine' has been updated.
--2013-04-29 19:24:54-- http://download.microsoft.com/download/d/1/3/d13cd456-f0cf-4fb2-a17f-20afc79f8a51/DCOM98.EXE
Résolution de download.microsoft.com (download.microsoft.com)... 80.239.148.26, 80.239.148.17
Connexion vers download.microsoft.com (download.microsoft.com)|80.239.148.26|:80... connecté.
requête HTTP transmise, en attente de la réponse... 200 OK
Longueur: 1229056 (1,2M) [application/octet-stream]
Sauvegarde en : «DCOM98.EXE»
100%[======================================>] 1 229 056 501K/s ds 2,4s
2013-04-29 19:24:58 (501 KB/s) - «DCOM98.EXE» sauvegardé [1229056/1229056]
DCOM98.EXE successfully downloaded
Installing DCOM98.EXE ...
wine: Call from 0x7b8498aa to unimplemented function ole32.dll.CoTaskMemAlloc, aborting
Error : can't execute 'WINEDEBUG=-all WINEPREFIX=/home/dexter/.fpwine WINEDLLOVERRIDES=ole32,advpack=n wine DCOM98.EXE /Q'Dernière modification par DeXtEr57 (Le 29/04/2013, à 20:04)
HP Pavilion DM4 1350sf Intel® Core™ i5 CPU M 480 - 2.67GHz - 4Go ram -- XUBUNTU 12.04.02 LTS -- 64 bits -- Chromium
Hors ligne
#13 Le 30/04/2013, à 19:57
Re : Script "fpwine" pour l'installation/utilisation de Future Pinball...
Merci DeXtEr57, pour ma part j'ai pas trop le temps de tester là mais avez vous pensé à essayer par playonlinux ?
Et si ça ne arche pas non plus, si ce n'est déjà fait regardez http://appdb.winehq.org/appview.php?iAppId=4596
Bonne chance en tous cas et si vous trouvez tenez-nous au courant SVP.
Hors ligne
Pages : 1
