Changes

MAME

225 bytes added, 18 April
Pang screenshot caption modification. MAME emulation is not “glitchy” anymore.
[[File:Mess sysinfo.png|thumb|upright=.9|The MAME system info box for the CPC6128]]
[[File:Mess gx4000 pang.png|thumb|upright=1.2|MAME also has (still somewhat glitchy) support for the GX4000 and CPC+ series. Note the strange blue bar at the bottom in Here is shown ''[[Pang (cartridge)|Pang]]''for the GX4000.]]
'''MAME''' (Multiple Arcade Machine Emulator) is a multi-platform emulator for arcade games, home computers, gaming consoles, chess computers, calculators, etc. MAME 0.162 (released on May 27, 2015) merged the previously separate MAME and MESS (Multi Emulator Super System) projects into one, so that a single executable now combines the emulation capabilities of pre-0.162 MAME/MESS.
On OS X, you can install MAME via [http://brew.sh/ Homebrew]:
brew tap homebrew/games
brew install mame
Supported CPC models are cpc464, cpc464p, cpc664, cpc6128, cpc6128p, gx4000, cpc6128f (French), cpc6128s (Swedish), and the clones kccomp ([[KC Compact]]) and al520ex ([[Aleste 520EX]]; hold Shift during boot to go to Basic).
Press ''Scroll Lock'' to toggle partial keyboard emulation mode. Now you can use ''P'' to pause MAME, ''Tab'' to enter the MAME menu, and ''Escape'' to quit MAME. ''Alt-Return'' toggles fullscreen mode.(See also [http://docs.mamedev.org/usingmame/defaultkeys.html default keys].)
You can use the "-ab" commandline option to type text into MAME, e.g.
nat = ''
s = "/usr/share/sdlmame/sdlmame cpc6128 -skip_gameinfo -window %s -keymap -keymap_file /usr/share/sdlmame/keymaps/km-dekm_de_LINUX.txtmap" % nat
def checkzip(t):
==GUI front-ends==
[[File:Mameui.png|thumb|MAMEUI64 on Windows]]
[[File:Messmenu.png|thumb|MessMenu on OS X with a CPC ROM selected. Currently, seven different CPC models are supported, including some regional variants (French and Swedish).]]
Various Several GUI front-ends for MAME/MESS exist for Windows, Linux, and OS X:
*[http://mame32fx.altervista.org/ MAMEUIFX] (Windows)
*[http://www.mameui.info/ MAMEUI64] (Windows)
*[http://qmc2.arcadehits.net/ QMC2] (Windows, OS X, Linux)
To use a German keyboard in emulated keyboard mode, start MAME e.g. with (key map path on Linux):
mame cpc6128 -keymap -keymap_file /usr/share/sdlmame/keymaps/km-dekm_de_LINUX.txtmap
You can also put these settings in your mame.ini like this:
keymap 1
keymap_file /usr/share/sdlmame/keymaps/km-dekm_de_LINUX.txtmap
In emulated mode, keys can also be remapped in the emulator menu. First press ''Scroll Lock'' to enable the MAME control keys, then ''Tab'' to open the menu, and finally select ''Input (this system)''. ''Return, Esc'' clears an assigned key.
==CRT simulation==
[[File:MAME BGFX Linux detail.png|thumb|BGFX output with default shader settings on Linux]][[File:Cpc hlsl shader mess detail.png|thumb|HLSL "1980s" shader (Windows); MAME config used is on image description page]]
MAME can use shaders to simulate typical CRT graphics artifacts such as scanlines, colors bleeding into each other, jitter, and display curvature.
===BGFX=== The easiest way to do this (works on Windows, OS X, and Linux) in recent versions of since MAME 0.172 is to enable [https://github.com/bkaradzic/bgfx BGFX] video output: Put this in your mame.ini:
video bgfx
Check with F11 if you still get 100% performance. If not, adjust frame skip with F8/F9.
Also, if you press the tilde (~) and then cursor up/down, you can adjust the shader settings(they are also under Slider Controls in the MAME menu). These are not saved at the moment though.[http://docs.mamedev.org/advanced/bgfx.html] If you edit bgfx/chains/hlsl.json in a text editor, you can change the default values. E.g., to reduce the Moiré pattern, search for "Shadow Mask Amount" and change it to:  "default": 0.20 ===HLSL and GLSL===[[File:Cpc hlsl shader mess detail.png|thumb|HLSL "1980s" shader (Windows); MAME config used is on image description page]]
Older methods for CRT simulation are manual HLSL and GLSL configurations, here are some examples:
*Windows (using HLSL shaders)
**A scripted setup with separate "1980s" and "1990s" CRT configs: [http://shmups.system11.org/viewtopic.php?f=6&t=45026&start=240] (huge post is halfway down the page)
*[http://www.mess.org/mess:howto MESS user's manual]
*[[Media:CPC_ROMs_for_MAME.zip|CPC ROMs for MAME]]
*[https://linux-user.gr/t/one-retro-cumputers-emulator-to-rule-them-all/1302 one-retro-cumputers-emulator-to-rule-them-all-(in-greek-language)]
[[Category:Emulator]]
9
edits