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

Detect Genesis/Mega Drive ROMs based on Headers in ROM Data #969

Open
hegyak opened this issue Aug 22, 2017 · 6 comments
Open

Detect Genesis/Mega Drive ROMs based on Headers in ROM Data #969

hegyak opened this issue Aug 22, 2017 · 6 comments
Labels
App: EmuHawk Relating to EmuHawk frontend Enhancement For feature requests or possible improvements Priority: Lower than low

Comments

@hegyak
Copy link
Contributor

hegyak commented Aug 22, 2017

I checked and all Good/Proper Genesis/Mega Drive ROMs have at Offset 0x100, have the Hexademical values:
"53 45 47 41 20 47 45 4E 45 53 49 53 20 20 20 20"
Or
"53 45 47 41 20 4D 45 47 41 20 44 52 49 56 45 20"

This signifies that it's a Sega Genesis/Mega Drive ROM. My question is, can we read in the ROM at that offset, for 16 bytes, and look for those values? If we see those values, load up the ROM into the Genesis Core.

BizHawk would probably need to verify that the ROM itself has enough bytes to actually reach Offset 100 and has at least 16 bytes beyond that.

@hegyak hegyak added Core: Genplus-gx Sega Genesis / Mega Drive core Enhancement For feature requests or possible improvements Priority: Lower than low question labels Aug 22, 2017
@nattthebear
Copy link
Contributor

This will be considered only as part of the larger "autodetect ROMs" task, which no one can agree on the specifics of :(

@zeromus
Copy link
Contributor

zeromus commented Aug 23, 2017

Who's demanding this? People with homebrew roms not in the gamedb with strange extensions other than .md so that elementary heuristics cant work?

@hegyak
Copy link
Contributor Author

hegyak commented Aug 23, 2017

@zeromus I marked this myself as Question. Because, I thought it would be best as a question of "can/should we do this?" Not "Let's do this."

And for the same reason, it's priority is Poop. It's not a major or even important thing to worry about. There's plenty of larger issues to worry about, but it is something I wanted to inquire into.

Hearing that there's already a larger plan in place, it makes me want to jump into that discussion but, I think that's a discussion for IRC and not GitHub.

I will leave this open as an idea of what could be done and what could be done concerning Genesis/Mega Drive ROM detection behaviors.

@YoshiRulz YoshiRulz removed the question label Feb 2, 2019
@YoshiRulz
Copy link
Member

Is better rom system detection in the issue tracker? I couldn't find it.

@hegyak
Copy link
Contributor Author

hegyak commented Feb 4, 2019

@YoshiRulz As far as I am aware, there is not. The issue is there are a LOT of Systems BizHawk supports. Aside from the Extension, which users can mess with as they see fit, there may not be a consistent way to accurately identify every ROM and ISO that could in theory be loaded.

@nattthebear nattthebear added App: EmuHawk Relating to EmuHawk frontend and removed Core: Genplus-gx Sega Genesis / Mega Drive core labels Jun 4, 2020
@nattthebear
Copy link
Contributor

This probably wouldn't live in the core

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
App: EmuHawk Relating to EmuHawk frontend Enhancement For feature requests or possible improvements Priority: Lower than low
Projects
None yet
Development

No branches or pull requests

4 participants