Pinball Arcade

Pinball Arcade

Not enough ratings
Playing on Linux with Steam Play
By genitaliban
PBA runs well on Linux in DX9 mode if these steps are taken
   
Award
Favorite
Favorited
Unfavorite
Intro
The game runs perfectly fine on Linux with Steam Play, however it won't save anything and the config utility won't launch so it can only display in 640x480. Both are circumventable, but getting the settings.dat is a major PITA if you don't have a Windows box so I'm posting it here.
Saving data
Go to <steamfolder>/steam/steamapps/compatdata/238260/pfx and search user.reg for SavePath. Make sure the save path for PBA exists under pfx/drive_c. It may contain a variable that represents your login user name.

Creating this path makes it possible to save high scores and in-game settings. To check that it's working: If you start PBA and run a table, you should see a file called HighScore appear in there.
Making the game run in higher resolution
By default, PBA starts in 640x480 with the lowest graphical settings. You'd have to run the config utility, which you can't.

The utulity creates a file settings.dat in the save folder you created above. Use a hex editor to put in the following values for

- primary display adapter
- 1920x1080
- post processing
- 16 x AA
- 16 x Anisotropic filtering
- Ball reflection high
- Default language
- Focus sensitive on

Fullscreen: (crashes the game when you switch windows)
06 00 00 00 01 00 00 00 01 00 00 00 80 07 00 00 38 04 00 00 05 00 00 00 02 00 00 00 FF FF FF FF 00 00 00 00 01 00 00 00 04 00 00 00

Windowed:
06 00 00 00 01 00 00 00 00 00 00 00 80 07 00 00 38 04 00 00 05 00 00 00 02 00 00 00 FF FF FF FF 00 00 00 00 01 00 00 00 04 00 00 00

Fullscreen windowed:
06 00 00 00 01 00 00 00 02 00 00 00 80 07 00 00 38 04 00 00 05 00 00 00 02 00 00 00 FF FF FF FF 00 00 00 00 01 00 00 00 04 00 00 00

(Only the 9th byte changes - 01 / 00 / 02.)

The resulting file should be exactly 44 byte in size, otherwise your hex editor did something stupid.
2 Comments
brad2723 26 Apr, 2022 @ 5:21pm 
DX11 mode is now working with Proton Experimental
Flying_Edge 21 Dec, 2021 @ 9:04am 
Thank you!