The game starts and loads without problems. After the intro movie it sticks with black screen.
Thronebreaker: The Witcher Tales
Game runs fine on Windows with DXVK (except for missing transform feedback support because AMD's driver doesn't have it yet) but doesn't show the intro video on my wine setup. This is not a DXVK bug.
Here is the apitrace:
https://my.pcloud.com/publink/show?code=XZ46P97Zp9rKbzjCWrmnsdupVX3Ej5PGUjfk
Just confirms what I'm seeing here, the game doesn't even try to render anything when running on wine, and the exact same thing happens with wined3d. But as mentioned, this is not my bug.
What did you do to make it play back the first intro movie by the way? I'm getting a black screen right after the initial loading screen.
I installed the needed Windows Media Foundation files as it's stated in the Shadows: Awakening thread and installed DirectX 9. Nothing more.
I'm getting a black screen right after the initial loading screen.
Yes, i have the same problem. But there is a way to get into main menu, just rename videos directory in game directory.
Anyway, mouse and keyboard doesn't work in main menu and there is no way to start the new game.
Meh, you're right. Current Unity engine seems to do everything in its power to make life hard for us...
Anyway, closing since this is not my bug. Please file a wine bug report.
Small update: The input issue is actually caused by the video workaround.
@doitsujin did you figure out how to get the video to play (or skip it)?
Someone on the GoL forums got it to work by using the native Media Foundation DLLs from Windows 7. It does not work with the Windows 10 DLLs.
This seems to work, checking the unity logs I get a new error:
Context: CreateObjectFromByteStream
Error details: The byte stream type of the given URL is unsupported.
For reference on what is needed to do (including how to fix the error above): https://github.com/ValveSoftware/Proton/issues/1102. Unfortunately my windows 7 is missing some media packages, I think. And the Windows 10 regestry export does not work.
So this seems to be the way to go.
Hmm I can't get the videos to play with Media Foundation DLLs...
@mozo78 check the unity logs, they are somewhere in the user data directory.
find $WINEPREFIX -iname "*log*"
The unity log file is called output_log.txt iirc, but next to it there are a few more logs that might be interesting.
@Dav1dde, can you share with us your prefix without the game of course?
@mozo78 not sure how I'd share it, the whole prefix (without game) is 700mb, Github allows 10mb max. Is there anything specific you need?
The whole prefix actually :D You can archive it (xz or 7z will reduce the size dramatically) and upload it to one of hundreds hosting sites like mega, pcloud, etc. :) Thank you in advance :)
@Dav1dde I managed to run the game so don't worry about the prefix. Thank you :)
@mozo78 was about to upload it, can you maybe provide me the steps and necessary files?
Actually it ran once and on the second start now I'm stuck with the black screen issue. I thought that you managed to run the game?
Nope, the error turned into:
Context: CreateObjectFromByteStream
Error details: The byte stream type of the given URL is unsupported.
After getting the necessary DLLs, see the linked Proton issue how to fix it, it should be the exact same issue.
I haven't this issue but the black screen when the movie starts at the beginning. I found the responsible file. It's tb_intro_logo_en_us but this doesn't help much...
I prepared wine prefix for those who want:
https://my.pcloud.com/publink/show?code=XZCHQM7ZPX2IgLPPXPVG3rIHPj2rzhGJglU7
Just extract the archive and put the preinstalled game in /prefix/drive_c/game/Thronebreaker/.
Do NOT delete the AppData folder and the other files in that directory. Just put the game among them.
Start the game from the "start" script. Use "desktop" for shortcut on the desktop. If you want to use the FPS feature of DXVK, use the files "fps" and "desktop-fps".
The prefix is tested with the GOG version of the game and it work perfect. Using NVIDIA 396.54.09 is mandatory due to Stream Output requirements of the game. For AMD use mesa-git.
@mozo78 that's awesome, can you give the steps you used in order to make it work / create the prefix? I want to know what else I needed to do or what I did wrong. Thanks!
Just use my prefix and don't bother. I'll must write a novel to explain. If you are curious, examine the start script. Everything is there :)
Write to them. DXVK has nothing to do with WMF :)
_(This workaround works with Resident Evil 7, and Resident Evil 2 Remake, but I am not sure if it will work with this game or any game else that requires MF)_
1- download this compressed file
python-installcab-master.zip
2- Extract it and open the terminal and write the following commands:
3- cd ~/Downloads/python-installcab-master/
4- winetrick mf and wait for it to finish.
5- export WINEPREFIX=/The/Location/Of/The/Game/Prefix (you need to change the bold text to the actual location of wine prefix of the game)
6- ./install-mf-64.sh to start the script.
7- Finally, you need to copy mfplat.dll version 12.0.7601.23471 (Windows7 64bit) to the game folder.
You can search for the file with: mfplat.dll version 12.0.7601.23471 windows 7 64 bit or copy the file from your Windows 7 SP1 operating system (_I can't upload the file because it is illegal_).
If you use Arch, or Manjaro, _skip step number 6_ and write these scripts instead:
python2 installcab.py ~/.cache/winetricks/win7sp1/windows6.1-KB976932-X64.exe mediafoundation
python2 installcab.py ~/.cache/winetricks/win7sp1/windows6.1-KB976932-X64.exe _mf
python2 installcab.py ~/.cache/winetricks/win7sp1/windows6.1-KB976932-X64.exe mfreadwrite
python2 installcab.py ~/.cache/winetricks/win7sp1/windows6.1-KB976932-X64.exe wmadmod
python2 installcab.py ~/.cache/winetricks/win7sp1/windows6.1-KB976932-X64.exe wmvdecod
If the game kept crashing after following these instructions, you probably did something wrong!
I prepared wine prefix for those who want:
https://my.pcloud.com/publink/show?code=XZCHQM7ZPX2IgLPPXPVG3rIHPj2rzhGJglU7
Just extract the archive and put the preinstalled game in /prefix/drive_c/game/Thronebreaker/.Do NOT delete the AppData folder and the other files in that directory. Just put the game among them.
Start the game from the "start" script. Use "desktop" for shortcut on the desktop. If you want to use the FPS feature of DXVK, use the files "fps" and "desktop-fps".
The prefix is tested with the GOG version of the game and it work perfect. Using NVIDIA 396.54.09 is mandatory due to Stream Output requirements of the game. For AMD use mesa-git.
It works so good with the game, but how can I adjust it for other games? And does this wine has Esync?
Yes but you always can replace it with newer version. It must be x64.
To adjust it for other games you just have to change the paths in the start script to the installer or the game, and to place the dxvk dlls in the new games folder.
Yes but you always can replace it with newer version. It must be x64.
To adjust it for other games you just have to change the paths in the start script to the installer or the game, and to place the dxvk dlls in the new games folder.
Oh! I found also a script that copy the save game to the the game directory. Thanks for your help.
The script is not working any more for Thronebreaker.
Using override for following DLLs: winegstreamer
Executing winetricks_early_wine regedit C:\windows\Temp\_disabled\override-dll.reg
./start: line 163: : command not found
./start: line 163: : command not found
regsvr32: Failed to load DLL 'msmpeg2adec.dll'
./start: line 184: : command not found
regsvr32: Failed to load DLL 'msmpeg2vdec.dll'
./start: line 184: : command not found
./start: line 190: : command not found
These errors are irrelevant and they was always there.
These errors are irrelevant and they was always there.
The videos don't work.
Did you try it with RE2 instructions?
Did you try it with RE2 instructions?
No, it doesn't work. It was working with your prefix then it stopped suddenly.
Try with this Wine version:
https://tinyurl.com/y8udmcue
Try with this Wine version:
https://tinyurl.com/y8udmcue
It is working again. Thanks.
You are welcome :)
It did the same thing again. I will just delete all the videos.
Oh, just reload until it starts. This game behaves like that and this is a known problem :)
3 reasons for me to not playing this game:
1- Using alt + tab makes the game freeze.
2- Xbox 360 has issues with some Unity games (this game is one of them).
3- Videos are not working.
I will try Gwent. Is it playable on Linux?
I don't know. For the Alt+Tab problem use a virtual desktop. Issue the following command in the root folder where is the start script:
./winetools -cfg
I don't know. For the Alt+Tab problem use a virtual desktop. Issue the following command in the root folder where is the start script:
./winetools -cfg
Virtual desktop doesn't help, the games still freezes when use alt+tab.
Deleting Thronebreaker.dxvk-cache from the game directory helps with the black screen at the beginning.
I used the workaround inside your prefix to be permanent in my main prefix. Importing registry keys fails but I did it manually using regedit.
Can't the cash be stopped with dxvk.useStateCache = False?
Can't the cash be stopped with
dxvk.useStateCache = False?
When it is first introduced dxvk.useStateCache = True was the way to turn it on, but I don't know if it can be used to turn it off. I don't need to turn it off completely.
My main problem is Xbox 360 behave strangely with some unity games, so I can't play this games with a controller.
@mozo78 @ahmed-elsayed2017
I just bought the game and realized it won't run out of the box. Now I'm looking for ways to make it run. You apparently made it work and shared your prefixes but the links don't exist anymore. Would it be possible to share them again? I'd really like to run this game without the workaround of deleting the campaign video folder.
I'll have to install mfplat. Google for z0z0z0. You can do it for seconds :)
If you're talking about the mf-install script, I tried doing that right after the installation but it didn't help with the blackscreen. By the way I used the Lutris script for the GOG version. I think it install mfplat by itself.
Thanks! Sorry if the questions seems stupid but what exactly should I do with this? I thought I'd need to move my game folder into the prefix' folder "drive_c/game" and then use the "start" script but that didn't work right. Anything else I need to do here?
Extract the prefix again and put the preinstalled GOG game in /drive_c/game/Thronebraker. DO NOT delete AppData, dxvk-on, d3d11.dll, and dxgi.dll. Then start from the start script, wait for Wine to configure itself and that's it.
Do you mean the one the lutris installer script produces or just download the files from GOG and install them with wine?
Lutris has nothing to do here. Just get the installed game files from Windows or install it via Wine. GOG installers are working fine with Wine for a long time ago. After the installation get the game files and put them in /drive_c/game/Thronebraker.
Thank you for your help. Sadly the start script threw an error and I still get the black screen problem when trying to play the game :-/
Wthat error?
Here's a video of mine with the same script:
https://www.youtube.com/watch?v=5t02EfSRseE
Yes, some time the game hangs on loading screen but it's pretty playable.
Okay, I fixed it myself. The "ulimit -n" command in the beginning exceeded a hard limit and I suppose this broke the script. I set it to another value and it worked. Thanks again! I was beginning to think I'd be doomed to play the thing without video support :)
You'll have to rise ulimit in order to use ESync. It's easy:
https://github.com/zfigura/wine/blob/esync/README.esync
Most helpful comment
Instructions for some games requires MF:
_(This workaround works with Resident Evil 7, and Resident Evil 2 Remake, but I am not sure if it will work with this game or any game else that requires MF)_
1- download this compressed file
python-installcab-master.zip
2- Extract it and open the terminal and write the following commands:
3-
cd ~/Downloads/python-installcab-master/4-
winetrick mfand wait for it to finish.5-
export WINEPREFIX=/The/Location/Of/The/Game/Prefix (you need to change the bold text to the actual location of wine prefix of the game)6-
./install-mf-64.shto start the script.7- Finally, you need to copy mfplat.dll version
12.0.7601.23471(Windows7 64bit) to the game folder.You can search for the file with: mfplat.dll version 12.0.7601.23471 windows 7 64 bit or copy the file from your Windows 7 SP1 operating system (_I can't upload the file because it is illegal_).
If you use Arch, or Manjaro, _skip step number 6_ and write these scripts instead:
python2 installcab.py ~/.cache/winetricks/win7sp1/windows6.1-KB976932-X64.exe mediafoundationpython2 installcab.py ~/.cache/winetricks/win7sp1/windows6.1-KB976932-X64.exe _mfpython2 installcab.py ~/.cache/winetricks/win7sp1/windows6.1-KB976932-X64.exe mfreadwritepython2 installcab.py ~/.cache/winetricks/win7sp1/windows6.1-KB976932-X64.exe wmadmodpython2 installcab.py ~/.cache/winetricks/win7sp1/windows6.1-KB976932-X64.exe wmvdecodIf the game kept crashing after following these instructions, you probably did something wrong!