ValveSoftware / Proton

Compatibility tool for Steam Play based on Wine and additional components
Other
23.36k stars 1.02k forks source link

Dead End Aegis (1835830) and Dead End Aegis: Gaiden (1839960) #6082

Open fallenguru opened 1 year ago

fallenguru commented 1 year ago

Compatibility Report

Dead End Aegis (1835830) / Dead End Aegis Gaiden (1839960) – English versions

The first is the main game, the second is a prequel side story. They both use exactly the same engine (only with different assets), which is why I grouped them into one report. That, and DEA Gaiden, being free and SFW, is much easier to test.

System Information

I confirm:

steam-1839960.log

Symptoms

The text rendering is broken. The text is too large, so it gets slightly cut off at the top and massively to the right. It doesn't remotely fit the textbox and is therefore completely unplayable. If you look at screenshots (Steam store page, for example), the font is wrong to begin with.

Screenshot [taken with Proton 7.03]:

DEA Gaiden text rendering issue

That's despite the fact that it ships with the font (Neuton.ttf). I tried adding it to the fontconfig path for good measure. Fontconfig can see it and I can use it just fine, but as for the game, no dice. Hypothesis: Something in the way the font is requested causes the font selection process to disqualify it and fall through to an incompatible fallback.

The issue does not seem to be system-dependent, I've had it on multiple systems, there are matching ProtonDB entries (main game, Gaiden), and at least one report on Reddit.

Reproduction

Start game, start new game. If desired, click to advance. Notice that all the lines are cut off (most are much longer than what's shown).

juliodion12345 commented 1 year ago

Screenshot_20220809_194039

I also noted that the sample text in the Settings -> Screen/Text is cut

The complete text is this one: Please set text speed to the speed of your choosing.

fallenguru commented 1 year ago

Makes sense. It's just a sample textbox so you can see immediately what the settings (speed, opacity) do. Might be even quicker to enter settings than start a new game to test, though. Good find.

fallenguru commented 1 year ago

Adding a DLL override for d2d1.dll (so it uses the one it ships with) fixes the font issue.

Can this tweak be preconfigured Proton-side, either by Valve or by the developer?

juliodion12345 commented 1 year ago

Adding a DLL override for d2d1.dll (so it uses the one it ships with) fixes the font issue.

Can this tweak be preconfigured Proton-side, either by Valve or by the developer?

I can confirm that this works

Screenshot_20220905_230039

Saetron commented 1 year ago

Adding a DLL override for d2d1.dll (so it uses the one it ships with) fixes the font issue.

Can this tweak be preconfigured Proton-side, either by Valve or by the developer?

Can confirm that adding d2d1 with winecfg fixes this issue for DEA: Gaiden and DEA

MrMPN commented 1 year ago

While the fix does work, it seems to me that there's still somewhat of a problem. The font looks correct now, but it still kinda goes a bit beyond the area it should be. You can only see it on long sentences. It's not unreadable as it does not go past the screen, but it is inconvenient.

It feels like the area the text fits into is "read" incorrectly if that makes sense, so maybe it's something related to the visual novel engine.

Saetron commented 1 year ago

While the fix does work, it seems to me that there's still somewhat of a problem. The font looks correct now, but it still kinda goes a bit beyond the area it should be. You can only see it on long sentences. It's not unreadable as it does not go past the screen, but it is inconvenient.

It feels like the area the text fits into is "read" incorrectly if that makes sense, so maybe it's something related to the visual novel engine.

I just checked Sadistic Blood (same engine, same issue and same fix) and it looks like that text overflow is also present on Windows, so its an issue with the engine, nothing with proton.