protonscr

Blood and Bacon

protonopen appid 434570Game compatibility - Unofficial.NET.NET-XNA
ValveSoftware/Proton#1024 · opened 2018-08-30 by liberodark · updated 2025-09-10 · 14 comments · github · game page · search this game
1 matching comments, n / p to jump
Lliberodark 2018-08-30 github

Distro: Manjaro XFCE 17.1.12
GPU: GTX 1060, Nvidia proprietary driver 396.54
Resolution: 1920x1080
RAM: 8GB
Proton 3.7-5 Beta
PROTON_LOG=1 %command% =
steam-434570.log

Ssanteri3700 2019-10-29 github

I've managed to run the game by installing dotnet40 (via winetricks/protontricks) and adding a registry key to workaround https://bugs.winehq.org/show_bug.cgi?id=15670

  • Install dotnet40: protontricks 434570 dotnet40 (you could use winetricks also)
  • Add the registry fix: wine reg add "HKLM\\Software\\Microsoft\\Windows NT\\CurrentVersion\\ProfileList\\S-1-5-21-0-0-0-1000"
    (reg command must be executed within the proton prefix)
  • The game should work now although with some bugs like windowed mode not working at all and alt+tabbing crashing without D9VK.

dotnet40 must be installed manually via winetricks/protontricks to make DirectX 9 detected by the game. Otherwise it tries to run in OpenGL mode which isn't working.
I got this message in the "unfriendly.txt" (located in the root directory of the game)

ERROR MESSAGE : 0(256) : error C1503: undefined variable "gl_FogFragCoord2"
0(267) : error C1503: undefined variable "gl_FogFragCoord1"
0(420) : error C1503: undefined variable "gl_FogFragCoord1"
0(427) : error C1503: undefined variable "gl_FogFragCoord2"
StackTrace : at Microsoft.Xna.Framework.Graphics.OpenGLDevice+<CreateEffect>c__AnonStorey0.<>m__0 () [0x0005a] in <654c92bf5d7041b0b22ae9236cdf2102>:0
........

After installing dotnet40 I got the following error while trying to start the game. (I could hear the music for 1 second before the crash)

ERROR MESSAGE : Unable to create the store directory. (Exception from HRESULT: 0x80131468)
StackTrace : at System.IO.IsolatedStorage.IsolatedStorageFile.GetRootDir(IsolatedStorageScope scope, StringHandleOnStack retRootDir)
........

I discovered (from various threads) that a custom registry key must be also added to fix this issue where the game tries to create and use a directory under
"users/Default User/Local Settings/Application Data/IsolatedStorage/".
I think the "Default User" (a.k.a "steamuser") can't be detected without this registry key.

"HKLM\\Software\\Microsoft\\Windows NT\\CurrentVersion\\ProfileList\\S-1-5-21-0-0-0-1000"

I'm running on Ubuntu 18.04.3 64 bit with an Nvidia GTX 1060 6GB (430.26 proprietary drivers)
I've tested this with Proton 4.11-7 a couple of times with a fresh prefix so I think this is all that is needed to get the game running.

Blood and Bacon BuildID: 4050726 (July 27, 2019)

Fflibitijibibo 2019-10-29 github

gl_FogFragCoord issue should be fixed by https://hg.icculus.org/icculus/mojoshader/rev/8e9fb483f4d4

Fflibitijibibo 2019-10-30 github

One more MojoShader commit...

https://hg.icculus.org/icculus/mojoshader/rev/9d725de6c61c

... then a really strange path for FNA to fix:

https://github.com/FNA-XNA/FNA/commit/779c57894a96cb4a351ff452d7a1a41550406f85

This gets everything to load, but it seems to hit a segfault on what appears to be a separate thread. EDIT: Yup it's threaded GL, FNA_GRAPHICS_FORCE_GLDEVICE=ThreadedGLDevice makes that problem go away.

Worth noting is that this game uses WinForms on the game window handle so this falls into the category of games that will have bad window behavior until better Forms integration for SDL2 windows shows up. This is also why the game crashes once you're in-game; it tries to warp the mouse against the weird fake Form that's being made and SDL doesn't take that well.

Fflibitijibibo 2019-10-30 github

The very latest wine-fna revision makes the game run, finally:

https://github.com/FNA-XNA/FNA/tree/wine-fna

That said, the mouse warping is really bad since the game spams SetPosition vs. doing real relative mouse mode (which is XNA's fault honestly), so don't expect the best mouse input!

Fflibitijibibo 2019-11-08 github

Proton 4.11-8 includes all of these fixes, so the game should boot and run on a fresh prefix with no protontricks. Mouse warping still sucks but should be playable otherwise!

CCoWinkKeyDinkInc 2022-01-07 github

I haven't been able to get this game to load a level, even after installing the needed package with winetricks or trying other versions of Proton. Using Arch with a Radeon RX 580

GGalecO1987 2024-08-12 github

The game still doesn't work out of the box and requires installing dotnet40 with winetricks, otherwise it crashes after selecting a character and starting the game.
After installing dotnet40, the game works fine with no issues.
Proton logs: steam-434570.log

SSecularSteve 2025-09-10 github

The game still doesn't work out of the box and requires installing dotnet40 with winetricks, otherwise it crashes after selecting a character and starting the game. After installing dotnet40, the game works fine with no issues. Proton logs: steam-434570.log

Happy to report that it doesn't anymore.
GE recently implemented the fix to their latest Custom Proton, and even with .net40 and xna40 included, it still crashes completely.

Even after a double reinstall.

Ssimifor 2025-09-10 github

@SecularSteve the game works for me when using proton experimental without needing to install anything extra. However, mouse movement is unusable, so if you want to play the game you'll need a gamepad.

SSecularSteve 2025-09-10 github

Trying it as we speak.
You weren't kidding.
Whatever the latest Experimental did, it fixed (most of) it.
Still crashed while exploring the tunnels.

Ssimifor 2025-09-10 github

@SecularSteve what were you doing when it crashes? I went through the first tunnel in day 2 without issue, then it crashed on da7 when grabbing the irish-tweed, but then I tried that twice again and could grab it without the game crashing so I'm not sure if the crashing is totally random.

SSecularSteve 2025-09-10 github

@SecularSteve what were you doing when it crashes? I went through the first tunnel in day 2 without issue, then it crashed on da7 when grabbing the irish-tweed, but then I tried that twice again and could grab it without the game crashing so I'm not sure if the crashing is totally random.

Not really sure.
My theory is that it has something to do with the minimap.
Did it happen whenever you've had the minimap equipped?

Ssimifor 2025-09-10 github

@SecularSteve
I've had a minimap on me all the 4 times I was in the tunnel

SSecularSteve 2025-09-10 github

Well, that rules that out.

How many times did you make a loop around the tunnel?

Could be something with that, or maybe one of the Pig Heads glitched in or something.

But I'm just spitballing all the possibilities.

Proton versions

Launch options

Upstream links

Error codes