Proton icon indicating copy to clipboard operation
Proton copied to clipboard

Disgaea 5 Complete (803600)

Open ghost opened this issue 8 years ago • 29 comments

Compatibility Report

  • Name of the game with compatibility issues: Disgaea 5 Complete
  • Steam AppID of the game:803600

System Information

  • GPU: GTX 1080
  • Driver/LLVM version: NVIDIA 410.66
  • Kernel version: 4.18.16-1
  • Link to full system information report as Gist:https://gist.github.com/Inotamira/7d39b0798b8b6ee9f4189ed3da69adf8
  • Proton version:3.16-3

I confirm:

  • [x] that I haven't found an existing compatibility report for this game.
  • [x] that I have checked whether there are updates for my system available.

steam-803600.log

Symptoms

The game either get's stuck on the opening screen with nothing but the cursor displayed, or, if Direct X 11 is used via proton command, the game will crash instantly and give the error shown in the pastebin here https://pastebin.com/fkAAzgJC . It seems to be an issue with the way the mfplat is implemented into both WINE and Proton.

Reproduction

Run the game without any special commands, or with DX11 forced via proton variable.

ghost avatar Oct 22 '18 17:10 ghost

Looks like a MediaFoundation issue, again :/

cybik avatar Oct 25 '18 04:10 cybik

Looks like a MediaFoundation issue, again :/

Yep, and I have NO idea how to solve it, if it's something that can even be solved without a complete rework of WINE

ghost avatar Oct 25 '18 11:10 ghost

First they should actually get a base implementation of Windows Media Foundation, to be honest. That'd unlock a couple of new games, like #1240 // FighterZ

cybik avatar Oct 27 '18 15:10 cybik

I had a look at this bug since I wanted to play the game and it's usually quite easy to fix unimplemented function errors. But I got a completely different error, in both wine and proton:

https://pastebin.com/Q3wJJX29

I assumed that with "if Direct X 11 is used via proton command" you meant you just used PROTON_USE_WINED3D=1. However, this is not quite true. Instead of doing this (which gives the above error) you used wine-staging, which apparently fixes the bug I got, and gets a little further. At that point you run into the missing mfplat function. I'll now have a look if I can fix that.

It might be, however, that the screen will still be black due to missing d3d11 functionality (I get a huge amount of d3d11 fixmes). So it might be worthwhile to report the initial error (in DXVK) in the mean time at https://github.com/doitsujin/dxvk/issues

Sbte avatar Oct 27 '18 16:10 Sbte

Ok, I got around all of the mfplat issues at startup (it now just skips the video it is trying to play), and now have music playing in the background. I still have a black screen, however, but many Windows users seem to be experiencing this as well. Hopefully the black screen issue is the same as for the Windows users. Or else maybe DXVK can solve this.

I'll try to submit some mfplat patches to Wine.

@cybik I think you have no idea how much work that is. I needed about 2000 lines for the few functions this game needs. Also, Wine has a policy of not implementing methods if they are not used by any application that they know of.

Sbte avatar Oct 28 '18 12:10 Sbte

Ok, I got around all of the mfplat issues at startup (it now just skips the video it is trying to play), and now have music playing in the background. I still have a black screen, however, but many Windows users seem to be experiencing this as well. Hopefully the black screen issue is the same as for the Windows users. Or else maybe DXVK can solve this.

I'll try to submit some mfplat patches to Wine.

@cybik I think you have no idea how much work that is. I needed about 2000 lines for the few functions this game needs. Also, Wine has a policy of not implementing methods if they are not used by any application that they know of.

No, I keep trying to find the command I found, but there's a specific set of commands specifically for DXVK within proton that force the mode that's used. The command in question forced DX11 mode for DXVK. It was something like PROTON_DXVK_USE_DX11=1 or something like that, but this was a command I found in the forums for the demo, which are gone now.

ghost avatar Oct 29 '18 04:10 ghost

It is something they added after the first demo, which is a pain. The original first demo loads 100% fine. There were some graphics issues (looked like z fighting) but it was 100% operational. image

DerSandmann-Badcode avatar Oct 29 '18 07:10 DerSandmann-Badcode

@Inotamira In your log it says at the bottom:

System information:
    Wine build: wine-3.17 (Staging)

The latest version of wine that proton uses is 3.16 without staging. Did you compile proton by yourself with a different version of wine or something?

@DerSandmann-Badcode Do you know where I could find this demo?

Sbte avatar Oct 29 '18 09:10 Sbte

I'm using the beta versions of proton within steam itself as I'm a steam beta tester. I have the old demo, if you have some way for me to get it to you I can.

ghost avatar Oct 29 '18 09:10 ghost

@Inotamira In your log it says at the bottom:

System information:
    Wine build: wine-3.17 (Staging)

The latest version of wine that proton uses is 3.16 without staging. Did you compile proton by yourself with a different version of wine or something?

@DerSandmann-Badcode Do you know where I could find this demo?

I had it from their first demo (Six months ago now?) - I saved the files when I heard wind of them cancelling the release. I'm curious what has changed since then and now - I'll try digging a little deeper.

DerSandmann-Badcode avatar Oct 30 '18 06:10 DerSandmann-Badcode

@Inotamira In your log it says at the bottom:

System information:
    Wine build: wine-3.17 (Staging)

The latest version of wine that proton uses is 3.16 without staging. Did you compile proton by yourself with a different version of wine or something? @DerSandmann-Badcode Do you know where I could find this demo?

I had it from their first demo (Six months ago now?) - I saved the files when I heard wind of them cancelling the release. I'm curious what has changed since then and now - I'll try digging a little deeper.

I think they completely swapped out the rendering methods from what I can tell, they initially used something more open source. Though I'm not sure what specifically, mfplat wasn't used at all, but that had a few stability issues, and it looks like the whole effort was simply to switch it over to simply using mfplat for all the media based functions.

ghost avatar Oct 30 '18 08:10 ghost

A possible fix for the game: https://github.com/doitsujin/dxvk/issues/728#issuecomment-459839962

Ahmed-E-86 avatar Feb 01 '19 19:02 Ahmed-E-86

I already fixed all mfplat related crashes. The issue now is that it only shows a black screen, which is most likely d3d11 related. It works with neither wine, wine-staging or dxvk.

Sbte avatar Feb 01 '19 19:02 Sbte

They now also added a DirectShow backend for the movies, so mfplat is no longer required. See

https://steamcommunity.com/app/803600/discussions/0/1776010325109084908/

The screen is still black after the intro movie though.

Sbte avatar Feb 05 '19 18:02 Sbte

As of the time of writing, installing d3dcompiler_47 through the latest winetricks makes the game work. Damn near flawless too, but the intro video doesn't play.

Dagmatto avatar Mar 24 '19 22:03 Dagmatto

Thanks for the information. You can fix the videos by setting

MovieType=1

in

c:/users/[name]/Application Data/Nippon Ichi Software, Inc/Disgaea 5 Complete/[#]/config.ini

as per

https://steamcommunity.com/app/803600/discussions/0/1776010325109084908/

Edit: I just checked and the videos do seem to work in wine, but not in Proton.

Sbte avatar Mar 24 '19 22:03 Sbte

@Sbte is there any workarounds for now to make the videos work?

DuloT34 avatar Apr 13 '19 12:04 DuloT34

Not that I know of. It is weird that it works in wine with DirectShow, but not in Proton though. However, Nikolay Sivov is working on implementing MF in wine at the moment, so it might be that in future versions of Proton, videos just start working with the MF backend.

There's only one movie in the Data folder by the way, which is the intro movie, so if you want to watch it, you can just watch it manually as well. I don't think movies affect gameplay at all.

Sbte avatar Apr 15 '19 17:04 Sbte

@Sbte Oh, thank you for the info. I was thinking there are a lot more movies and I will miss out on the plot until this problem is fixed.

DuloT34 avatar Apr 15 '19 18:04 DuloT34

works pretty flawlessly in the latest proton

DerSandmann-Badcode avatar Jul 01 '19 08:07 DerSandmann-Badcode