Skip to content
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

Feature request: MSXBAS2ROM MegaROMs must be detected as Konami SCC ROM format #92

Open
amaurycarvalho opened this issue Dec 23, 2022 · 3 comments

Comments

@amaurycarvalho
Copy link

MSXBAS2ROM uses "KonamiSCC" ROM format when compiling a MSX-BASIC program in MegaROM size (+128kb).

You can identify a MegaROM file as a MSXBAS2ROM compiled one if you find a "MSXB2R" signature string at 0x000A or 0x400A position.

So, when the file size is >=128kb and the ROM contains the "MSXB2R" signature string, the correct cartridge type to choose is "KonamiSCC".

You can download a MegaROM example here.

@NullPointerReference
Copy link

@amaurycarvalho Most ROMs are detected by their ROMDB signature; you can submit any unknown ROM to: https://romdb.vampier.net/checkrom.php ... or through a ROM-type hint in the file-name; like: " gd2 [KonamiSCC].rom". That way all emulators (over time) will support them correctly.

PS: I suggest this as 'work arounds'; not a long time solution, but the current ROM-type fingerprinting of WebMSX is pretty basic. Looking at the WebMSX 'auto-detect' code I - as a noob - don't see a quick way to implement your hints without having to refactor much of the current 'ROM format priorities' code. Aka, although your hints are pretty basic, it might require more code-plumbing than one might expect to get this into the current version.

@amaurycarvalho
Copy link
Author

Thank you for your reply.

I decided to add the ROM-type hint suffix into the file-name, just like you suggested.

So, problem solved.

@ppeccin
Copy link
Owner

ppeccin commented Dec 18, 2024

I could maybe add the MSXBR2 detection to the mechanism...

@ppeccin ppeccin reopened this Dec 18, 2024
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

No branches or pull requests

3 participants