Main > Raspberry Pi & Dev Board

How to make a dedicated MAME 0.250 Appliance on a Raspberry Pi 4/Pi 400

<< < (2/81) > >>

Substring:
Not trying to sell groovyarcade, but Arch Linux is a great and up to date distro, and pretty lightweight. You could give a try to archlinuxarm (the mame binary should be compatible). The main adgantage is that the steps would be pretty much the same for pi, xu4 or whichever SBC.

See https://archlinuxarm.org/platforms
.
The real question is: did they compile SDL2 with KMS ... If it's using the same package as on x86, the answer should be yes as I've tried MAME on KMS on x86 and it was working pretty well.

bbegin:

--- Quote from: Substring on May 28, 2020, 08:26:32 am ---Not trying to sell groovyarcade, but Arch Linux is a great and up to date distro, and pretty lightweight. You could give a try to archlinuxarm (the mame binary should be compatible). The main adgantage is that the steps would be pretty much the same for pi, xu4 or whichever SBC.

See https://archlinuxarm.org/platforms

--- End quote ---

Thanks for the suggestion, Substring.

I took a look at ArchLinux ARM, installed it and got stucked at installing the proper build tools (gcc) to build and install SDL2 with KMS and OpenGL ES 2 support enabled, but X11 and OpenGL support disabled. I'm really not familiar at all with pacman.

I was able to enable the Fake KMS driver (in /boot/config.txt) and I can see /dev/dri is successfully enumerated.

I think I will stick with Raspbian Buster Lite as it is based on Debian and I am way more confortable with this flavor of Linux.  ;D

Substring:
Just
--- Code: ---pacman -Sy base-devel sdl2 mame
--- End code ---
, it should be enough. Arch already has sdl 2.0.12, so you don't need to compile anything. It will probably install some X dependencies, but it doesn't mean you must start mame in X rather than KMS

mamemaniac:
Can you just upload a torrent? We can add the roms.



--- Quote from: bbegin on May 24, 2020, 11:32:13 am ---Hi all,

I worked on a personal project for the last 2 months.

The objective was to use a Raspberry Pi 4B and make it as a dedicated MAME Appliance. The system is minimal (following the JeOS principle) and boot straight into MAME 0.221, the latest version as of today. No clutter, no waste of resources and most of all, no useless GUI (X11).

The performances are really good, as most of the '80s and '90s arcade games run at full speed. Many 2000s games run at full speed as well.

Features and functionalities:

* Based on Raspbian Lite (minimal Linux edition based on Debian);
* At startup, display of a custom splash screen (for example, the MAME logo);

* The MAME emulator starts automatically and displays the ROM selection screen;
* When you exit MAME, the system initiates a shutdown;

* During the shutdown, display of a personalized splash screen (for example, the MAME logo);
* When the stop operations are completed, the system powers off;

* To preserve the life of the SD card, the root filesystem is kept in read-only mode;
* A maintenance mode is proposed (it's called the Service Mode) to allow system updates and the management of ROMs and Snapshots (via a Samba file share).
Youtube demonstration video:


I made a How-To Guide and hosted it on GitHub, but as I am French-speaking, it is written in French. Feel free to translate it to English with Google Translate.

Here is the link to the Step-by-Step How-to Guide:

https://gist.github.com/sonicprod/f5a7bb10fb9ed1cc5124766831e120c4

Google Translate to English : https://translate.google.ca/translate?hl=fr&tab=wT&sl=fr&tl=en&u=https%3A%2F%2Fgist.github.com%2Fsonicprod%2Ff5a7bb10fb9ed1cc5124766831e120c4

Feel free to comment.

Thanks and happy classic/arcade gaming!  :D

--- End quote ---

bbegin:

--- Quote from: mamemaniac on May 29, 2020, 09:09:13 am ---Can you just upload a torrent? We can add the roms.

--- End quote ---

Yes, I will provide a link with a pre-built image ready to be flashed to the SD card.

The only thing to do will be to add ROMs to the /data/roms folder.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version