1
1
This is a set of tools to operate on The Pinball Arcade (PBA) files.
2
- PBA is a video-game developed by [ FarSight Studios] ( http://www.farsightstudios.com/ ) .
2
+ PBA is a video-game developed by [ FarSight Studios] ( http://farsightstudios.com/ ) .
3
+
4
+ Most of the tools in this repository convert to [ JSON] ( http://json.org ) , TGA or OBJ/MTL.
5
+
6
+ This tool is not able to create any kind of PBA files yet!
3
7
4
8
# PBA Coordinate System
5
9
@@ -10,12 +14,36 @@ Their coordinate system seems to be (from a players perspective):
10
14
+Z = Up
11
15
12
16
The playfield center (including vertical elements) is usually located at 0.0, 0.0, 0.0.
17
+ Based on dimensions of Medieval madness the PBA coordinate system is roughly:
13
18
14
- Each unit appears to be roughly 400/3 inch (guessed).
15
- So a 20.5" x 42.0" playfield would be 2733 x 5600 in game units.
19
+ 1 unit = 0.01905cm = 0.0075inch
16
20
17
21
Human-readable angles are usually in degree, machine readable are usually in radians.
18
22
19
- # PBA Bugs
20
-
21
- 2704/29: Missing alpha
23
+ # PBA bugs / issues / facts
24
+
25
+ ## General
26
+ - Tables contain wav versions of the emulation sounds at varying quality
27
+ - Reflections are hardcoded onto textures, sometimes in image-space
28
+ - Texture resolution is absolutely horrible
29
+ - Lamps and Flashers are simulated by switching between on/off textures
30
+ - Some Flashers have a mesh for their light-shine around them
31
+ - Apron missing hole for ball trough which is not simulated
32
+ - Subways and other "hidden" objects not modelled / simulated
33
+ - Plunger lane is not carved
34
+ - Missing playfield glass
35
+ - Meshes are already instanced and embedded
36
+ - Physics are actually arcade physics, not simulated physics
37
+ - Lots of redundancy in each file and across files
38
+ - Cameras are hardcoded for each device instead of defining a frustum
39
+
40
+ ## BK2K
41
+ - Playfield texture contains lamps, walls and wires
42
+ - Main resource has typos / bug: "Gravity,0,0,0,0 Dampening" (missing comma)
43
+ - Spring (slows ball down) on wire after W-A-R not simulated
44
+
45
+ ## Ripley's
46
+ - 2704/29: Missing alpha
47
+
48
+ ## Medieval Madness
49
+ - Right Ramp contains a wire piece from the left ramp (vertical connection at the very bottom)
0 commit comments