Raiden II Project
Moar liek Seibu Kaihacksu, amirite?

2010/07/23

Command Line Arguments

Filed under: Progress Update — trap15 @ 18:20

Yesterday I brought up the topic of the command line option syntax with austere, noting how MAME used -switch, instead of the standard --switch. We both decided that since UberMAME is still not very widely used, it would be a good time to fix the syntax. Earlier today I pushed up a change that now uses the standard switch syntax, and cleans up a lot of the names of the options. An example of the change would be our switch for Lagless patches, which was originally -lagless, is now --lagless; turning lagless off was originally -nolagless, and is now --no-lagless. We also changed the names of several switches to cleaner versions. An example is -showusage, which is now --show-usage.

One of the biggest side-effects of these changes is that old mame.ini files are now completely invalid. You should make a back-up of your old mame.ini, use mame --cc to make a new mame.ini, then copy your changes back (don’t change the option names though!) and you should have a working mame.ini again.

Hoping that these changes will be pushed back upstream, but if not, oh well.

Another change that is worth noting is that we have removed the Windows OSD. No, this does not mean it won’t work under Windows, it just means that you will be using the SDL OSD, which will be actively maintained by us, since the majority of development from us comes from *NIX computers, which won’t build the Windows OSD. There shouldn’t be any substantial performance hits from this decision, but it’s a good thing to note.

Happy hacking!

UPDATE: I cleaned up the post a bit, apparently the double-dashes looked like single dashes!

No Comments

No comments yet.

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

Powered by WordPress