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

Kingdom Hearts 1-5 + 2.5 doesn't work on Heroic #2

Closed
JakobDev opened this issue Jul 12, 2021 · 25 comments
Closed

Kingdom Hearts 1-5 + 2.5 doesn't work on Heroic #2

JakobDev opened this issue Jul 12, 2021 · 25 comments

Comments

@JakobDev
Copy link

I followed you How to to get KH 1.5+2.5 Remix working on Heroic but I still get a black screen at start. I don't know how to play Games from the Epic Store in Lutris. Any ideas?

@JakobDev JakobDev changed the title Kingdom Hearts 1-5 + 2.5 doesn#T work on Heroic Kingdom Hearts 1-5 + 2.5 doesn't work on Heroic Jul 12, 2021
@FlaareZero
Copy link
Owner

Strange. You're getting a black screen even after renaming the EPIC folder into EPIC.bak?

I can't sadly try out KH1.5+2.5 using Heroic, since I don't have it. Have you tried Lutris Wine as well?
Anyway, everything works great here, on my system, so it's either proton's fault, Wine's fault, or most probably Epic's

@JakobDev
Copy link
Author

I had tried renaming the EPIC folder to EPIC.bak. I use the latest Wine with Manjaro.
Screenshot_20210722_224704

@Yiannis128
Copy link

Use a different Proton version, for me the base menu launches fine on Manjaro but the games sadly launch, the loading screen is shown for 5 seconds and then they close and the base menu opens.

It works on Proton 6.3 for me.

Going to try wine lutris...

@JakobDev
Copy link
Author

With Proton 6.3 the I can get to the Game select screen. But the only Game which starts is re:coded. If I try to start any other Game I get back to the Game select menu after a few seconds black screen. And even in re:coded I can't get into a Game. I don't know how to launch Games from Heroic in Lutris. Here's my log:

[cli] INFO: Logging in...
[Core] INFO: Trying to re-use existing login session...
[cli] INFO: Checking for updates...
[Core] INFO: Getting authentication token...
[cli] INFO: Launching 68c214c58f694ae88c2dab6f209b43e4...
fsync: up and running.
wine: RLIMIT_NICE is <= 20, unable to use setpriority safely

(wine:31632): GStreamer-WARNING **: 14:03:33.894: Failed to load plugin '/home/jakob/.steam/steam/steamapps/common/Proton 6.3/dist/lib64/gstreamer-1.0/libgstjpeg.so': libjpeg.so.62: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden

(wine:31632): GStreamer-WARNING **: 14:03:33.894: Failed to load plugin '/home/jakob/.steam/steam/steamapps/common/Proton 6.3/dist/lib/gstreamer-1.0/libgstjpeg.so': /home/jakob/.steam/steam/steamapps/common/Proton 6.3/dist/lib/gstreamer-1.0/libgstjpeg.so: falsche ELF-Klasse: ELFCLASS32
Unable to read VR Path Registry from C:\users\steamuser\Local Settings\Application Data\openvr\openvrpaths.vrpath
Unable to read VR Path Registry from C:\users\steamuser\Local Settings\Application Data\openvr\openvrpaths.vrpath
Unable to read VR Path Registry from C:\users\steamuser\Local Settings\Application Data\openvr\openvrpaths.vrpath
Unable to read VR Path Registry from C:\users\steamuser\Local Settings\Application Data\openvr\openvrpaths.vrpath

(wine:31980): GStreamer-WARNING **: 14:04:15.664: Failed to load plugin '/home/jakob/.steam/steam/steamapps/common/Proton 6.3/dist/lib64/gstreamer-1.0/libgstjpeg.so': libjpeg.so.62: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden

(wine:31980): GStreamer-WARNING **: 14:04:15.664: Failed to load plugin '/home/jakob/.steam/steam/steamapps/common/Proton 6.3/dist/lib/gstreamer-1.0/libgstjpeg.so': /home/jakob/.steam/steam/steamapps/common/Proton 6.3/dist/lib/gstreamer-1.0/libgstjpeg.so: falsche ELF-Klasse: ELFCLASS32
Unable to read VR Path Registry from C:\users\steamuser\Local Settings\Application Data\openvr\openvrpaths.vrpath
Unable to read VR Path Registry from C:\users\steamuser\Local Settings\Application Data\openvr\openvrpaths.vrpath
Unable to read VR Path Registry from C:\users\steamuser\Local Settings\Application Data\openvr\openvrpaths.vrpath
Unable to read VR Path Registry from C:\users\steamuser\Local Settings\Application Data\openvr\openvrpaths.vrpath

@JakobDev
Copy link
Author

I had now tried Proton GE and Version 6.10 from Lutris (figured out how to install). Proton GE shows the same behaviour as Proton 6.3 and Lutris shows only a black screen at start like the normal wine.

@FlaareZero
Copy link
Owner

The issue is, that by selecting the game from the launcher settings, you're pretty much stuck. Instead, load the game directly from the .exe you want (for example, KH2 has its own .exe and so on)

Just like that, see if that sorts things out, I already know the launcher isn't working great on Wine on our side, since what It tries to do is switching between DX11 and DX12, but the game does, and good too!

@JakobDev
Copy link
Author

I tried to launch the games directly using legendary (basicly the console version of Heroic). To get the launch command I ran the following command:

legendary launch --wine="/home/jakob/.steam/steam/steamapps/common/Proton 6.3/dist/bin/wine" --wine-prefix="/home/jakob/.wine-kh/pfx" --game-folder="/run/media/jakob/Datenplatte/Heroic/" --dry-run 68c214c58f694ae88c2dab6f209b43e4

Which outputs me this command:

'/home/jakob/.steam/steam/steamapps/common/Proton 6.3/dist/bin/wine' '/run/media/jakob/Datenplatte/Heroic/KH_1.5_2.5/KINGDOM HEARTS HD 1.5+2.5 ReMIX.exe' -AUTH_LOGIN=unused -AUTH_PASSWORD=secret -AUTH_TYPE=exchangecode -epicapp=68c214c58f694ae88c2dab6f209b43e4 -epicenv=Prod -EpicPortal -epicusername=JakobDev -epicuserid=secret -epiclocale=de --game-folder=/run/media/jakob/Datenplatte/Heroic/

I tried it to run it for test reasons and I got the the game select screen like before. Knowing that is was working I replaced the exe in the command:

'/home/jakob/.steam/steam/steamapps/common/Proton 6.3/dist/bin/wine' '/run/media/jakob/Datenplatte/Heroic/KH_1.5_2.5/KINGDOM HEARTS FINAL MIX.exe' -AUTH_LOGIN=unused -AUTH_PASSWORD=secret -AUTH_TYPE=exchangecode -epicapp=68c214c58f694ae88c2dab6f209b43e4 -epicenv=Prod -EpicPortal -epicusername=JakobDev -epicuserid=secret -epiclocale=de --game-folder=/run/media/jakob/Datenplatte/Heroic/

but all I got was this error screen:
Screenshot_20210727_200001
It says that German that it can't create system data. The 2 buttons are quit and retry. No matter waht I click, the Game crashes after that. Same with the other KH Games.

@xlash123
Copy link

xlash123 commented Aug 2, 2021

I was able to get it working with the game selector menu (video and audio), but going into any games loops you back to the selector again. However, cutscene "games" work fine.
I was able to get this working from a clean install of Proton-6.14-GE-1. I didn't even need to use mf-install since it seems to have that patch included. I am running kernel 5.13.5-1-MANJARO.

Note: Nothing changes when renaming the EPIC folder.
Edit: Tried actually playing the cutscene "games", and it crashes if you don't rename the EPIC folder. Otherwise, it skips all cutscenes besides those in text.

@xlash123
Copy link

xlash123 commented Aug 2, 2021

I have discovered a workaround!
I knew from using the RePack version that the issue is largely that the custom launcher sucks under wine, but the games themselves run fine. So I figured if I could authenticate the game then it should work. That turned out to be true.

So, in order to play the official version, you need to have your game installed under Legendary. This is so we can retrieve a fresh login session.

First, decide what game you want to play. Then find the path to the binary that corresponds to that game. For this example, I will assume KH1, which for me has the path ~/legendary/KH_1.5_2.5/KINGDOM\ HEARTS\ FINAL\ MIX.exe.

Launch Heroic from the command line: heroic. Then in the GUI, launch KH1.5. In the output, copy the environment variables preceding the legendary command. It should look something like this:
__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia STEAM_COMPAT_CLIENT_INSTALL_PATH=/home/xlash/.steam/steam STEAM_COMPAT_DATA_PATH='/home/xlash/.wine_test'
Now separately copy what comes after --wrapper, not including --wrapper. This is the reference to the wine binary you're using to launch

Now, use this command to get the flags to authenticate your game: legendary launch --dry-run 68c214c58f694ae88c2dab6f209b43e4 (If for some reason the last part of the command is different for you, you may get the ID using legendary list-games). Copy the output starting from -AUTH_LOGIN=unused.

Finally, lets combine it all together. Put the environment variables at the start, then the wine command, then the KH binary, then the authentication flags. It should look something like this:
__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia STEAM_COMPAT_CLIENT_INSTALL_PATH=/home/xlash/.steam/steam STEAM_COMPAT_DATA_PATH='/home/xlash/.wine_test' /home/xlash/.steam/root/compatibilitytools.d/Proton-6.14-GE-1/proton run ~/legendary/KH_1.5_2.5/KINGDOM\ HEARTS\ FINAL\ MIX.exe -AUTH_LOGIN=unused -AUTH_PASSWORD=<redacted> -AUTH_TYPE=exchangecode -epicapp=68c214c58f694ae88c2dab6f209b43e4 -epicenv=Prod -EpicPortal -epicusername=<redacted> -epicuserid=<redacted> -epiclocale=en

If all goes well, you will launch directly into the game. Note that in order to play it again, you must redo the command legendary launch --dry-run 68c214c58f694ae88c2dab6f209b43e4 to get a new auth password. Everything else can stay the same.

Edit: This process will work for you if you are able to get the launcher menu working. Also, don't forget to rename your EPIC folder or else the game will crash upon loading the intro movie.

Edit 2: I've created a shell script that will automate running the game AFTER you edit in some of the stuff I stated earlier. The script is in this gist.

@xlash123
Copy link

xlash123 commented Aug 3, 2021

I'm trying this on my laptop, which has an older Intel i7 Haswell CPU, and I'm having issues (also running 5.13.5-1-MANJARO). My desktop has a NVIDIA 1050TI, so maybe that's why it was more willing to run. The issue is the window never opens. I can see the icon for the game briefly in my taskbar, but then it quickly disappears.

I've tried mk-install and manually installing dxvk-1.9.

Edit: Probably because my integrated graphics doesn't support Vulkan, as hinted by https://github.com/lutris/docs/blob/master/InstallingDrivers.md

@FlaareZero
Copy link
Owner

FlaareZero commented Aug 3, 2021

I'm trying this on my laptop, which has an older Intel i7 Haswell CPU, and I'm having issues (also running 5.13.5-1-MANJARO). My desktop has a NVIDIA 1050TI, so maybe that's why it was more willing to run. The issue is the window never opens. I can see the icon for the game briefly in my taskbar, but then it quickly disappears.

I've tried mk-install and manually installing dxvk-1.9.

Edit: Probably because my integrated graphics doesn't support Vulkan, as hinted by https://github.com/lutris/docs/blob/master/InstallingDrivers.md

Yeah, sadly Vulkan isn't supported by older iGPU (see here for a proper example).You may wanna try and buy an external dGPU, which may or may not work, or a newer pc. Try the external GPU first, just in case.

I have discovered a workaround!
I knew from using the RePack version that the issue is largely that the custom launcher sucks under wine, but the games themselves run fine. So I figured if I could authenticate the game then it should work. That turned out to be true.

So, in order to play the official version, you need to have your game installed under Legendary. This is so we can retrieve a fresh login session.

First, decide what game you want to play. Then find the path to the binary that corresponds to that game. For this example, I will assume KH1, which for me has the path ~/legendary/KH_1.5_2.5/KINGDOM\ HEARTS\ FINAL\ MIX.exe.

Launch Heroic from the command line: heroic. Then in the GUI, launch KH1.5. In the output, copy the environment variables preceding the legendary command. It should look something like this:
__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia STEAM_COMPAT_CLIENT_INSTALL_PATH=/home/xlash/.steam/steam STEAM_COMPAT_DATA_PATH='/home/xlash/.wine_test'
Now separately copy what comes after --wrapper, not including --wrapper. This is the reference to the wine binary you're using to launch

Now, use this command to get the flags to authenticate your game: legendary launch --dry-run 68c214c58f694ae88c2dab6f209b43e4 (If for some reason the last part of the command is different for you, you may get the ID using legendary list-games). Copy the output starting from -AUTH_LOGIN=unused.

Finally, lets combine it all together. Put the environment variables at the start, then the wine command, then the KH binary, then the authentication flags. It should look something like this:
__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia STEAM_COMPAT_CLIENT_INSTALL_PATH=/home/xlash/.steam/steam STEAM_COMPAT_DATA_PATH='/home/xlash/.wine_test' /home/xlash/.steam/root/compatibilitytools.d/Proton-6.14-GE-1/proton run ~/legendary/KH_1.5_2.5/KINGDOM\ HEARTS\ FINAL\ MIX.exe -AUTH_LOGIN=unused -AUTH_PASSWORD=<redacted> -AUTH_TYPE=exchangecode -epicapp=68c214c58f694ae88c2dab6f209b43e4 -epicenv=Prod -EpicPortal -epicusername=<redacted> -epicuserid=<redacted> -epiclocale=en

If all goes well, you will launch directly into the game. Note that in order to play it again, you must redo the command legendary launch --dry-run 68c214c58f694ae88c2dab6f209b43e4 to get a new auth password. Everything else can stay the same.

Edit: This process will work for you if you are able to get the launcher menu working. Also, don't forget to rename your EPIC folder or else the game will crash upon loading the intro movie.

Edit 2: I've created a shell script that will automate running the game AFTER you edit in some of the stuff I stated earlier. The script is in this gist.

That's amazing! Thank you for your research. I may as well add the script into the guide as well, with your permission!

@WhitleyStriber
Copy link

WhitleyStriber commented Dec 19, 2021

I have discovered a workaround! I knew from using the RePack version that the issue is largely that the custom launcher sucks under wine, but the games themselves run fine. So I figured if I could authenticate the game then it should work. That turned out to be true.

So, in order to play the official version, you need to have your game installed under Legendary. This is so we can retrieve a fresh login session.

First, decide what game you want to play. Then find the path to the binary that corresponds to that game. For this example, I will assume KH1, which for me has the path ~/legendary/KH_1.5_2.5/KINGDOM\ HEARTS\ FINAL\ MIX.exe.

Launch Heroic from the command line: heroic. Then in the GUI, launch KH1.5. In the output, copy the environment variables preceding the legendary command. It should look something like this: __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia STEAM_COMPAT_CLIENT_INSTALL_PATH=/home/xlash/.steam/steam STEAM_COMPAT_DATA_PATH='/home/xlash/.wine_test' Now separately copy what comes after --wrapper, not including --wrapper. This is the reference to the wine binary you're using to launch

Now, use this command to get the flags to authenticate your game: legendary launch --dry-run 68c214c58f694ae88c2dab6f209b43e4 (If for some reason the last part of the command is different for you, you may get the ID using legendary list-games). Copy the output starting from -AUTH_LOGIN=unused.

Finally, lets combine it all together. Put the environment variables at the start, then the wine command, then the KH binary, then the authentication flags. It should look something like this: __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia STEAM_COMPAT_CLIENT_INSTALL_PATH=/home/xlash/.steam/steam STEAM_COMPAT_DATA_PATH='/home/xlash/.wine_test' /home/xlash/.steam/root/compatibilitytools.d/Proton-6.14-GE-1/proton run ~/legendary/KH_1.5_2.5/KINGDOM\ HEARTS\ FINAL\ MIX.exe -AUTH_LOGIN=unused -AUTH_PASSWORD=<redacted> -AUTH_TYPE=exchangecode -epicapp=68c214c58f694ae88c2dab6f209b43e4 -epicenv=Prod -EpicPortal -epicusername=<redacted> -epicuserid=<redacted> -epiclocale=en

If all goes well, you will launch directly into the game. Note that in order to play it again, you must redo the command legendary launch --dry-run 68c214c58f694ae88c2dab6f209b43e4 to get a new auth password. Everything else can stay the same.

Edit: This process will work for you if you are able to get the launcher menu working. Also, don't forget to rename your EPIC folder or else the game will crash upon loading the intro movie.

Edit 2: I've created a shell script that will automate running the game AFTER you edit in some of the stuff I stated earlier. The script is in this gist.

Thank you very much for this, but I am not able to get KH2 running after the startup. Right after the main menu in KH2 (not the launcher) I get a black screen. What exactly is this caused by? I tried running Proton Experimental and Proton-GE and both give me this black screen after the menu. I am using the Heroic game launcher method.

When I run your launcher, I also get "KINGDOM HEARTS II FINAL MIX.exe: Permission denied. If I try to just copy and paste the long command with ENV variables into terminal, it says launching with no output.

Could you possibly give an example of how the script file should look? I'm not 100% confident what should go in HEROIC_WINE.

@expert3411
Copy link

any chance we could get a video on how to do it? im brand new and just got my steam deck and i would love you forever if i could get at least kh2 running

@JakobDev
Copy link
Author

@expert3411 You should be able to select another EXE in the Heroic Launcher. Just select the KINGDOM HEARTS II FINAL MIX.exe there. Tell me, if you need more instructions.

@xlash123
Copy link

xlash123 commented Mar 13, 2022

@expert3411 I've also got it working by selecting the EXE, but there's a little bit of setup I had to do, but luckily it's pretty minimal to what's I've had to do in the past. Note that I'm not running a Steam Deck, so I can't guarantee 100% success.

Assuming you already have the game installed using Heroic Launcher, go to the location of the game install (folder name should be KH_1.5_2.5, which you can find by clicking on the game's icon in Heroic Launcher). Rename the folder EPIC to EPIC.bak. This fixes an issue where prerendered cutscenes crash the game.

After that, download and install Lutris. This is a generic game launcher for Linux, but it's useful here because it can help us configure different Wine installs. Once it's installed, you should see a list of runners on the left. Hover over the "Wine" option and click the folder-looking icon. This will show a large list of Wine versions to install. The one I got working pretty easily is called lutris-GE-Proton7.1. Click the checkbox next to it to install it. Once that finishes, you can exit Lutris.

From Heroic games, configure the settings for Kingdom Hearts 1.5+2.5. Under "Wine Version", select "Wine - lutris-GE-Proton7-1-x86_64". Then Launch the game. A blank window will appear, but you should be able to hear sounds when pressing some buttons. Close out of the game by using the X button in the corner of the game window.

Go back into the settings for the game in Heroic. Untoggle both settings with the name "Auto Install/Update ... on Prefix". A small window will appear. After it disappears on its own, toggle both settings to checked. The same little window will appear and disappear.

That completes the setup, and the game should work. However, there's an issue with the custom launcher, and it loops back into itself when trying to start a game. To fix this, you'll need to go to the game's settings, select Other on the left, and click the folder icon under "Select an alternative EXE to run." Then go to the game's install location and select the EXE for the game you want to run. The EXE names are:

KINGDOM HEARTS FINAL MIX.exe - KH1
KINGDOM HEARTS II FINAL MIX.exe - KH2
KINGDOM HEARTS Re_Chain of Memories.exe - KH Re:CoM
KINGDOM HEARTS Birth by Sleep FINAL MIX.exe - KH BBS

Of course, you'll have to change this whenever you want to switch to a different game. But otherwise, that's it. Hopefully this all worked for you.

Edit: I don't know how I missed it, but Heroic Launcher recently added a Wine Manager. You can find this in the left panel. In there, you can select "Proton-GE-Proton7-9." This one seems to work without any extra configuration. This skips installing Lutris and doing the toggling of the "Auto Install..." option.

@expert3411
Copy link

great news i got it to work but some of the cutscenes aren't playing like roxas sleeping and seeing soras memory's. also im getting a lot of frame stuttering and when ever a cutscene does play it runs a 30 instead of 60 but this is the price i pay to play the game on Linux and on the steam deck.

i appreciate all your help @xlash123

@MrBareBones
Copy link

great news i got it to work but some of the cutscenes aren't playing like roxas sleeping and seeing soras memory's. also im getting a lot of frame stuttering and when ever a cutscene does play it runs a 30 instead of 60 but this is the price i pay to play the game on Linux and on the steam deck.

i appreciate all your help @xlash123

Actually the cutscenes running at 30FPS instead of 60FPS isn't a Linux issue, it's Square not caring enough to make the cutscenes run at 60FPS, you'll actually have to use mods to get them running at 60FPS and above.

@xlash123
Copy link

xlash123 commented Apr 5, 2022

@FlaareZero Since the method I described above works for others, can you remove references to my script in the How To and replace it with the above? I don't really have plans to make sure my script keeps working now that this method is available.

@DaNovaFRFX
Copy link

@expert3411 I've also got it working by selecting the EXE, but there's a little bit of setup I had to do, but luckily it's pretty minimal to what's I've had to do in the past. Note that I'm not running a Steam Deck, so I can't guarantee 100% success.

Assuming you already have the game installed using Heroic Launcher, go to the location of the game install (folder name should be KH_1.5_2.5, which you can find by clicking on the game's icon in Heroic Launcher). Rename the folder EPIC to EPIC.bak. This fixes an issue where prerendered cutscenes crash the game.

After that, download and install Lutris. This is a generic game launcher for Linux, but it's useful here because it can help us configure different Wine installs. Once it's installed, you should see a list of runners on the left. Hover over the "Wine" option and click the folder-looking icon. This will show a large list of Wine versions to install. The one I got working pretty easily is called lutris-GE-Proton7.1. Click the checkbox next to it to install it. Once that finishes, you can exit Lutris.

From Heroic games, configure the settings for Kingdom Hearts 1.5+2.5. Under "Wine Version", select "Wine - lutris-GE-Proton7-1-x86_64". Then Launch the game. A blank window will appear, but you should be able to hear sounds when pressing some buttons. Close out of the game by using the X button in the corner of the game window.

Go back into the settings for the game in Heroic. Untoggle both settings with the name "Auto Install/Update ... on Prefix". A small window will appear. After it disappears on its own, toggle both settings to checked. The same little window will appear and disappear.

That completes the setup, and the game should work. However, there's an issue with the custom launcher, and it loops back into itself when trying to start a game. To fix this, you'll need to go to the game's settings, select Other on the left, and click the folder icon under "Select an alternative EXE to run." Then go to the game's install location and select the EXE for the game you want to run. The EXE names are:

KINGDOM HEARTS FINAL MIX.exe - KH1 KINGDOM HEARTS II FINAL MIX.exe - KH2 KINGDOM HEARTS Re_Chain of Memories.exe - KH Re:CoM KINGDOM HEARTS Birth by Sleep FINAL MIX.exe - KH BBS

Of course, you'll have to change this whenever you want to switch to a different game. But otherwise, that's it. Hopefully this all worked for you.

Edit: I don't know how I missed it, but Heroic Launcher recently added a Wine Manager. You can find this in the left panel. In there, you can select "Proton-GE-Proton7-9." This one seems to work without any extra configuration. This skips installing Lutris and doing the toggling of the "Auto Install..." option.

I keep trying to follow tutorials on how to do this but Heroic just does not want to boot the game no matter what. If I select the specific exe it just closes after trying to boot for 5 seconds. If I select the in game launcher, it gives me an error message. I have no idea what I am missing I have uninstalled and reinstalled multiple times, tried following tutorials from the start, and still no luck. The closest I have gotten is getting the title screen to boot through the official epic games launcher, but still cant boot into the actual games.

@xlash123
Copy link

xlash123 commented May 1, 2022

@DaNovaFRFX What is your OS and hardware? Also, what are the logs after you attempt to start the game?

@guibperes
Copy link

On Kingdom Hearts 1.5+2.5 with Proton Experimental, running the KINGDOM HEARTS FINAL MIX.exe and without renaming EPIC folder, I was able to play the pre-rendered cutscenes but only sound worked fine, the screen still black, I think that's some improvement considering they didn't work before.

@Sharparam
Copy link

@guibperes What is the rest of your setup? I've tried various Proton versions including Experimental and GE (7.24) (and mf-install, and limiting the CPU cores with taskset) without any luck in getting pre-rendered cutscenes to play (no sound nor video).

For reference:
OS/kernel: Arch Linux (5.18.7-zen1-1-zen)
CPU: Ryzen 5900X
GPU: RX 5600XT

@guibperes
Copy link

guibperes commented Jun 30, 2022

I'll send here my Heroic last play log, there's some Gstreamer warnings too.

System Info:

  Heroic Version: 2.3.3 Brook
  Legendary Version:  0.20.25 Our Benefactors
  OS: Pop KERNEL: 5.17.5-76051705-generic ARCH: x64
  CPU: Intel Core™ i5-7400 @3 GOVERNOR: powersave
  RAM: Total: 15.59 GiB Available: 10.15 GiB
  GRAPHICS: GPU0: Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] VRAM: 512MB DRIVER:  
  PROTOCOL: x11
  

Game Settings: {
	"audioFix": false,
	"autoInstallDxvk": false,
	"autoInstallVkd3d": false,
	"autoSyncSaves": false,
	"enableEsync": false,
	"enableFSR": false,
	"enableFsync": false,
	"maxSharpness": 2,
	"enableResizableBar": false,
	"nvidiaPrime": false,
	"offlineMode": false,
	"otherOptions": "",
	"savesPath": "",
	"showFps": false,
	"showMangohud": false,
	"targetExe": "/home/guilherme/Games/Heroic/KH_1.5_2.5/KINGDOM HEARTS FINAL MIX.exe",
	"useGameMode": false,
	"wineCrossoverBottle": "Heroic",
	"winePrefix": "/home/guilherme/Games/Heroic/Prefixes/KH_1.5_2.5",
	"wineVersion": {
		"bin": "/home/guilherme/.steam/steam/steamapps/common/Proton - Experimental/proton",
		"name": "Proton - Proton - Experimental",
		"type": "proton"
	},
	"useSteamRuntime": true
}

Error Log:
[cli] INFO: Logging in...
[Core] INFO: Trying to re-use existing login session...
[cli] INFO: Checking for updates...
[Core] INFO: Getting authentication token...
[cli] INFO: Launching 68c214c58f694ae88c2dab6f209b43e56...
Proton: Upgrading prefix from None to 7.0-100 (/home/guilherme/Games/Heroic/Prefixes/KH_1.5_2.5/)
fsync: up and running.
wine: RLIMIT_NICE is <= 20, unable to use setpriority safely
(wine:15921): GStreamer-WARNING **: 20:22:14.230: Failed to load plugin '/home/guilherme/.steam/steam/steamapps/common/Proton - Experimental/files/lib64/gstreamer-1.0/libgstvpx.so': libvpx.so.5: cannot open shared object file: No such file or directory
(wine:15921): GStreamer-WARNING **: 20:22:14.244: Failed to load plugin '/home/guilherme/.steam/steam/steamapps/common/Proton - Experimental/files/lib/gstreamer-1.0/libgstvpx.so': /home/guilherme/.steam/steam/steamapps/common/Proton - Experimental/files/lib/gstreamer-1.0/libgstvpx.so: wrong ELF class: ELFCLASS32
winegstreamer error: decodebin0: Your GStreamer installation is missing a plug-in.
winegstreamer error: decodebin0: ../src-gst_base/gst/playback/gstdecodebin2.c(4719): gst_decode_bin_expose (): /GstBin:bin0/GstDecodeBin:decodebin0:
no suitable plugins found:
Missing decoder: MPEG-4 AAC (audio/mpeg, mpegversion=(int)4, framed=(boolean)true, stream-format=(string)raw, level=(string)2, base-profile=(string)lc, profile=(string)lc, codec_data=(buffer)11900000, rate=(int)48000, channels=(int)2)
Couldn't set avdec_h264-0 to PAUSEDCouldn't set avdec_valve_h264-0 to PAUSED

Game Log:
Legendary update available!
- New version: 0.20.27 - "Dark Energy (hotfix)"
- Release summary:
 [*] Adds instructions to recover from missing manifest file errors
 [*] Updates "eos-overlay" for more intuitive Linux/macOS usage
 [*] Adds instructions for use on Windows when exe is double-cliecked instead of run from a terminal.
See full changelog for additional details.
- Release URL: https://legendary.gl/release/0.20.27

- Download URL: https://legendary.gl/release/download/0.20.27/legendary
field __ImageBase in <Module> should have RVA data, but hasn't
field __ImageBase in <Module> should have RVA data, but hasn't

The new game starts, cutscene only sound, but when the cutscene ends the game freezes in a dark blank screen

@FlaareZero
Copy link
Owner

I'll close the issue, since it has been solved as of the 3rd August :)

@Sharparam
Copy link

Sharparam commented Oct 11, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants