Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
07810 Core Critical (emulator) Always Dec 5, 2020, 12:05 Dec 5, 2020, 12:24
Tester ArcadeShadow View Status Public Platform MAME (Official Binary)
Assigned To Resolution Invalid report OS Windows 10 (64-bit)
Status [?] Closed Driver snes.cpp
Version 0.226 Fixed in Version Build 64-bit
Fixed in Git Commit Github Pull Request #
Summary MESS-specific 07810: snes: (Possible) hash file issue
Description I don't know if it's my mistake or a MAME issue.
When I add a snes set in the hash file, the game doesn't run automatically

I don't have this kind of situation with others System Software (like "megadriv" for instance).
Steps To Reproduce I have a custom snes hash file (see attached printscreen or Additional Information tag), which have only 2 sets (an official MAME snes set "ssriders" and an homebrew set "test").
The hash files are in a directory named "hash2".
If I try to run the "ssriders" set, whith this command line:
mame64 -rompath "C:\m226\roms"; -hashpath "C:\m226\hash2" snes ssriders
The game starts and runs with no problem.

When I try to run the "test" game, with the same command line:
mame64 -rompath "C:\m226\roms"; -hashpath "C:\m226\hash2" snes test
The game doesn't run. No errors appears, only a black screen.

It only runs if I add the media parameter, like this:
mame64 -rompath "C:\m226\roms"; -hashpath "C:\m226\hash2" snes -cart "C:\roms\test.zip"
Additional Information <?xml version="1.0"?>
<!DOCTYPE softwarelist SYSTEM "softwarelist.dtd">

<softwarelist name="snes" description="Nintendo SNES cartridges">

<software name="ssriders">
<description>Sunset Riders (Euro)</description>
<year>1993</year>
<publisher>Konami</publisher>
<sharedfeat name="compatibility" value="PAL"/>
<part name="cart" interface="snes_cart">
<feature name="slot" value="lorom" />
<dataarea name="rom" size="1048576">
<rom name="sunset riders (europe).sfc" size="1048576" crc="64edfc5d" sha1="2ae53e498ff0b66c49cfedebdbbcd679e804058c" offset="0x000000" />
</dataarea>
</part>
</software>

<software name="test">
<description>My Test</description>
<year>2020</year>
<publisher>Test Publisher</publisher>
<part name="cart" interface="snes_cart">
<feature name="slot" value="lorom" />
<dataarea name="rom" size="2097664">
<rom name="test.sfc" size="2097664" crc="6b56f48e" sha1="29144845a11164949d03ce45710ba56f537c61b2" offset="0x000000" />
</dataarea>
</part>
</software>

</softwarelist>
Github Commit
Flags
Regression Version
Affected Sets / Systems snes
Attached Files
png file icon Capture.PNG (33,926 bytes) Dec 5, 2020, 12:05 Uploaded by ArcadeShadow
ArcadeShadow
Relationships
There are no relationship linked to this issue.
Notes
1
User avatar
No.18218
cuavas
Administrator
Dec 5, 2020, 12:24
MAME can definitely run SNES cartridges from the software list. You must have something wrong in how you’ve added it.