Proton: Sonic CD (200940)

Created on 25 Aug 2018  Â·  16Comments  Â·  Source: ValveSoftware/Proton

OS: Fedora release 28 (Twenty Eight) x86_64
Kernel: 4.17.14-202.fc28.x86_64
Resolution: 1920x1080, 1280x1024
DE: GNOME 3.28.3
WM: GNOME Shell
WM Theme: Adwaita
Theme: Adwaita [GTK2/3]
CPU: Intel Pentium G4620 (4) @ 3.700GHz
GPU: NVIDIA GeForce GTX 1060 3GB
Nivida Driver Version: 396.45
Memory: 4540MiB / 15492MiB

Flashes black, then crashes. I tried changing the layer to win98 still no luck.

.NET Game compatibility - Unofficial

Most helpful comment

This can be worked around by installing the native version of d3dcompiler_43:

WINEPREFIX=(steam library location)/steamapps/compatdata/200940/pfx winetricks d3dcompiler_43

All 16 comments

Same here i tried the launch options:
PROTON_USE_WINED3D11=1 %command%
PROTON_NO_D3D11=1 %command%

(not sure if im doing it right)
but nothing works
i dont know if you can combine the commands

my log
steam-200940.log

my PC:
https://gist.github.com/Zero86Sk/d629f657c1ae861c36657cdf238a7765

This can be worked around by installing the native version of d3dcompiler_43:

WINEPREFIX=(steam library location)/steamapps/compatdata/200940/pfx winetricks d3dcompiler_43

+thirdeyefunction That is correct. It works. Thanks.

Also confirming that @thirdeyefunction's trick works.

Game does not run, Crashes immediately in Steam Runtime
Arch Linux
GNOME 3.28.2
Nvidia 396.54

I tried installing winetricks, ran winetricks d3dcompuler_43 and set the launch command but that did not work for me, I guess i am doing something wrong

I tried
WINEPREFIX=/home/houtworm/.local/share/Steam/steamapps/compatdata/200940/pfx winetricks d3dcompiler_43
WINEPREFIX=/home/houtworm/.local/share/Steam/steamapps/compatdata/200940/pfx/drive_c/windows/system32/d3dcompiler_43.dll
I also tried to access it in the .wine folder with the launch command
I also tried placing the DLL file in the pfx folder and accessing that with the launch command,

None seem to work, I am new to wine, So i probably did something wrong.

Added my terminal output in a gist
https://gist.github.com/Houtworm/03d2b649e26659167813367083f0b7bd

I installed the game today, and tried to run it with Proton 3.7 beta 4, and it just sits in memory and does nothing. I have to pgrep -i soniccd and kill it. Installing d3dcompiler_43 in the prefix has no effect.

System stats:

https://gist.github.com/kode54/3ff952f39b407d6f806a6779838f5335

I made it work after installing the DXSETUP.EXE included within the game directory on the game wineprefix.

System stats

I played an entire bad ending run without issues.

Not a fan of this approach though cuz it require running the installation wizard... an scriptable aproach would be preferable, but I'm new to wine...

This is the path for the file:
C:\Program Files\Steam\steamapps\common\sonic cd\directx\DXSETUP.exe
(is this exe somehow related to d3dcompiler_43? I got the game running before bumping on the solution posted here)

Yo instale Directx9 por wine y luego copie las carpetas SYSTEM32 Y SYSWOW64 que estan en
home/.wine/drive_c/windows y las puse en home/.steam/steam/steamapps/compatdata/200940/pfx/drive_c/windows

Para ver las carpetas en home hay que hacer Ctrl+H y Listo

Google translate:
I installed Directx9 by wine and then I copied the SYSTEM32 and SYSWOW64 folders that are in
home/.wine/drive_c/windows and put them in home/.steam/steam/steamapps/compatdata/200940/pfx/drive_c/windows

To see the folders in home you have to do Ctrl + H and Done

OS: Arch Linux x64
CPU: Ryzen 5 1600
GPU: RX 480
Kernel: 4.18.12-arch1-1-ARCH
DE: XFCE 4.12
Mesa: 18.2.2-1
Proton: Default as of 13/10/18

I ran the Direct X redist installer in the wineprefix and the game started. I haven't tested the video resolution config tool. My DualShock 4 appears to work as well.

Had to reinstall on my PC and I avoided all the manual instalation running this

export STEAMLIBRARY="${HOME}/.steam/steam"
export PROTONPATH="${STEAMLIBRARY}/steamapps/common/Proton 3.7"
export WINEPATH="${PROTONPATH}/dist/bin/wine"
export WINEPREFIX="${STEAMLIBRARY}/steamapps/compatdata/200940/pfx"
winetricks d3dcompiler_43

System Information: Gist
Proton version: imagen

steam-200940.log

Can say that even with this guide, I can't initialize Video Setup as it fails to launch .NET framework 4.7.2
imagen

Though the normal game runs fine aside from the graphical glitches and the stuttering audio.

I installed winetricks d3dcompiler_43 and the game didn't launch
Than I installed directx which is in game files and the Game launched
But there is another item called video setup which does not work (crashes on startup) and I have no idea what this app does.
screenshot from 2019-01-01 01-03-04

I think bundled directx should be installed automatically like it does in most of windows games.

As an update, it needs both d3dx9_43 and d3dcompiler_43 (but only the latter in earlier versions of Proton for whatever reason).

So:

WINEPREFIX=(steam library location)/steamapps/compatdata/200940/pfx winetricks d3dx9_43 d3dcompiler_43

Installing DirectX installer included in the game did the trick for me as well, running WINEPREFIX=.../steamapps/compatdata/200940/pfx wine DXSETUP.exe from the "directx" folder. (I realize now that my system Wine was used in this step, but it doesn't seem to have mattered.) Winetricks does not seem to be necessary. I'm using Proton 4.2.7.

I'm subscribing here since I just got this issue

Can confirm this is still an issue as of Proton 5.13-1

  • Play Sonic CD
    Assertion failed: compare_hlsl_types(arg1->data_type, arg2->data_type), file ../../../../proton/wine/dlls/d3dcompiler_47/../d3dcompiler_43/hlsl.y, line 627
  • Video Setup
    System.TypeLoadException: Could not load type of field 'soniccd_setup.Form1:availableModes' (3) due to: Could not load file or assembly 'Microsoft.DirectX.Direct3D, Version=1.0.2902.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.
Was this page helpful?
0 / 5 - 0 ratings

Related issues

kforney picture kforney  Â·  3Comments

prototype99 picture prototype99  Â·  3Comments

leifmetcalf picture leifmetcalf  Â·  3Comments

matou68 picture matou68  Â·  3Comments

ghost picture ghost  Â·  3Comments