From GameBrew

Last Updated2010/10/26

A port of MAME 0.37b5 emulator (originally by Nicola Salmoria) for the NDS with Supercard DSTwo. MAME4ALL is also available for the GP2X, Wiz, PSP, Linux and GP32.

Mame4ALL Os Native base on Slaanesh Dingux source code, which is based on source code from the GP2X port of MAME4ALL.

Note: MAME4ALL DsTwo is for Supercard DS Two only.


  • Currently emulates lots of arcade games supported by original MAME 0.37b5.
  • Some additional games from newer MAME versions. Some larger games currently do not work due to lack of system RAM.


Note: In order to use this emulator, you will need to obtain MAME rom (roms must be compatible with mame0.37b5).

Download and extract file in root directory of DSTWO, you will have a MAME directory and 24 files in _dstwoplug to put in your _dstwoplug directory.

Put roms in /MAME/roms/ directory.

User guide

Supported games

  • The original version of MAME 0.37b5 supported 2260 romsets. For more details, see gamelist.txt file.
  • Games must be copied into the <installdir>/roms/ folder.
  • Neo Geo games are currently not included. Use Standard emulator instead for these.

Rom names

  • Folder names or ZIP file names are listed on gamelist.txt file.
  • Romsets have to be MAME 0.37b5 ones (July 2000).
  • Additionaly there are additional romsets from newer MAME versions.
  • Please use clrmame.dat file to convert romsets from other MAME versions to the ones used by this version for NdsTwo, using ClrMAME Pro utility.
  • File and directory names in Linux are case-sensitive. Put all file and directory names using only lower case.

Note: The most common problem for not getting a supported game to run is incompatible roms.

Sound Sample

  • Sound samples are used to get complete sound in some games.
  • They are placed into the samples directory compressed into ZIP files.
  • The directory and the ZIP files are named wtih lower case.
  • The sound samples collection can be downloaded here.
  • You can also use clrmame.dat file with ClrMAME Pro utility to get the samples pack.


  • Artwork is used to improve the visualization for some games. You can find them here.


  • The frontend graphic skin used in the emulator can be changed by adding two new files:
    • skins/ndssplash.bmp - Game selector intro screen.
    • skins/ndsmenu.bmp - Game selector background screen.
    • skins/ndsingame.bmp - Game options background screen during play.
  • Bitmaps must be 256x192 pixels x 256 colors (8 bit).
  • The resulting file should be exactly 50230 bytes in size. If it is not, then it's not in the right format. Paint Shop Pro saves BMPs in the correct format.
  • Previous versions of splash screens are included in the skins/previous directory.

Controller Notes

  • All keys can be redefined, including the shifted select keys. In some cases this is essential. ie. Robotron.
  • To type OK when MAME requires it, press Left and then Right.
  • The Game Selector will search for MAME ROMs found in the ./roms directory. Games found will be displayed in the game list.
    • Use Up and Down to select a game.
    • Use Left and Right to page up and page down.
    • Press A to select the game to play.
    • Press Select+L+R to exit.
  • After selecting a game, configuration options are available:
    • Use Up and Down to select the option you want to change.
    • Use Left and Right to change the option.
    • Press A to start the game (and save the configured options).
    • Press X to go back to the game list.
  • The botton screen allows you to take a screenshot or add coins to play.
  • The MAME menu (in game) can be used to:
    • Redefine DEFAULT keys for all games.
    • Redefine keys for the current game.
    • Display game information.
    • Set Auto-fire options.
    • Enable cheats.


In game:

D-Pad - Up/Down/Left/Right

A/B/X/Y/L/R - MAME buttons 1/2/3/4/5/6

Select+Start - Insert credit

Start - Start game

Extended controls in game (MAME menu and options):

All use Select with an additional button. This is analagous to pressing Shift and another key on a regular keyboard.

Select+L - Show profiler

Select+R - Show FPS

Select+Y - Pause

Select+X - Enter/exit Volume menu

Select+B - Enter/exit MAME menu

Select+L+R - Exit (to Mame4All menu)

B - Enter

X - Space




Mame4All DsTwo 1.0 PolePosition (alekmaul2009)

Mame4All DsTwo V1.0 Pacman (alekmaul2009)


V1.0 2010/10/26

  • 1st public release.

V1.0 *TEST* 2010/10/16

  • Initial release for *test* purpose.


  • MAME 0.37b5 original version by Nicola Salmoria and the MAME Team.
  • Z80 emulator Copyright (c) 1998 Juergen Buchmueller, all rights reserved.
  • M6502 emulator Copyright (c) 1998 Juergen Buchmueller, all rights reserved.
  • Hu6280 Copyright (c) 1999 Bryan McPhail, [email protected]
  • I86 emulator by David Hedley, modified by Fabrice Frances ([email protected]).
  • M6809 emulator by John Butler, based on L.C. Benschop's 6809 Simulator V09.
  • M6808 based on L.C. Benschop's 6809 Simulator V09.
  • M68000 emulator Copyright 1999 Karl Stenerud. All rights reserved.
  • 80x86 M68000 emulator Copyright 1998, Mike Coates, Darren Olafson.
  • 8039 emulator by Mirko Buffoni, based on 8048 emulator by Dan Boris.
  • T-11 emulator Copyright (C) Aaron Giles 1998.
  • TMS34010 emulator by Alex Pasadyn and Zsolt Vasvari.
  • TMS9900 emulator by Andy Jones, based on original code by Ton Brouwer.
  • Cinematronics CPU emulator by Jeff Mitchell, Zonn Moore, Neil Bradley.
  • Atari AVG/DVG emulation based on VECSIM by Hedley Rainnie, Eric Smith and Al Kossow.
  • TMS5220 emulator by Frank Palazzolo.
  • AY-3-8910 emulation based on various code snippets by Ville Hallik, Michael Cuddy, Tatsuyuki Satoh, Fabrice Frances, Nicola Salmoria.
  • YM-2203, YM-2151, YM3812 emulation by Tatsuyuki Satoh.
  • POKEY emulator by Ron Fries ([email protected]). Many thanks to Eric Smith, Hedley Rainnie and Sean Trowbridge.
  • NES sound hardware info by Jeremy Chadwick and Hedley Rainne.
  • YM2610 emulation by Hiromitsu Shioya.

Special thanks to:

  • Supercard DSTwo team for sdk.
  • Slaanesh for Dingux port of mame.
  • Franxis. Originally porting MAME to GP32, GP2X and Wiz.

External links