-
-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues with some Konami games (Lethal Enforcers etc) #5
Comments
Do you mean this difference?
The GENS's emulator is pretty outdated and it's first I listened by myself from SEGA and I can't tell is it semi-accurate or total mess because I wasn't listened real chip (for example, Disnay's Aladdin where "Gloomy tune" also plays with different envelopes on different emulators). |
Can you please record samples from real hardware and emulator for comparison? |
I'm including short samples because the problem is very obvious and you will notice immediately. I've marked the emulator "emul" and the real hardware "real." The real TMNT recording is from my Model 1. The real Lethal Enforcers recording is from my Model 2 with ASIC YM3438, but the emulator's mode has no effect on it, the output is incorrect either way. No filter on emulator recordings. |
Weird. These songs sound correct on VGMPlay with Nuked OPN2 core. Do these songs play correctly with MAME core in GPGX? |
Here's the Lethal Enforcers clip on the MAME core, seems OK to me: https://mega.nz/#!oMAhEC5L!N1yL7BI_o_ZTUMRS2OcirAdqiD-GEf0nlUGQlZwoe_M I also just tried Nuked with VGMPlay and it seems fine. It could be a GPGX bug or quirk I suppose. I don't know if this will help: I do seem to remember seeing some code in GPGX (I am currently working on a DSP sound filter/op amp simulation for it to compliment your excellent core) that seemed intended to simulate Z80 bus latency, is it possible that this is causing problems with the ym3438 core being out of sync with the rest of the emulator's state somehow? Oh, before you ask, I also made sure to test with an unmodified GPGX to make sure I hadn't somehow introduced the bug! |
I'm not sure if this is the same bug I am experiencing or not, but I suspect it is. The title screen sounds fuzzy, but things are especially noticeable in in the sound test, specifically BGM 05 after switching to some other track and back to it. The fact that it is so obvious and jarring in this instance may make it easier to track down the root cause using this game as opposed to some others listed. The game is mentioned in this (closed, seemingly perceived as resolved) issue: I first experienced this in an emulator I am currently writing that uses Nuked-OPN2, but it is also present in Genesis Plus GX when using the Nuked core in both YM2612 and YM3438 modes, but not the MAME core. Since the behaviour is identical between my emulator and Genesis Plus GX I am led to believe it is common to the Nuked-OPN2 core and not just a matter of Z80 timing in a single emulator. |
@carmiker Can you confirm it appears only when switching from a different BGM to 05 versus starting BGM 05 from scratch? Maybe you can take a VGM dump of that short period of time from an emulator like Kega Fusion or whatever modern one that actually supports VGM logging and post a zip of it here. I want to rule out the game itself not setting certain YM2612 parameters when songs play in sound test, which would be a result of game programming rather than inaccurate emulation. |
@apollolux it happens to varying degrees no matter what you do, for instance the fuzzy sound on the title screen. It is simply VERY obvious with BGM 05 after having played a different track. I can confirm this issue is not exhibited on my VA3 non-TMSS USA Genesis. I dumped a few VGMs using Kega Fusion on my Windows computer and played them with the Nuked core using: https://github.com/ValleyBell/vgmplay-libvgm I cannot reproduce the problem in vgmplay. Very interesting, and perhaps this specific game is very timing-sensitive such that both my emulator and Genesis Plus GX in combination with Nuked-OPN2 are revealing this sensitivity despite being otherwise unrelated codebases. Regardless, it would be nice to know exactly what causes this effect. If I discover anything as I continue work on my emulator I will update this issue. |
Lethal Enforcers & other Konami games with its sound driver (TMNT Tournament Fighters...) have patches that sound like they might have wrong algorithm settings or operators' envelopes wrong. Tested with Genesis Plus GX
The text was updated successfully, but these errors were encountered: