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 Try the site in https mode Site News

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

  

Author Topic: How to make a dedicated MAME 0.250 Appliance on a Raspberry Pi 4/Pi 400  (Read 127829 times)

0 Members and 1 Guest are viewing this topic.

teller

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 31
  • Last login:January 07, 2024, 10:17:32 am
  • 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: 31
  • Last login:January 07, 2024, 10:17:32 am
  • 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: 186
  • Last login:February 05, 2024, 07:23:14 pm
  • Arcade games enthusiast, bartop arcade project WIP
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.
Personal project:
How to make a dedicated MAME Appliance on a Raspberry Pi 4/Pi 400
https://gist.github.com/sonicprod/f5a7bb10fb9ed1cc5124766831e120c4

teller

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 31
  • Last login:January 07, 2024, 10:17:32 am
  • 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: 186
  • Last login:February 05, 2024, 07:23:14 pm
  • Arcade games enthusiast, bartop arcade project WIP
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.
Personal project:
How to make a dedicated MAME Appliance on a Raspberry Pi 4/Pi 400
https://gist.github.com/sonicprod/f5a7bb10fb9ed1cc5124766831e120c4

teller

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 31
  • Last login:January 07, 2024, 10:17:32 am
  • 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: 186
  • Last login:February 05, 2024, 07:23:14 pm
  • Arcade games enthusiast, bartop arcade project WIP
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!
Personal project:
How to make a dedicated MAME Appliance on a Raspberry Pi 4/Pi 400
https://gist.github.com/sonicprod/f5a7bb10fb9ed1cc5124766831e120c4

teller

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 31
  • Last login:January 07, 2024, 10:17:32 am
  • 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: 186
  • Last login:February 05, 2024, 07:23:14 pm
  • Arcade games enthusiast, bartop arcade project WIP
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
Personal project:
How to make a dedicated MAME Appliance on a Raspberry Pi 4/Pi 400
https://gist.github.com/sonicprod/f5a7bb10fb9ed1cc5124766831e120c4

teller

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 31
  • Last login:January 07, 2024, 10:17:32 am
  • 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: 186
  • Last login:February 05, 2024, 07:23:14 pm
  • Arcade games enthusiast, bartop arcade project WIP
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! :)
Personal project:
How to make a dedicated MAME Appliance on a Raspberry Pi 4/Pi 400
https://gist.github.com/sonicprod/f5a7bb10fb9ed1cc5124766831e120c4

teller

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 31
  • Last login:January 07, 2024, 10:17:32 am
  • 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: 186
  • Last login:February 05, 2024, 07:23:14 pm
  • Arcade games enthusiast, bartop arcade project WIP
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.
Personal project:
How to make a dedicated MAME Appliance on a Raspberry Pi 4/Pi 400
https://gist.github.com/sonicprod/f5a7bb10fb9ed1cc5124766831e120c4

teller

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 31
  • Last login:January 07, 2024, 10:17:32 am
  • 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: 186
  • Last login:February 05, 2024, 07:23:14 pm
  • Arcade games enthusiast, bartop arcade project WIP
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).
Personal project:
How to make a dedicated MAME Appliance on a Raspberry Pi 4/Pi 400
https://gist.github.com/sonicprod/f5a7bb10fb9ed1cc5124766831e120c4

teller

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 31
  • Last login:January 07, 2024, 10:17:32 am
  • 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: 31
  • Last login:January 07, 2024, 10:17:32 am
  • 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.

bbegin

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 186
  • Last login:February 05, 2024, 07:23:14 pm
  • Arcade games enthusiast, bartop arcade project WIP
Re: How to make a dedicated MAME Appliance on a Raspberry Pi 4B
« Reply #97 on: October 28, 2020, 08:54:48 pm »
Just to let you know the availability of the new disk image file with MAME 0.226 (please see the original post of this thread for the download link).
Personal project:
How to make a dedicated MAME Appliance on a Raspberry Pi 4/Pi 400
https://gist.github.com/sonicprod/f5a7bb10fb9ed1cc5124766831e120c4

_Iz-

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 691
  • Last login:March 19, 2024, 01:46:05 am
  • Time to coin up!
Re: How to make a dedicated MAME Appliance on a Raspberry Pi 4B
« Reply #98 on: October 31, 2020, 12:55:19 pm »
Can I use the gpio pins on the pi4 to interface controls with this or will it only accept input from an encoder that emulates a keyboard?

bbegin

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 186
  • Last login:February 05, 2024, 07:23:14 pm
  • Arcade games enthusiast, bartop arcade project WIP
Re: How to make a dedicated MAME Appliance on a Raspberry Pi 4B
« Reply #99 on: October 31, 2020, 04:56:55 pm »
Can I use the gpio pins on the pi4 to interface controls with this or will it only accept input from an encoder that emulates a keyboard?

Yes, you can definitely use the GPIO pins to hook up an arcade joystick and buttons.

Please refer to:
https://www.crackedconsole.com/2019/03/21/mk_arcade_joystick_rpi/
https://www.cuddleburrito.com/blog/2015/5/31/connecting-raspberry-pi-arcade-buttons-to-gpio
Personal project:
How to make a dedicated MAME Appliance on a Raspberry Pi 4/Pi 400
https://gist.github.com/sonicprod/f5a7bb10fb9ed1cc5124766831e120c4

bbegin

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 186
  • Last login:February 05, 2024, 07:23:14 pm
  • Arcade games enthusiast, bartop arcade project WIP
Re: How to make a dedicated MAME Appliance on a Raspberry Pi 4B
« Reply #100 on: November 02, 2020, 08:45:19 pm »
Hi all,

I updated the How-To Guide today to incorporate a new feature:

Now, while in Service Mode:
  • As soon as you add new ROM files, the snapshots/titles (and others, if available) images will be scraped/downloaded automatically.
  • As soon as you remove/delete ROM files, the associated graphic files will be deleted.

The pre-built disk image file is not yet updated with this change. I will notify you as soon as it's done.
Personal project:
How to make a dedicated MAME Appliance on a Raspberry Pi 4/Pi 400
https://gist.github.com/sonicprod/f5a7bb10fb9ed1cc5124766831e120c4

mahuti

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 2757
  • Last login:March 02, 2022, 09:51:19 pm
  • I dare anything! I am Skeletor!
Re: How to make a dedicated MAME Appliance on a Raspberry Pi 4B
« Reply #101 on: November 05, 2020, 07:26:45 pm »
Quote
Can I use the gpio pins on the pi4 to interface controls with this or will it only accept input from an encoder that emulates a keyboard?

You can. I've done it, but I prefer to use the GPIO for other stuff personally.

This a really cheap encoder that works really well with the pi, and has decent software available to configure the key mapping from the /boot/config.txt
https://www.adafruit.com/product/4518

It also makes it simple to wire a button to power off and on the pi.

Usually I use its bigger brother directly on the pi
https://www.adafruit.com/product/3402

Anyway, you can use the GPIO, it just takes a bit of scripting to make it work. Lots of tutorials out there on that subject.
Raspberry Pi, AttractMode, and Skeletor enthusiast.

mahuti

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 2757
  • Last login:March 02, 2022, 09:51:19 pm
  • I dare anything! I am Skeletor!
Re: How to make a dedicated MAME Appliance on a Raspberry Pi 4B
« Reply #102 on: November 14, 2020, 03:43:39 pm »
By the way, I used some of the information in the article to do my last MAME build. While I know a lot of tricks with the Pi, I definitely learned some new ones.

I didn't use the instructions completely. I wanted to automate the build / patching process on mame to work with the Pi4 though, and the instructions work really well for that, but it requires some serious attention to sort out what parts of that article are about compiling a solid version of mame vs all the other stuff that makes the "appliance" part.

In the end, I have a working copy of 225 running on a Pi4. Without overclocking, 225 runs over 99% speed without frameskipping on games like DigDug and Galaga. I just wanted a version of MAME that has the output system that will work with LEDSpicer. I started with MAME v 189 and manually applied the patch changes (since the suggested patch doesn't work on versions that old), but it still chokes at the linking stage after compiling, due to some requirement for X11 that's buried in the MAME code somewhere... I ended up just trying to see if a modern MAME version worked well enough, and 225 was fine.

Anyway, based on my experience, the only thing I'd add to that guide  would be a really obvious subsection that strictly deals with MAME compiling for anyone else that isn't looking for the full appliance experience. I think the automation script for downloading, patching and building MAME is really solid and is really valuable information just by itself.
Raspberry Pi, AttractMode, and Skeletor enthusiast.

bbegin

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 186
  • Last login:February 05, 2024, 07:23:14 pm
  • Arcade games enthusiast, bartop arcade project WIP
Re: How to make a dedicated MAME Appliance on a Raspberry Pi 4B
« Reply #103 on: November 14, 2020, 08:27:52 pm »
Hi mahuti,

Thanks for using the instructions (at least partially) from the How-To Guide. :)

I am glad you were able to get a fully working MAME 0.225 on your Pi 4. By curiosity, what are the new tricks you learned from the guide? ;)

About your suggestion, the thing is that this How-To Guide is all about building a dedicated and optimized system for MAME, nothing less, nothing more. Although there is the steps to build the latest version of MAME optimized for the Pi 4, this How-To Guide is nonetheless broader.

I will add more comments in the mame-update.sh script (witch have a double use: first-time setup of MAME and also build/update it).

Thanks again,

Benoit
« Last Edit: November 15, 2020, 11:44:30 am by bbegin »
Personal project:
How to make a dedicated MAME Appliance on a Raspberry Pi 4/Pi 400
https://gist.github.com/sonicprod/f5a7bb10fb9ed1cc5124766831e120c4

warty

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 3
  • Last login:December 23, 2020, 06:33:00 am
  • I want to build my own arcade controls!
Re: How to make a dedicated MAME Appliance on a Raspberry Pi 4B
« Reply #104 on: December 20, 2020, 10:25:44 am »
An other noob question from  a Windows user
When I'm in arcademode, how can I switch back to service mode ??

bbegin

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 186
  • Last login:February 05, 2024, 07:23:14 pm
  • Arcade games enthusiast, bartop arcade project WIP
Re: How to make a dedicated MAME Appliance on a Raspberry Pi 4B
« Reply #105 on: December 20, 2020, 01:59:55 pm »
An other noob question from  a Windows user
When I'm in arcademode, how can I switch back to service mode ??

Just connect to the IP address of the Pi 4 with PuTTY (a popular Windows SSH client) and start an SSH session. Once logged in, issue the following commands:

Code: [Select]
rw
servicemode
sudo reboot
« Last Edit: December 20, 2020, 08:14:53 pm by bbegin »
Personal project:
How to make a dedicated MAME Appliance on a Raspberry Pi 4/Pi 400
https://gist.github.com/sonicprod/f5a7bb10fb9ed1cc5124766831e120c4

warty

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 3
  • Last login:December 23, 2020, 06:33:00 am
  • I want to build my own arcade controls!
Re: How to make a dedicated MAME Appliance on a Raspberry Pi 4B
« Reply #106 on: December 23, 2020, 05:47:53 am »
ok, thanks for your reply, but what is the default Pi address ?

warty

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 3
  • Last login:December 23, 2020, 06:33:00 am
  • I want to build my own arcade controls!
Re: How to make a dedicated MAME Appliance on a Raspberry Pi 4B
« Reply #107 on: December 23, 2020, 06:09:33 am »
ok, thanks for your reply, but what is the default Pi address ?
I scanned the network and finally found it at 169.254.148.87

ivwshane

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1036
  • Last login:December 24, 2022, 09:35:21 pm
    • My first mame cab! (WIP)
Re: How to make a dedicated MAME Appliance on a Raspberry Pi 4B
« Reply #108 on: January 04, 2021, 10:44:30 pm »
So what kind of mame performance are you guys seeing on the pi 4? Does it have cps3 well? As gauge of performance, how does it do on 3d games like blitz or mk4 (I don't expect it to be playable but if it does 10+ frames a second that's pretty good).

bbegin

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 186
  • Last login:February 05, 2024, 07:23:14 pm
  • Arcade games enthusiast, bartop arcade project WIP
Re: How to make a dedicated MAME Appliance on a Raspberry Pi 4B
« Reply #109 on: January 05, 2021, 02:25:46 pm »
Just to let you know the availability of the NEW disk image file with MAME 0.227 (please see the original post of this thread for the download link).
Personal project:
How to make a dedicated MAME Appliance on a Raspberry Pi 4/Pi 400
https://gist.github.com/sonicprod/f5a7bb10fb9ed1cc5124766831e120c4

mahuti

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 2757
  • Last login:March 02, 2022, 09:51:19 pm
  • I dare anything! I am Skeletor!
Re: How to make a dedicated MAME Appliance on a Raspberry Pi 4B
« Reply #110 on: January 05, 2021, 04:09:14 pm »
Does your compiled version allow the user to skip warnings and nag screens?
Raspberry Pi, AttractMode, and Skeletor enthusiast.

jhummel

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 6
  • Last login:January 25, 2021, 08:41:55 pm
  • I want to build my own arcade controls!
Re: How to make a dedicated MAME Appliance on a Raspberry Pi 4B
« Reply #111 on: January 05, 2021, 09:05:11 pm »
Sorry for the total noob question here. I was able to download your image and expand the file system. I'm not able to connect to my wifi however. I know you said that wifi isn't disabled in the image, but it seems like the OS doesn't even find the interface. Trying to set things up with raspi-config gives me a "No wireless interfaces found" message. Is that something I screwed up?

Thanks for all the work

bbegin

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 186
  • Last login:February 05, 2024, 07:23:14 pm
  • Arcade games enthusiast, bartop arcade project WIP
Re: How to make a dedicated MAME Appliance on a Raspberry Pi 4B
« Reply #112 on: January 06, 2021, 12:04:20 am »
Sorry for the total noob question here. I was able to download your image and expand the file system. I'm not able to connect to my wifi however. I know you said that wifi isn't disabled in the image, but it seems like the OS doesn't even find the interface. Trying to set things up with raspi-config gives me a "No wireless interfaces found" message. Is that something I screwed up?

Thanks for all the work

Hi jhummel,

I forgot a little ajustment (in my staging process) when I published the image of 0.227 and it has to do with Wi-Fi.

You will need to reinstall wpasupplicant with the following command and reboot:

Code: [Select]
sudo apt-get install wpasupplicant -y
Sorry for the mistake.
Personal project:
How to make a dedicated MAME Appliance on a Raspberry Pi 4/Pi 400
https://gist.github.com/sonicprod/f5a7bb10fb9ed1cc5124766831e120c4

bbegin

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 186
  • Last login:February 05, 2024, 07:23:14 pm
  • Arcade games enthusiast, bartop arcade project WIP
Re: How to make a dedicated MAME Appliance on a Raspberry Pi 4B
« Reply #113 on: January 06, 2021, 12:17:46 am »
Does your compiled version allow the user to skip warnings and nag screens?

The "skip_gameinfo" setting is enabled in mame.ini.

Other than that, nag screens will do appear (I did'nt used the build option to disable them).

I noticed with 0.227, the emulator systematically displays "One or more ROMs/CHDs for this machine are incorrect.  The machine may not run correctly." when launching a ROM. Maybe a flag has been forgotten by the devs or something.

Anyway, I worked around this with a copy (and overwrite) of all the .xml files from the hash folder of MAME 0.226 to the hash folder of my MAME 0.227 ans everything is OK (no more nag screen with every single ROMs).
« Last Edit: January 06, 2021, 10:21:35 am by bbegin »
Personal project:
How to make a dedicated MAME Appliance on a Raspberry Pi 4/Pi 400
https://gist.github.com/sonicprod/f5a7bb10fb9ed1cc5124766831e120c4

jhummel

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 6
  • Last login:January 25, 2021, 08:41:55 pm
  • I want to build my own arcade controls!
Re: How to make a dedicated MAME Appliance on a Raspberry Pi 4B
« Reply #114 on: January 06, 2021, 12:01:34 pm »

You will need to reinstall wpasupplicant with the following command and reboot:


Unfortunately, I had already ran that. Still no wlan interfaces found. I might just wait for a new image, to see if that fixes my issue. I plugged in the pi  via ethernet, and I, unfortunately, wasn't able to get Mame to start up either. Running the mame-launcher.sh script with the verbose flag in service mode showed:

Code: [Select]

The path /dev/dri/ cannot be opened or is not available
Could not initialize SDL kmsdrm not available


Looking into that error. I found some topics about building SDL that I'll try later. Just wanted to bring it up, in case it was something misconfigured in the image.


Sorry for the mistake.


Not a problem, thanks again for all the work on this.

bbegin

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 186
  • Last login:February 05, 2024, 07:23:14 pm
  • Arcade games enthusiast, bartop arcade project WIP
Re: How to make a dedicated MAME Appliance on a Raspberry Pi 4B
« Reply #115 on: January 06, 2021, 12:10:37 pm »
Hi jhummel,

Thanks for these informations. I will post an updated image with the Wi-Fi functionnal, as well as the problem related to the /dev/dri.

For this problem, maybe you can execute this command to fix (meanwhile):

Code: [Select]
sudo usermod -a -G render pi
Stay tuned for the updated image.
Personal project:
How to make a dedicated MAME Appliance on a Raspberry Pi 4/Pi 400
https://gist.github.com/sonicprod/f5a7bb10fb9ed1cc5124766831e120c4

bbegin

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 186
  • Last login:February 05, 2024, 07:23:14 pm
  • Arcade games enthusiast, bartop arcade project WIP
Re: How to make a dedicated MAME Appliance on a Raspberry Pi 4B
« Reply #116 on: January 06, 2021, 03:25:08 pm »
Hi all,

I just uploaded a NEW updated and fixed version of the MAME 0.227 image file with working Wi-Fi and accelerated video (devices under /dev/dri).

Thanks and I apologize for the inconvenience.
Personal project:
How to make a dedicated MAME Appliance on a Raspberry Pi 4/Pi 400
https://gist.github.com/sonicprod/f5a7bb10fb9ed1cc5124766831e120c4

jhummel

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 6
  • Last login:January 25, 2021, 08:41:55 pm
  • I want to build my own arcade controls!
Re: How to make a dedicated MAME Appliance on a Raspberry Pi 4B
« Reply #117 on: January 06, 2021, 08:45:39 pm »
Is there a new link? I think the link on your first post is still pointed at the old image?

bbegin

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 186
  • Last login:February 05, 2024, 07:23:14 pm
  • Arcade games enthusiast, bartop arcade project WIP
Re: How to make a dedicated MAME Appliance on a Raspberry Pi 4B
« Reply #118 on: January 06, 2021, 09:22:19 pm »
Is there a new link? I think the link on your first post is still pointed at the old image?

I double-checked the link and it's the new one, pointing to the new version of the fixed image file.
Personal project:
How to make a dedicated MAME Appliance on a Raspberry Pi 4/Pi 400
https://gist.github.com/sonicprod/f5a7bb10fb9ed1cc5124766831e120c4

jhummel

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 6
  • Last login:January 25, 2021, 08:41:55 pm
  • I want to build my own arcade controls!
Re: How to make a dedicated MAME Appliance on a Raspberry Pi 4B
« Reply #119 on: January 06, 2021, 09:28:10 pm »
Actually, I guess I can tell it's a new image. It looks like it boots into arcade mode initially now instead of service mode. Unfortunately, I'm getting the same error with no wireless interface and the path /dev/dri not being available.