protonscr

The Legend of Heroes: Trails of Cold Steel II

protonopen appid 748490Game compatibility - UnofficialXAudio2.NET
ValveSoftware/Proton#2134 · opened 2018-12-24 by enimog · updated 2022-02-23 · 10 comments · github · game page · search this game
1 matching comments, n / p to jump
Eenimog 2018-12-24 github

Compatibility Report

  • Name of the game with compatibility issues: The Legend of Heroes: Trails of Cold Steel II
  • Steam AppID of the game: 748490

System Information

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.

Symptoms

The following issues apply for both The Legend of Heroes: Trails of Cold Steel and The Legend of Heroes: Trails of Cold Steel II:

  • When installing the game from the steam launcher, it tries to install MS .NET 4.0 (for cold steel I) / .NET 4.7 (for cold steel II). This break the game and make them unable to launch. In fact you get the same error as reported here : https://github.com/ValveSoftware/Proton/issues/1048 . To launch the game, you have to use wine-mono
  • The intro video is not displayed (the sound plays but the video is a black screen). This is a case of a missing video codec. Installing k-lite codec pack MEGA in the prefix and disabling winegstreamer fix the issue for me.

The following issues apply for The Legend of Heroes: Trails of Cold Steel II only:

  • It need protontricks 748490 quartz to start without crashing
  • When starting a new game, the player is asked to load a save from the previous game (The Legend of Heroes: Trails of Cold Steel). The game cannot find the save as the save path is not shared between prefixes. The location of the game saves are inside steamapps/compatdata/748490/pfx/drive_c/users/steamuser/Saved Games/Falcom/... .This could be fixed by making the 'Saved Games' folder a symlink to a folder inside the home folder in the same way as wine does for desktop/my documents/my music/etc.

Once these issues have been addressed, it will be possible to mark this series as platinum on protondb as both games work perfectly from the start to the end if they manage to start.

Reproduction

Try to launch the game after downloading it from the steam app.

Kkisak-valve maintainer 2019-05-12 github

The Legend of Heroes: Trails of Cold Steel II (748490)

Issue transferred from https://github.com/ValveSoftware/Proton/issues/2677.
@goldhawlk posted on 2019-05-12T13:55:54:

Whitelist Request

  • Name of the game to be whitelisted: The Legend of Heroes: Trails of Cold Steel II
  • Steam AppID of the game: 748490

System Information

I confirm:

  • [x] that pressing the Play button in the Steam client is sufficient.
  • [ ] that runtime config options are necessary to run the game.
  • [ ] that no workarounds other than PROTON_* env variables are necessary.

Issues

  • [x] I haven't experienced any issues.
  • [x] There are no issues left open for this game.
  • [ ] Although I consider the gaming experience equal to Windows there are remaining issues:
Kkisak-valve maintainer 2019-05-12 github

Hello @enimog, can you check if this game (Cold Steel II) has any issues with Proton 4.2-3 that would block it from being whitelisted?

Eenimog 2019-05-12 github

Tested with a clean prefix (I deleted the old one) and Proton 4.2-3, here are the result I get:

  • The configuration tool that comes with the game start properly and I can edit settings no problem.
  • With the default configuration, I see some wierd glitch when the opening video start, might be an issue with my system or maybe not... VLC is saying the codec used for the intro video is "DivX MPEG-4 Video (DX50)". Is that supported by proton right now? the sound is playing in the background properly and if I hit any key the game skip the intro video and goes to the main menu. From there, I am able to load one of my saves and play the game normally. By normally I mean that everything is working as expected. Using the configuration tool I can disable all videos from playing and this way I don't see any wierd stuff.
RRAMChYLD 2021-09-08 github

With the latest version of proton experimental video is not playing and installing xvid does not resolve the issue anymore. Now it shows a test pattern with a counter and static.

Zzany130 2022-01-05 github

unplayable on recent versions of proton constantly crashes and audio randomly breaks after a few hours of play ( audio stops playing then the game crashes when it goes to load a new scene)
steam-Trails of Cold Steel II.log

Zzany130 2022-01-27 github

still getting this issue thought I would post a newer proton log and sys info since I forgot to for my previous post

Zzany130 2022-02-22 github

if anyone runs into this issue on Linux I fixed it by disabling the audio patches in senpatcher. Game works flawlessly (including videos) now on proton 7.0-1

Rrvalles 2022-02-23 github

if anyone runs into this issue on Linux I fixed it by disabling the audio patches in senpatcher.

That's the first thing I tried. No dice.

Audio issue will happen a lot or not at all depending on the area, which is what I suspect you're experiencing.

Zzany130 2022-02-23 github

yeah may have prematurely called it fixed by disabling the audio patches in senpatcher got it to happen again with no patches.
seems really busy area's with a lot of different sound sources ( like in front of barahard cathedral where there sfx from the water fountain and the npc footsteps from walking around) is more likely to trigger the bug. and causes warn:seh:OutputDebugStringA "Command buffer maxed out so refused execution of command: 63504 / 65536 bytes\n" to appear in the proton log at the same time the audio loss happens which AdmiralCurtiss from senpatcher mentioned might be related

AAdmiralCurtiss 2022-02-23 github

To clarify, that message is from CS2 itself, not Proton or XAudio2. As far as I understand from reverse-engineering anyway, the way the audio logic in CS2 works is that there's a command ringbuffer that the main thread pushes commands into (play SFX, play voice, switch BGM, etc.), and a separate audio thread then processes these into actual XAudio2 calls.

The log message is repeated a lot after the bug triggers, with the same amount of bytes every time, which leads me to believe that the audio thread either dies or deadlocks on Proton and thus no new commands are processed and removed from the buffer anymore, and the main thread stops pushing new ones because the ringbuffer is full, printing the message in the process.

Proton versions

Upstream links