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
added support for reading/writing hiscore files from cart images #6130
Conversation
example hiscore.dat entry: ```` nes,smb: Super Mario Bros. (World).nes: Super Mario Bros. (W) [!].nes: @:maincpu,program,7df,4,0,0,ff ````
I don't think that this is something we want as part of the official distribution. We try to encourage people to use softlist images. |
As alternative i could use the cart CRC hash (from Softlist images are good for developers who prefer shorter names to type in the terminal and source code, but for console rom dumps long filenames are more common. Btw, if you prefer to reject this i will host it in a separate repository and rename the plugin as |
Softlist stuff isn't just about shortnames tho, it's the way MAME ties together ROMs and other cartridge components without having to fall back to detection hacks. Nobody should be using loose ROMs for console stuff. |
Softlists are preferred because they're much easier for users (although users seem to have a mental block about console roms being treated identically to arcade roms, and frontend authors continue to be awful at supporting softlists properly), but we do and will continue to support loose dumps. If this patch works for both kinds of roms and passes coding standards I don't see a problem with it. |
yes, softlists are still supported, in fact i've been using both while testing the plugin. The double extension is intentional to prevent name conflicts between roms with the same filename and different systems (e.g. "Tennis (USA).nes" and "Tennis (USA).sms"). I've verified this also works fine with compressed rom dumps, since mame returns this nice string as filename Another solution would be storing the hiscore file in a subfolder with the system name (e.g. Btw i have other enhancements in mind for the hiscore plugin (support for crc hashes and cdrom media), if this this pull request gets accepted i will send another one soon. EDIT: the external repo with the latest changes is now public . |
I've updated the branch with my latest changes (now hiscores are stored in subdirs). |
This seems to break high scores for systems without cartridge slots. It gives errors like:
It has been reverted in c39f46d |
i see, i'll fix this asap.. |
example hiscore.dat entry: