mhavoc
Posts: 2
Joined: Wed Apr 04, 2018 3:09 pm

ROM Filename Case in driver

Fri May 25, 2018 12:04 am

I couldn't find a answer to this doing a search... should I distribute ROM's in Lower Case, Upper Case or doesn't it matter? the ROM extensions are going to be the PCB location and they are much easier to read in Upper case.... .1L vs .1l for example. I didn't know if this was breaking some convention in the driver requirements tho.

thanks.. Jess

User avatar
f205v
Posts: 5
Joined: Tue Nov 11, 2014 10:31 pm
Location: Switzerland
Contact: Website

Re: ROM Filename Case in driver

Fri May 25, 2018 7:26 am

The worlds "distribute" and "ROMs" do not go well together, because copyright, you know.
------
Ciao
f205v

User avatar
Tafoid
Posts: 126
Joined: Thu Nov 06, 2014 12:50 pm
Location: Vermont USA
Contact: Website

Re: ROM Filename Case in driver

Fri May 25, 2018 8:09 am

mhavoc wrote:
Fri May 25, 2018 12:04 am
I couldn't find a answer to this doing a search... should I distribute ROM's in Lower Case, Upper Case or doesn't it matter? the ROM extensions are going to be the PCB location and they are much easier to read in Upper case.... .1L vs .1l for example. I didn't know if this was breaking some convention in the driver requirements tho.

thanks.. Jess

In the case of MAME in almost all instances, lowercase *IS* uppercase.
I can understand L vs l or I vs i from looking at them, but in those boards are there both "L" and an "I" locations? I don't think this exists so there should be no confusion. In fact, you'll rarely find lowercase letters in any label you see on a PCB outside of perhaps a company, game name, or another non-critical part of a label. There are no labels that I am aware of that require Uppercase Vs. Lowercase to determine versioning or revision. The lowercase that MAME insists for documentation of machines is a uniformity for both the eyes when dealing with them as well as sensitivity towards any operating system where difference in case does matter (most non-Windows) in identity and renaming, ensuring ease of use for developers and end users.

User avatar
Robert
Posts: 56
Joined: Thu Nov 06, 2014 12:44 pm
Location: Land of Oz
Contact: Website

Re: ROM Filename Case in driver

Fri May 25, 2018 11:44 am

Real roms are generally in uppercase, but MAME only allows lowercase.

But in reality it doesn't matter because if the filename doesn't match then MAME uses the CRC32 hash to look for a match.

So, do whatever you want.

mhavoc
Posts: 2
Joined: Wed Apr 04, 2018 3:09 pm

Re: ROM Filename Case in driver

Fri May 25, 2018 1:48 pm

Cool, thanks for the info on the inner-workings of MAME appreciate it.. I will go with lowercase for now.

You are correct.. I don't have a .1L and a 1I location (luckily).

Return to “MAME Discussion”

Who is online

Users browsing this forum: No registered users and 2 guests