Hardware-Target-Game-Database
Hardware-Target-Game-Database copied to clipboard
SNES: Remove SMC headers and fix filename extensions.
Many of the hacks/translations/etc. in the SNES pack contain SMC headers, even if their filenames don't end in .smc
. And many of the files that do have the .smc
extension don't actually contain an SMC header. So the .sfc
/.smc
file names and formats are currently being utilized as if they are interchangeable.
In most cases this doesn't matter, because the SD2SNES and many other devices can check for the SMC header and ignore it if it exists, and they don't care about the filename extension. But the new SNES core for Analogue Pocket doesn't support SMC headers, and I think we should fix this anyway for consistency/correctness.
I've attached a simple Python script that can update your files: remove_smc_headers.zip
I also updated the sort order that has recently changed as a result of #828.
Excellent work, I will review these before merging.