0

I was trying to install Xmame 0.103 on Ubuntu 14.04. I had some problems installing it. It says that

*.c zlib.h: no such file or directory 

I opened that file and I saw that zlib.h file was written in header section. I tried some packages regarding it but all in vain.

What can I do to solve this problem?

Oli
  • 293,335
Faisal Aslam
  • 101
  • 3
  • 14

1 Answers1

1

Step 1; Install MAME:
Open a Terminal (CTRL+ALT+T) and enter the following line in it:

sudo apt-get install mame mame-tools gnome-video-arcade sdlmame sdlmame-tools

Step 2; MAME Configuration:
Start now MAME with this command so that a hidden folder (.mame) is created in your home directory which will contain all emulator settings:

mame

You can now close the emulator. Run this command to create the configuration file for MAME:

cd ~/.mame && mame -cc

The "mame.ini" file will be created in the ~/.mame folder. Edit now this file with this command:

sudo gedit ~/.mame/mame.ini

In "rompath", you can set your own ROM directory path or leave default paths: enter image description here

Next, create the following directories in the ~/.mame folder:

  • nvram
  • sta
  • roms
  • memcard
  • inp
  • comments
  • snap
  • diff
    You can create them all with this command:

    mkdir ~/.mame/nvram memcard roms inp comments sta snap diff

You can access the rom folder with this command to place your downloaded roms in:

nautilus ~/.mame/roms

As for player controls, you can easily configure them from the main interface of MAME (Configure General Inputs):
enter image description here

Note: While playing a game with MAME, you can exit fullscreen mode by pressing ALT+Enter.

Korkel
  • 1,158
  • 1
  • 10
  • 26
  • Thanks for that but I want to install 0.103 and not 0.145 or 0.152 which is latest. It is because they don't run old games I have in my computer. I use to run these games on Windows computer but now I want to do the same but latest MAME is not running these old games. It shows some error regarding some images files. – Faisal Aslam May 31 '14 at 15:37
  • Can you give me a error pleas? – Korkel May 31 '14 at 15:38
  • Sure but can't do it right now. I'm using my ant's computer which has Windows 8 installed on it. I will post error as soon as I get back to my computer. – Faisal Aslam May 31 '14 at 15:40
  • Mame error "The selected game is missing one or more required ROM or CHD images" – Faisal Aslam May 31 '14 at 15:40
  • http://www.vg-resource.com/thread-21078.html – Korkel May 31 '14 at 15:42