Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yakuza 5 Remastered (1105510) #4625

Open
2 tasks done
t1764722 opened this issue Feb 17, 2021 · 52 comments · May be fixed by ValveSoftware/wine#205
Open
2 tasks done

Yakuza 5 Remastered (1105510) #4625

t1764722 opened this issue Feb 17, 2021 · 52 comments · May be fixed by ValveSoftware/wine#205
Labels
Game compatibility - Unofficial Games not expected to work without issues overlay Steam overlay is involved

Comments

@t1764722
Copy link

t1764722 commented Feb 17, 2021

Compatibility Report

  • Name of the game with compatibility issues: Yakuza 5 Remastered
  • Steam AppID of the game: 1105510

System Information

  • GPU: GTX 1070
  • Driver/LLVM version: nvidia 455.50.07
  • Kernel version: 5.10.16
  • Link to full system information report as Gist:
  • Proton version: 5.13-6

I confirm:

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

steam-1105510.log

Symptoms

Game crashes when attempting to load 2 specific pre-rendered cutscenes. The intro (advertise.usm) and a cutscene at the end of Part 2 / Saejima Chapter 4 (b2300.usm) both located in main/data/mvstm.

This can be worked around by overwriting both files with known working usm files and the game is playable from start to finish bar these 2 files. There's also an issue with cutscenes playing audio from different cutscenes but that appears to be affecting some Windows users as well.

Reproduction

Click play on Steam. 4 splash screens will appear (sega/RGG/QLOC/gamepad) and the game will crash when attempting to play the intro video (advertise.usm).

@kisak-valve kisak-valve added the Game compatibility - Unofficial Games not expected to work without issues label Feb 17, 2021
@kisak-valve
Copy link
Member

Hello @t1764722, fixme:gstreamer:DllGetClassObject {62ce7e72-4c71-4d20-b15d-452831a87d9d} not implemented, returning CLASS_E_CLASSNOTAVAILABLE. looks like a line of interest from the log.

@trenton4k
Copy link

trenton4k commented Feb 20, 2021

have look at this other have got it to work <Link removed by moderator>

@kisak-valve
Copy link
Member

Hello @trenton4k, the link you've posted contains instructions telling other players to use a legally problematic workaround and has been removed.

@t1764722
Copy link
Author

t1764722 commented Mar 5, 2021

There's one final bug that prevents 100% completion. Catching a salmon when fishing in the hunting village causes the game to soft lock. When catching a fish, a dialog box appears saying "you caught a x" and a model of the fish rotates above the text. When catching a salmon, the rotating model fails to appear so the game doesn't allow you to close the dialog box. The game is still running as snow continues to fall in the background. No choice but to alt+f4. None of the other 33 fish cause this issue. Tested with 5.13-6, experimental, tkg 6.3r8 and latest GE. Unable to reproduce in Windows.

Screenshot

Screenshot from 2021-03-03 21-27-35

Edit: Forgot to include log. Sorry.

steam-1105510 (another copy).log

@PolyCement
Copy link

I also encountered this issue, except it happened after catching "pond turtle" while fishing in the pond in Kineicho. Using Proton Experimental.

Screenshot

20210307063925_1

steam-1105510.log

@t1764722
Copy link
Author

t1764722 commented Mar 7, 2021

Interesting. I was able to catch the pond turtle in the hunting village and the fishing spot underground just before Purgatory just fine so it seems to effect certain fish but only at certain locations. I've been able to consistently reproduce the problem with the salmon as the hunting village is the only place it can be caught AFAIK. I tried replacing the salmon mesh with other fish mesh but same result.

@PolyCement
Copy link

PolyCement commented Mar 9, 2021

Just encountered the same "missing pond turtle" problem fishing in Sotenbori. I also encountered an instance of an NPC using the wrong model which might be related - a construction worker in Kineicho was using Morinaga's model, but since I didn't realise it was actually a bug until a cutscene revealed the character was meant to be a construction worker, I sadly don't have a log or screenshot for that.

Screenshot of another missing pond turtle

20210309174247_1

steam-1105510.log

EDIT: I tried the spot before Purgatory and hit the same bug once again so I guess it's just affecting different fish for each of us. I did at least find a way out of the softlock - hitting select will allow you to quit out (but the invisible fish won't count as caught, sadly).

@yoyossef
Copy link

Wrong audio files are played with some cutscenes, it's really weird.

@Hunk4TH
Copy link

Hunk4TH commented Apr 23, 2021

I just get a black screen when using any Proton version. Sometimes it'll show a "now loading text" at the bottom that I've never seen before. Anyone ever get this game working?

@shinjiku01
Copy link

I am also having this problem game crashes after the first logos.

@shinjiku01
Copy link

shinjiku01 commented May 7, 2021

I used 5.6.5 and <Workaround removed by moderator> and now everything works fine regards.

@kisak-valve
Copy link
Member

Hello @shinjiku01, the workaround you mentioned is legally problematic and has been removed.

@Hunk4TH
Copy link

Hunk4TH commented Jun 21, 2021

Anyone have any luck without having to replace the cutscenes?

@AniLeo
Copy link

AniLeo commented Aug 13, 2021

Cutscenes issue still happens, it's because they use Media Foundation. We need to wait for better support from Wine/Proton.

Using the workaround that can't be mentioned doesn't work on Proton 6.3 as well, only on Proton 5.13, and even then some cutscenes play audio from other cutscenes.

I played through the whole game and finished it yesterday. Watched the broken video cutscenes on YouTube. This is the only major issue left on this game for it to become fully playable. Game runs like a charm otherwise.

@kattjevfel
Copy link

kattjevfel commented Aug 21, 2021

Aside from the wrong audio being played there's also the issue of the game softlocking when fishing and you catch a turtle. I've lost several hours of gameplay due to this bug, will try to capture it in a log soon.

Took 3 tries (as always happens when debugging), as in I had to completely reload my save etc to retry getting a turtle, so the log is quite beefy, but I did get a turtle in the end, softlocking the game.
steam-1105510.log
Screenshot

@farukr1
Copy link

farukr1 commented May 4, 2022

Cutscenes play the wrong audio (from other cutscenes) which make it very difficult to follow the story. Otherwise, didn't face any performance issues or game breaking bugs.

Edit: I'd like to add that to get past the intro cinematic Proton-GE or Media Foundation workaround is required.

steam-1105510.log

@jorgemartiinez
Copy link

I can confirm that the problem with the audio on the cutscenes is still hapenning :( I don't know if there is a solution for this issue

@kisak-valve
Copy link
Member

New Big Picture mode conflicts with Yakuza 5

Issue transferred from ValveSoftware/steam-for-linux#9181.
@DanMan posted on 2023-02-05T22:57:00:

Your system information

  • Steam client version (build number or date):
  • Distribution (e.g. Ubuntu): Fedora 36 w/X11 and Nvidia
  • Opted into Steam client beta?: Yes
  • Have you checked for system updates?: Yes

Please describe your issue in as much detail as possible:

If I bring up the overlay while in the game just once, the next time the game loads a new level or room, the whole game freezes. Screen stays black, all I can do is quit with Alt+F4. Doesn't happen, if I never bring up the new BP GUI.

If I do anything but return to the game from the BP GUI, chances are high it'll just switch to an otherwise empty screen apart from the bottom menu row. I can hear menu sounds but nothing changes visually. Can only exit out via Alt+F4. Usually it'll drop to desktop - apparently - but the BP process is still there, invisible, often grabbing inputs.

Steam then keeps launching into an invisible BP mode until I reboot.

Steps for reproducing this issue:

  1. Be in the game world, playing normally
  2. Bring up the new Steam BP overlay (via gamepad? haven't tried KB) then return to the game
  3. Cause the game to load a new room or something so it would bring up the loading screen

@a1batross
Copy link

On Proton Experimental and GE-Proton7-49 game doesn't crash but wrong audio track is played on prerendered cutscenes.

@bodziek666
Copy link

On Proton Experimental and GE-Proton7-49 game doesn't crash but wrong audio track is played on prerendered cutscenes.

Happened to me as well on:

  • Proton 8.0-3
  • GE 8.11
  • GE 8.6

It's all right until the Night Club cutscene. Afterwards every cutscene is played with the wrong audio track. Otherwise the game seems to run great on Steam Deck.

@a1batross
Copy link

a1batross commented Aug 26, 2023

I (maybe) FIGURED THIS OUT. In short: Cutscenes audio bug has something to do with game path.

So I downloaded this game on my PC to an external Steam Library mounted in /home/a1ba/.../SteamLibrary, ran it, and suddenly the first cutscene where Daigo takes a taxi had a valid audio track.

I immediately took my Steam Deck, ran the game, it had the bug. Then I just moved the game from SSD to an external SD card, which is mounted by Steam in /run/media/UUID/SteamLibrary, ran the game and the bug has disappeared. I haven't played this game any further for now, just adding a note here for everyone to see.

Some technical details:

  • The external library on my PC has btrfs filesystem, and the Steam Deck created ext4 on the SD card
  • On PC I used Proton 8.0-3, on Steam Deck I used GE-Proton8-13.
  • My PC runs Ubuntu 23.04 instead of a proper Linux distro, has Ryzen 2600X CPU and GTX 1070 as GPU. Steam Deck has pretty vanilla Steam OS.

@punkboat
Copy link

I (maybe) FIGURED THIS OUT. In short: Cutscenes audio bug has something to do with game path.

This is consistent with the issue I've experienced, however playing from the SD card or the SSD still doesn't reliably fix this issue. I noticed the first cutscene (where Daigo takes the taxi) is no longer affected, however in a later cutscene featuring Mayumi (I don't recall the exact point but I'm happy to dig up and send a save file I was using to test this if it helps) the bug happens reliably, regardless of path, at least on my system.

I do think you're on the right lines though, but I wasn't able to narrow down exactly what causes it. Path lengths even? If memory serves they're all stored within one or more .pak files but there's definitely some logic to it. I recall having other issues even on Windows when using StableBit DrivePool (though not this specific one), so this game does appear to be more sensitive to disk IO than others.

@kisak-valve
Copy link
Member

If path length is a factor, then it might be interesting reproduce that issue, then try the same scene with the game's launch options set to PROTON_SET_GAME_DRIVE=1 %command% and see if that has any effect.

@punkboat
Copy link

punkboat commented Aug 26, 2023

Fired up the game for a first time in a while to test this. Unfortunately this doesn't solve the issue - will test with different storage shortly however as I did notice a correlation with this in the past.

I had previously assumed that the cutscenes were in USM format - I was wrong. There are USM cutscenes, and these play without issue. The ones that cause issues are instead comprised of two files - a par file with the animation data, and a HCA file (these are stored in main\data\strmen) , and it seems for some reason on Linux it loads the wrong HCA file.

I'd love to work out what's causing this, seems like an utterly bizarre issue. I'm not familiar with the debugging tools one would use on Linux so not quite sure where it's tripping up unfortunately.

@DanMan
Copy link

DanMan commented Aug 26, 2023

the Steam Deck created ext4 on the SD card

Is it case-sensitive or not?

@a1batross
Copy link

Yeah, it fixed some cutscenes, but others are still broken. Well, it's better than nothing.

@DanMan yes, it has case-folding enabled.

@bodziek666
Copy link

@a1batross You're onto something sir! Here's why:

I installed Yakuza 5 on SD Card from the start which explains why the Daigo cutscene worked as intended.
I made some progress in the game and some cutscenes worked while others did not. This is weird and I'd like to help however I can to resolve this issue.

Notable examples:

  • cutscene inside the Host Club did not work (played wrong audio, ended prematurely)
  • cutscene when Kiryuu comes back home played with wrong audio
  • cutscene with Yakuza members approaching Kiryuu after he's done with work played properly
  • another cutscene with these Yakuza members did not play properly

@punkboat have you tried another storage solutions yet? how did it go?

@a1batross
Copy link

@bodzioslav I also tried further decreasing the length of full path, but it didn't help anywhere. Maybe I did something wrong, but I'm not sure if it's just about path length.

By the way, the game is still bugged. After I switch to another window (of another application) in gamescope mode on Deck, Yakuza game window resizes to a very small window. Can't reproduce right now, but mostly it happens during game startup, but also happened in game.

@bodziek666
Copy link

@a1batross I don't think it has anything to do with path length or case (btrfs is case insensitive, right?) - but I may be wrong on this.
As for me, the game runs good except for the cutscenes which breaks immersion. I am tempted to try using exfat and see what would happen.

@a1batross
Copy link

@bodzioslav btrfs isn't case-insensitive, only ext4 with special casefold flag. Even so, wine does a pretty good job at emulating case insensitivity anyway, just with worse performance compared to ext4 casefolding.

@bodziek666
Copy link

@a1batross Roger. Have you tried enabling debugging for proton to see what happens when the game reads the wrong audio track for cutscene?

@a1batross
Copy link

@bodzioslav Nothing suspicious, unfortunately. :(

@bodziek666
Copy link

@a1batross BTW: managed to play 8 hours in a row on Steam Deck (Proton 8.x - don't remember exactly which one now), goofing around, clearing side content, no crashes, smooth 60 fps experience. At this point the only disadvantage compared to windows are SOME cutscenes.

This time I will try to backup a save game preceding such cutscene so I will have something to play around with.

P.S If I feel like continue playing, I am watching the cutscenes on Youtube but it breaks immersion :(

@punkboat
Copy link

@a1batross BTW: managed to play 8 hours in a row on Steam Deck (Proton 8.x - don't remember exactly which one now), goofing around, clearing side content, no crashes, smooth 60 fps experience. At this point the only disadvantage compared to windows are SOME cutscenes.

This time I will try to backup a save game preceding such cutscene so I will have something to play around with.

P.S If I feel like continue playing, I am watching the cutscenes on Youtube but it breaks immersion :(

Let me know if you need a save game preceding such a cutscene - I do have one to hand that I made for this purpose but being busy with real life means I haven't tested much.

@a1batross
Copy link

@bodzioslav I'm actually stopped looking for broken cutscenes and just enjoying the game. Most of the cutscenes do work fine.

@bodziek666
Copy link

If path length is a factor, then it might be interesting reproduce that issue, then try the same scene with the game's launch options set to PROTON_SET_GAME_DRIVE=1 %command% and see if that has any effect.

Tried it just now, doesn't help. I think it rules out that the issue is related to path length.

@mellery
Copy link

mellery commented Sep 28, 2023

There is a bug in chapter 4 where Shinada is always wearing his baseball uniform

@dangerousdonut
Copy link

dangerousdonut commented Oct 25, 2023

Playing from the SD card on Steam Deck (using today's Proton Experimental), the "Settling Matters" cutscene from Part 1, Chapter 1 has the correct audio. When playing from internal storage, it plays the wrong audio. The launch option suggested above did not affect anything.

By the way, when you go into Memories from the main menu, you can replay any cutscene from the game to check which is or isn't broken. You don't need to make backup saves to watch them again.

@punkboat
Copy link

Playing from the SD card on Steam Deck (using today's Proton Experimental), the "Settling Matters" cutscene from Part 1, Chapter 1 has the correct audio. When playing from internal storage, it plays the wrong audio. The launch option suggested above did not affect anything.

It seems some here may have overlooekd it, but when you go into Memories from the main menu, you can replay any cutscene from the game to check which is or isn't broken.

This is consistent with my findings, though I did find that other cutscenes were still broken when playing from an SD card. I will investigate more when I have more free time.

@punkboat
Copy link

I saw someone on the ProtonDB site reported that moving the game to a drive using BTRFS fixed the cutscene bug issue.

I finally got around to testing this today and with some quick checking it does appear to have genuinely solved the issue for me - I haven't tested extensively however.

Can someone else check and confirm whether this resolved the issue for them?

@bodziek666
Copy link

I saw someone on the ProtonDB site reported that moving the game to a drive using BTRFS fixed the cutscene bug issue.

I finally got around to testing this today and with some quick checking it does appear to have genuinely solved the issue for me - I haven't tested extensively however.

Can someone else check and confirm whether this resolved the issue for them?

@a1batross said he used BTRFS and it didn't solve the issue for him. Dunno, I can at least try, I'd need to create a BTRFS partition first.

@Komoszek
Copy link

Komoszek commented Oct 30, 2023

For me Part 1, Chapter 1 cutscene Rules of a Taxi Driver always plays wrong audio (should be auth_a1020.hca but plays auth_d4010.hca instead), regardless of whether the games is on Steam Deck's internal storage or SD Card. I've even tested it on another device and the issue is still present. After some debugging I think it is because of hash collision in ntdll.dll. At some point audio filename is hashed to be valid a DOS name by hash_short_file_name (or some other equivalent function) which returns AUTH~SDT.HCA. Then this name is used when trying to find correct file by find_file_in_dir function. Unfortunately auth_d4010.hca returns the same hash as the correct file which means it gets mistaken for it and gets loaded instead.

@a1batross
Copy link

This is wild O_o

@bodziek666
Copy link

Whoa, that's a good one. Feels like the hashing doesn't work well on Wine then? On Windows this somehow works.

@a1batross
Copy link

I wonder if it should do DOS name comparison at all.

@bodziek666
Copy link

If they coded it, it probably does. What tempts me is to do dll override and see what would happen. If the issue is gone, then, you know, wine implementation would need some love. Unfortunately, I am not competent enough in that field :/.

@Komoszek
Copy link

I've tried to fix hash collision issue by simply extending available characters in hash and IT seems like it fixed the audio issues. I will do some further testing, maybe further improve hashing and try to have it "fixed" upstream.

@DanMan
Copy link

DanMan commented Nov 1, 2023

That sound more like something the Wine folks should hear about than Valve.

@Komoszek
Copy link

Komoszek commented Nov 1, 2023

For anyone interested https://gitlab.winehq.org/wine/wine/-/merge_requests/4244 (MR with changed hashing function to fix audio issues)

@AJuujarvi
Copy link

Part 1, Chapter 1 cutscene Rules of a Taxi Driver

@Komoszek Can you detail to me how to get to this cutscene or how far in I would have to play? I would like to take a look into this.

@a1batross
Copy link

@AJuujarvi it's right in the beginning. There are few consequent cutscenes, I think you only need to skip the first one.

There is a YouTube video with it: https://youtu.be/wCKesJa8KbA?t=390

@AJuujarvi
Copy link

@AJuujarvi it's right in the beginning. There are few consequent cutscenes, I think you only need to skip the first one.

There is a YouTube video with it: https://youtu.be/wCKesJa8KbA?t=390

Ahhh thank you! I didn't hit an issue when I was on Desktop, I guess there is a possibility this is Deck specific. I'll have to investigate that later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Game compatibility - Unofficial Games not expected to work without issues overlay Steam overlay is involved
Projects
None yet
Development

Successfully merging a pull request may close this issue.