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 0.243 Appliance on a Raspberry Pi 4/Pi 400  (Read 85738 times)

0 Members and 2 Guests are viewing this topic.

nts31180

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 5
  • Last login:March 21, 2022, 06:10:57 pm
  • I want to build my own arcade controls!
Re: How to make a dedicated MAME 0.241 Appliance on a Raspberry Pi 4/Pi 400
« Reply #360 on: March 18, 2022, 03:31:29 pm »
No clue if this is related to the program or if itís the romís Iím using.
But getting a large red screen with a bunch of files missing, say (neogeo) after the file name.

Photo attached.
Any advice?

bbegin

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 179
  • Last login:June 16, 2022, 09:59:09 am
  • Arcade games enthusiast, bartop arcade project WIP
Re: How to make a dedicated MAME 0.241 Appliance on a Raspberry Pi 4/Pi 400
« Reply #361 on: March 18, 2022, 03:41:41 pm »
Hi nts31180,

That's because the ROM you want to launch needs (dependency) a BIOS. In this case, the BIOS it needs is neogeo. You need to get the BIOS file (neogeo.zip) and put it in the same folder as your ROM files (/data/mame/roms).

Hope it helps
Personal project:
How to make a dedicated MAME Appliance on a Raspberry Pi 4/Pi 400
https://gist.github.com/sonicprod/f5a7bb10fb9ed1cc5124766831e120c4

itr4e

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:June 24, 2022, 12:32:05 pm
  • I want to build my own arcade controls!
Re: How to make a dedicated MAME 0.241 Appliance on a Raspberry Pi 4/Pi 400
« Reply #362 on: March 19, 2022, 09:46:11 am »
Hi,
got a problem building mame on a Pi4B 4GB with your image
I am making a small 15 inch picade for the kids to play some games on it, especialy pacman  and i have used your image since the kids are small and prefer to be a ro mode.

Basically I have changed the source ui.cpp to have option to disable the warning (no nag) display, modified your mame-update script not do download the mame or extract and used that to build the image

After 5h 45m it fails, see attached picture for that but it doesn't contain any specific error info.

i have seen the make file and will try to enable debug and some other options to see why but was wondering if anyone has an idea as each build takes forever to be done and now with debug will be more.

I have not touched anything else and added only some option to change/cycle one game per day with a script and adding the game to load in the autostart script.

bbegin

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 179
  • Last login:June 16, 2022, 09:59:09 am
  • Arcade games enthusiast, bartop arcade project WIP
Re: How to make a dedicated MAME 0.241 Appliance on a Raspberry Pi 4/Pi 400
« Reply #363 on: March 19, 2022, 06:41:04 pm »
Hi itr4e,

At first view, it looks like a free-space problem: the root filesystem is a bit tight on space while building MAME. I would suggest you delete your .zip of the source code, once unzipped, as well as the original MAME (rm -R ~/mame0241). Try to continue the build, it should take where the issue was encountered.

Just let me know if this fix the issue. Thanks!
Personal project:
How to make a dedicated MAME Appliance on a Raspberry Pi 4/Pi 400
https://gist.github.com/sonicprod/f5a7bb10fb9ed1cc5124766831e120c4

nts31180

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 5
  • Last login:March 21, 2022, 06:10:57 pm
  • I want to build my own arcade controls!
Re: How to make a dedicated MAME 0.241 Appliance on a Raspberry Pi 4/Pi 400
« Reply #364 on: March 21, 2022, 06:10:57 pm »
Hi nts31180,

That's because the ROM you want to launch needs (dependency) a BIOS. In this case, the BIOS it needs is neogeo. You need to get the BIOS file (neogeo.zip) and put it in the same folder as your ROM files (/data/mame/roms).

Hope it helps

Thanks again for all of the help! I've gotten to everything set up (for now), and even gotten to play some games that I haven't seen since I was a kid.
This is an awesome set up!

bbegin

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 179
  • Last login:June 16, 2022, 09:59:09 am
  • Arcade games enthusiast, bartop arcade project WIP
Re: How to make a dedicated MAME 0.241 Appliance on a Raspberry Pi 4/Pi 400
« Reply #365 on: March 24, 2022, 03:17:17 pm »
Thanks, nts31180!  :D

@itr4e,

To free some space before the build process, use these commands:

Code: [Select]
sudo apt-get clean
sudo apt-get autoclean

Did you were able to build MAME, yet?
« Last Edit: March 30, 2022, 10:53:08 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

bbegin

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 179
  • Last login:June 16, 2022, 09:59:09 am
  • Arcade games enthusiast, bartop arcade project WIP
Re: How to make a dedicated MAME 0.242 Appliance on a Raspberry Pi 4/Pi 400
« Reply #366 on: April 06, 2022, 12:01:08 pm »
Just to let you know the availability of the NEW disk image file with MAME 0.242 (please see the original post of this thread for the download link).  :cheers:
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: 179
  • Last login:June 16, 2022, 09:59:09 am
  • Arcade games enthusiast, bartop arcade project WIP
Just to let you know the availability of the NEW disk image file with MAME 0.243 (please see the original post of this thread for the download link).  :cheers:
Personal project:
How to make a dedicated MAME Appliance on a Raspberry Pi 4/Pi 400
https://gist.github.com/sonicprod/f5a7bb10fb9ed1cc5124766831e120c4

itr4e

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:June 24, 2022, 12:32:05 pm
  • I want to build my own arcade controls!
Thanks, nts31180!  :D

@itr4e,

To free some space before the build process, use these commands:

Code: [Select]
sudo apt-get clean
sudo apt-get autoclean

Did you were able to build MAME, yet?


Hi sorry for the late reply been pretty busy and just noticed your post.
I did managed to fix it yes, don't recall what I did though.

I also made some changes on my own for simplicity, since it's for the kids and dont want to be complicated but easy enough to change games if needed without menus.
I added a script that reads some files from the boot volume and depending on that it starts the game and the relevant parameters with it, eg rotate, emulator and config.
So it starts only one game and no menu for kids to mess around with :)
Will do some changes some time this or next month in preparation of summer

thanks for your great work on that










Bsachetti

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:June 26, 2022, 11:18:41 pm
  • Pi4-based Arcade Only with Mini-Pac Opti controlle
So far, this is my favorite build for my arcade machine.  Very easy to use and works so much better with my I-PAC than Retropie or Batocera. 

Just a couple of items I've been struggling with.

1)  Performance of all vector games -- everything seems to run really well (speeds very close to 100%) except for vector games which are super slow with speeds from  15-25% typically.

2) Advmenu -- this won't run at all.  It seems to get the xml info from the Mame executable and then reports "No video mode available for your configuration.  Try selecting a specific resolution like with -display_size 1280x1024"

Hoping to have someone point me in the right direction on these!  Thanks in advance.
« Last Edit: May 22, 2022, 03:12:29 pm by Bsachetti »

bbegin

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 179
  • Last login:June 16, 2022, 09:59:09 am
  • Arcade games enthusiast, bartop arcade project WIP
To set the correct video mode with AdvanceMENU, you should run the AdvCfg binary and set the resolution to the one EDID has detected:

Code: [Select]
./frontend/advance/advcfg
« Last Edit: May 24, 2022, 10:12:10 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

Bsachetti

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:June 26, 2022, 11:18:41 pm
  • Pi4-based Arcade Only with Mini-Pac Opti controlle
Got advmenu working... thanks!

Any guidance on how to get acceptable performance from the vector games or is this a known issue?

Thanks!

Substring

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 739
  • Last login:June 26, 2022, 12:08:02 pm
  • Forking GroovyArcade
    • forum.arcadecontrols.com/index.php/topic,160023.0.html
    • GroovyArcade active fork
Just FYI, Mame 0.244 broke KMS output, I've made a temporary fix at https://gitlab.com/groovyarcade/packages/-/blob/master/package/groovymame/kms.patch until it's fixed upstream (see https://github.com/mamedev/mame/issues/9852)

bbegin

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 179
  • Last login:June 16, 2022, 09:59:09 am
  • Arcade games enthusiast, bartop arcade project WIP
Re: How to make a dedicated MAME 0.243 Appliance on a Raspberry Pi 4/Pi 400
« Reply #373 on: June 16, 2022, 09:55:24 am »
Just FYI, Mame 0.244 broke KMS output, I've made a temporary fix at https://gitlab.com/groovyarcade/packages/-/blob/master/package/groovymame/kms.patch until it's fixed upstream (see https://github.com/mamedev/mame/issues/9852)

Thanks for this patch, I will integrate it for the 0.244 build and hope it will be integrated in 0.245 version of MAME.
Personal project:
How to make a dedicated MAME Appliance on a Raspberry Pi 4/Pi 400
https://gist.github.com/sonicprod/f5a7bb10fb9ed1cc5124766831e120c4

bobbyb13

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1406
  • Last login:Today at 05:11:43 am
  • I believe I may need an intervention
Re: How to make a dedicated MAME 0.243 Appliance on a Raspberry Pi 4/Pi 400
« Reply #374 on: June 23, 2022, 10:06:25 pm »
I have been waiting to try this since you first posted your project work!

Of course now that I open your github entry I find myself over my head immediately.

Is there any hope I can do this if I have never used Linux before and only have a Windows10 computer?

Maybe I can install virtualbox so I can follow your directions but my skill in dealing with computers and code is very limited!

Your very detailed directions look excellent- and also like a foreign (even when translated into English for me!) language.
 :lol
Relax, all right? My old man is a television repairman, he's got this ultimate set of tools! I can fix it.

Substring

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 739
  • Last login:June 26, 2022, 12:08:02 pm
  • Forking GroovyArcade
    • forum.arcadecontrols.com/index.php/topic,160023.0.html
    • GroovyArcade active fork
Re: How to make a dedicated MAME 0.243 Appliance on a Raspberry Pi 4/Pi 400
« Reply #375 on: June 24, 2022, 01:54:30 pm »
Just FYI, Mame 0.244 broke KMS output, I've made a temporary fix at https://gitlab.com/groovyarcade/packages/-/blob/master/package/groovymame/kms.patch until it's fixed upstream (see https://github.com/mamedev/mame/issues/9852)

Thanks for this patch, I will integrate it for the 0.244 build and hope it will be integrated in 0.245 version of MAME.
Considering 245 is about to be released and https://github.com/mamedev/mame/pull/9888is still open ... The fix is lame, the original commit that brought the bug is even worse ... I'll let you follow issues to understand why there was a commit that broke KMS. The various fix are totally absurd ...

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8914
  • Last login:Today at 12:51:27 am
  • Designated spam hunter

javeryh

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7790
  • Last login:Yesterday at 01:38:03 pm
I have been waiting to try this since you first posted your project work!

Of course now that I open your github entry I find myself over my head immediately.

Is there any hope I can do this if I have never used Linux before and only have a Windows10 computer?

Maybe I can install virtualbox so I can follow your directions but my skill in dealing with computers and code is very limited!

Your very detailed directions look excellent- and also like a foreign (even when translated into English for me!) language.
 :lol

If I can figure this out, anyone can.  Saying I have third grade level computer knowledge would be an insult to third graders everywhere.  You don't need to compile anything - bbegin has done it all for you.  Just need to mount the image on a memory card and then boot up the pi.  You then should connect to wifi using the config file discussed in this thread like 2 years ago.  Everything else is in the instructions and it's trial and error and you can't mess anything up.  Worst you can do is have to delete the image and restart.  Just dive in!