Skip to content

[Fix] Adding a fix to QuickerNES to support certain games with submapper > 0 #4413

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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

SergioMartin86
Copy link
Contributor

@SergioMartin86 SergioMartin86 commented Aug 10, 2025

This is a very small fix to the QuickerNES core which prevents it from rejecting roms based on mappers that are now supported. The rejecting legacy lines of code were relevant back then when the mappers weren't supported.

The motivating test case for this fix is the following game:

Pac-Man - Championship Edition (USA, Europe) (Namco Museum Archives Vol 1).nes
SHA1: 4CBAD49930253086FBAF4D082288DF74C76D1ABC
MD5: EE8BC8BAED5B9C5299E84E80E6490DE6

Before: "Unsupported Mapper" Error
Now:

image

Check if completed:

@CasualPokePlayer
Copy link
Member

CasualPokePlayer commented Aug 10, 2025

If a submapper is supported, it should be checked explicitly, not just always shoved through. Submappers indicate different behavior than iNES, which cannot be assumed to always work out of the box in quickerNES. Any NES 2.0 header with extended mapper high bits too cannot be assumed to be supported: those mappers are above the 255 mapper limit of iNES, which quickerNES does not support (and your changes don't add support for such high mapper codes at all, you're going to just end up shoving the ROM through with a completely different mapper that is very likely not going to work correctly).

That said, a quick look at No-Intro indicates the ROM should not have any submapper nor extended mapper high bits, so this change shouldn't affect anything here. What is the header present in your ROM dump?

EDIT: Was reading the wrong thing in No-Intro, it appears the game wants submapper 3 of mapper 19 here?

@CasualPokePlayer
Copy link
Member

Seems submappers for mapper 19 specifically are just these to explicitly indicate expansion sound being present or not, along with the expansion sound volume relative to the NES APU's audio. "Default" iNES behavior (submapper 0) just leaves the presence of such unspecified. quickerNES behavior just emulates such regardless, so it's probably fine to allow submappers through for mapper 19 specifically.

@SergioMartin86 SergioMartin86 changed the title [Fix] Adding a fix to QuickerNES to support more mappers [Fix] Adding a fix to QuickerNES to support certain games with submapper > 0 Aug 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants