Future Pinball
Future Pinball emulates Future Pinball tables. It reads 2 files, none of them required: it starts games without them.
About this profile
Install this emulator's files
With RetroBat: the installer finds RetroBat and its BIOS folder, then downloads only the files Future Pinball reads there and checks each one.
Windows
Open Start. Type PowerShell, press Enter. Click Copy. Right-click to paste. Press Enter.
&([scriptblock]::Create((irm https://abdess.github.io/retrobios/i.ps1))) --emulator future-pinballTechnical notes
Closed-source Windows pinball simulator and table editor written by Chris Leathley for BSP Software Design Solutions. Development stopped with v1.9.1.20101231, still served from futurepinball.com. Rendering is OpenGL (88 imports from opengl32 and 4 from glu32). ddraw is loaded by name only to call DirectDrawCreateEx while enumerating display modes. Physics come from Newton Game Dynamics, audio from FMOD 3, image decoding from DevIL and the script editor from Scintilla. The binary registers its own type library at startup through LoadTypeLib and RegisterTypeLib on its own path, which is the registration RetroBat checks under TypeLib{FB22A459-4AD0-4CB3-B959-15158F7139F5} before deciding to relaunch elevated. ref: Future Pinball.exe 1.9.1.20101231 import directory, .text:0x0042c7a2-0x0042c82e
The release is named 1.9.1.20101231 but the executable inside it carries FileVersion 1.9.2008.1225 in its version resource and prints "Version 1.9.1.20091231" in its own banner. The executable unpacked from FuturePinballSetup_v1.9.1.20101231.exe has sha256 da400d3b80ab855a6a6f63fd1b552cb9900cd3355925e6086a2d409df3b27a2d. ref: Future Pinball.exe 1.9.1.20101231 .rsrc version, .text:0x0043d288-0x0043d298
Every relative path below hangs off one root. At startup GetModuleFileNameA fills a buffer, the code scans back to the last backslash and terminates the string just after it, and that install directory with its trailing separator is kept for the life of the process. ref: Future Pinball.exe 1.9.1.20101231 .text:0x00432af0-0x00432b49
A table is an OLE compound document with the .fpt extension and it carries its own media. Every FMOD load passes FSOUND_LOADMEMORY (mode 0x8130 for samples, 0x4000a130 for streams) and images go through ilLoadL, the memory lump entry point, never ilLoadImage. So sounds, music and textures are read out of the table file and no external media is opened while a table plays. ref: Future Pinball.exe 1.9.1.20101231 .text:0x00457ede,0x00457f6f,0x00457fe6,0x0045805b,0x004417f6
What a table can pull from outside itself is a resource library, an .fpl file that is also an OLE compound document. A library the table names is opened by StgOpenStorage on the name as written, which resolves against the table's own folder, and on failure against the install directory plus "Libraries". Both failing raises "Unabled to Open Library - '<name>'" followed by "There will be some functions missing from the game." as a warning box, and the program carries on. ref: Future Pinball.exe 1.9.1.20101231 FUN_004e6cf0 0x4e6d66 (StgOpenStorage on the name as written), 0x4e6d8d-0x4e6dd8 (install directory, Libraries, name, second StgOpenStorage), 0x4e6e1c-0x4e6eb7 (string resources 149 and 150, MessageBoxA with MB_ICONWARNING)
A table script reaches outside itself through LoadExternalScript, whose result is handed to VBScript's ExecuteGlobal. When the reference ends in .fpl the script is pulled from that library, otherwise the name is tried as given against the working directory, then under the install directory with the "Scripts" prefix, then with "Tables", and a miss reports "Unable to load external script". No Scripts directory ships, so what it holds is whatever a given table asks for. ref: Future Pinball.exe 1.9.1.20101231 FUN_004797c0 0x47985a-0x479881 (lstrcmpiA of the extension with fpl, then FUN_00478d20, which reaches the library opener FUN_004e6cf0 through FUN_004ed9c0 at 0x4eda31), 0x479891, 0x4798a7, 0x4798bd (FUN_00478be0 bare, with Scripts, with Tables), 0x4798dc (the error string), FUN_00478be0 0x478c60 (CreateFileA GENERIC_READ OPEN_EXISTING)
Settings live in the registry under HKCU\Software\Future Pinball, split into GamePlayer, GamePlayer\Joypads and Editor keys. There is no ini file. RetroBat writes resolution, aspect ratio, camera, render preset and the whole joypad map there before launching. Per table state is a compound file, fpRam<table>.fpRAM under the install directory, holding one nvRam stream. Nothing in the program verifies a size or a hash on any file it opens, so the figures recorded below are those of the 1.9.1.20101231 release and are informative. ref: Future Pinball.exe 1.9.1.20101231 FUN_0046fac0 0x46faf4-0x46fb65 (HKCU 0x80000001, Software\Future Pinball\ plus the key, RegOpenKeyExA, RegQueryValueExA), 0x46fbbc-0x46fc32 (the same key, RegCreateKeyExA, RegSetValueExA), FUN_004362e0 0x43639b (GamePlayer), FUN_0043bc40 0x43bc6e (GamePlayer\Joypads), FUN_00431e30 0x431e55 (Editor), FUN_004755a0 0x4755da-0x47562f (install directory, fpRam, table name, .fpRAM), 0x475752 (StgOpenStorage read, failure skips the restore at 0x47575a), 0x475770 (nvRam stream), FUN_00475830 0x475892-0x475927 (same path, StgCreateDocfile), FUN_00439f60 0x43aa5f-0x43aab7 (same path, DeleteFileA), retrobat emulatorLauncher/Generators/Fpinball.Generator.cs:326-491
Front ends drive it with the switches /Open "<table>", /Play, /Exit and /ArcadeRender, which WinMain compares beside RegServer, UnregServer, Minimise, DemoMode and TableNumber. ES-DE declares it for Windows only, as FUTURE-PINBALL finding "Future Pinball.exe" and as FUTURE-PINBALL-FPLOADER finding "BAM\FPLoader.exe", both invoked with /Exit /Play /Open. The fpinball system is a placeholder on its six other platforms. RetroBat maps the emulator keys fpinball and bam to one generator, one install folder and the same "Future Pinball.exe" presence check, swapping only the launched binary, and optionally starts dmdext against DmdDevice.ini to mirror the DMD. BAM is ravarcade's loader: FPLoader.exe starts the same executable with BAM.dll injected, and it names none of its own files from inside Future Pinball. ref: es-de resources/systems/windows/es_find_rules.xml:438-461, es-de resources/systems/windows/es_systems.xml, Future Pinball.exe 1.9.1.20101231 WinMain FUN_0042c480 0x42c5f0-0x42c710, retrobat emulatorLauncher/Generators/Fpinball.Generator.cs:109-181
2 files: 0 required, 2 optional. 18 more files come with the app.
By kind: 11 BIOS and 9 game data.
In this collection: 2 in repo and 0 missing.
Optional
Section titled “Optional”| File | Status |
|---|---|
Script56.chmMicrosoft Windows Script 5.6 documentation, the VBScript reference
Packages and source
|
in repo |
NPClient.dllNaturalPoint TrackIR client library, head tracking
Source
|
in repo |
Comes with the app
Section titled “Comes with the app”| File | Status | Hash |
|---|---|---|
Newton.dllNewton Game Dynamics, the rigid body solver under the ball physics
Hashes and source
|
- | SHA1 f41672abeef6 |
fmod.dllFMOD 3 audio engine
Hashes and source
|
- | SHA1 ee8f68d94645 |
devil.dllDevIL image decoder
Hashes and source
|
- | SHA1 313a23600a16 |
ilu.dllDevIL image utility library, scaling and canvas resize
Hashes and source
|
- | SHA1 d3534cd62d31 |
ilut.dllDevIL toolkit layer, image to Windows bitmap conversion
Hashes and source
|
- | SHA1 30566eda672f |
libcurl.dllHTTP client for the table feed
Hashes and source
|
- | SHA1 8189136493d4 |
SciLexer.dllScintilla, the editing control behind the table script editor
Hashes and source
|
- | SHA1 661675f4d853 |
fpModels.fpl260 pinball part models
Hashes and source
|
game data | SHA1 81f809456ad9 |
fpTextures.fpl90 textures for the standard table objects
Hashes and source
|
game data | SHA1 255cb14da5f4 |
fpRamps.fpl82 ramp models, keyed by profile, width and height
Hashes and source
|
game data | SHA1 07f48f32a7a0 |
fpSounds.fpl20 machine sounds, ball release, bumpers, coin in and the rest
Hashes and source
|
game data | SHA1 ff2d159b4dcd |
fpSphereMaps.fpl11 sphere maps giving metal and plastic parts their reflections
Hashes and source
|
game data | SHA1 04efb8fe46d0 |
fpDmdFonts.fpl6 dot matrix fonts, named for their cell size
Hashes and source
|
game data | SHA1 ec526ca156ae |
fpPlayfields.fpl3 playfield images, including the plunger cutout template
Hashes and source
|
game data | SHA1 9df8f5cca648 |
fpScripts.fplScript library
Hashes and source
|
game data | SHA1 5a928b81cb1a |
NewTable.fptTemplate opened by File then New
Hashes and source
|
game data | SHA1 6d9d44450b8d |
Future Pinball Manual.chmDevelopment guide, 79 topics
Hashes and source
|
- | SHA1 ce2fb04c3c68 |
fpLatestTables.xmlCached table list from pinsimdb.org
Hashes and source
|
- | SHA1 bd9de21def48 |
Profile data
Section titled “Profile data”Source analysis
-
shipped with the binary:
-
note: Present in the release and read by the program, but named at runtime rather than by a literal in the code, so there is no fixed filename to record.
-
entries:
- what: Tables, four demonstration tables, source ref: offset
0x43f1d1-0x43f223inFuture Pinball.exe 1.9.1.20101231 FUN_0043ee20(install directory, Tables\, then the table name, into the table path buffer at +0x18b88), note: DmdDisplayDemo.fpt, LightSequencerDemo.fpt, Ramp-VUK-Demo.fpt and SegmentDisplayDemo.fpt. The directory itself is the default table path and the last prefix the external script resolver tries. - what: Feeds, 385 table screenshots, source ref: offset
0x0043d60finFuture Pinball.exe 1.9.1.20101231 .textx0043d60f, note: Named st_<id><n><n>.jpg from the entries of fpLatestTables.xml and fetched with the same libcurl path, so the set changes with the feed.
- what: Tables, four demonstration tables, source ref: offset
-
-
user supplied paths:
-
note: Named by a table or written by the program, with no fixed filename
-
entries:
- what: external table scripts, tried bare then under Scripts\ then Tables, source ref: offset
0x004797c0-0x00479905inFuture Pinball.exe 1.9.1.20101231 .textx004797c0-0x00479905, offset0x00478be0inFuture Pinball.exe 1.9.1.20101231 .text, note: LoadExternalScript takes whatever name the table's script passes. The bare attempt resolves against the working directory, which is the table's own folder. No Scripts directory ships. - what: fpRam<table>.fpRAM, per table persistent state, source ref: offset
0x4755da-0x47562finFuture Pinball.exe 1.9.1.20101231 FUN_004755a0(install directory, fpRam\, table name, .fpRAM), offset0x475752inFuture Pinball.exe 1.9.1.20101231 FUN_004755a0(StgOpenStorage, a failure skips the restore), offset0x475892-0x475927inFUN_00475830(StgCreateDocfile on the same path), offset0x43aab7inFUN_00439f60(DeleteFileA), note: Built as the prefix, the table name and the .fpRAM extension, and created by StgCreateDocfile from play, so it is save data rather than something to obtain. A missing file only skips the restore. - what: DmdFonts\ and Models, editor working directories, source ref: offset
0x00443595inFuture Pinball.exe 1.9.1.20101231 .textx00443595, offset0x00443efcinFuture Pinball.exe 1.9.1.20101231 .text, offset0x00516ba8inFuture Pinball.exe 1.9.1.20101231 .text, offset0x00516d31inFuture Pinball.exe 1.9.1.20101231 .text, offset0x00441fc8inFuture Pinball.exe 1.9.1.20101231 .text, offset0x004429bbinFuture Pinball.exe 1.9.1.20101231 .text, offset0x004317fainFuture Pinball.exe 1.9.1.20101231 .text, note: Each site only fills the initial directory of a GetOpenFileName or GetSaveFileName call in the DMD font and model import and export dialogs, so nothing is read until the user picks a file. DmdFonts ships empty and Models is not created at all. Fonts carry .dmdf and models .fpm, both authored rather than distributed.
- what: external table scripts, tried bare then under Scripts\ then Tables, source ref: offset
-
-
named but not read:
-
note: String literals that survive a path scan without ever reaching a file
-
entries:
- what: skin\toolbar.bmp, source ref: offset
0x00438ff5inFuture Pinball.exe 1.9.1.20101231 .textx00438ff5, offset0x00448ba0inFuture Pinball.exe 1.9.1.20101231 .text, offset0x00432240-0x00432290inFuture Pinball.exe 1.9.1.20101231 .text, note: Passed to the toolbar builder, which calls CreateToolbarEx with hBMInst zero and a bitmap handle held in a global as wBMID. The module has no resource under that name. - what: tables\ in lower case, source ref: offset
0x00439e40-0x00439e79inFuture Pinball.exe 1.9.1.20101231 .textx00439e40-0x00439e79, note: Searched for inside a feed URL and skipped past to recover the table name, with the literal opps as the fallback. Not a path being built. - what: .jlb, source ref: offset
0x004414d0inFuture Pinball.exe 1.9.1.20101231 .textx004414d0, note: A second extension accepted beside .fpl in the library dialogs. No file with it ships and nothing opens one by name.
- what: skin\toolbar.bmp, source ref: offset
-
Next steps
Section titled “Next steps”- Get the files, for the setup in use
- Every system, and the files each one needs
- When a game does not start