https://bugs.winehq.org/show_bug.cgi?id=57836
Bug ID: 57836 Summary: Delayed Keysounds in beatmania IIDX INFINITAS Product: Wine Version: 10.1 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: mizztgc@gmail.com Distribution: ---
Created attachment 78046 --> https://bugs.winehq.org/attachment.cgi?id=78046 The output of running beatmania IIDX INFINITAS separately with the ffmpeg and gstreamer backends
For nearly a year now, I've been trying to get beatmania IIDX INFINITAS, a subscription-based version of one of KONAMI's well-established arcade rhythm game franchises, to work under Wine. Of course, the road to get here wasn't easy, and I'm still stuck with an issue where some songs from the CANNON BALLERS and Rootage categories, and all of the songs from the HEROIC VERSE to RESIDENT categories have a bug related to keysounds being slightly delayed. According to a few people I've talked to, this appears to be due to KONAMI switching over to a new WMA-based audio container (the audio format used before this change is still unknown to me).
I've also tried the ffmpeg backend over gstreamer (using the registry) featured with Wine 10.0, but it introduces a new issue that causes the keysounds and the base audio (what you hear if you're not hitting notes) to turn into static, eventually cutting in and out repeatedly.
STEPS TO REPRODUCE: 1. Download the installer for beatmania IIDX INFINITAS from https://p.eagate.573.jp/game/infinitas/2/download/index.html (be sure to disable ieframe.dll to get the installer to complete as reported in #57222) 2. Set your sample rate within PipeWire/PulseAudio to 44100 Hz, otherwise you will not have sound (pw-metadata unfortunately does not work) 3. Launch the game in your preferred mode NOTE: If Wine did not create the menu entries, you can right click any of the launch buttons and copy the bm2dxinf URI. From there, run the launcher binary within a command line and pass this URI as an argument (ex. wine 'C:\Games\beatmania IIDX INFINITAS\launcher\modules\bm2dx_launcher.exe' 'bm2dxinf://login?tk=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' ) 4. Set your audio mode to WASAPI 共有モード (Shared Mode). WASAPI 排他モード (Exclusive Mode) will cause the game to complain about not being able to find an audio device to initialize and refuse to start up 5. If you're on Wayland, set your refresh rate to either 60 or 120Hz (The game will error if you don't) NOTE: For steps 4 and 5, the mono package is required to open the settings menu 6. Play any song from the HEROIC VERSE, BISTROVER, CastHour, or RESIDENT categories. If you're playing in trial mode, play the song "セピアの軌跡 ft. 天宮みや(少女フラクタル)"
To use the ffmpeg backend, create a DWORD key named DisableGstByteStreamHandler within HKCU\Software\Wine\MediaFoundation with a value set to 1.
EXPECTED RESULT: The song and keysounds should play properly as it does on Windows
ACTUAL RESULT: The actual result will depend on if you're using gstreamer or ffmpeg as a backend. - On gstreamer, the keysounds will have a slight delay, and the base audio will play a second ahead for a few frames before going back. - On ffmpeg, the keysounds and base audio will become static
ADDITIONAL NOTES: - DXVK may be needed on Wine 10.x due to severe graphical glitches within both the launcher and game UI (noticed with a clean prefix on vanilla Wine 10.1)
This was all tested on Wine 10.1 (vanilla & staging) on Arch Linux
https://bugs.winehq.org/show_bug.cgi?id=57836
Mizzt mizztgc@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |ArchLinux
https://bugs.winehq.org/show_bug.cgi?id=57836
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download