protonscr

STAR WARS™ Starfighter™

protonopen appid 32350Game compatibility - Unofficial
ValveSoftware/Proton#384 · opened 2018-08-24 by TwoD · updated 2024-02-19 · 4 comments · github · game page · search this game
TTwoD 2018-08-24 github

Runs great, but make sure to save the keyboard bindings or the in-game menus may not work correctly.
System Info

Ttingvarsson 2018-08-28 github

was about to write an issue on the keyboard stuff as it drove me quite mad, thanks for the info @TwoD.

Ccodeman101 2019-04-28 github

Game works but it could use a bit more help because trying to use xbox 360 controller causes automatic spinning to the right when in fighter.

Ccorvusd 2022-06-12 github

There are an important issue with the cinematics. Not show the video. Show black or crash the game.

Wwhizse 2024-02-19 github

The cause of the black videos is WineD3D lacking support for multisample texture uploads:

015c:fixme:d3d:wined3d_texture_gl_upload_data Not supported for multisample textures.

It can be worked around by disabling multisample textures. Either with regedit for the prefix (HKEY_CURRENT_USER > Software > Wine > Direct3D > MultisampleTextures (DWORD value 0x0)) or by introducing a hack for the game:

diff --git a/dlls/wined3d/wined3d_main.c b/dlls/wined3d/wined3d_main.c
index cbe7f65a841..cf10847c3a5 100644
--- a/dlls/wined3d/wined3d_main.c
+++ b/dlls/wined3d/wined3d_main.c
@@ -491,6 +491,12 @@ static BOOL wined3d_dll_init(HINSTANCE hInstDLL)
         else putenv( "VKD3D_SHADER_DEBUG=none" );
     }
 
+    /* Fix for black videos in STAR WARS Starfighter */
+    const char *sgi;
+
+    if ((sgi = getenv("SteamGameId")) && !strcmp(sgi, "32350"))
+        wined3d_settings.multisample_textures = 0;
+
     vkd3d_set_log_callback(vkd3d_log_callback);
 
     return TRUE;

Another, cleaner solution is to use d8vk which seems to support this missing feature.

Note: Only quickly tested with the GOG version. Not sure if disabling multisamplet extures have a negative impact on the graphics or if d8vk have full support for the game.

Launch options