Momodora III

Momodora III

View Stats:
Haite 22 Apr, 2023 @ 3:18am
Momodora 1 60 fps linux
Hey! I'm not sure if this game runs caped on Linux, but Momodora I does, 30 fps. I couldn't find anywhere to post this on its page, but I did find that people were having issues with fps with Momodora series, so this might still help. It took me a long time, and I still have no idea why, so hopefully it can help someone:

- How play it 60 fps with wine
What worked for me, was setting the game in momo.config.ini , that's in the game folder, to 3 and in wine, force the resolution of the screen, not the game, to specifically 1920x720. If vertical size is any different, or game size, it drops to 30 fps again.

- Why it works
I...have no idea! Well, I do, but it's a long shot. Please, if you got it working in another way, let me know!! Information on getting 60 fps was very hard to find, I would highly appreciate it. SO, my guess is... the fps counter. With the specific settings I described, the fps counter gets hidden, so maybe it doesn't need to update and the game gets lighter.
But this theory is too wild for my tastes... I'm not convinced. Other alternatives I've image are : maybe resolution is tied to a vsync? maybe it doesn't recognize some resolutions from newer systems?

If I figure out something else I update here. I hope there is no issue with this post, even though is not technically for Momodora III. I hope the mod understands, a post like this would had saved me so much time, I want the discussion to be available if possible. The origins of the Momodora series, would be nice to be preserved.
Last edited by Haite; 22 Apr, 2023 @ 8:28pm
< >
Showing 1-1 of 1 comments
ZXPlectrum 5 Aug, 2023 @ 6:18am 
I got it working at 60fps by dropping in the D3D8.dll file provided by dgVoodoo[dege.freeweb.hu]. It is a Direct3D 8 wrapper which translates the draw calls to Direct3D 10/11. In turn, this activates DXVK under Proton (since Direct3D 8 isn't supported by DXVK).

With the aid of the DXVK HUD, I could see that the effective frame rate was approximately 120. For whatever reason, the game engine demands to be able to push frames at double that of the perceptual frame rate. Sure enough, I found the game to be running at the expected speed, only with occasional screen tearing.

To address this remaining issue, I set the launch options for the game so as to enable Vuikan's mailbox mode. Effectively, this works as a form of vsync whereby the game can push frames as fast as it needs to, without incurring a backlog of unrendered frames. At each vsync interval, Vulkan will simply render the most recently submitted frame.

For all of this to work, custom launch options need to be set for the game. These are as follows.

WINEDLLOVERRIDES=d3d8=n,b MESA_VK_WSI_PRESENT_MODE=mailbox %command%

EDIT: Just to be clear, this solution is intended for Momodora III. It may also suffice for Momodora I and II, but I have tested neither of those games.
Last edited by ZXPlectrum; 5 Aug, 2023 @ 7:18am
< >
Showing 1-1 of 1 comments
Per page: 1530 50