rom extension naming.

Are you new to 6502, NES, or even programming in general? Post any of your questions here. Remember - the only dumb question is the question that remains unasked.

Moderator: Moderators

Post Reply
User avatar
jargon
B&: This is not your blog
Posts: 208
Joined: Fri Dec 07, 2007 11:40 pm
Location: 480/85260
Contact:

rom extension naming.

Post by jargon »

why is the extension for a NES/FC rom .NES
but a SNES/SFC extension is .SMC?
Cheers,
Timothy Robert Keal alias jargon

Image
Miser's House Anthology Project
User avatar
Dwedit
Posts: 4470
Joined: Fri Nov 19, 2004 7:35 pm
Contact:

Post by Dwedit »

SMC = Super Magicom, a brand of copier.
Here come the fortune cookies! Here come the fortune cookies! They're wearing paper hats!
Celius
Posts: 2159
Joined: Sun Jun 05, 2005 2:04 pm
Location: Minneapolis, Minnesota, United States
Contact:

Post by Celius »

All the SNES ROMs I have are .SMC.
NotTheCommonDose
Posts: 523
Joined: Thu Jun 29, 2006 7:44 pm
Location: lolz!

Post by NotTheCommonDose »

Celius wrote:All the SNES ROMs I have are .SMC.
ditto
User avatar
Bregalad
Posts: 8036
Joined: Fri Nov 12, 2004 2:49 pm
Location: Caen, France

Post by Bregalad »

I have some ROMs with .fig extensions, but all of these are homebew. I guess it's like SMC without the header, I'm not sure however. I guess that there also is SMC files without header, and the emulator detects it somehow.
User avatar
kyuusaku
Posts: 1665
Joined: Mon Sep 27, 2004 2:13 pm

Post by kyuusaku »

.SMC is just used for historical reasons, most ROMs today don't have Magicom headers. If they do, they usually aren't given proper extensions anyway to designate between strict Magicom, Wild Card (.SWC) and Pro Fighter (.FIG) ROMs which are all very similar.

As I understand it, there's a big push for SNES ROMs to be straight binary files now since copier headers are pretty useless for emulation. Strict binary in itself is stupid though since you can't always rely on the data from the Nintendo header and ROM size. Even if you can emulate most games with the header information, it won't necessarily be accurate without emulating the specific PCB the game uses.

Nintendo's official ROM format is straight binary files in <=8M parts (don't remember the naming) given the extension .SFC, but when you submit the ROM to Nintendo, they know which board type you're using.
dvdmth
Posts: 354
Joined: Wed Mar 22, 2006 8:00 am

Post by dvdmth »

kyuusaku wrote:As I understand it, there's a big push for SNES ROMs to be straight binary files now since copier headers are pretty useless for emulation. Strict binary in itself is stupid though since you can't always rely on the data from the Nintendo header and ROM size. Even if you can emulate most games with the header information, it won't necessarily be accurate without emulating the specific PCB the game uses.
As far as I know, all SNES emulators rely on the internal header, not the 512-byte header, to detect ROM info (although some do a better job than others). The only time I know of that an emulator will look at the 512-byte header is if a special data block (generated by the ROM tool NSRT) is present there, which provides some additional information such as controllers used, game genres, etc.

The No-Intro SNES ROM set uses .sfc for the file extension. I believe NSRT uses .sfc for headerless ROMs and .smc for ROMs with headers when renaming.
"Last version was better," says Floyd. "More bugs. Bugs make game fun."
atari2600a
Posts: 324
Joined: Fri Jun 29, 2007 10:25 pm
Location: Earth, Milkyway Galaxy, The Universe, M-Theory
Contact:

Post by atari2600a »

kyuusaku wrote:Nintendo's official ROM format is straight binary files in <=8M parts (don't remember the naming) given the extension .SFC, but when you submit the ROM to Nintendo, they know which board type you're using.
Curious, can you cite this info? I'd be very interested in reading whatever documentation such fun info came from!:P

Code: Select all

          *=$0000
loop      JMP loop
          .eof
User avatar
jargon
B&: This is not your blog
Posts: 208
Joined: Fri Dec 07, 2007 11:40 pm
Location: 480/85260
Contact:

Post by jargon »

i had some files with the 'fig' extension that turned out to actually be nes roms

i only had one 'swc' i couldn't get it to work in any emulator i tried it in at the time. even when temporarily renaming the extension.

btw not all .fig files are roms,

as there was a guy in the late 90s that went by the name 'Anthony Figluizi' (or was it 'Anthony Figluigi' sp?) that published Quick Basic demos via QBASIC.com and other various QBasic sites that used '*.fig' as his own self-contained universal media, save data, and initialization script database format for his demos and games.
Cheers,
Timothy Robert Keal alias jargon

Image
Miser's House Anthology Project
User avatar
jargon
B&: This is not your blog
Posts: 208
Joined: Fri Dec 07, 2007 11:40 pm
Location: 480/85260
Contact:

Post by jargon »

atari2600a wrote:
kyuusaku wrote:Nintendo's official ROM format is straight binary files in <=8M parts (don't remember the naming) given the extension .SFC, but when you submit the ROM to Nintendo, they know which board type you're using.
Curious, can you cite this info? I'd be very interested in reading whatever documentation such fun info came from!:P
maybe he used to work on REAL nes/snes games.
Cheers,
Timothy Robert Keal alias jargon

Image
Miser's House Anthology Project
User avatar
kyuusaku
Posts: 1665
Joined: Mon Sep 27, 2004 2:13 pm

Post by kyuusaku »

Nah, just read it in the official docs similar to the ones scanned on the internet. These are probably similar but I haven't checked:

http://www.romhacking.net/docs/SNESDevManual.rar
http://www.romhacking.net/docs/sfcman.rar
http://www.romhacking.net/docs/SFC_Manual.zip
tepples
Posts: 22345
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Post by tepples »

If those are the official docs, would reading them contaminate us under trade secret and copyright law?
User avatar
kyuusaku
Posts: 1665
Joined: Mon Sep 27, 2004 2:13 pm

Post by kyuusaku »

I have no idea, but I have no problem with my post being deleted. I hesitated to post because of that, and because I actually linked to a ROM hacking website :roll:
WedNESday
Posts: 1231
Joined: Thu Sep 15, 2005 9:23 am
Location: Berlin, Germany
Contact:

Post by WedNESday »

kyuusaku wrote:I have no idea, but I have no problem with my post being deleted. I hesitated to post because of that, and because I actually linked to a ROM hacking website :roll:
*Downloads them all very very quickly*

They seem to be very official indeed. Many pages of legal stuff. They make for one very interesting read.

Edit:
tepples wrote:If those are the official docs, would reading them contaminate us under trade secret and copyright law?
I mean, IF I were to read them... :!:
Post Reply