So this thread (started by myself) and the latest Sega Lord X video about the smallest Genesis games got me thinking about the size of the roms and if there is a reason to keep the padding on the games that don't use their full chip capacity (that is most of them, I guess, even if games like Gunstar Heroes have only 177 bytes of padding).
I've been reading here and there and couldn't find a reason to keep them in 2022 (SMD format is long dead, modern flashcarts support any rom size up to an upper limit, etc). It's mostly that people doesn't care about it, as it doesn't fix any problem in doing so. Space is not an issue anymore (except maybe mini consoles, etc. but they usually admit zipped roms which will be effectively the same size, as the padding compresses 99%). I guess it's only needed nowadays if you are burning the rom to a cart.
There would be some gains though: even faster loading speeds on flashcarts (this is critical for older versions like everdrive MD v3 which is probably still very popular) and sbc devices ala raspberry pi, lighter romsets and, most of all, knowing the real size of each game (I know it doesn't tell the full story as there are all kinds of optimizations and compression to varying degrees in each game).
How could I remove the padding automatically in a fullset ? Well, or just a file (from command line only) and I would create a batch to apply it to a whole folder. Can a hex editor be automated that way, or is there a specific tool as the ones for PSP and other disc-based games?
I think romsets can be discussed here as long as there are no links (or encouragement to download them) posted, so I'm wondering: why aren't there new romsets made with the padding removed ? At least on the more popular/downloaded sets (nes/snes I guess) ??