Skip to content

pierrelouys/pspMAME097-repuken2

 
 

Repository files navigation

List of games

Full list of games included in each build.

Setting up pspMAME

pspMAME is a straight port of MAME 0.97 (released for PC in 2005).

Out of the commonly available romsets, the ones closest to this version are AdvanceMAME (0.106) and MAME 2003 (0.78).

.dat file

A .dat file is an XML-formatted file containing the list of all the ROMS each version of MAME is compatible with.

Screenshot

Link to the MAME 0.97 .dat file.

You can use this file with RomCenter (or any other ROM-managing app of your choice).

RomCenter

Unpack the .dat file and drag it onto the RomCenter window. Select Create the database. Once the database has been created, you will be greeted by a list of the 5,600+ games supported by MAME 0.97 (left), and the individual ROMs required by the selected game (right).

Screenshot

Drag the folder with your ROMs on the RomCenter window. The games that appear in green are good. The ones in yellow require a fix (they might have the wrong file name, for instance), and the ones in red are just not compatible with MAME 0.97 (they might be intended for earlier/later versions of MAME).

Screenshot

Copy to your PSP

Once you are done with RomCenter, simply copy pspMAME and the green ROMs to your memory stick:

[unit letter]:\PSP\GAME\pspMAME\roms

History files

Just like the PC version of MAME 0.97, pspMAME supports history.dat files. These are text files including historical details and trivia for each of the games.

Screenshot

The history.dat file available from arcade-history.com is too large to be loaded on a PSP. Instead, smaller files are available under pspMAME\hist that include only the subset of games included in each of the builds.

Common issues

Required files are missing

Screenshot

Not just the zip files, but the ROMs inside them, need to match the specifications of the MAME 0.97 .dat file precisely. Drag the offending ROM on RomCenter and see the suggested fixes.

Unable to allocate / Out of memory

Screenshot

Screenshot

Screenshot

pspMAME does not implement any form of caching. Because of that, you will run out of memory pretty quickly even on a PSP slim when trying to load larger ROMs.

Similar messages might also appear for smaller ROMs in case of memory leaks. In this case, try exiting and reloading pspMAME to free the memory up again.

Compiling

MAME 0.97 supports 5,661 ROMs. Compile it with that many drivers, and it will crash the moment you try to launch it. Use dedicated makefiles instead.

  1. make all
  2. move all the .a libraries from obj/mame to obj/drivers
  3. make TARGET=Nichibutsu - varies according to the name of the makefile in /makes.

Custom builds

The builds included in the release feature only a small subset of all the games MAME 0.97 has to offer. If your favorite arcade game is not included in one of them, creating a custom build is an option.

The Arcade Database website is a great starting point.

  1. First - is the game included in MAME 0.97? Open the Arcade Database page for the game of your choice, and check the 'First release' section.
  2. Copy one of the makefiles under makes. Change DTINY_NAME and DTINY_POINTER to match the game's name under the list of drivers.
  3. Change the list of CPUs and SOUNDs to match the game's hardware. The Arcade Database entry for the game (video and audio sections) can again be a useful reference.
  4. In the Terminal, type make TARGET=foo, where foo is the name of your makefile.
  5. You will most likely hit a few stray undefined references on the first attempt. Check in which files the missing functions are declared by searching the pspMAME repo, and include them in the makefile.

Changes

  • settings are now saved in pspmame.cfg;
  • save states work again (shortcut must be defined in the OSD that appears by pressing L while in the game);
  • button configurations saved in a [rom name].cfg file (but see above);
  • SHOW FPS in the settings now works;
  • LIMIT SPEED now works;
  • UI now in (proper) English;
  • there is finally an option to quit in the OSD menu;
  • Lua launcher borrowed from Brujito's Multi Emulator;

Issues

  • all scaling options other than x1, auto-stretch and rotate are broken;
  • [SOLVED] files default.cfg and [rom name].cfg must exist in the cfg folder, or the emulator will get stuck while loading a rom (error: bad file descriptor);
  • [SOLVED] a sta folder must exist, or game states won't be saved;
  • [SOLVED] nvram files are not created (they still work if copied into the nvram folder);

Credits

  • TMK: Japanese code who first ported MAME 0.97 to PSP back in 2005.
  • PSP Development Kindergarten (PSP開発幼稚園): the Japanese coders who managed to speed up TMK's port enough to make it playable. This version of pspMAME is based entirely on their work.
  • Brujito: the code for the launcher is taken from his Multi Emulators.

About

Repuken2's fork of PSP MAME.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 99.1%
  • Makefile 0.5%
  • Lua 0.2%
  • Assembly 0.1%
  • C++ 0.1%
  • Python 0.0%