digitaldog
Posts: 2
Joined: Fri Oct 16, 2020 11:11 pm

Galaga on MAME 0.225 is lagging fire 200-300 ms

Hi,

Galaga on MAME 0.225 is lagging fire 200-300 ms since you press the fire key to when it's really firing. This is a Dell laptop with i7 CPU and fully updated Windows 10, tried also on HP Envy with Ryzen, exactly same effect. It's very hard to play. Lef/right movements are fine. System power options set to high performance. Sound is perfect, no frame skip, emulation speed 100%. Just the fire is delayed. I tried remapping fire key to a different one to check if it's the culprit, no change. Tried MAME64 and MAME64UI, same results. Tried various Galaga ROMs, no difference.

For casual player it may not be a problem, however I'm making 2-3 millions on a real arcade machine and on MAME I can't exceed 200,000 thanks to this glitch...

Did anyone experience this, can it be remedied somehow? Are there MAME devs here? Tried various MAME settings already, generic optimization hints which can be found by googling, no improvement.

I tried to show it on the attached video, but don't know if you can see it. I'm hitting the fire button hard so that you can hear the key sound and when it's actually launching a bullet and making a sound in game. I think it's easy to reproduce.

I've also tried older MAME versions, same behavior.

Please help :-)

https://www.youtube.com/watch?v=lvxGFH5WVkU
John IV
Posts: 2
Joined: Thu Nov 06, 2014 6:11 pm
Contact: Website

Re: Galaga on MAME 0.225 is lagging fire 200-300 ms

You might get some more views on the other boards, or post a bug on mametesters.org.
https://www.mameworld.info/ubbthreads/p ... d=mamechat

That said, I just tried tip of tree on github and it does seem a bit laggy for the firing on my freesync system.
User avatar
Klez
Posts: 21
Joined: Mon Jan 07, 2019 11:38 am

Re: Galaga on MAME 0.225 is lagging fire 200-300 ms

Hi digitaldog,

Do you have enabled in mame.ini the option "lowlatency 1" ?

This option is available only in recent MAME versions.
digitaldog
Posts: 2
Joined: Fri Oct 16, 2020 11:11 pm

Re: Galaga on MAME 0.225 is lagging fire 200-300 ms

Hi, thanks for your responses. I do have low latency set, also low sound quality which might help according to some internet advices. This behaviour is the same no matter the settings.

My theory is that the keypress is ingested by MAME and buffered for like 200-300 milliseconds and then passed to the game. However I'm not a MAME expert, so it would need verification.

I'm posting a new YT video to show all my settings, startup, and gameplay (1 min).

Thanks.

https://youtu.be/Diy6QZNYu8k

Return to “MAME Discussion”