Jump to content



Photo
- - - - -

FP under Linux - How To


  • Please log in to reply
17 replies to this topic

#1 LvR

LvR

    Enthusiast

  • VIP
  • 70 posts
  • Location:France

  • Flag: France

  • Favorite Pinball: 90s era



Posted 04 January 2010 - 09:01 AM

Hi,
Here is a little how to (was previously on fp forums) to run FP under linux.

Future Pinball run quite well under linux, even if it has some minor issues.
I'm the maintainer on AppDB and regularly provide compatibility tests for Wine.
Check the current status on FP AppDB page (and a detailled How-To).

I've also make a little script that install FP with wine automatically.
Get it at FPWine page.

You just need to download the script, make it executable ('chmod +x' command) and run it ('./fpwine' command)

Happy playing !

PS : feel free to post test result on AppDB page with some hardware/system details either you succeed or failed playing FP under Wine.

Edited by LvR, 20 April 2010 - 12:50 PM.

PinSimDB.org projects : FPReleases - FPM Editor - FPWine - Speed Devils

#2 jerryb1961

jerryb1961

    Neophyte

  • Members
  • Pip
  • 1 posts

  • Flag: ---------

  • Favorite Pinball: Mata Hari

Posted 13 August 2010 - 02:25 AM

Hi there--



I'm using OpenSUSE 11.2/64 and wine 1.2. FP loads fine and everything is great except for an issue with the plunger. Hitting & holding the key (in this case 'enter') should cause the plunger to draw back and to release only when the key is let go of. Instead it acts as if the key were only tapped. The plunger draws back only a short ways and then releases, and the ball can't make it to the playfield. Each time it's tried the plunger draws back a different distance, but nearly always not enough.

This did not occur the last time I installed FP in wine. Whether it's a regression in wine itself, a bug in FP (though it runs fine under Win 7) it makes things unbearably frustrating to keep having to try over and over to get the ball to launch. Any ideas? A workaround maybe?

Thanks for fpwine!

#3 goredaimon

goredaimon

    Hobbyist

  • Members
  • PipPip
  • 14 posts

  • Flag: Brazil

  • Favorite Pinball: AFM

Posted 12 September 2010 - 03:08 PM

Hello friend!

I got this error when running fpwine script:

CODE
-----------------------------------------------------------
Future Pinball v1.9.20081225 install script
Script version 1.9.2 (2009-05-09) 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.2-rc4

Checking 3D acceleration : ok

Using default prefix : /home/jrcmilanez/.fpwine

/home/jrcmilanez/.fpwine deleted
./fpwine: line 53: wineprefixcreate: comando não encontrado
Error : can't execute 'WINEPREFIX=/home/jrcmilanez/.fpwine wineprefixcreate'
[jrcmilanez@linux ~]$

José Renato Castro Milanez aka Gore Daimon

Itajubá - MG

Brazil


#4 RPG_Dinosaur

RPG_Dinosaur

    Neophyte

  • Members
  • Pip
  • 1 posts

  • Flag: United States of America

  • Favorite Pinball: Eight Ball Deluxe

Posted 01 January 2011 - 03:13 AM

Hello All,

I just went through the notification that the current version of Future Pinball was to expire. So to make a long story short after a couple of mistakes in downloading and installing the latest version, I remembered that I needed to use the fpwine script to install Future Pinball in its own folder in order to work with Wine on my Linux PC. And I also ran into the issue where I receive the error that wineprefixcreate did not work. In researching this, I found that the command wineprefixcreate is deprecated in the latest versions of Wine and that winecfg should be used instead. So, in the script where it says:

execute "WINEPREFIX=$winePrefix wineprefixcreate"

change the command to say:

execute "WINEPREFIX=$winePrefix winecfg"

This will bring up the Wine configuration program dialog. Just click on the "OK" button to continue and the script will resume execution. Also the link for the Future Pinball setup file within the script needs to be updated from "...FuturePinballSetup_v1.9.20081225.exe" to "...FuturePinballSetup_v1.9.1.20101231.exe"

I hope that information helps.

Regards,

The RPG Dinosaur









#5 RussellS

RussellS

    Hobbyist

  • Members
  • PipPip
  • 21 posts
  • Location:Hampshire, UK

  • Flag: United Kingdom

  • Favorite Pinball: Diner

Posted 03 May 2011 - 09:33 AM

Hi, I'm trying to get Future Pinball running in Ubuntu 10.04 and have come across some problems and was wondering if anyone can help.

I have modified the fpwine script as described by RPG_Dinosaur (previous post) and FP has installed fine and when I run it the table editor comes up and I can load a table.

However, when I try to play the table, in this case Sci-Fi Classic, the table loads up and then comes up with an error in a red box at the top of the screen as follows:

CODE
Pinball Meditation Error
Script Error: Line 2575
Variable is undefined: 'BulbBlink'


If I try other tables I get different errors, for example:

SpaceShuttle gives this error
CODE
Pinball Meditation Error
Script Error: Line 2055
Variable is undefined: 'SeNone'



and Toy Story gives this error:
CODE
Pinball Meditation Error
Script Error: Line 1713
Variable is undefined: 'SeqClockRightOff'


I have uninstalled and re-installed FP a few times but each time I get the same result.

If anyone could help I would be grateful.

Russell

#6 RolandDeschain

RolandDeschain

    Neophyte

  • Members
  • Pip
  • 3 posts
  • Location:Gold Coast, Australia

  • Flag: Australia

  • Favorite Pinball: EMs

Posted 08 October 2011 - 01:37 AM

It seems to be a scripting error. I have the same problem and figured hell, I'll just play nice with it and define all the variables that it's complaining about.

On Popotte's excellent 8 Ball, I added the following in the script window:

CODE
Dim Bulboff
Dim Bulbon
Dim InsertCoinKey
Dim ToggleHudKey
Dim PlungerKey
Dim Special1Key
Dim LeftFlipperKey
Dim RightFlipperKey
Dim StartGameKey


Since it only throws out one error at a time, this took a while wink.gif Couldn't save the script either (guessing it's locked or read-only?) as that would crash FP and corrupt the file.

From what I can tell, these global variables aren't being defined by FP under Linux for some reason. Oddly, the nudge buttons are and work perfectly.

Now the my dodgy code hack made the game playable, albeit barely. Everything got mapped to left flipper, consequently I ended up with a game that I could launch 5 balls onto the playfield at once, and reset the score with every left flipper press. I tried a different table, Aloha, added the above and a few more before it'd let me insert a coin, but then got stuck on a mismatch of PlayMusic (should be an integer and not a variable, or vise-versa).

It's very strange that this is a Linux only problem. Now I'm no expert, and anybody who scripts in FP will no doubt laugh at that 'code' above, but I'll post a thread over in scripting as they might be able to look at it and see straight away what's going on.

One encouraging thing, it runs amazingly fast!

#7 destruk

destruk

    VPF Veteran

  • VPF Staff
  • 6,307 posts
  • Location:Colorado Springs, CO

  • Flag: United States of America

  • Favorite Pinball: Ultrapin!



Posted 08 October 2011 - 07:11 AM

FP can't lock tables, so saving the script shouldn't cause any problem for you.

Build a fire, vipers love the heat.


#8 Retro Gamer

Retro Gamer

    Neophyte

  • Members
  • Pip
  • 2 posts

  • Flag: United States of America

  • Favorite Pinball: Black Knight 1980

Posted 05 January 2014 - 09:11 AM

I don't think the Wine install script still exists. Every attempt to download it from http://www.pinsimdb....rojects/fpwine/ brings you here http://www.pinsimdb.org/ and that's it. That's not my biggest problem though. I can run and load tables in Future Pinball with Wine versions 1.3 thru 1.7.10 just fine, but when actually playing the table there is no input from any of the mapped keys other than the tilt keys, [ESC], and [F1] thru [F12]. They all work as they would in windows. This is the ONLY game/application I have this problem and I run many games from the last 15+ years to present in WINE. If anyone knows of a fix please share I would appreciate it. TIA!  :bye2: 



#9 fhassis

fhassis

    Neophyte

  • Members
  • Pip
  • 1 posts

  • Flag: Brazil

  • Favorite Pinball: Future Pinball

Posted 30 March 2014 - 12:28 AM

Hi,

 

I could not find this script anywere. All the links in the web pages at the end redirect to http://www.pinsimdb.org. Could you give me directions of where to find this script I'd appreciate.

 

Thanks,



#10 Popotte

Popotte

    Pinball Fan

  • VIP
  • 758 posts
  • Location:Paris

  • Flag: France

  • Favorite Pinball: World Fair



Posted 02 April 2014 - 12:05 PM

The new link for the Wine install script is: http://www.pinsimdb....e/latest/fpwine

From the conceptor:

But I don't know the current state of Wine. FPWine is a script to install FP under Wine with some workarounds enabled. Those was necessary with the version of Wine available when I wrote the script. I don't know if actually Wine still needs all of this.


Edited by Popotte, 02 April 2014 - 12:07 PM.

Les cons ça ose tout. C'est même à ça qu'on les reconnaît.

PopotteDMDredo.gif

 


#11 Le Gluon du Net

Le Gluon du Net

    Neophyte

  • Members
  • Pip
  • 6 posts

  • Flag: ---------

  • Favorite Pinball: Funhouse

Posted 02 May 2014 - 07:21 PM

I just tried the fpwine script, it calls some wine commands that no more exist, it is obsolete.

But this is a method to install Future Pinball on Linux:

 

1) download FP here:

http://www.futurepin...m/download.html

2) install it with wine:

wine FuturePinballSetup_v1.9.1.20101231.exe

 

Launch FP and open a table: the table opens but you can not play. Let's continue.

 

3) Download dcom98 here:
http://www.microsoft...ils.aspx?id=839
4) Open the exe with file-roller and extract this files:
oleaut32.dll
asycfilt.dll
in the system32 folder of your FP install
5) Download Windows Script 5.7 here:
http://www.microsoft...ls.aspx?id=8247
Open the exe with file-roller and extract this file:
vbscript.dll
in the system32 folder of your FP install
7) In a terminal, open wine config:

$ winecfg

and go to libraries tab, add this line:

oleaut32.dll  native,builtin

 

https://lh6.googleus...BA=w424-h493-no
 

Everything should work now, enjoy!

PS1: if some tables crash at start, in FP "Preferences", "editor options", deactivate "load image into table editor"

PS2: on Ubuntu, if you have audio distortion, use the official Ubuntu Wine version which is pulseaudio compatible

PS3: if you have sound problem like:
- volume too high
- echoes
- extraneous sounds
- some graphics glitchs
It's a known bug in Future Pinball when vertical sync is off.
--> activate vertical sync on

Edited by Le Gluon du Net, 13 July 2019 - 08:27 AM.


#12 bidinou

bidinou

    Neophyte

  • Members
  • Pip
  • 2 posts

  • Flag: France

  • Favorite Pinball: Slam Tilt (Amiga)

Posted 13 May 2014 - 07:33 AM

Hi ! Thanks for the tutorial !

 

I'm pretty sure I followed those steps exactly, but when starting a table (tried Nightmare and BeatBox) I get "undefined variable BulbOff". Any idea ?

 

Edit : using latest WINE from PPA. (1.7.18)


Edited by bidinou, 13 May 2014 - 07:40 AM.


#13 Le Gluon du Net

Le Gluon du Net

    Neophyte

  • Members
  • Pip
  • 6 posts

  • Flag: ---------

  • Favorite Pinball: Funhouse

Posted 13 May 2014 - 01:12 PM

could you add coin? could you launch a ball?

This step is very important, please verify you did it correctly:

7) In a terminal, open wine config:

$ winecfg

and go to libraries tab, add this line:

oleaut32.dll  native,builtin

 

https://lh6.googleus...BA=w424-h493-no

 

It is better to test this "Howto" in a clean Wine prefix.


Edited by Le Gluon du Net, 13 July 2019 - 08:27 AM.


#14 Retro Gamer

Retro Gamer

    Neophyte

  • Members
  • Pip
  • 2 posts

  • Flag: United States of America

  • Favorite Pinball: Black Knight 1980

Posted 09 July 2014 - 07:54 AM

From past experience bidinou if your getting that error, “undefined variable BulbOff" its usually a sign of possibly having the oleaut32.dll in, “/home/username/.wine/drive_c/windows/system32/” , but not having the override order in winecfg setup as instructed here previously.

 

If you did just double check that you used the correct spelling of: “oleaut32.dll” and not the typo in previous posts, “oleauth32.dll” Just as Le Gluon du Net posted if its registered correctly you will be able to use the keys in Future Pinball to add coins, move flippers and launch balls, etc.



#15 vfelix

vfelix

    Neophyte

  • Members
  • Pip
  • 3 posts

  • Flag: France

  • Favorite Pinball: xenon

Posted 29 July 2015 - 02:00 PM

could you add coin? could you launch a ball?

This step is very important, please verify you did it correctly:

7) In a terminal, open wine config:

$ winecfg

and go to libraries tab, add this line:

oleauth32.dll  native,builtin

Hi.

Still the same problem to launch a game for me.

I'm under Xubuntu 14.040.2

Wine 1.7.44

Future Pinball 1.9.1.20091231

And I tried several time the tuto, and specialy this part, with différent xubuntu, Wine.

Note: I can't find in winecfg, the win98 in the "Window version" combo-box, in the application Tab.

PS:

By the way, it's oleaut32 (without a 'h')


Edited by vfelix, 29 July 2015 - 02:28 PM.


#16 vfelix

vfelix

    Neophyte

  • Members
  • Pip
  • 3 posts

  • Flag: France

  • Favorite Pinball: xenon

Posted 29 July 2015 - 03:12 PM

I found a way, that I don't understand. But now, that's OK.

So I did in a terminal:

WINEARCH=win32 WINEPREFIX=~/win32 winecfg

Then, in the appliation tab, I put everything with the version NT 4.0 (I tried first with win98, but meet a problem after).

Then re-install FP with this:

WINEARCH=win32 WINEPREFIX=~/win32 wine FuturePinballSetup_v1.9.1.20101231.exe

At last, I went in the "Lib" Tab to add oleaut32, like described previously (I run winecfg with the same command line above).

Before, I put the 3 new DLL (oleaut32.dll, vbscript.dll, asycfilt.dll)  in the new "system32" (/home/vfelix/win32/drive_c/windows/system32/)

And it's work now.

The line to lanch this:

env WINEPREFIX="/home/vfelix/win32" wine C:\\Games\\Future\ Pinball\\Future\ Pinball.exe

With the working directory : /home/vfelix/win32/dosdevices/c:/Games/Future Pinball

Of course, if you want to try with, use your own directories.

 

So now, I've got two wine installation (with WINEPREFIX). And I can't say why it's working. I tried this after finding this note:

https://bbs.archlinu...c.php?id=180283

 

[EDIT]

I tried the same operation with another machine (same xubuntu & FP), but with wine 1.6 (standart installation with ubuntu sofware). And "computer says no" (geek joke from little britain, sorry). Then I tried with Wine 1.7 from "wine HQ" site, and ... OK. So, the wine version seems to be critical for FP. And also the default version of Windows set in winecfg. This time, XP was better (?!?). You have to tried different Windows version.


Edited by vfelix, 30 July 2015 - 08:07 AM.


#17 Le Gluon du Net

Le Gluon du Net

    Neophyte

  • Members
  • Pip
  • 6 posts

  • Flag: ---------

  • Favorite Pinball: Funhouse

Posted 13 July 2019 - 08:42 AM

Hello, my tutorial is still correct but you can no more download DCOM98 and Windows script 5.7 from microsoft site, the url are dead.

Instead use winetricks:

 

wineprefix="/the/path/to/your/FP/wineprefix/folder" winetricks oleaut32 vcrun6 wsh57

 

more easy way:

install Lutris: https://lutris.net/

 

I wrote a Lutris script that will install Future Pinball and all other needed files and tweaks "automagically", just click "install" on this page:

https://lutris.net/g...future-pinball/



#18 SUPERFITTER

SUPERFITTER

    Hobbyist

  • Members
  • PipPip
  • 14 posts
  • Location:Michigan
  • Favorite Pinball: The Adams Family

Posted 06 November 2021 - 07:59 PM

Neophyte

 

I successfully installed Future Pinball with your script.  How do you install the tables in Linux Mint?  I have downloaded them but do not know where to install them?

 

Thank You