Closed jroyvde closed 7 hours ago
Can confirm this issue happens on my side (Steam + Ubuntu)
Just recording some findings here.
I tried playing a video on the unmodded game on my Ubuntu laptop, by clicking the "Omake" button, then "Unlock All", then going to the Music Room and playing the top left song ("To That Day") and... I get the same black screen you reported, and also the same black screen as on the modded game.
There is also no error on the log, same as the modded game.
The video playback in the Music room works fine on the unmodded Windows game.
The unmodded game also uses the wrong video path (PlayVideo("video/higurashi_hou.mp4", 640, 480);
), and I wanted to try editing the game script to test if that fixed it, but for some reason the unmodded game doesn't want to re-compile the game scripts...
If the native Unity video playback doesn't work, I'll see if I can use the video playback we used on previous chapters (through the AVProVideo plugin), I think we still have that code in our mod. And also check out how we did video playback on Ch.9, because I thought Ch.9 and Ch.10 were similar.
Although the native Unity video playback really should work, so I guess I'll see if I can fix it directly...perhaps it's related to the
Because unmodded Hou+ ships with only .mp4 files, I thought Unity supported .mp4 on all platforms. But according to the Unity docs, .mp4
is only supported on Windows and MacOS:
https://docs.unity3d.com/2019.4/Documentation/Manual/VideoSources-FileCompatibility.html (hou+ is 2019.4)
So likely we'll just need to add a .webm file like we did for previous chapters (only for Linux)
This should be fixed as of the latest Hou+ release. I did the following:
PlayVideo()
function to work the same way as previous chapters, where you just specify the name without the file extension like PlayVideo("higurashi_hou", 640, 480)
. This is so that we can support video files with different extensions..webm
files will be preferred over .mp4
files. This logic is copied from the previous Ch.9..webm
and include them in the hou plus base archive, using the same settings as the previous chapter (see https://github.com/07th-mod/higurashi-assembly#supported-video-formats for details). This will result in some video quality loss for linux users.There was also a related update which adds a workaround for Wine/Proton video playback, which forces playback of the linux video file if Wine/Proton is detected.
I'll close this issue shortly after I re-install the mod on my linux machine and test it (I already tested it by manually copying the files, but not through the installer)
Just tested it, and it works fine.
Also for future reference - video playback of .webm is very smooth (I remember some earlier chapters having stuttery video playback on Linux)
There was also a related update which adds a workaround for Wine/Proton video playback, which forces playback of the linux video file if Wine/Proton is detected.
That was this issue I was referring to: https://github.com/07th-mod/onikakushi/issues/217
Bug Information
Videos will fail to load, throwing an error saying the file cannot be found. This seems to be because the game is looking for the 'video' directory, while the directory is actually named 'Video'. Renaming the directory resolves the error. In my case, the video still does not play, and a silent black screen is showed instead, but this is probably a separate issue.
To reproduce: Launch the game.
Expected behavior: The video should play correctly.
Install Information
The game: Higurashi When They Cry Hou+
The mod variant: Full
I installed the patch: Using the Installer
I bought the game at: MangaGamer
Mod Install Date: 6th August 2024
System Information
My operating system is: Linux (Fedora 40)
State anything "special" about your computer's setup: N/A
Screenshots