Milkitic / KeyASIO.Net

External ASIO/WASAPI_EXCLUSIVE backend for low-latency and safe osu! audio playback experience.
GNU General Public License v3.0
75 stars 7 forks source link

"KeyASIO 3.0.0" doesn't seem to work properly in "Atlas OS" #12

Closed opposj closed 8 months ago

opposj commented 1 year ago

I installed "Atlas 20H2" from this site https://atlasos.net/downloads, to run "Osu!" in a relatively pure "Windows" environment.

However, when I tried to play beatmaps in "Osu!", some notes were muted without correct hitsounds, which were supposed to be provided by "KeyASIO" (and the lag of hitsound is somehow weird as far as my sense of playing is concerned).

According to the log:

02:36:16.120 DEBUG STA Window: Z KeyDown
02:36:16.120 DEBUG StandardAudioProvider: [GetSoundOnClick] executing
02:36:16.120 DEBUG StandardAudioProvider: Click: 51339; First node: 51321
02:36:16.120 DEBUG StandardAudioProvider: [GetSoundOnClick] executed in 0.023ms
02:36:16.120 DEBUG RealtimeModeManager: Play soft-hitnormal; Vol. 1; Bal. -0.032812502
02:36:16.391 DEBUG RealtimeModeManager: Play soft-hitnormal; Vol. 1; Bal. -0.140625
02:36:16.433 DEBUG STA Window: X KeyDown
02:36:16.433 DEBUG StandardAudioProvider: [GetSoundOnClick] executing
02:36:16.433 DEBUG StandardAudioProvider: Click: 51652; First node: 51418
02:36:16.433 DEBUG StandardAudioProvider: [GetSoundOnClick] executed in 0.023ms
02:36:16.433 DEBUG RealtimeModeManager: Play soft-hitclap; Vol. 1; Bal. -0.1921875
02:36:16.433 DEBUG RealtimeModeManager: Play soft-hitnormal; Vol. 1; Bal. -0.1921875
02:36:16.686 DEBUG RealtimeModeManager: Play soft-hitnormal; Vol. 1; Bal. -0.1734375
02:36:17.504 DEBUG ORTDP: Mode Address (0):0x00000000
02:36:17.504 DEBUG ORTDP: Mode Address (1):0x00000000
02:36:17.504 ERROR ORTDP: [ID:0]Init ModeFinder Failed! Retry after 3 seconds

It seems that "KeyASIO" cannot fetch the correct Mode Address, even when playing is started. I've noticed that, standard "Windows" does not suffer from this problem and "KeyASIO" can find a proper Mode Address, such as:

22:18:53.169 DEBUG RealtimeModeManager: [InitFolder] executing
22:18:53.193 DEBUG RealtimeModeManager: [InitFolder] executed in 22.281ms
22:18:53.193 DEBUG RealtimeModeManager: [InitAudio] executing
22:18:53.210 DEBUG ORTDP: Playing Accuracy Base Address (0):0x62149FFC
22:18:53.210 DEBUG ORTDP: Playing Accuracy Base Address (1):0x8200652A
22:18:53.233 DEBUG ORTDP: Time Base Address (0):0x0F60AC9F
22:18:53.233 DEBUG ORTDP: Time Base Address (1):0x027A6AC8
22:18:53.233 INFO ORTDP: [ID:0]Init PlayFinder Success!
22:18:53.246 DEBUG ORTDP: Mode Address (0):0x02770C10
22:18:53.246 DEBUG ORTDP: Mode Address (1):0x027A6660
22:18:53.246 INFO ORTDP: [ID:0]Init ModeFinder Success!

Hope this problem can be solved.

Milkitic commented 8 months ago

Replaced with new memory reader. Feel free to reopen if the issue still exists.