fpga-gameandwatch
fpga-gameandwatch copied to clipboard
Rom generator fails when layout contains `collection` elements
Version (or build number)
0.1.0
Platform (Pocket or MiSTer)
N/A
Steps to reproduce
Run ROM generator with the syntax from the documentation against a MAME .250 merged romset.
Expected Behavior
No response
Actual Behavior
Running the ROM generator on Windows and Mac both result in the same error.
C:\Users\goldenegg\windows>fpga-gnw-romgenerator.exe --mame-path e:\mametemp --output-path e:\output supported
Processing device gnw_ball
thread 'main' panicked at 'called Result::unwrap() on an Err value: Custom { field: "unknown variant collection, expected one of bounds, element, screen" }', src\layout.rs:139:80
Additional Context
Confirmed that the required ROMs and artwork are present. The required files can be extracted manually.
Interesting. Would you happen to be using an alternative artwork?
Could you please attach the default.lay file from your artwork zip?
Correction. It's a MAME 0.251 romset being used.
I got an artwork set from another source and ROM generator worked. Not sure why the files from what's supposed to be the official set aren't working. I'll raise it with their team, but I'll leave it to you whether or not you want to close this ticket.
This is a really weird layout. It's completely different than all other's I've seen, and it even uses completely different "View" names (the different user-selectable ways of presenting the layers of the image) than the rest of the artwork, so my tool would be unable to accurately choose the correct view.
I should support this, but it's not going to be trivial work. It's probably not going to happen soon.