How to convert sfc files to smc ?

This is an archive of a topic from NESdev BBS, taken in mid-October 2019 before a server upgrade.
View original topic
How to convert sfc files to smc ?
by on (#47621)
How to convert sfc files to smc ? maybe somebody can explain me step by step... ?

by on (#47630)
They're the same thing, as far as I remember.

by on (#47666)
You rename them.

by on (#47668)
Unless you need .SMC because your copier expects a Super Magicom header, in that case use uCON64 with the switch "-smc". The whole command would be "ucon64 -smc mario.sfc"

by on (#47702)
FitzRoy wrote:
You rename them.


rename not working , and when i rename ucon wount splitting game :-/

now i try kyuusaku idea ; )

by on (#47707)
Is your question on how to add a copier header or change the filename? I get confused because emulators will recognize a copier extension like SMC, but don't care if it's in the proper ROM+(SMC)Header format for which the extension was created to denote. You can add an empty header with NSRT.

by on (#47710)
Ah, I see what I was remembering.

The SMC and SWC extensions are the same thing. SFC could be a raw ROM image (no copier headers).

The SMC/SWC ROMs contain a 512 byte header at the start of the ROM image. You can check to see if there's such a header by looking at file offests 8 and 9; if the values there are 0xAA and 0xBB, respectively, then there's an SMC/SWC header.

I wouldn't bother using tools like ucon -- waste of time, and does nothing but confuse, not to mention can nuke your ROM image.

You need to know what your copier/emulator can understand before you know if you need to remove or add the header.

Since, based on your subject line, you're taking an SFC file and trying to add the SMC header, you need to know a bit about the game itself before you can do that. The SMC/SWC file format is well documented (scroll down to section "File Header").