Disclaimer: This manual is not complete yet. If you find any outdated or incorrect info, or if you think there are important aspects of the MESS Usage which are not covered by this guide, please post at MESS Message Board.
MESS is an acronym which stands for Multi Emulator Super System. MESS documents and reproduces through emulation the inner components of computers, consoles, chess computers and calculators. As a nice side-effect, MESS allows to use on a modern PC those programs and games which were originally developed for the emulated machines.
MESS is mostly programmed in C with some core components in C++ (here you can see an overview of the MESS source structure), and shares its core and CPU emulation with MAME. This allows MESS to offer the same powerful interface and flexible options which MAME offers for arcade emulation.
MESS can currently emulate over 450 individual systems from the last 5 decades.
The primary purpose of MESS is to preserve decades of computer and console history. As technology continues to rush forward, MESS prevents these important “vintage” systems from being lost and forgotten. MESS is based on MAME and shares many of its components. Additional information about MESS and MAME can be found at the MESS home page or at MAMEDev. You could also find the MAME FAQs and MESS FAQs a very interesting read.
MESS wiki pages contain a complete list of the systems currently emulated, divided per source drivers. As you will notice, being supported does not always mean that the status of the emulation is perfect. You may want
Alternatively, you can simply see the status by yourself, launching the system emulation and taking a look to the red or yellow warning screen which appears before the emulation starts, if any.
Notice that if you have information which can help to improve the emulation of a supported system, or if you can directly contribute fixes and/or addition to the current source, you can follow the instructions at the contact page or post to the MESS Message Board.
As with MAME, the current source code can be directly compiled under all the main OSes: Windows (both with DirectX native support and with SDL support), Linux, FreeBSD, Mac OSX and OS/2 (these latter Operative Systems only requiring SDL 1.2 to work). Also, both 32-bit and 64-bit executable can be built with no difficulties.
You simply have to download the latest binary archive available at this page and to extract its content to a folder. You will end up with many files (below you find explanations about some of these), and in particular with mess.exe and messgui.exe. The former is the command line version of MESS, the latter is the GUI version of MESS. The installation procedure ends here. Easy, isn't it?
In this case, you can either look for pre-compiled (SDL)MESS binaries (e.g. in the repositories of your favorite Linux distro) which should simply extract all the needed files in a folder you choose, or compile the source code by yourself. In the latter case, see next entry.
Compiling MESS for Windows requires the MinGW toolkit, a variant of GCC. MinGW comes with a variant of GDB for debugging. Downloads of those tools can be found on the build tools page. Notice also that the same tools are used to compile MAME. Hence, you can download them from the correspondent MAME build tools page as well.
Then, you need the MESS source, of course. You can either take the whole tree from the svn repository (see this page), or download latest stable source (see again this page) and add to it the corresponding version of the MAME source. The svn is however the recommended choice, because of the frequent updates.
Alternatively, you can use Visual C to compile MESS. Indeed, if you add MSVC_BUILD=1 at the compile command, the build will use Visual C instead of MinGW. Note that MinGW is still required, as GNU make is used rather than nmake. Using the Microsoft compilers allows to use the Visual C debugger to debug MESS, but one does not get the full benefits of the IDE.
You can also read our Compile wiki page.
Starting from version 0.137, the SDL component of MAME/MESS are included in the official source.
Therefore, to compile MESS you only need to download the source from this page (and to add the MAME source), or to checkout the svn repository (see this page for instructions about svn).
Required packages and instructions about compiling (SDL)MESS are the same used to compile (SDL)MAME and can be found following the links at this thread. In general, you only need a compatible version of GCC (sometimes latest bleeding edge versions may cause compile issues), the SDL libraries and the MESS & MAME sources: the makefile has been written so that typing “make TARGET=mess” is enough to correctly compile the proper version for your setup (except if you want SDL in windows, in which case you also need to add “OSD=sdl”).
You can also read our Compile wiki page.
MESS is written in fairly generic C, and has been ported to numerous platforms. Over time, as computer hardware has evolved, the MESS code has evolved as well to take advantage of the greater processing power and hardware capabilities offered. The official MESS binaries are compiled and designed to run on a standard Windows-based system. The minimum requirements are: Any MMX-capable AMD or Intel processor (Pentium III or later recommended for current versions) Windows 98 or later (Windows 2000 or later preferred) DirectX 5.0 or later (included with all versions of Windows 98 or later) A DirectDraw or Direct3D capable graphics card Any DirectSound capable sound card Of course, the minimum requirements are just that: minimal. You may not get optimal performance from such a system, but MESS should run. Modern versions of MESS require more power than older versions, so if you have a less-capable PC, you may find that using an older version of MESS may get you better performance, at the cost of lowered accuracy and fewer supported systems. As of MESS 0.106 and later, MESS will take advantage of 3D hardware for compositing artwork and scaling the games to full screen. To make use of this, you should have a modern Direct3D 8-capable video card with at least 16MB of video RAM. Around the same time, MESS added minimal multi-processor support, if you use the -mt flag. This means that some of the video processing can be done on a second CPU core if it is available. To take advantage of this, you should run MESS on a dual core (or greater) system. Keep in mind that even on the fastest computers available, MESS is still incapable of playing some systems at full speed. The goal of the project isn't to make all system run speedy on your system; the goal is to document the hardware and reproduce the behavior of the hardware as faithfully as possible.
(from mamedev.org, adapted)
Most of the systems emulated by MESS requires a dump of the internal chips of the original system. These can be obtained by extracting the data from an original unit, or finding them (at your own risk) in the WorldWideWeb. Being copyrighted material, MESS does not come with any of these.
Also, you may want to find some software to be run on the emulated machine. Again, Google and other search engines are your best friends. MESS does not provide any software to be run on the emulated machines because it is very often (almost always, in the case of console software) copyrighted material.
If you are a new MESS user, you could find this emulator a bit complex at first. However, MESS shares most of its core components with MAME (and its Windows GUI with MAMEUI). Therefore, any guide for MAME would fit perfectly for MESS as well, giving you directions about what you have to do when you start using MESS.
Also, keep in mind the following command line options: help
, showusage
(or briefly su
), showconfig
(or briefly sc
) and createconfig
(or briefly cc
).
If you launch at command line
mess.exe -help
you will be explained what MESS is the basic structure of MESS launching options, i.e.
mess.exe <system> <device> <software> <options>
If you launch at command line
mess.exe -showusage
you will be prompted with the (quite long) list of available command line options for MESS. The main options are described below, in the Command Line Options section of this manual. You can also read all the command line options at the usage page of this wiki.
If you launch at command line
mess.exe -showconfig
you will be prompted with the (quite long) list of available configuration options for MESS. These configuration can always be modified at command line, or by editing them in mess.ini
which is the main configuration file for MESS. You can find a description of some configuration options in the Command Line Options
section of this manual (usually, to each configuration option there
corresponds a command line option to configure and modify it). You can
also read all the configuration options at the mess.ini page of this wiki.
Finally, if you launch at command line
mess.exe -createconfig
you will create a brand new mess.ini file, with default configuration settings. Notice that mess.ini is basically a plain text file, hence you can open it with any text editor (e.g. Notepad, Emacs or TextEdit) and configure every option you need. However, no particular tweaks are needed to start, so you can basically leave most of the options unaltered the first times you use MESS.
[maybe the -soft opengl option for (SDL)MESS should be mentioned here…]
Once you are more confident with MESS options, you may want to configure a bit more your setup. In this case, keep in mind the order in which options are read:
Therefore, options set at command line have precedence over anything you have set in .ini files, while unspecified options fall back to their default values.
TO DO: check if the ini part is 100% correct and add explanations about parent and system .inis
To start your adventure in the MESS world, you simply have to double click on the executable. If you're using messui.exe under Windows, you reach the Graphical User Interface, where you can set up basically every possible option for MESS (see the GUI Options section below). Otherwise, if you started mess.exe, you reach the Internal User Interface (see the Internal UI Options section below) and you will be asked to choose a system among the supported ones.
To take a break from the emulation, simply press P. Notice that, if you are emulating a computer and you are in the fully emulated keyboard mode, P will have no Pause effect. In this case, press ScrLock (Ins for (SDL)MESS) to switch your keyboard in partial emulation mode and press again P to actually pause MESS. When you want to resume the emulation, simply press P once more.
You may want to advance frame by frame in the emulation, while in Pause. This can be accomplished by pressing Shift+P during Pause.
See Key Functions section for more details about controlling MESS.
To enter the Internal User Interface during emulation, press Tab. Notice that, if you are emulating a computer and you are in the fully emulated keyboard mode, Tab won't have the expected effect. In this case, press ScrLock (Ins for (SDL)MESS) to switch your keyboard in partial emulation mode and press again Tab to actually enter the User Interface.
Tips - the internal UI is completely clickable with your mouse. You can select options and move through the available menu by a simple double click of your mouse!
See Key Functions section for more details about controlling MESS.
If you use MESS in Windows and you have chosen the -newui option (see below for a complete description of this option and of the New UI Options available), you will have a quite familiar menu bar on the top of your screen. You can easily select options by clicking on them with the mouse.
Notice that this New UI could be removed in future, because of the progresses of the MAME-like Internal UI and of the difficulty of maintaining three UI at the same time (counting also Windows GUI).
To stop MESS emulation, press Esc. Notice that, if you are emulating a computer and you are in the fully emulated keyboard mode, Esc will have no Quit effect. In this case, press ScrLock (Ins for (SDL)MESS) to switch your keyboard in partial emulation mode and press again Esc to actually quit MESS. After pressing Esc, you will
See Key Functions section for more details about controlling MESS.
If you don't like using MESS from command line or if you are using MESS on Windows but you don't like MESSUI's appearance, you may want to use MESS in conjunction with a frontend. Various frontends currently support MESS. In alphabetical order:
Please refer to their home pages and support forums for more information about the available options of the frontends.
As mentioned in the Requirements section, to run most of the supported machines in MESS, you need BIOSes files, i.e. files which represent an exact copy of the content of chips present inside the real systems. Once you have these files, you can
<system>.zip
and put them in the roms/ folder (where <system> is the machine you want to emulate, e.g. you need a msx.zip
file in the roms/ directory for the ASCII MSX to work)Notice that you can modify the location of the BIOSes by setting the -rompath option (see Command Line Options) to something different than roms/ . You can also setting it to roms/ and a second folder of your choice.
Tips - MESS
can load zipped BIOSes based on their CRC checksum. Hence, if you have a
correct BIOS zipped in the roms/ folder, the names of the single files
are not really important. However, if you keep your BIOS unzipped, MESS cannot load the files by CRC and you need the BIOS files to be named in a very precise way. If you keep receiving a missing files
error message and you think you have already the required files
unzipped in a subfolder of the roms/ folder, check if their names are
correct.
There exists no hardcoded software locations in MESS. If you are running MESS from command line, you simply have to specify the full path to the software. If you are using MESS GUI
on Windows, you can easily set up software folders for each emulated
system and then choose the software image you want in the file picker
window.
While running MESS, you can also change software by entering the Internal UI (press Tab), choosing File Manager
,
selecting the device you want to use (Cartslots, Cassettes, Floppy
Disks, Cdroms, etc.) and browsing your folders until you find the
desired software image.
The remainder of this section is for those who prefer to use the GUI.
Select from the menu, Options, Directories. From the dropdown list choose Software. Click Insert or Browse. Navigate to the root of your software folder and click ok.
On the right you can see a section for software selection. It has two tabs, “Picker” and “Device View”. The Device View shows the available devices, any software that is currently loaded, and a selection box where you may Mount, Create or Unmount an image.
The Picker lists all compatible software that it can find for the selected system.
For these views to work properly, you need to configure the system's software path. Right-click on a system, choose Properties, then Software. Click Insert, browse to the location of the software and click ok. Click ok to exit the Properties. The “Picker” will now list all the software, including subdirectories.
If you are running MESS GUI on Windows, you just need to double click on the desired system. If you are running MESS from command line, you have to type
mess.exe <system>
where system
is the MESS
system name (a string of at most 8 characters identifying the system).
If you type the wrong system name, you will be prompted by a list of
approximate matches.
While running MESS, you can also change emulated system by entering the Internal UI and choosing Select New System
.
Notice that some systems require a software image to run (e.g. some consoles which cannot work without a cartridge image inserted). These systems also gives errors when you try to start them from the Internal UI.
In addition to the BIOS images, to fully enjoy emulation of a system you will need also some software. Again, this is copyrighted material and it is up to you to find it. However, once you have found it, you can load it in MESS by simply pointing the emulator to the right directory, e.g. to run Atari 2600 with an image of the cart Frogger in .a26 format, you need to launch
mess.exe a2600 -cart "C:\path_to_image\frogger.a26"
Some systems (usually consoles) do not start in MESS without an image (which would correspond to a cartridge inserted in the cartslot of the console). Other systems (e.g. all the computers) would start also without any software mounted. As an example, running
mess.exe c64
would prompt you to the BASIC “ready” screen. Different systems supports in MESS different types of images and different devices. You can check supported devices and file extensions by using the -listmedia
option (also described here). E.g.
mess.exe apple2gs -listmedia
for specific Apple ||gs emulation or
mess.exe -listmedia
for a list of all supported devices and file extensions for each system. You can always change the software you have loaded in a device by entering the Internal UI (pressing Tab) and selecting “File Manager” (see below).
As of MESS 0.138, a new option for launching a system with software has been added: launch from software lists. This new option is based on the inclusion of software lists, in .xml format, containing checksums of known dumps, and it works a bit more like MAME, in the sense that to e.g. launch SNES emulation of Super Mario World requires the following command
mess.exe snes -cart smwu
where “smwu” must be the proper image which is listed in the software lists “snes.xml”. You can find more details about this new option in the Software Lists section below.
To reset MESS emulation, press Shift+F3. Notice that, if you are emulating a computer and you are in the fully emulated keyboard mode, Shift+F3 will have no Reset effect. In this case, press ScrLock (Ins for (SDL)MESS) to switch your keyboard in partial emulation mode and press again Shift+F3 to actually reset MESS emulation. Notice that this kind of reset function corresponds to quit and restart completely the emulation. Single systems may offer a different Reset functionality that could be available by pressing a specific key (check sysinfo.dat to find out if such a functionality is present or not in the system you are emulating)
To change the emulated system, you can simply quit MESS (by pressing Esc) and start the emulation of a new system.
Alternatively, you can enter the Internal UI (by pressing Tab) and choose the Select New System
option.
If you find a bug in MESS, please follow these simple steps
Also, you may follow the next steps as well
If you can provide fixes or addition of missing components, please follow the submission rules at the contact page.
Here is a table with some key function in MESS (you could notice they have the same functions in MAME). If you are emulating a computer in MESS, notice that these keys will have effect only in Keyboard Partial Emulation Mode (see Emulated Keyboard section).
Key | Function |
---|---|
Scrl Lock (Ins in (SDL)MESS) | Switch MESS to partial keyboard emulation which lets you use keys like Tab to access UI, P to pause, Esc to quit, etc. |
Shift+Scrl Lock | Paste copied text into the emulated computer |
Tab | Access MESS Internal UI |
P | Pause the emulation |
Shift+P | Skip one frame forward if paused |
Esc | Quit the emulation |
F3 | Reset the emulated system |
Shift+F3 | Performs a “hard reset”, which tears everything down and re-creates it from scratch. This is a more thorough and complete reset than an F3 pressure |
F6 | Toggle cheat mode (if started with ”-cheat”) |
F7 | Load a saved system state from a slot number (Only few systems support Save States at the moment) |
Shift+F7 | Save system state to 1 of 10 slots (Only few systems support Save States at the moment) |
F8 | Decrease frame skip during emulation |
F9 | Increase frame skip during emulation |
F10 | Speed Throttle (Makes system overspeed) |
F11 | Frames Per Second and Frameskip information |
F12 | Saves image of system screen to snaps directory (the name of the saved snap can be configured in mess.ini) |
Ins | Fast forward. While held, runs the game with throttling disabled and with the maximum frameskip |
These are the default keys assignments for these functions in MESS. However, you can fully customize them by pressing the Tab key during the emulation and selecting Input (general)
entry. (more details in
the Internal UI section).
For more information about loading/saving a game and about saving snapshot in MESS, read also the Save section and the Snapshots section of this Manual, respectively.
To simplify the use of some system, MESS introduces a few features that are not always known to the user:
Video options
menu of the UI, you can turn it on or off. When the artwork is used,
you can also click with the mouse on the keys that you see to produce
the expected effect on the emulated machine rather than using keyboard
inputs. If you find a system using an artwork but not working when you
click on it, please report it on the MESS message board (this feature is not currently supported in every system with an artwork, but we are working on it).Inputs (general)
and then User Interface
).This is probably the most important file when you use MESS, since it contains all the configuration settings which are used by MESS. By changing mess.ini, you can use to configure every aspect of MESS. Many configuration options and the corresponding command line commands are described in separate sections of this User's Manual and you can find a detailed description of configuration each option at the mess.ini page of this wiki.
If you cannot find mess.ini in your MESS folder, you can easily create a new mess.ini containing default settings by launching from command line
mess.exe -cc
or
mess.exe -createconfig
Afterwards, you can always edit this file and the configuration values by opening and editing it with a text editor. The same command can be also handy if you want to reset every option to its default value at once, because the new mess.ini will overwrite the one already present.
It is recommended that you modify the writeconfig setting to 1.
writeconfig 1
Save your changes. Then, copy your new mess.ini to the ini folder.
As in MAME,
this is the default folder for roms. The main difference is that in this
case '“roms” refers to BIOS roms of the various supported systems.
Therefore, to emulate snes
in MESS you just need to put its BIOS in a zipfile named snes.zip inside the roms/ folder (more information about BIOS handling in MESS can be found at here).
On the other hand, software can be put in any directory you want, as long as the whole software location is passed to MESS at launch. E.g. to play the game foo.smc on snes, it is enough to the correct snes.zip into roms/ and launch at command line
mess.exe snes -cart "C:\here_are_my_games\foo.smc"
.nv files, created in the nvram/ folder by default, represent the content of each 'Non Volatile RAM' device present on the original system (or in its software). A typical example is provided by console carts which were able to store in SRAM the progresses of the player. MESS backups the system nvram in a nvram/<system>.nv file and software nvram in nvram/<system>/<software>.nv files. Next time you launch MESS, it will look in those locations to load the content of saved memory. These files only contains the NVRAM data that would have been saved in the original systems. For other kind of saving you have to refer to Savestates, which are completely unrelated.
MESS saves in .cfg files, created in the cfg/ folder by default, every change made by the user in controls menus (Input (general)
and Input (this System)
in the Internal UI) and configurations menus (Dip Switches
, Configurations
and Categories
in the Internal UI). If you experience any problem after changing these
settings and/or you want to restore default settings and controls, you
just have to delete from cfg/ folder the file <system>.cfg or
default.cfg (the latter for changes in the Input (general)
menu).
MESS looks into this folder to find artworks: as for MAME artworks, these are overlay files which can make easier or more satisfactory the emulation. Typical examples are images of calculators, pocket computers and chess computers which allow a much more faithful experience than the simple LED display. MESS also supports clickable artworks which are very useful for calculators, pocket computers and chess computers: by clicking on the keys shown in the artwork, you will pass the corresponding inputs to the emulated system!
If you had set writeconfig to 1 (as noted in the mess.ini section above), each system will have its own ini file created the first time you run that system. Each ini file is a complete copy of mess.ini, thus you can customise the settings for each individual system.
When you mount an image (cartridge, tape, etc), that information is saved in the system's ini file, to be remembered for next time. This is important for the GUI, because when you choose a game from the software picker, it saves that information to the ini file.
If for some reason you have an unexpected problem with a system, just delete the corresponding ini file, and the defaults will be used next time.
In progress
This folder contains .hsi files and .xml software lists for MESS.
.hsi files are xml-like files which contain CRC checksums of software image, information about software known issues (e.g. if a file is a bad dump, has been overdumped with garbage data etc.) and/or specific settings used by MESS to handle software for certain systems. Among others, .hsi files help MESS to identify NES mappers and Intellivision banking schemes based on the checksums of the file images. Most of the .hsi files are based on GoodTools information (thanks to Cowerings) but, since the files can be read and edited with any text editor, you can create your own .hsi file if you want to.
.xml software lists are used to identify known dumps and to assign them a shortname
which can be used to load the software from command line or from Internal UI or GUI.
In progress
In this folder, MESS saves the snapshots you take from the emulated system by pressing F12. The saving scheme depends on the -snapname
option chosen (see this entry of the Manual).
In progress
MESS emulates the video output of the emulated systems as accurately as possible. Hence, no enhancement filters or effects are implemented.
However, it is possible to overlay the screen with tiled .png files to
mimic and re-create scanlines or tv effects. Some ready-to-use effect
files can be found at Emuadvice Mameworld Forum (these are for MAME, but they work in the same way in MESS). To enable such effect files, you can select them in GUI or load them at command line with the option -effect
The .png files must be uncompressed and located in the artwork directory (artwork/ by default). You load them by launching, e.g.
mess.exe -effect aperture1x2rb
which will force MESS to overlay the screen output with a tiled aperture1x2rb.png pattern, if you have aperture1x2rb.png in the artwork folder.
In MESS, you can also customize the font of the Internal UI in a very easy way. Simply put a .bdf file in the same directory as MESS (but you can modify the location by using the -fontpath
option), rename it to ui.bdf and, next time you start the emulator, the new font set will be used.
Some ready-to-use font sets in .bdf format can be found at Mr. Do's artwork pages.
Sharing its core with MAME, MESS is a very powerful and flexible emulator. This results in a very large number of command line options available, which can easily lead the user to some confusion. However, in general, most options can be set once and then seldom modified: for this reason is important to keep in mind that to each option below (and to the ones described in the Video Options, Sound Options and Input Options sections of the Manual) there correspond a configuration option in mess.ini. Editing a configuration option in mess.ini will force MESS to change that particular aspect of the emulation every time it is launched, exactly as if you would pass the corresponding command line option at launch. This approach allows you to only remember a couple of options when you are starting emulation, namely the ones that you want to overwrite for a particular system (and also in this case you may want to modify them once for all creating a <system>.ini file, where “system” is the computer or console you want to emulate)
Also, remember that if you are using MESS GUI version for Windows or if you are using MESS in conjunction with a frontend, you can set your favorite configuration options through the graphical interface rather than launching emulation from command line. The option in the GUI should have the same name of the Command Line / Configuration ones.
Notice that here we list and discuss only general MESS options, and only the main ones. For Video, Sound and Input options, please look at the corresponding entries below. For a complete list of command line options, you can see the usage page of this wiki, while for a list of the corresponding configuration options you can see the mess.ini page of this wiki
As you will be repeated plenty of times in this User Manual, most MESS options can be enabled at once by changing settings in mess.ini. However, when you first unzip MESS or compile the source code, there is no mess.ini in your MESS folder. You can create a default one, by using the -createconfig
option.
Check the mess.ini wiki page to read a very detailed description of available configuration options .
Launching MESS at command line you can always use -help
or -showusage
options to obtain a list of available options. You can also read the usage page of this wiki, which lists the options as they are output when you use the -showusage
option.
Alternatively, you can simply launch MESS with no parameters and enter the system selection menu.
MESS offers the possibility to verify if the romset you are using contains all the files required for the emulation. You can simply launch the following command to test your romset for “system”
mess.exe -verifyroms <system>
In the case of e.g. a800pal, you must of course use
mess.exe -verifyroms a800pal
If the romset is exactly the one needed by MESS, you can receive either a
romset <system> is good
or a
romset <system> is best available
message. The former indicates that you have all you need to run emulation in MESS; the latter can appear when the known dump has some issue (e.g. it needs to be redumped or it misses some currently undumped components). In this case, emulation may work or not, depending on the importance of the missing components. However, it also means that no one has a better dump, so you cannot do much to improve your romset.
On the other hand, if the whole romset is missing you will receive a
romset "<system>" not found!
message
Finally, if your romset is not complete or it contains wrong ROMs, you will receive a
romset <system> is bad
message, with indication of which files are missing and/or wrong.If your romset is not good, the only thing you can do is to look for a good one. Also, notice that, if “system” is a clone, i.e. if it could share some ROMs with another system, as in the a800pal case above, you would receive a message like
romset a800pal [a800] is best available
where the [a800]
part means that MESS has also looked for the roms in the parent romset, if present.
If you don't specify any system after the -verifyroms
option, MESS will verify the romsets for every supported system.
Basically every directory settings can be customized in MESS, both in the GUI, in mess.ini and at command line. Namely, you can modify the default locations in which MESS looks for needed files (BIOS ROMs, hash files, artworks etc.) and the default directories in which MESS stores outputs files (cfg, nvram, inp, snapshots etc.).
The former ones can be modified by using the following options, recalling that you have to enter the absolute path for each directory:
-rompath [for BIOS ROMs] -hashpath [for hash files] -artpath [for artworks] -ctrlrpath [for controller files] -inipath [for alternative ini files] -fontpath [to change fonts in the internal UI] -cheatpath [for cheat XML files]
To changes the output directories from the default ones, you can use the following options, followed by the absolute path of the directory you want to set:
-cfg_directory [for configuration files] -nvram_directory [for save RAM files] -memcard_directory [for memory card files] -input_directory [for input recordings] -state_directory [for save states] -snapshot_directory [for screenshots] -diff_directory [for CHD diff files] -comment_directory [for debugger comments]
Check also this page and this page, respectively, to read about the corresponding configuration options available in mess.ini.
MESS also offers a few options to improve performances.
With this option (turned ON by default), MESS gives back as much CPU time as possible to the operating system, when nothing is going on. However, you may want to switch it OFF on some laptops, to improve performances.
With this option you can force MESS to run a system faster than its normal speed. E.g.
mess.exe kaypro2 -speed 1.5
will force MESS to run Kaypro 2 emulation at 1.5 times its normal speed.
With this option MESS will match its speed to user's monitor refresh rate, to prevent sound hiccups and to ensure a smoother scrolling. However, some adjustment may be still needed by playing a bit with this an the -speed option.
With this option, MESS will try to keep the emulated system running in real time. If you switch it off (with -nothrottle), the game will run as fast as your CPU specs allows, ignoring CPU speed and screen refresh of the emulated machines.
With this option, MESS will run for a given amount of seconds and then will exit emulation. E.g.
mess.exe a500n -str 20
will run Commodore Amiga 500 (NTSC) emulation for 20 seconds and then quit. This option can be of use for benchmarking and regression testing.
If an emulated system cannot run 100% on your system, you might want to
sacrifice some frame here and there to avoid slowdowns. This can be
obtained by using -autoframeskip
.
MESS will try to
keep the speed of the game as closer as possible to the intended one,
automatically choosing how many frames to drop.
Alternatively, you can tell MESS how many frames out of 12 to drop, by setting -frameskip n
at launch, with n
an integer number between 0 (default) and 12. You can also change this setting during emulation by pressing F8 and F9 (see the Key Functions section).
Keep in mind that dropping too many frames will cause the game to become more jerky and stuttery.
Check also this page, to read about the corresponding configuration options available in mess.ini.
When running MESS with -log
option, the emulator will generate a file called error.log which
contains error information and debug messages. It can help to track the
reason of a bug.
When running MESS
with -debug option, the emulator will start with the debug window
active. From there, you can disassemble CPU instructions, follow memory
accesses, read error messages that would be added to error.log and look
for memory locations to be modified for cheats. To learn more about the
debugger, simply type help
in the debugger window, or read this wiki page devoted to the topic.
Check also this page, to read about the corresponding configuration options available in mess.ini.
Many systems in MESS supports multiple bios choices (e.g. bugfixed and/or improved versions of the OS). These can be chosen at command line, by using the -bios
option. E.g. nascom1 supports versions T1, T2 and T4 of its operating
system NasBug. You can select which one you want by launching MESS with
mess.exe nascom1 -bios T1 mess.exe nascom1 -bios T2 mess.exe nascom1 -bios T4
respectively. Please refer to sysinfo.dat for the available BIOS options for each system.
For emulated computers and calculators, MESS offers two different way to translate the keyboard of the original system into the keyboard of your computer:
Input (this System)
menu of the Internal UI
By default, you start MESS in emulated mode. However, you can start emulation in natural mode by using the -natural
option at command line or by changing the corresponding configuration option in mess.ini.
Also, remember that you can switch keyboard mode in any moment, by pressing Tab and entering the Keyboard Mode
menu. This allows to easily remap and use missing keys when you need them.
See the Emulated Keyboard section below for more details.
MESS offers
different RAM sizes for many emulated computers, reflecting the possible
configurations of the original systems. You can select the RAM size by
using the -ramsize
option. Refer to sysinfo.dat to find which valid sizes are available for each system.
MESS supports for
each system a certain number of devices (tapes, floppy disks,
cartridges) and file formats. A list of the available devices and the
correspondent supported file formats can be obtained at command line by
using
-listmedia
which lists the available devices of a given system, e.g.
mess.exe <system> -listmedia
If you don't specify any system, i.e. if you simply use
mess.exe -listmedia
you will obtain a list of each supported system with its corresponding devices and file formats.
While usually devices are named in a standard way (e.g. flop1
for the first disk drive, flop2
for the second one, cass1
for the first tape drive, etc.), some systems require specific names to work. Hence, you shall remember to use the -listmedia
option if you get an “unknown option” error message. You also may check sysinfo.dat to read a list of supported devices and file formats for each system.
If you are using baseline MESS on Windows, you can choose between two different User Interface during emulation (in addition to the GUI that you see when you start messgui.exe).
Indeed, in addition to the standard Internal UI, which corresponds to MAME User Interface and it is the only choice for (SDL)MESS, you can use the New User Interface (whose name was historically given because it was newer than the MAME-based one).
You can select which User Interface you want at command line by using the -newui
option.
Below, you can find a description of the available options of both the Internal UI and the New UI. Keep also in mind that New UI could disappear in the future.
[This section will be later merged into the Sections for the device loading (which should be re-organized a bit)… in the meanwhile, it stays here for easier reference].
As of 0.138 release, MESS starts to document in xml format the games/programs which have been released for various consoles and home computers, in addition to the systems themselves (which were already documented in the source). At the moment, not all the systems are covered; however, the plan is to extend the support to most systems, given the high risk for info on obscure and not so obscure systems & software to be lost forever.
The chosen (minimal) format contains a shortname for each game (like MAME shortnames), a longer name (which should match the title screen, or the box screen if no title screen exists), the release year, the publisher name and the CRC32/SHA1 checksums. Additional info like alternative titles, development teams, precise release dates, serial numbers, available languages, etc. can be stored externally in datfiles to be displayed by frontends (even if some more optional fields might be eventually added).
Lists are in the hash/ directory. However, if you are curious about their content, you can check the various lists in our git repository.
By default, software lists in .xml format are stored in the hash/ directory inside the MESS directory. You can however decide to store them elsewhere, by adding a different directory as “hashpath” in mess.ini.
Software storage is slightly more complicate than list storage. The basic principles are:
In order to reflect these principles, when you load software using software lists MESS will look for files inside subdirectories of your roms/ directory. Namely, MESS expects to find subfolders named like the software lists: i.e. MESS will
As these few examples show, we tried to use for lists either the system name (or the parent name, when multiple systems share the same list); or the system name followed by the media type, for systems which support several media type like most home computers (see ibmpcjr example, which uses a ibmpcjr_cart list, in view of a future addition of floppy disks and tapes lists).
Of course, MESS also allows you to store your carts in different folders than “roms”, e.g. you can use “C:\console_games\snes” and “C:\console_games\gbcolor”, as long as you add the root directory “C:\console_games” to your rompaths in mess.ini. The only things you have to care about is that the subfolders (“snes” and “gbcolor”, in the examples above) are correctly named as the software lists they refer to.
A full list of supported xml files, with the correspondent names, will be added to MESS Wiki soon-ish to help users (even if the correct subfolders can also be generated by clrmame, see below).
Summing up, at the moment, you are allowed to store software in a directory tree like the following one
roms/gameboy/ roms/megadriv/ roms/scv/ rompath_1/ibmpcjr_cart/ rompath_1/crvision rompath_2/wswan
as long as your mess.ini contains a “rompath roms/;rompath_1/;rompath_2/” line.
If you have stored the software roms as explained above, and you want to launch “Super Mario Land” for the Game Boy (which corresponds to the shortname 'sml'), then you simply have to type
mess gameboy -cart sml
and MESS will load the game. Notice that MESS also allow to load the same game in gbcolor, by using the following command
mess gbcolor -cart gameboy:sml
where the “gameboy:” part tells MESS that 'sml' belongs to the gameboy list. Similarly, you can load “Legend of Zelda Oracle of Ages” for the Game Boy Color (whose shortname is 'zeldaage') both in gbcolor with the command
mess gbcolor -cart zeldaage
and in gameboy with the command
mess gameboy -cart gbcolor:zeldaage
Of course, this can only be done for systems which were compatible, i.e. which had the same physical cart interface (this is reflected in the use of the same “interface” parameter in the xml list): current compatible systems are
gameboy <-> gbcolor pce -> sgx
i.e. you can load Game Boy Color games in the Game Boy and viceversa, and you can load PC-Engine games in the Supergrafx. On the other hand, you cannot load a Turbografx 16 game into the PC-Engine emulation, because they were not compatible (US carts were 'encrypted').
in progress
in progress
in progress
MESS still supports the old loading procedure consisting in typing
mess system -cart C:\path\to\my\carts\file.bin
or in launching games from MESSUI and newui, so you can simply keep using the old procedure for unrecognized dumps or for your own programs.
The chosen (minimal) format is the following
<software name="shortname" cloneof="parentname" supported="partial"> <description>Game Title (Region, vx.x)</description> <year>19??</year> <publisher>Software House<;/publisher> <part name="cart" interface="xxx_cart" feature="yyyyy"> <dataarea name="rom" size="131072"> <rom name="romname.bin" size="131072" crc="aaaaaaaa" sha1="aaaaaaaabbbbbbbbccccccccddddddddeeeeeeee" offset="0" /> </dataarea> </part> </software>
Also, as mentioned above, some more optional fields might be eventually added.
One of the main reasons to have a database of known dumps, is to be able to identify spare files or dumps you do by yourself. This has been an appreciated feature in MAME for years, when dealing with arcade dumps, and we wanted to offer something similar for consoles and home computers. Software lists allow for this: indeed, if you have some unknown files in “C:\unk\files\”, then you can simply launch
mess -romident C:\unk\files\
and MESS will compare size and checksums with the ones recognized by its source (for BIOS items) and by its software lists (for cart/floppy/tape items).
Well, being external .xml files, any update to current lists will simply require to overwrite the old .xml file with the new one, inside the “hash\” directory.
Any contribution (be it a fix or an improvement) can be simply posted in the MESS board.
Yes, you can, but software lists are not 100% integrated with clrmame, hence not everything is automated and some work at your end is required.
First of all, let assume you are only interested in a single software list, say the Arcadia one. Since at the moment clrmame cannot directly extract the list info from MESS, you have to manually feed the software list into the rommanager. Two options are available (and they are basically equivalent): either you point clrmame directly to the arcadia.xml file in the “hash/” directory (by selecting “Add DatFile…” in the Profiler window, and browsing your HD until you find the “hash/” directory inside your MESS directory) or you generate a separate xml file by using
mess arcadia -listsoftware > arc.xml
and then point clrmame to the newly generated arc.xml file (again, by
selecting “Add DatFile…” in the Profiler window, and browsing your HD
until you find the file you wanted).
In fact, there is no reason not to directly use the xml lists in the
“hash/” directory, but it could be useful to remember that MESS also allows to export lists with the -listsoftware
command.
Once you have added the list to clrmame, a new profile will be created and, by loading it, you can finally setup the directory where you want to store your arcadia software, and rebuild any directory containing arcadia roms to create a romset compatible with MESS.
Now, what if you want to get all the supported lists at once? In this case, a first dumb solution would be to repeat for each list the procedure above. However, there is also a smarter and easier procedure, thanks to the clrmame batchrun capabilities! Indeed, to rebuild all the software lists at once, you can simply follow these steps:
At the end, you will have the folders you need inside “roms/” and all the available roms will be in the correct location. Of course, at Step 5. you can also select additional Rebuild and Scan options as you like, or you can decide to only Rebuild without scanning.
Notice that, after the first run, you can always select multiple profiles to scan more software lists at once, with or without any Rebuild procedure.
Eventually, we might add better integration between clrmame and MESS software lists (e.g. clrmame could be able to choose proper batchrun options after simply parsing the MESS -listxml output), but for the time being the procedure described above should allow everyone to test the new feature.
To say the truth, at the moment software lists are not the suggested method for software loading, especially if you usually launch games through a frontend / UI. Indeed, the support for lists through MESSUI and newui is only partial, and no frontend supports them. However, we strongly recommend to use the -romident feature whenever you want to report a bug for a system which supports software lists. Adding the shortname of the software which exhibit problems to your bug report would help to exclude that you are using a bad dump and to confirm that the bug is really due to MESS.
Well, in fact there are various aspects which still need to be improved.
As already mentioned, we need to complete integration of lists with UI and newui, to both display software info of the selected image and to handle software consisting of several files.
Moreover, we need to show some warnings when the user loads a software item with known problems (either the game requires unemulated features, or the dump is known to be bad).
Finally, only a few systems have been updated to really exploit all the features which lists allow, like installing per game handlers and decoding routines, and this will need per-system fixes (i.e. it will require some time).
While lists already contain most of the known software for each systems, additional info like year and publisher are often incomplete or missing. And even when present, they still have to be verified against title screens (this especially holds true for larger lists like megadriv.xml, snes.xml, gba.xml, etc. since smaller lists have been mostly fixed already).
Also, the “supported” attribute has still to be correctly set for all games. This will require some time, given the size of some of the lists, but it is in progress.
Well, despite what some MESS supporter might claim, in my opinion we won't replace GoodTools, No-Intro or TOSEC anytime soon. And the simple reason is that we all have different goals, so that different software collections will always appeal many users which would not like our software lists. Let me analyze more specifically the various projects (rigorously in alphabetical order):
Summing up, if people want a collection of software which worked on the real hardware (both officially released, and pirated) and they want to launch it easily from command line MESS, then they will for sure drop other collections in favor of our software lists. But if they want collections including demos, translations and hacks (which are often as good as the original software), or if they only want a “perfect collection” of the official software, then they will never abandon other collections to use our software lists.
And it is also for these users, which are not interested in our software lists, that MESS
keeps supporting the old loading procedure, through absolute paths, so
that files from the different collections can still be easily launched
in MESS
For each emulated system, MESS supports a certain number of devices present on the original system, e.g. carts or CD-ROM players, and a certain number of file extensions for each device. To find out which devices and formats are supported by your favorite system, simply launch
mess.exe -listmedia <system>
Assuming you were interested in a2600, you will obtain the following output
SYSTEM DEVICE NAME (brief) IMAGE FILE EXTENSIONS SUPPORTED ---------- -------------------- ------------------------------------ a2600 cartridge (cart) .bin .a26 cassette (cass) .wav .a26
Device name and its brief version can be used at command line to launch a specific program/game. E.g.
mess.exe a2600 -cartridge foo1.bin
or
mess.exe a2600 -cass foo2.a26
Notice that only supported extensions will load successfully.
In the following, we briefly describe how to use devices in console emulation under MESS. See also the Media Emulation section of this Manual.
Notice that, starting from MESS 0.138, it is also possible to load images from software lists: instructions are the same as the ones described below (except you have to use the appropriate name for the software, as prescribed in the .xml list). See the Software Lists section of this Manual for all the details.
You can load a cartridge in MESS it by simply launching
mess.exe <system> -cart foo.ext
If a system supports more than one cartslot, you may need to replace -cart
with either -cart1
or -cart2
.
Alternatively, while the emulation is running, you can enter the Internal UI, choose the File Manager
menu, select one of the Cartslot
entries and browse your HD to find the cart file you want. After
selecting it, the emulation will be automatically restarted with the
cart inserted.
Notice that a few systems currently supports 'fake' multiple slots to
allow the emulation of carts with multiple files. This will be fixed
eventually with the introduction of a xml format for multi-file
cartridge, but for the moment you may need to use -cart1
& -cart2
also in this case.
For systems which support CD-ROM emulation, MESS uses CHD file format. You can read a guide about how to create a CHD from a CD here , courtesy of The Guru. Once you have a CD-ROM image in CHD file, you can load it by simply launching
mess.exe <system> -cdrom foo.chd
Alternatively, while the emulation is running, you can enter the Internal UI, choose the File Manager
menu, select Cdrom
and browse your HD to find the CHD file you want. After selecting it,
the emulation will be automatically restarted with the CD inserted.
You can load a tape in MESS it by simply launching
mess.exe <system> -cass foo.ext
If a system supports more than one cassette drive, you may need to replace -cass
with either -cass1
or -cass2
.
Alternatively, while the emulation is running, you can enter the Internal UI, choose the File Manager
menu, select one of the Cassette
entries and browse your HD to find the tape file you want. After
selecting it, the emulation will be automatically restarted with the
cassette inserted. Depending on the system, you may need to manually
press “Play” to start cassette loading (or, as in the c64 case, to type
“LOAD” and to press “Play” afterward). To do this in MESS, simply enter the Internal UI, choose the Tape Controls
menu and press “Play”. The same procedure goes for any other tape operation (“Rec”, “Stop”, etc.).
Notice that the loading procedure can be slow. However, you can speed up emulation with no bad consequence by pressing Ins in partial keyboard emulation mode.
For some systems MESS also supports quickload files. These are usually dumps of the system memory which can be re-inserted in the emulated machine to make a program or a game start immediately. To load a quickload file in MESS, you can simply launch
mess.exe <system> -quick foo.ext
Alternatively, while the emulation is running, you can enter the Internal UI, choose the File Manager
menu, select Quickload
and browse your HD to find the quickload file you want. After selecting
it, the emulation will be automatically restarted with the quickload
file loaded into memory.
While the emulation is running, you can enter the Internal UI, choose the File Manager
menu, select Cartslot
and click on the cart file you are currently using. This shall prompt
you with a file browser which allows you either to change cart image or
to select “empty slot” to remove completely the cart file from the
cartslot.
Alternatively, you can quit emulation and start it again with a new cart image.
While the emulation is running, you can enter the Internal UI, choose the File Manager
menu, select Cdrom
and click on the CHD file you are currently using. This shall prompt
you with a file browser which allows you either to change CD image or to
select “empty slot” to remove the CHD file from the CD-ROM player.
Alternatively, you can quit emulation and start it again with a new CD-ROM image.
While the emulation is running, you can enter the Internal UI, choose the File Manager
menu, select Cassette
and click on the tape file you are currently using. This shall prompt
you with a file browser which allows you either to change tape image or
to select “empty slot” to remove completely the tape file from the
cassette drive.
Alternatively, you can quit emulation and start it again with a new tape image.
While the emulation is running, you can enter the Internal UI, choose the File Manager
menu, select Quickload
and click on the quickload file you are currently using. This shall
prompt you with a file browser which allows you either to change
quickload image or to select “empty slot” to remove completely the
quickload file from the memory.
Alternatively, you can quit emulation and start it again with a new quickload image.
For systems supporting cassettes, you can save programs to tape exactly
as in the original machines. First of all, you need to have a cassette
in the tape drive: enter the Internal UI in MESS, choose the File Manager
menu and select Create
to create a new cassette file (in .wav format) with any name of your
choice. Now, you will see that a brand new tape file is inserted in the
Cassette slot.
Next step consists in using the procedure that you would have followed
on the real machine to save on tape (e.g. for c64 you have to type SAVE
after having written the program). Once the emulated computer is ready
to save, you just have to press “Rec” on the cassette drive. In MESS, this means to enter the Internal UI, select the Tape Controls
menu and press “Rec”. At this point, MESS will save the output to the .wav file you created. Next time you use MESS, you can also load the program again, exactly like a cassette on the emulated system!
Notice that the saving procedure can be slow. However, you can speed up emulation with no bad consequence by pressing Ins in partial keyboard emulation mode.
In progress
For consoles using joystick/joypad controllers, MESS follows usually MAME default keyboard mappings:
Arrows Key | Directions |
1 | Start |
5 | Select |
LCtrl | Button1 |
LAlt | Button 2 |
Space | Button3 |
LShift | Button4 |
Z | Button5 |
X | Button6 |
C | Button7 |
V | Button8 |
Also, if you enable your joystick with -joystick at command line (or in mess.ini or in GUI), you will usually have the emulated joystick automatically mapped to your joystick.
However, you can re-map each key to the keyboard or to your joystick by entering Internal UI (pressing Tab) and choosing Input (general)
and Input (this System)
menus.
For consoles using lightgun controllers, MESS follows usually MAME default keyboard mappings:
Arrows Key | Directions |
LCtrl | Button1 |
LAlt | Button 2 |
Also, if you enable your mouse with -mouse at command line (or in mess.ini or in GUI), you will usually have the emulated lightgun automatically mapped to your mouse.
However, you can re-map each axis / key to the keyboard or to your joystick by entering Internal UI (pressing Tab) and choosing Input (general)
and Input (this System)
menus.
Notice that, to enable emulated lightguns as controllers for a console, you may need to enter the Internal UI (pressing Tab) and choose the Categories
menu: there, you can usually select which kind of controller you want
to connect to each controller port of the emulated machine (this ideally
corresponds to the act of connecting the controller on the real thing).
You can check sysinfo.dat to find if the system you want to emulate currently supports emulated lightguns.
Some consoles may use custom controllers. These are usually enabled by entering the Internal UI (pressing Tab) and choosing the Categories
menu, where you can decide which controller to use among the ones emulated by MESS. After having enabled the controller, you can enter the Input (this System)
menu to find out what is the default mapping of the chosen controller and to remap it as it best suites your needs.
You can check sysinfo.dat to find out which custom controllers are supported for each system.
One of the main interesting aspects, when you emulate old home
computers, is the possibility to run on them programs you have written,
or programs whose code is available in the net.
However, having to type hundreds of lines of code into the emulated
terminal is not so funny. This is one of the reasons you may love the
pasting feature MESS offers.
Indeed, with MESS,
you can simply copy any kind of code from a webpage or a text file and
then directly pasting it into the emulated computer. Once you have
copied the text (e.g. with Ctrl+C in Windows), you simply have to start the emulation and press Shift+ScrLock (but, as usual, you can remap this input in the Input (general)
menu of the Internal UI).
For each emulated system, MESS supports a certain number of devices present on the original system, e.g. carts or floppy drives, and a certain number of file extensions for each device. To find out which devices and formats are supported by your favorite system, simply launch
mess.exe -listmedia <system>
Assuming you were interested in atom, you will obtain the following output
SYSTEM DEVICE NAME (brief) IMAGE FILE EXTENSIONS SUPPORTED ---------- -------------------- ------------------------------------ atom quickload (quik) .atm cassette (cass) .wav printer (prin) .prn floppydisk1 (flop1) .ssd floppydisk2 (flop2) .ssd
Device name and its brief version can be used at command line to launch a specific program/game. E.g.
mess.exe atom -flop1 foo1.ssd
or
mess.exe atom -cassette foo2.wav
Notice that only supported extensions will load successfully.
In the following, we briefly describe how to use devices in computer emulation under MESS. See also the Media Emulation section of this Manual.
Notice that, starting from MESS 0.138, it is also possible to load images from software lists: instructions are the same as the ones described below (except you have to use the appropriate name for the software, as prescribed in the .xml list). See the Software Lists section of this Manual for all the details.
You can load a cartridge in MESS it by simply launching
mess.exe <system> -cart foo.ext
If a system supports more than one cartslot (e.g. a800 with its two slots), you may need to replace -cart
with either -cart1
or -cart2
.
Alternatively, while the emulation is running, you can enter the Internal UI, choose the File Manager
menu, select one of the Cartslot
entries and browse your HD to find the cart file you want. After
selecting it, the emulation will be automatically restarted with the
cart inserted.
Notice that a few systems supports 'fake' multiple slots to allow the
emulation of carts with multiple files (e.g. some very old c64 and vc20
dumps). This will be fixed eventually with the introduction of a xml
format for multi-file cartridge, but for the moment you may need to use -cart1
& -cart2
also in this case.
You can load a floppy disk in MESS it by simply launching
mess.exe <system> -flop foo.ext
If a system supports more than one floppy drive (many computers may have up to 4 of them), you may need to replace -flop
with -flop1
, …, -flop4
Alternatively, while the emulation is running, you can enter the Internal UI, choose the File Manager
menu, select one of the Floppy Disk
entries and browse your HD to find the disk file you want. After
selecting it, the emulation will be automatically restarted with the
floppy inserted.
You can load a tape in MESS it by simply launching
mess.exe <system> -cass foo.ext
If a system supports more than one cassette drive, you may need to replace -cass
with either -cass1
or -cass2
.
Alternatively, while the emulation is running, you can enter the Internal UI, choose the File Manager
menu, select one of the Cassette
entries and browse your HD to find the tape file you want. After
selecting it, the emulation will be automatically restarted with the
cassette inserted. Depending on the system, you may need to manually
press “Play” to start cassette loading (or, as in the c64 case, to type
LOAD and to press “Play” afterward). To do this in MESS, simply enter the Internal UI, choose the Tape Controls
menu and press “Play”. The same procedure goes for any other tape operation (“Rec”, “Stop”, etc.).
Notice that the loading procedure can be slow. However, you can speed up emulation with no bad consequence by pressing Ins in partial keyboard emulation mode.
For some systems MESS also supports quickload files. These are usually dumps of the system memory which can be re-inserted in the emulated machine to make a program or a game start immediately. To load a quickload file in MESS, you can simply launch
mess.exe <system> -quick foo.ext
Alternatively, while the emulation is running, you can enter the Internal UI, choose the File Manager
menu, select Quickload
and browse your HD to find the quickload file you want. After selecting
it, the emulation will be automatically restarted with the quickload
file loaded into memory.
While the emulation is running, you can enter the Internal UI, choose the File Manager
menu, select Cartslot
and click on the cart file you are currently using. This shall prompt
you with a file browser which allows you either to change cart image or
to select “empty slot” to remove completely the cart file from the
cartslot.
Alternatively, you can quit emulation and start it again with a new cart image.
While the emulation is running, you can enter the Internal UI, choose the File Manager
menu, select Floppy Disk
and click on the disk file you are currently using. This shall prompt
you with a file browser which allows you either to change disk image or
to select “empty slot” to remove completely the disk file from the
floppy drive.
Alternatively, you can quit emulation and start it again with a new disk image.
While the emulation is running, you can enter the Internal UI, choose the File Manager
menu, select Cassette
and click on the tape file you are currently using. This shall prompt
you with a file browser which allows you either to change tape image or
to select “empty slot” to remove completely the tape file from the
cassette drive.
Alternatively, you can quit emulation and start it again with a new tape image.
While the emulation is running, you can enter the Internal UI, choose the File Manager
menu, select Quickload
and click on the quickload file you are currently using. This shall
prompt you with a file browser which allows you either to change
quickload image or to select “empty slot” to remove completely the
quickload file from the memory.
Alternatively, you can quit emulation and start it again with a new quickload image.
For systems supporting cassettes, you can save programs to tape exactly
as in the original machines. First of all, you need to have a cassette
in the tape drive: enter the Internal UI in MESS, choose the File Manager
menu and select Create
to create a new cassette file (in .wav format) with any name of your
choice. Now, you will see that a brand new tape file is inserted in the
Cassette slot.
Next step consists in using the procedure that you would have followed
on the real machine to save on tape (e.g. for c64 you have to type SAVE
after having written the program). Once the emulated computer is ready
to save, you just have to press “Rec” on the cassette drive. In MESS, this means to enter the Internal UI, select the Tape Controls
menu and press “Rec”. At this point, MESS will save the output to the .wav file you created. Next time you use MESS, you can also load the program again, exactly like a cassette on the emulated system!
Notice that the saving procedure can be slow. However, you can speed up emulation with no bad consequence by pressing Ins in partial keyboard emulation mode.
In Progress
In Progress
In Progress
In Progress
In Progress
In Progress
MESS often supports different RAM configurations for a single computer. To choose the configuration you want, you can use the -ramsize
option at launch. A list of available ramsizes for each system is available in sysinfo.dat.
Dealing with the emulation of a wide range of systems, from console and
handhelds devices, to home computer, calculators and chess computers, MESS
has to emulate very different kinds of controllers. In particular, it
has to emulate the original keyboard of a system through the keyboard of
your computer.
However, due to differences in the keyboard layouts (e.g. QWERTY vs.
QWERTZ vs. AZERTY vs. Japanese vs. Russian and Bulgarian keyboards) and
the possible presence of custom keys in the emulated system (e.g. the
'Apple' command key in Macintosh, the 'CBM' key in Commodore computers
etc.), it is tough to cover all the possibilities and to offer at the
same time a nice interface for configurations.
MESS solution to
this problem is to offer two different emulation modes for the keyboard
of each system, Full and Partial, whenever you start the emulation of a
computer (this does not apply to console). As said above, you can switch
between the two using ScrLock (in (SDL)MESS, the default key is Ins and you can change it in mess.ini changing the uimodekey
line).
Below, is a short description of the differences between the two modes.
In this emulation mode, you can access the UI keys described above (e.g. Tab, Esc, F4, F12, etc.). Therefore, this suits your needs whenever you want to configure Inputs and Dip Switches, to take Screenshots, Movies or Savestates, or simply to quit emulation. Notice that, anyway, inputs are registered also by the emulated system, so if you e.g. pause the emulation with P in Partial Emulation, a 'P' will appear on the emulated screen as well.
In this emulation mode, the UI keys effect vanishes and each key on your
keyboard corresponds to a key on the keyboard of the emulated computer.
Actually, MESS offers two different flavours of Full Emulation: emulated and natural. You can switch between pressing Tab and entering the Keyboard Mode
menu.
By default MESS in Full Emulation mode tries to change your keyboard into the original keyboard. This way, all accessible keys of the original keyboard have a correspondent mappings on your keyboard, even the strangest function key that could have been present. Moreover, the default mapping tries to be as close as possible to the original one so that, if you were used to type without even looking at the keyboard on the real thing, you can do the same in MESS! However, this can produce a few strange situations when the original keyboard layout was very different from modern keyboards layout. As an example, you can think to Mattel Aquarius. In this computer the Return was at the right of the . >, and therefore it defaults in MESS to your / ? key.
Even with this mapping quirks, sometimes it is still not really possible to remap the keyboard of an old computer to a modern keyboard. Hence, some of the following exceptions can happen:
To be sure of the mapping of a keyboard in emulated mode, you can verify it in the Input (this System)
menu of the Internal UI. In this menu, you can also remap every key to the location you prefer on your keyboard.
This mode can be activated launching MESS with the -natural
option or by entering the Internal UI and choosing the Keyboard Mode
menu. When you select the Natural Keyboard mode, MESS translates the key you press in the same exact key of the original keyboard, so that when you press e.g. +
you will see on screen a plus sign, no matter where that key was
located on the original system, or if a key combination was needed to
access it. Or, again, if you press arrow keys while emulating a Spectrum
48k, you will see the cursor move in the corresponding directions even
if you should have used Shift+5, Shift+6, Shift+7 or Shift+8 to obtain the same result on a real Spectrum keyboard. This makes typing much easier but it presents a couple of limitations:
Notice that the Natural Keyboard cannot be remapped.
A few experiments combining the three modes, and a bit of time spent configuring the keys you use most, shall allow you to recreate a perfect experience of the emulated system. However, if you experience any problem, or if you think any important key is still unmapped, please file a bug report in Bugzilla or contact us at the MESS message board.
For computers using a mouse, MESS follows usually MAME default keyboard mappings:
Arrows Key | Directions |
LCtrl | Button1 |
LAlt | Button 2 |
With some computers however, this would conflict with other keyboard functions. You can enter Internal UI and choose Input (this System)
to verify the default mappings for the system you are emulating.
Alternatively, if you enable your mouse with -mouse at command line (or in mess.ini or in GUI), you will usually have the emulated mouse automatically mapped to your mouse.
However, you can re-map each axis / key to the keyboard or to your joystick by entering Internal UI (pressing Tab) and choosing Input (general)
and Input (this System)
menus.
Notice that, to enable emulated mouse as controllers for a computer, you may need to enter the Internal UI (pressing Tab) and choose the Categories
menu: there, you can usually select which kind of controller you want
to connect to each controller port of the emulated machine (this ideally
corresponds to the act of connecting the controller on the real thing).
You can check sysinfo.dat to find if the system you want to emulate currently supports emulated mouse.
For computers using joystick/joypad controllers, MESS follows usually MAME default keyboard mappings:
Arrows Key | Directions |
1 | Start |
5 | Select |
LCtrl | Button1 |
LAlt | Button 2 |
Space | Button3 |
LShift | Button4 |
Z | Button5 |
X | Button6 |
C | Button7 |
V | Button8 |
With some computers however, this would conflict with other keyboard functions. You can enter Internal UI and choose Input (this System)
to verify the default mappings for the system you are emulating.
Alternatively, if you enable your joystick with -joystick at command line (or in mess.ini or in GUI), you will usually have the emulated joystick automatically mapped to your joystick.
However, you can re-map each key to the keyboard or to your joystick by entering Internal UI (pressing Tab) and choosing Input (general)
and Input (this System)
menus.
Notice that, to enable emulated joysticks as controllers for a computer, you may need to enter the Internal UI (pressing Tab) and choose the Categories
menu: there, you can usually select which kind of controller you want
to connect to each controller port of the emulated machine (this ideally
corresponds to the act of connecting the controller on the real thing).
You can check sysinfo.dat to find if the system you want to emulate currently supports emulated joysticks.
For computers using lightgun / lightpen controllers, MESS follows usually MAME default keyboard mappings:
Arrows Key | Directions |
LCtrl | Button1 |
LAlt | Button 2 |
With some computers however, this would conflict with other keyboard functions. You can enter Internal UI and choose Input (this System)
to verify the default mappings for the system you are emulating.
Alternatively, if you enable your mouse with -mouse at command line (or in mess.ini or in GUI), you will usually have the emulated lightgun / lightpen automatically mapped to your mouse.
However, you can re-map each axis / key to the keyboard or to your joystick by entering Internal UI (pressing Tab) and choosing Input (general)
and Input (this System)
menus.
Notice that, to enable emulated lightguns / lightpens as controllers for
a computer, you may need to enter the Internal UI (pressing Tab) and choose the Categories
menu: there, you can usually select which kind of controller you want
to connect to each controller port of the emulated machine (this ideally
corresponds to the act of connecting the controller on the real thing).
You can check sysinfo.dat to find if the system you want to emulate currently supports emulated lightguns / lightpens.
Some computers may also use custom controllers. These are usually enabled by entering the Internal UI (pressing Tab) and choosing the Categories
menu, where you can decide which controller to use among the ones emulated by MESS. After having enabled the controller, you can enter the Input (this System)
menu to find out what is the default mapping of the chosen controller and to remap it as it best suites your needs.
You can check sysinfo.dat to find out which custom controllers are supported for each system.
Most of the information about Consoles apply to Chess Computers as well (even if in this case devices and media are not very common). However, if the emulated Chess Computer comes with an artwork (e.g. mm5), you may find interesting the following feature.
One of the main features of Chess Computer emulation in MESS is the possibility to click on the artwork to pass inputs to the emulated machine. Try to move your mouse on the MESS window and to click on keys present on the artwork. The inputs shall be recognized by the system you are emulating and produce result as if you were pressing the key with your finger!
Most of the information about computers apply to Calculators as well (even if in this case devices and media are not very common). However, if the emulated Calculator comes with an artwork (e.g. hp48sx), you may find interesting the following feature.
One of the main feature of Calculators emulation in MESS is the possibility to click on the artwork to pass inputs to the emulated machine. Try to move your mouse on the MESS window and to click on keys present on the artwork. The inputs shall be recognized by the system you are emulating and produce result as if you were pressing the key with your finger!
In addition to the instructions below, see also the Software Lists section of this Manual for specific details about the “loading from software lists” option (which works like generic loading, except for requiring software to be named and stored exactly as expected by the .xml lists).
MESS supports tapes for a huge number of systems. Typical tape format for MESS is plain .wav: at loading time, any other tape format is internally converted to .wav and if you save any program to tape, you will obtain a .wav file.
To load a tape in MESS, you simply need to use the -cass
option (for systems with many cassette drive, you use -cass1
or -cass2
respectively):
mess.exe <system> -cass foo.ext
Cassette loading is in general not automatic, except if it was on the
original system. This means that you may need to enter CLOAD or LOAD or
another command and then to press “Play” on the cassette drive. To press
“Play” in MESS, you simply need to enter the Internal UI, choose the Tape Controls
menu and press “Play”. The same procedure goes for any other tape operation (“Rec”, “Stop”, etc.).
To remove a tape in MESS or to replace it with a new one, while the emulation is running, you simply need to enter the Internal UI, choose the File Manager
menu, select Cassette
and click on the tape file you are currently using. This shall prompt
you with a file browser which allows you either to change tape image or
to select “empty slot” to remove completely the tape file from the
cassette drive.
In the same file browser you can also choose to create a brand new cassette, choosing “Create”. In this case you have to enter a name and then a new wav file will be created, from the cassette drive. This is very useful when you want to save data or programs to a cassette. Again, the saving procedure is not automatic, except if it was on the original system, and you need to know the correct commands used by the emulated machine. At the end, you will find a .wav file in your MESS directory containing the data you wanted to save.
Notice that loading and saving procedures can be slow. However, you can speed up emulation with no bad consequences by pressing Ins in partial keyboard emulation mode.
MESS supports carts for a huge number of systems. To load a cart in MESS, you simply need to use the -cart
option (for systems with many cartslots, you use -cart1
or -cart2
respectively):
mess.exe <system> -cart foo.ext
Cartridge loading is automatic once the emulation is started.
To remove a cart in MESS or to replace it with a new one, while the emulation is running, you simply need to enter the Internal UI, choose the File Manager
menu, select Cartslot
and click on the cart file you are currently using. This shall prompt
you with a file browser which allows you either to change cart image or
to select “empty slot” to remove completely the cart file from the
cartslot.
If the original cart supported saving data to internal SRAM, MESS should save the same data to a nvram file foo.nv inside the folder nvram/<system>/. You can check sysinfo.dat to find if the system you want to emulate currently supports saving to SRAM.
MESS supports floppy disk for a huge number of systems. To load a floppy disk in MESS, you simply need to use the -flop
option (for systems with many floppy drives, you use -flop1
, …, -flop4
respectively):
mess.exe <system> -flop foo.ext
Floppy loading is in general not automatic, except if it was on the original system. This means that you may need to enter LOAD or another command to actually start floppy loading.
To remove a floppy disk in MESS or to replace it with a new one, while the emulation is running, you simply need to enter the Internal UI, choose the File Manager
menu, select Floppy Disk
and click on the disk file you are currently using. This shall prompt
you with a file browser which allows you either to change disk image or
to select “empty slot” to remove completely the disk file from the disk
drive.
In progress - saving to a floppy - formatting/creating a floppy
MESS supports
quickloads formats for a many systems. This kind of formats consist in a
dump of the memory content of the system after a program or a game has
been loaded. Re-loading the same data directly into the memory of the
emulated system, you should be able to start immediately to use the
program. To load a quickload in MESS, you simply need to use the -quick
option:
mess.exe <system> -quick foo.ext
Once the Quickload file is in the memory, the program should started automatically.
To remove a quickload file in MESS or to replace it with a new one, while the emulation is running, you simply need to enter the Internal UI, choose the File Manager
menu, select Quickload
and click on the quickload file you are currently using. This shall
prompt you with a file browser which allows you either to change
quickload file or to select “empty slot” to remove completely the
quickload file from the memory.
No saving to quickload is implemented in MESS, nor it is planned addition of this. Saving memory contents can be already done in systems which supports State Saving, and other systems should add support for Save States rather than for Quicksave.
MESS supports CD-ROM for a few systems. Typical tape format for MESS is CHD. You can read a guide about how to create a CHD from a CD here, courtesy of The Guru.
To load a CD-ROM in MESS, you simply need to use the -cdrom
option
mess.exe <system> -cdrom foo.chd
CD-ROM loading is automatic once the emulation is started.
To remove a CD-ROM in MESS or to replace it with a new one, while the emulation is running, you simply need to enter the Internal UI, choose the File Manager
menu, select Cdrom
and click on the CHD file you are currently using. This shall prompt
you with a file browser which allows you either to change CD-ROM image
or to select “empty slot” to remove completely the CD-ROM file from the
CD-ROM drive.
In progress - loading - creating / formatting
In progress
In progress
Sometimes, MESS supports more BIOS dumps for a single system, e.g. to offer access to different OS revisions. To select among these, you can use the -bios
option at launch. A list of available bios and related options for each system is available in sysinfo.dat.
At the moment, there is no way to change BIOS while emulation is running.
During emulation in MESS, you can always press Tab to access the Internal UI and customize all the options you can need to fully enjoy your experience. This Internal UI works very similarly to MAME one (with a few additional items, as you will notice below). Hence, if you are used to MAME, you will immediately recognize what you need here.
Before passing to analyze each submenu of the Internal UI, please
remember that if you enter the wrong submenu, you can always press Esc or scroll down to Return to Prior Menu
to go back.
Exactly as in MAME, in this menu you can configure the UI controls and the common Inputs which will be shared by all the systems, e.g. the “Pause” key (by default mapped to P), the Snapshot key (by default mapped to F12) or the joypad/joystick buttons (e.g. Button 1 to 4 by default mapped to LCtrl, LAlt, Space & LShift as in MAME).
Notice that you must be careful when selecting the keys you want to use: they may be already in use for other functions. The options changed in this menu will be saved in cfg/default.cfg (which can be opened with any text editor) and will affect every emulated system. If you end up setting something wrong and the emulation does not work anymore as you expect, DON'T PANIC! You simply need to delete the default.cfg file from the cfg/ directory, in order to reset the settings to their default value. Every change can always be reverted in MESS!
Exactly as in MAME, in this menu you can configure the Inputs which are system specific, e.g. the computer keyboards, or joypad/joystick buttons (e.g. Button 1 to 4 by default mapped to LCtrl, LAlt, Space & LShift as in MAME).
All you need to do now is to select the function you want to change, press enter and then press the key you want to use. It is possible to assign more than one key to a function by pressing enter again and pressing a different key. More fancy key combinations can be made as well:
The correspondent combination will appear on screen and you can check if the result is the one you wanted to obtain.
Notice that you must be careful when selecting the keys you want to use:
they may be already in use for other functions.
If you want to assign joystick movements to a function then once you
have selected the function you want to change move the joystick/pad or
press the fire button you want to use (remember that, as explained
above, you must have selected the -joystick
option to activate the Joystick support if you want it to work in MESS).
The options changed in this menu will be saved in cfg/<system>.cfg
(which can be opened with any text editor) and will affect only the
chosen system and (possibly) its clones. If you end up setting something
wrong and the emulation does not work anymore as you expect, DON'T PANIC!
You simply need to delete the corresponding .cfg file from the cfg/
directory, in order to reset the settings to their default value. Every
change can always be reverted in MESS!
Exactly as in MAME, in this menu you can setup some additional configurations which were available in the original systems. These may differ from system to system, or be completely absent.
The options changed in this menu will be saved in cfg/<system>.cfg (which can be opened with any text editor) and will affect only the chosen system and (possibly) its clones. If you end up setting something wrong and the emulation does not work anymore as you expect, DON'T PANIC! You simply need to delete the corresponding .cfg file from the cfg/ directory, in order to reset the settings to their default value. Every change can always be reverted in MESS!
Here, for systems which support them, you can choose between different
emulated controllers. Changing a setting in this menu, corresponds in
some sense to unplug a controller from a controller port of the original
system and to plug a new one into it.
As an example, consider Nintendo Entertainment System (NES) which allows
you to choose between a normal controller, a Zapper lightgun and an
Arkanoid paddle in the Category Menu
. Corresponding re-mappable inputs will appear in the Input (this System)
menu after your choice here.
The options changed in this menu will be saved in cfg/<system>.cfg (which can be opened with any text editor) and will affect only the chosen system and (possibly) its clones. If you end up setting something wrong and the emulation does not work anymore as you expect, DON'T PANIC! You simply need to delete the corresponding .cfg file from the cfg/ directory, in order to reset the settings to their default value. Every change can always be reverted in MESS!
Here you can configure all the analog controls available for the system you're emulating (e.g. emulated mouses, paddles or lightguns). Many choices are given in this menu: you can make the controller more or less sensible in each direction, or invert the axis, to better suit your needs.
Here you can see some basic info about the system you're emulating (which system is, what CPU it used etc.). It simply shows you again the information screen that MESS had already showed at start.
Here, you can see which image is currently loaded in each available device.
Here, you can unmount the image currently loaded in each device and mount a new image in the same device or in a different one. This menu also allows you to create new images for devices which supports image creation and saving (e.g. cassette). You simply have to select the device, and then the “Create” option. You will be asked to type in a filename and then the new image will be created (if there exists already a file with the same name, you will be asked if you want to overwrite the old one or to change filename)
Here, you can select in real time the keyboard emulation mode you prefer, between “Full Emulation Mode with Emulated Keyboard ” (emulated) or “Full Emulation Mode with Natural Keyboard” (natural). See Emulated Keyboard section of this Manual for more information about these two modes.
In progress
Here you find controls to stretch the screen and/or increase the
contrast or brightness of the emulation. Also, if you activated cheats
with the -cheat
option, you can overclock the various CPUs of the system.
In progress Here you can access Video options similar to those available for MAME
If you have an xml cheat file in the directory, and you start MESS with -cheat
(or setting cheat
to “1” in mess.ini, or selecting cheats in the GUI), here you will find the available cheats. Notice that cheat search is temporarily not available, as in MAME.
Here you can pass to emulate another system.
Here, you exit from the menu to go back to the emulation!
Load State | Load a saved system state |
Save State | Saves the exact state of a system so you can load it again |
Save Screenshot | Saves a screenshot |
Exit | Exits the system |
Paste | Lets you paste text into certain computer drivers. |
Pause | Pauses MESS |
Reset | Resets the loaded system |
Keyboard | Lets you setup keyboards for computer systems in MESS |
Joysticks | Lets you setup joystick controllers for systems in MESS |
Configuration | Configure elements of certain drivers |
Dip Switches | Sets internal dip switches used by certain systems. |
Frameskip | Sets how many frames are skipped to speed up MESS on slower systems. |
Throttle | Runs the loaded system as fast as your system will allow it to. |
Show FPS | Shows the frames per second of a running system. |
Hide Menubar | Hides the menubar. |
Fullscreen | Switches MESS to fullscreen mode. |
This is where you load your software. On this menu you'll see all of the compatible devices that the system supports. Just click a device, select mount and a file window will open and let you select the file you want. If the software is cassette based there are controls for the “virtual” cassette player there too.
In progress
Run (Selected System) | Runs the selected system in the system list | |
Play and Record Input | Saves a file that contains all the control inputs that you make whilst running a system. | |
Playback Input | Lets you play back the Input file of you running a system. | |
Select Random system | Runs a system randomly from the list | |
Open Other Software | Lets you load software from a different folder. | |
Create Image | Takes the software you've loaded and will save it as a snapshot image. | |
Properties | Opens the currently selected systems properties box. Here you can find: | |
General | Gives you information on the system. | |
Audit | Tells you if you have a problem with the ROM file. | |
Software | Will let you add more folders of software for the selected system. | |
Most of the other options are covered in the MESSUI Configuration section of the help file (that you can access form the GUI itself, in the Help menu) | ||
Audit All systems | Check all of the systems in MESS to see if the rom files are OK. If this option report a faulty system you will need to re-download it. |
Toolbar | Toggles the toolbar on the main MESS window |
Status Bar | Toggles the status bar on the main MESS window |
Folder List | Toggles the folders window on the main MESS window |
Picture Area | Toggles the Screen Shot window on the main MESS window |
Screenshot Tab | Toggles whether the tabs above the screen shots are displayed. |
Fullscreen | Runs the MESSUI using the whole of your screen. |
Show Pictures | Lets you pick what pictures are shown in the picture area. |
Large Icons | Views the system list as Large icons |
Small Icons | Views the system list as small icons |
List | Views the system list as a list of systems |
Details | Views the system list as a detailed list of systems |
Grouped | Views the system list with parent systems and clones listed together. |
Arrange Icons | Arranges the icons on the system list if you have moved them |
Line Up Icons | Lines up the icons in the main windows without sorting them. |
Refresh | Refresh the system list if you add new systems. |
Custom Filters | Lets you filter out unwanted system types in the folders window. |
Customize Fields | Lets you decide what information is displayed about systems in the detailed system list. |
System List Font | Lets you customize the font used to display system names. |
System List Clone Colour | Lets you specify a color for systems that are clones to differentiate them. |
Directories | Lets you add or override the default directories used by MESS. Useful if you store you systems on CD for example. |
Default System Options | Lets you set the options used for every system in MESS unless it is overridden by changing the systems properties. See below for details. |
Reset To Default | Resets all setting to the original default settings. |
Interface Options | Changes the settings for when MESSUI initially starts. |
Background Image | Lets your pick an image to display as the background to the rom lists |
Language | Lets you select an alternative language file if you have a problem understanding English. |
Help and Readme Files
There is no graphical user interface shipped with MESS on other OSes. You may be interested to use MESS in conjunction with some frontend, if you are really scared by command line programs.
Here we only analyze a few of the available video options for MESS. A more detailed description of the MESS video-related command line options and configuration options can be found at the usage and at the mess.ini pages of this wiki, respectively.
To run MESS inside a window, you can use the command line option -window
. Alternatively, you can set
window 1
in mess.ini or untick the Fullscreen settings in GUI.
Also, notice that you can force MESS to start in a window which fills the screen by using the -maximize
option.
Warning: for some reason -maximize
does not work very well in (SDL)MESS under MacOSX. If you are on a Mac and you select to run in a window, you should also add -nomaximize
, or set
maximize 0
in mess.ini.
To run MESS in full screen, you can use the command line option -nowindow
. Alternatively, you can set
window 0
in mess.ini or tick the Fullscreen setting in GUI.
MESS let you
customize brightness, contrast and gamma parameters. You can change
these values in many different ways. They are present in the GUI,
so you can tweak them before starting emulation. Alternatively, you can
modify them in real time by entering the Internal UI (press Tab) and selecting the Slider Controls
menu (see also the Internal UI section).
Finally, at command line you can use the following options: -brightness
, -contrast
and -gamma
.
This affects how bright will be all colors, black and white included, during emulation. Notice that brightness parameter will affect also the artwork, if present. You can choose any decimal value between 0.1 and 2.0 , 1.0 being the default one. If you increase this parameters you will get a brighter screen.
This affects the amount of difference between black and white, used by the screen. It only affects the emulated system, but not the Artwork or the Internal UI menus. You can choose any decimal value between 0.1 and 2.0 , 1.0 being the default one. If you increase this parameter, you will get a larger contrast between black and white.
This affects the difference of color values between black and white. It only affects the emulated system, but not the Artwork or the Internal UI menus. You can choose any decimal value between 0.1 and 3.0 , 1.0 being the default one. If you increase this parameter, the middle value of a color will move down, giving more bright levels than dark ones, therefore increasing the overall brightness.
MESS allows the
user to run emulation with a rotated and/or flipped screen. You can
select these rotation options in many different ways. They are present
in the GUI, so you
can tweak them before starting emulation. Alternatively, you can modify
them in real time by entering the Internal UI (press Tab) and selecting the Video Options
menu (see also the Internal UI section).
Finally, at command line you can use the following options: -ror
, -rol
, -flipx
and -flipy
.
This option is used to rotate the game screen to the right (i.e. clockwise)
This option is used to rotate the game screen to the left (i.e. counterclockwise)
This option is used to mirror the game screen horizontally
This option is used to mirror the game screen vertically
In progress artwork options -aspect -resolution -view (also there are xxxxxN versions on Windows for separate screen settings!)
MESS allows you to choose also different video configurations, to improve compatibility with older video card. These settings are OS-depending.
If you are using MESS for Windows, you can select
-video d3d -video ddraw -video gdi
D3D is the fastest setting, but it requires a Direct 3D 8+ compatible graphics card. If your card is not compatible with latest Direct 3D, you may want to try ddraw or gdi.
You can also select which version of Direct 3D libraries to use, by setting the -d3dversion
options. You can only choose between 8 and 9 (corresponding to Direct 3D 8 and Direct 3D 9), 9 being the default.
If you are using (SDL)MESS, you can select
-video opengl -video soft
OpenGL is the fastest setting, but it requires a OpenGL compatible
graphics card and drivers. Alternatively, you can choose the slower but
also more compatible soft rendering.
You can also select to use your own alternative GL library by setting
-gl_lib /path/to/libGL.so
and select which SDL video drivers to use, by setting the -videodriver
option to “x11”, “directfb”, etc. or to “auto” which uses the SDL default.
In every operating system, MESS also offers the option -video none
which doesn't output anything on screen. This is very useful for
benchmarking because it takes away any possible slowdown due to the
graphics card.
MESS also allows to open the emulation in multiple screens, by setting the -numscreens
option to an integer value greater than one. This will open multiple
screens for the emulation, each one configurable to its own resolution
etc.
At the moment, (SDL)MESS only supports -numscreen 1
.
You can force MESS to keep the aspect ratio of the emulated system despite any resizing of the window by using -keepaspect
.
In full screen mode, this will make black borders to appear to
compensate your screen size vs. emulated screen size. If you turn this
off (with -nokeepaspect
), the emulated screen will be stretched to fill the whole window/full screen.
Also you can decide to scale the system graphics before displaying it. This can be done by using the option -prescale <n>
with “n” an integer number (“1” is the defualt value)
(SDL)MESS also offers a few more scaling options, when in 'soft' video mode (see Video Modes section above). These can be selected by setting -scalemode
to async
, yv12
, yuy2
, yv12x2
, yuy2x2
or “none” (default value).
If you suffer from tearing or choppy scrolling, you can try to enable the -waitvsync
option which will sync emulation to your monitor. This option works better in windowed mode.
MESS tries to
reproduce the original aspect of the emulated systems. Hence, no fancy
filters can be enabled. However, it offers a bilinear filter (active by
default) though the -filter
option. Using this in conjunction with an -effect
mask, can produce a quite accurate representation of monitors and
television screens. You can turn the bilinear filter to off with -nofilter
.
Here we only analyze a few of the available sound options for MESS. A more detailed description of the MESS sound-related command line options and configuration options can be found at the usage and at themess.ini pages of this wiki, respectively.
You can easily deactivate sound in MESS by using -nosound
option. Notice that this option does not stop emulation of the sound hardware, it only mutes MESS output to your sound card.
In (SDL)MESS you can decide which SDL audio driver to use through the -audiodriver
option. You can select “alsa”, “arts”, etc. or leave “auto” for SDL default driver.
You can set the sound frequency used by MESS setting -samplerate
to your preferred value. The higher the number the better the sound
quality. However, sometimes this comes at expense of the performances on
older systems. Hence, you can set it to something lower than the
default 48000, e.g. to 11025, 22050 or 44100, and see if it better suits
your needs.
You can change the volume, measured in db, of the sound emulation by using the -volume
option. This accepts an integer value (even a negative one!) which
represent the number of times the volume is doubled/halved. E.g.
mess.exe -volume 3
will produce a volume which is doubled three times compared to the default.
mess.exe -volume -5
will give a volume which is halved five times compared to the default.
You can modify the volume also in real time, by pressing Tab and entering the Slider Controls
menu.
If you get crackling sound in the emulated system, you can try to modify audio latency which sets how much buffering MESS is allowed to do when emulating sound. The default value is -audio_latency 2
but you can try to increase it to reduce glitches or decrease it to
improve responsiveness. However, before fiddling with this option, check
first
Quite often imperfect sound is due to lack of CPU power or issues in the emulation.
This entry refers to controllers on the user system. For emulated controllers, i.e. the controllers that were used in the emulated machines, please refer to this entry and this entry. You may also want to read this page for a general discussion about input devices.
The simple fact is, if Windows supports your joystick or gamepad and it
has been set up properly in the Windows Control Panel, there shouldn't
be an issue with MESS supporting it.
If you haven't configured your controller, then open the Start → Settings → Control Panel
window. In Windows 2000 and XP you will have a system Controllers icon.
You'll have to refer to the Windows help file to configure your
controller, but make sure that the main controller is “Joystick 1”.
A similar situation holds true for (SDL)MESS: if the SDL libraries recognize your controllers, the emulator will recognize them as well!
Once you have a joystick, a mouse or a lightgun recognized by your operating system, you can use it in MESS
by simply activating it at start. This can be done in various ways. If
you are using messgui.exe in Windows, you can activate Joystick, Mouse
and Lightgun from the correspondent Input settings. Alternatively, you
can use at command line the options -joystick
, -mouse
and -lightgun
, or modify the corresponding configuration options in mess.ini.
Namely,
-joystick
option at command line, or setting to “1” the joystick line in mess.ini -mouse
option at command line, or setting to “1” the mouse line in mess.ini -lightgun
option at command line, or setting to “1” the lightgun line in mess.ini Once your controller has been activated, its inputs will be recognized in both “Input (general)” menu and “Input (this System)” menu of the Internal UI, and you will be able to remap emulated axis and keys to your controller.
In MESS you can separate inputs from multiple keyboards and mice, by using the options -multikeyboard
and -multimouse
In progress
In MESS there are also options which allow to automatically enable keyboard, mouse or joystick when a particular class of devices is used by emulated system. You can obtain this effect by setting the command line options
-paddle_device -adstick_device -pedal_device -dial_device -trackball_device -lightgun_device -positional_device -mouse_device
to one of the allowed values “none”, “keyboard”, “mouse”, “lightgun”, “joystick”. E.g. to map dial inputs to a joystick you can use
-dial_device joystick
Notice that your settings would be ignored if, in this case, you have no joysticks connected to your computer.
The -joystick_map
option allows to control how joystick values map to digital joystick controls. MESS
accepts all joystick input from the system as analog data. For true
analog joysticks, this needs to be mapped down to the usual 4-way or
8-way digital joystick values. To do this, MESS
divides the analog range into a 9×9 grid. It then takes the joystick
axis position (for X and Y axes only), maps it to this grid, and then
looks up a translation from a joystick map. This parameter allows you to
specify the map. The default is 'auto', which means that a standard
8-way, 4-way, or 4-way diagonal map is selected automatically based on
the input port configuration of the current game.
Maps are defined as a string of numbers and characters. Since the grid
is 9×9, there are a total of 81 characters necessary to define a
complete map. Below is an example map for an 8-way joystick:
777888999 Note that the numeric digits correspond to the keys 777888999 on a numeric keypad. So '7' maps to up+left, '4' maps 777888999 to left, '5' maps to neutral, etc. In addition to the 444555666 numeric values, you can specify the character 's', 444555666 which means "sticky". In this case, the value of the 444555666 map is the same as it was the last time a non-sticky 111222333 value was read. 111222333 111222333
To specify the map for this option, you can specify a string of rows separated by a ”.” (which indicates the end of a row), like so
777888999.777888999.777888999.444555666.444555666.444555666.111222333.111222333.111222333
However, this can be reduced using several shorthands supported by the
<map> parameter. If information about a row is missing, then it is
assumed that any missing data in columns 5-9 are left/right symmetric
with data in columns 0-4; and any missing data in colums 0-4 is
assumed
to be copies of the previous data. The same logic applies to missing
rows, except that up/down symmetry is assumed.
By using these
shorthands, the 81 character map can be simply specified by this 11
character string: 7778…4445
Looking at the first row, 7778
is only 4 characters long. The 5th entry can't use symmetry, so it is
assumed to be equal to the previous
character '8'. The 6th character is
left/right symmetric with the 4th character, giving an '8'. The 7th
character is left/right symmetric
with the 3rd character, giving a '9'
(which is '7' with left/right flipped). Eventually this gives the full 777888999
string of the row.
The second and third rows are missing, so they are
assumed to be identical to the first row. The fourth row decodes
similarly to the
first row, producing 444555666
. The fifth
row is missing so it is assumed to be the same as the fourth.
The
remaining three rows are also missing, so they are assumed to be the
up/down mirrors of the first three rows, giving three final rows
of 111222333
.
MESS also allows to specify a joystick deadzone for analog inputs which do not center properly, by using the -joystick_deadzone
option. Setting e.g.
-joystick_deadzone 0.4
will produce a dead area (where no joystick movements are detected) equal to 40% of the joystick movement. The value specified can vary between 0.0 and 1.0
SDL only, for non-US keyboards In progress
You can activate cheats in MESS by selecting them in GUI or by using the -cheat
option at command line. Unfortunately, cheats are currently not working in MESS after MAME 0.127 cheat rewrite.
More precisely, you can add cheat in xml format as system.xml but you cannot currently add per game cheats as in previous versions. They should be re-added soon.
When re-added, cheats will be in the new xml format MAME is using after 0.127. More info will come when support is added back.
For system which had an internal backup system, or for carts which were able to save progresses in SRAM, MESS offers the same feature by using .nv files inside the nvram/ directory. These files contain the same data the original system (or cart) would have saved.
SRAM support is not always perfectly supported. You can check sysinfo.dat for more details about support in the various systems.
-state -autosaveIn progress
To save a snapshot (a.k.a. screenshot) of an emulated system in MESS, you simply have to press F12 during emulation. The image will be saved in .png format in the snap/ directory.
The user can customize the resolution of the snapshot through the option -snapsize
(either at command line or in mess.ini or in the GUI).
Also, for games with an artwork, the user can decide if the artwork
must be included or not in the png. This can be chosen by using the
option -snapview
. E.g. for pc1403 setting the default option
-snapview internal
will produce a snapshot also including the artwork. Setting
-snapview "Standard (4:3)"
will produce a snapshot without the artwork (only the digit display on a black background). The -snapview
setting needed to exclude the artwork can be found in the Video Options
menu of the Internal UI, since its name corresponds to the View Settings which turn off the artwork.
Remeber that, by default, the snapshot is saved with a progressive number into a subfolder named system/ (which MESS creates if there is none). In other words, if you take a snap of MESS running pce emulation, you will find a .png file as follows “snap/pce/0000.png” Following snapshots will be named in progressive order “0001.png”, “0002.png” etc. However, the naming rules can be partially modified by the user, as described in next entry.
TO DO: Better explain the views and stress that they are the same ones used in the -view command and that they can be found by loading a game, pressing tab, selecting video options and checking out the views in the list. The view used can also be different from the one you've got displayed.
To customize the way snapshots are saved in the snap/ folder, MESS offers the option -snapname
. You can choose various combinations of the parameters
''%g'' = systemname ''%i'' = index
As an example,
mess.exe adam -snapname %g
will save your first Coleco Agam snap as “adam.png” and then it will overwrite it when you press again F12. On the other hand,
mess.exe adam -snapname %g%i
will save snapshots with progressive names “adam0000.png”, “adam0001.png”, etc. The default setting is
mess.exe adam -snapname %g/%i
which produces a subfolder named adam/ which will contain all snapshots, and the snaps will be named as “0000.png”, “0001.png”, etc.
Notice that, at the moment, it is not possible to save a snapshot of the game you are emulating with the name of the game itself.
MESS offers various different recording options. You can record
Each different recording alternative is controlled by a specific option. Recall that you can combine these options. E.g. you can first record a great play as an .inp file and then use the playback function to record an .avi of the play, which can be shared afterwards.
You can record .avi movies of MESS emulation by using the -aviwrite
option at command line. The resulting movie will be output in the
snapshot folder (snap/ by default) as <system>.avi. Notice that
the output is an uncompressed .avi file and can be very large!
Also .avi recording is influenced by -snapsize
and -snapview
options
You can record .mng movies of MESS emulation by using the -mngwrite
option at command line. The resulting movie will be output in the
snapshot folder (snap/ by default) as <system>.mng. Notice that
.mng files do not have audio. Hence, you may want to use this option in
combination with the audio recording -wavwrite
Also, .mng recording is influenced by -snapsize
and -snapview
options
You can record a .wav file of MESS emulation by using the -wavwrite
option at command line. The resulting audio recording will be output in the same directory as MESS as <system>.wav.
You can record a .inp file of MESS emulation by using the -record
option at command line, followed by a <name>.inp parameter. The
resulting .inp recording will be output in inp/ directory as
<name>.inp. You can replay the .inp file by using the -playback
option, followed by the <name>.inp parameter of the .inp file you want to playback.
TO DO: verify which snap options influence .avi and .mng recording
Please refer to sysinfo.dat or to the sysinfo section of the MESS Wiki to find instructions on how to use various devices in MESS emulated systems.
In progress
In progress
In progress
In progress
If you receive a
<file> NOT FOUND ERROR: required files are missing, the system cannot be run.
message, you need to find the files which are missing.
If you receive a
Device Cartslot load () failed: File not found
message, or a
Device Floppy Disk load () failed: File not found
message, or a similar one, you need to check if you gave the right path for the software.
If you receive a
Error: unknown option: -carts
message, you need to check which device options you have used vs. which device options are supported by the system (using -listmedia
)
If you receive a
"<system>" approximately matches the following supported systems (best match first):
message, you need to check what is the correct name of the system you want to run.