Skip to content

More accurate variable declarations on nes.hexpat, add n64, gen, and gbx.hexpat#477

Merged
WerWolv merged 6 commits into
WerWolv:masterfrom
gmestanley:master
Jan 11, 2026
Merged

More accurate variable declarations on nes.hexpat, add n64, gen, and gbx.hexpat#477
WerWolv merged 6 commits into
WerWolv:masterfrom
gmestanley:master

Conversation

@gmestanley
Copy link
Copy Markdown
Contributor

Many variables in nes.hexpat were given more proper names and lengths (a more glaring example is "VT3xx" in ExtendedConsoleType; when I did this, general knowledge of the VT3xx line was still unclear, but now it's common knowledge that VT36x is the usual standard NES res and VT38x is high-res, and the latter does not have support in the format yet, so it's clearly VT36x). The constant FILLED_NES2_FLAGS was properly applied in all places that used it. The TxROM designation was more thoroughly elaborated with its more common types.

DefaultExpansionDeviceType was added, primarily to highlight which ROMs use the device "multicart".

I have also added patterns for N64 and Mega Drive ROMs, as well as the fanmade GBX footer for GameBoy ROMs (similar to iNES/NES2.0 in the nes pattern).

@gmestanley
Copy link
Copy Markdown
Contributor Author

nes.hexpat currently fails. This was shown in the last commit, but since in the first commit ttf.hexpat was failing instead (for some reason), I assumed the same thing was happening there. Will investigate later.

Copy link
Copy Markdown
Owner

@WerWolv WerWolv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much!

Comment thread patterns/nes.hexpat
(1): submapper = "No bus conflicts";
(2): submapper = "AND-type bus conflicts";
}
}
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You accidentally removed a } here, that's why the unit tests are failing

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, thank you

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@WerWolv WerWolv merged commit fb84bbb into WerWolv:master Jan 11, 2026
2 checks passed
@WerWolv
Copy link
Copy Markdown
Owner

WerWolv commented Jan 11, 2026

Thanks a lot!

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