Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up --- Bug Reports --- Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: How to make a dedicated MAME Appliance on a Raspberry Pi 4B  (Read 8818 times)

0 Members and 1 Guest are viewing this topic.

teller

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 30
  • Last login:October 17, 2020, 05:09:49 pm
  • I want to build my own arcade controls!
Re: How to make a dedicated MAME Appliance on a Raspberry Pi 4B
« Reply #80 on: September 24, 2020, 01:20:46 pm »
Cool, I will try it out!

teller

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 30
  • Last login:October 17, 2020, 05:09:49 pm
  • I want to build my own arcade controls!
Re: How to make a dedicated MAME Appliance on a Raspberry Pi 4B
« Reply #81 on: September 25, 2020, 01:52:49 am »
I built it over night. it's done but I don't know where it's placed. I named it mame0224a. The old mame0224 is still there.

bbegin

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 48
  • Last login:October 03, 2020, 04:26:06 pm
  • I want to build my own arcade controls!
Re: How to make a dedicated MAME Appliance on a Raspberry Pi 4B
« Reply #82 on: September 25, 2020, 07:17:16 am »
I built it over night. it's done but I don't know where it's placed. I named it mame0224a. The old mame0224 is still there.

If the build was successful, it produced a binary named mame in /home/pi/mame0224a. The mame-launcher.sh script expect the environment variable $MAMEPATH to be set. Make sure this variable is ajusted to /home/pi/mame0224a (sudo edit /etc/environment). You may have to reboot for this to take effect.

teller

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 30
  • Last login:October 17, 2020, 05:09:49 pm
  • I want to build my own arcade controls!
Re: How to make a dedicated MAME Appliance on a Raspberry Pi 4B
« Reply #83 on: September 25, 2020, 12:19:04 pm »
Unfortunately I don't see any mame binary in /home/pi/mame0224a and tried again with ./mame-update.sh 0224a. During the make1 this error occured: "3rdparty/genie/build/gmake.linux -> No such file or directory".
What could be wrong?

bbegin

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 48
  • Last login:October 03, 2020, 04:26:06 pm
  • I want to build my own arcade controls!
Re: How to make a dedicated MAME Appliance on a Raspberry Pi 4B
« Reply #84 on: September 25, 2020, 12:34:35 pm »
Unfortunately I don't see any mame binary in /home/pi/mame0224a and tried again with ./mame-update.sh 0224a. During the make1 this error occured: "3rdparty/genie/build/gmake.linux -> No such file or directory".
What could be wrong?

It may be because there is not enough free space for the build process to complete (check with "df"). Can you check if the file exist in the specified location? How much RAM your Raspberry Pi 4 has? To build with 4 threads in parallel, you need 4 GB of RAM.

teller

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 30
  • Last login:October 17, 2020, 05:09:49 pm
  • I want to build my own arcade controls!
Re: How to make a dedicated MAME Appliance on a Raspberry Pi 4B
« Reply #85 on: September 25, 2020, 02:45:20 pm »
Indeed that 3rdparty folder was missing. Will copy mame-master again and try from scratch.
I have a Pi4 4G Model B.
Happy weekend.
« Last Edit: September 25, 2020, 03:09:52 pm by teller »

bbegin

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 48
  • Last login:October 03, 2020, 04:26:06 pm
  • I want to build my own arcade controls!
Re: How to make a dedicated MAME Appliance on a Raspberry Pi 4B
« Reply #86 on: September 25, 2020, 10:49:08 pm »
Indeed that 3rdparty folder was missing. Will copy mame-master again and try from scratch.
I have a Pi4 4G Model B.
Happy weekend.

I think the fact that the 3rdparty folder was missing is due to a logic error in the mame-update.sh script (we should only do the cleanup if the build is successful - I just fixed this and uploaded a new version of the image-file and also updated the How-To, if you want to ajust the script, wich is faster).

Thanks and have a great weekend you too!

teller

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 30
  • Last login:October 17, 2020, 05:09:49 pm
  • I want to build my own arcade controls!
Re: How to make a dedicated MAME Appliance on a Raspberry Pi 4B
« Reply #87 on: September 26, 2020, 10:44:33 am »
Build FAILED with your latest image.
make: *** [makefile:1375: linux] Error 2
Wasted more than 5h...

bbegin

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 48
  • Last login:October 03, 2020, 04:26:06 pm
  • I want to build my own arcade controls!
Re: How to make a dedicated MAME Appliance on a Raspberry Pi 4B
« Reply #88 on: September 26, 2020, 11:29:09 am »
Build FAILED with your latest image.
make: *** [makefile:1375: linux] Error 2
Wasted more than 5h...

What's the build error message (look upward in the scrollback).

Personnally, I successfully compiled the master branch without any issue.

I can send you the binary, if you want. Here we go (just put the binary in /home/pi/mame0224a):

https://drive.google.com/file/d/1NNdl2eDRnf3l5O8iePnfoMuaPKswH5QM/view?usp=sharing

teller

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 30
  • Last login:October 17, 2020, 05:09:49 pm
  • I want to build my own arcade controls!
Re: How to make a dedicated MAME Appliance on a Raspberry Pi 4B
« Reply #89 on: September 26, 2020, 11:32:29 am »
Thanks for the binary, it's finally working!
Now I can play all the VIDEOPAC games with full Voice support!
Amazing work and lots of help from you, thanks again!
« Last Edit: September 26, 2020, 06:35:39 pm by teller »

bbegin

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 48
  • Last login:October 03, 2020, 04:26:06 pm
  • I want to build my own arcade controls!
Re: How to make a dedicated MAME Appliance on a Raspberry Pi 4B
« Reply #90 on: September 26, 2020, 03:32:54 pm »
Thanks, it's finally working!
Now I can play all the VIDEOPAC games with full Voice support!
Amazing work and lots of help from you, thanks again!

Great, my pleasure! :)

teller

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 30
  • Last login:October 17, 2020, 05:09:49 pm
  • I want to build my own arcade controls!
Re: How to make a dedicated MAME Appliance on a Raspberry Pi 4B
« Reply #91 on: October 01, 2020, 07:15:21 am »
MAME v0.225 just released!

bbegin

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 48
  • Last login:October 03, 2020, 04:26:06 pm
  • I want to build my own arcade controls!
Re: How to make a dedicated MAME Appliance on a Raspberry Pi 4B
« Reply #92 on: October 01, 2020, 08:20:29 am »
MAME v0.225 just released!

Yes, and I built it successfully yesterday. I will post new image today with MAME 0.225.

teller

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 30
  • Last login:October 17, 2020, 05:09:49 pm
  • I want to build my own arcade controls!
Re: How to make a dedicated MAME Appliance on a Raspberry Pi 4B
« Reply #93 on: October 01, 2020, 10:38:13 am »
Glad you will keep it updated, thanks!

bbegin

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 48
  • Last login:October 03, 2020, 04:26:06 pm
  • I want to build my own arcade controls!
Re: How to make a dedicated MAME Appliance on a Raspberry Pi 4B
« Reply #94 on: October 01, 2020, 01:12:32 pm »
Just to let you know the availability of the new disk image file with MAME 0.225 (please see the original post of this thread for the download link).

teller

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 30
  • Last login:October 17, 2020, 05:09:49 pm
  • I want to build my own arcade controls!
Re: How to make a dedicated MAME Appliance on a Raspberry Pi 4B
« Reply #95 on: October 01, 2020, 02:52:23 pm »
I updated successfully! thanks again and happy gaming!

teller

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 30
  • Last login:October 17, 2020, 05:09:49 pm
  • I want to build my own arcade controls!
Re: How to make a dedicated MAME Appliance on a Raspberry Pi 4B
« Reply #96 on: October 09, 2020, 06:14:52 pm »
I could see great potential seeing a port of latest MAME on the Nintendo Switch. The Switch uses the Tegra X1 chipset from NVIDIA and would be powerful enough to run more even more modern arcade games. Meanwhile it's possible to run the systems Android (Oreo v8.1) and Linux (Ubuntu LTS 18.04) (see switchroot.org) but as far I know nobody ported the lastest version of MAME yet. I tried to install it on Ubuntu LTS 18.04 but it somehow it won't run.