VXAce Audio Desyncing Issues With Zeus Fullscreen++

So I recently spent the time implementing Zeus Fullscreen++ version 4 into my project. It works fine minus the fact that it desyncs and cuts out any sfx that play repetitiously, primarily menu cursor sounds. I'm using Theoallen's footstep sound script and the YEP core engine. It'll often play the chosen sfx a few times then cut out, this also happens in battle animations. Is there any fix to this? I've tried tinkering with it and I know using Audio.se_stop can be used, but is there anyway to make the audio function like it normally would in a game made with VX Ace, this is pretty dire as my game really was focused on the sound design.
I highly recommend switching to the mkxp-z engine replacement. If your project does not rely on third-party DLLs, it should work right out of the box. So far, I have not encountered any non-"hacky" RGSS3 scripts that failed to run under it.

The scripts I encountered that did not work were usually doing direct memory or GDI manipulation, or relied heavily on esoteric Win32API calls.

Besides significantly better performance compared to vanilla VX Ace, mkxp-z also allows you to use virtually any resolution without the usual issues. A lot of bugs and limitations from the original VX Ace internals have been fixed as well.

Another major advantage is that mkxp-z is multi-platform, supporting Windows, Linux, and macOS out of the box.

As mentioned, projects without custom DLL dependencies should generally run without problems. mkxp-z can still load DLLs, but they must be compiled for x64 Ruby MRI 3.1.

So if the DLL files are open source and do not rely on direct memory access or GDI manipulation, there is a good chance they can be recompiled for mkxp-z.
I highly recommend switching to the mkxp-z engine replacement. If your project does not rely on third-party DLLs, it should work right out of the box. So far, I have not encountered any non-"hacky" RGSS3 scripts that failed to run under it.

The scripts I encountered that did not work were usually doing direct memory or GDI manipulation, or relied heavily on esoteric Win32API calls.

Besides significantly better performance compared to vanilla VX Ace, mkxp-z also allows you to use virtually any resolution without the usual issues. A lot of bugs and limitations from the original VX Ace internals have been fixed as well.

Another major advantage is that mkxp-z is multi-platform, supporting Windows, Linux, and macOS out of the box.

As mentioned, projects without custom DLL dependencies should generally run without problems. mkxp-z can still load DLLs, but they must be compiled for x64 Ruby MRI 3.1.

So if the DLL files are open source and do not rely on direct memory access or GDI manipulation, there is a good chance they can be recompiled for mkxp-z.
While this is a cool recommendation, my game uses a lot of custom .dll type systems for gameplay elements, mainly FPLE ACE and another one for Steam achievements. Zeus fullscreen works well in literally every other aspect aside from the sounds desyncing, it's not even all sfx it's just mainly menu sounds, battle sounds and menu sounds. Primarily any sfx that is played repetitiously.
As mentioned, projects without custom DLL dependencies should generally run without problems. mkxp-z can still load DLLs, but they must be compiled for x64 Ruby MRI 3.1.

So if the DLL files are open source and do not rely on direct memory access or GDI manipulation, there is a good chance they can be recompiled for mkxp-z.
If you know of someone that can get the source code and recompile the dll used for Luna engine and Khas Ultra lighting and acezon f12 fix scripts, then I might be able to use MKXP-Z

I've been trying to use other executables for a while and they all fail because of this.

@Neo_Kum0rius_6000 sorry to inject in your thread.
I have not seen any problems in my project with Zeus Fullscreen 4.0, but I haven't paid attention to audio that much. I hope it's not an issue for me. I redesigned my menu for the new script.
I had created entries in the menu to adjust the screen size and select full screen while blocking the F5/F6 key mapping. Had to remove the screen size option as that seems to not be an option in the new script. At least not the way it was done before. By default for me the screen size is doubled and that is better for general gameplay (with my game).
If you know of someone that can get the source code and recompile the dll used for Luna engine and Khas Ultra lighting and acezon f12 fix scripts, then I might be able to use MKXP-Z

I've been trying to use other executables for a while and they all fail because of this.

@Neo_Kum0rius_6000 sorry to inject in your thread.
I have not seen any problems in my project with Zeus Fullscreen 4.0, but I haven't paid attention to audio that much. I hope it's not an issue for me. I redesigned my menu for the new script.
I had created entries in the menu to adjust the screen size and select full screen while blocking the F5/F6 key mapping. Had to remove the screen size option as that seems to not be an option in the new script. At least not the way it was done before. By default for me the screen size is doubled and that is better for general gameplay (with my game).
It's a great script that doesn't really have many issues, but if you download the demo that Zeus made and hold down the up or down buttons the audio will play the cursor sound twice then cut it out on menus, this happens with my footstep script and battle animations unfortunately too.
hold down the up or down buttons the audio will play the cursor sound twice then cut it out
Seen. It does do that.
I tested my project and it doesn't happen there.
I must have so much code that it slows everything down enough for the audio to catch up. If not that then I don't know.
(I have over 500 scripts)
1778421606585.png
Seen. It does do that.
I tested my project and it doesn't happen there.
I must have so much code that it slows everything down enough for the audio to catch up. If not that then I don't know.
(I have over 500 scripts)
View attachment 365993
Do you have any audio scripts perhaps?
Do you have any audio scripts perhaps?
I tested a bunch of stuff and found the issue. I did not import the dll file into my project.
without fullscreen.dll file in the system folder it works fine.
I don't know what is required to have the dll file there.
I tested a bunch of stuff and found the issue. I did not import the dll file into my project.
without fullscreen.dll file in the system folder it works fine.
I don't know what is required to have the dll file there.
You can do that, but it removes the smoothing features and the other features of the script which my game happens to use that require the .dll
While this is a cool recommendation, my game uses a lot of custom .dll type systems for gameplay elements, mainly FPLE ACE and another one for Steam achievements. Zeus fullscreen works well in literally every other aspect aside from the sounds desyncing, it's not even all sfx it's just mainly menu sounds, battle sounds and menu sounds. Primarily any sfx that is played repetitiously.
Ok, FPLE is definitely a good reason not to switch to mkxp-z. Unfortunately, all of MGC's DLLs are closed source, and he left the scene many years ago.

If you know of someone that can get the source code and recompile the dll used for Luna engine and Khas Ultra lighting and acezon f12 fix scripts, then I might be able to use MKXP-Z

I've been trying to use other executables for a while and they all fail because of this.
Luna Engine is pretty old at this point, so maybe Yanfly would be willing to share the DLL source code. The bigger question is what the DLL actually does internally. VX Ace was built around GDI, while mkxp-z uses SDL2 with OpenGL, so compatibility depends heavily on the implementation. Still, if the source code exists, there's almost certainly a way to make it work. The same applies to the Khas DLL.

Also, acezon's F12 fix is obsolete under mkxp-z, since both F1 and F12 can simply be disabled.
Edit: I just realized his script was actually handling a proper restart of Game.exe, but even that is no longer an issue in mkxp-z.

Original thread: https://forums.rpgmakerweb.com/threads/audio-desyncing-issues-with-zeus-fullscreen.183533/