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: Mame, Ubuntu, Fluxbox and Wah!Cade  (Read 9503 times)

0 Members and 1 Guest are viewing this topic.

ulfur

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 11
  • Last login:March 25, 2011, 06:37:40 am
Mame, Ubuntu, Fluxbox and Wah!Cade
« on: March 03, 2011, 05:25:17 pm »
So I had this old laptop with very limited resources and powed. It's a Dell C610 running a PIII with 256MB of ram.

There's not a lot to be done with this machine in today's environment but I was pretty sure it could run Mame just fine with the right setup.
I set about figuring out how to do it and found that there were indeed a few people that had done similar things even though most seemed to be running it on what seemed to me to be complete overkill considering the job at hand.

Even though there are people out there doing this I didn't find many straight forward guides on the matter and the information seems a little fragmented.
Therefore, I decided I'd compile a short (and simplified) tutorial on the subject in case it might be of some help to others trying to achieve the same thing.

So without further ado:

I went with Ubuntu 10.10 and installed a stripped version without any UI. It's important to go for the alternate installer version when you download the iso as this will give you a ncurses based installer and the option of installing a command-line only system.

Once I had the OS up and running I installed the Fluxbox window manager which brought along X and all the rest of the components to run a window system.
Once you have Ubuntu up installing Fluxbox is as simple as:
Code: [Select]
sudo apt-get install fluxbox
You'll also need to make sure you get xinit seperately:
Code: [Select]
sudo apt-get install xinit
With Fluxbox installed it was time to install Mame. This is also very straight forward once you have the right repository set up. Sdlmame4ubuntu has all the instructions for it written up in a straightforward manner.

Finally I installed the Wah!Cade Mame frontend/launcher. This was slightly more hassle but a seasoned Linux user shouldn't have to much trouble with it.

With all the pieces in place it was time to configure autologin and have Wah!Cade launch on startup.
To configure autologin  simply add
Code: [Select]
su - <username> -c startxto /etc/rc.local right at the end just before the exit 0 statement.

To have Wah!Cade launch on startup edit ~/.fluxbox/startup. At the end you'll find a statement that says
Code: [Select]
exec fluxbox.
Comment that out and add exec wahcade like so
Code: [Select]
#exec fluxbox
exec wahcade

And that's more or less it. This of course is a quite simplified guide and you're bound to run into some config issues along the way but they should all be rather minor.

If in trouble just shoot me a line on here and I'll try and help you out :)

General_Faliure

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 89
  • Last login:March 01, 2022, 07:30:40 am
    • My Arcade Cab
Re: Mame, Ubuntu, Fluxbox and Wah!Cade
« Reply #1 on: March 19, 2011, 03:22:52 am »
Looks good.

I just installed Lubuntu, wich is a lot lighter then Ubuntu to begin with.
I have set it to autologin and simply added Wahcade to autostart.
Too bad there isn't an recent Ubuntu package for Mess, i had to compile it from source.

Greetz, Ger.
My Arcade cab: https://goo.gl/photos/yE1KACHryQjCaaCj7
Core2 duo8400 @3.6 Ghz, 4Gb of mem, Geforce 9500.
Linux Mint 17.3 XFCE, Mame, Mess, Daphne FS-Uae, Mednafen and some more.
Mah!cade

app1ebutter

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:March 15, 2013, 01:51:04 am
  • I want to build my own arcade controls!
Re: Mame, Ubuntu, Fluxbox and Wah!Cade
« Reply #2 on: January 23, 2013, 07:53:32 pm »
hello i was wundering if you were still running this setup

General_Faliure

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 89
  • Last login:March 01, 2022, 07:30:40 am
    • My Arcade Cab
Re: Mame, Ubuntu, Fluxbox and Wah!Cade
« Reply #3 on: January 24, 2013, 07:07:55 am »
Until now, yes.
I have built in a faster graphics card, a geforce 6800.
This setup is fast enough for all but the newer Mame games, as well as Daphne and Mess.
The older consoles, like Atari 2600, 5200, 7800, Nes, Supernes and even Nintendo 64 works fine.
For newer consoles its a bit too slow.
I am currently setting up a newer mainboard; socket 775, core 2 duo E8400 @3,6 Gh 4 Gig ram and a geforce 9500 gt.
My Arcade cab: https://goo.gl/photos/yE1KACHryQjCaaCj7
Core2 duo8400 @3.6 Ghz, 4Gb of mem, Geforce 9500.
Linux Mint 17.3 XFCE, Mame, Mess, Daphne FS-Uae, Mednafen and some more.
Mah!cade

app1ebutter

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:March 15, 2013, 01:51:04 am
  • I want to build my own arcade controls!
Re: Mame, Ubuntu, Fluxbox and Wah!Cade
« Reply #4 on: January 30, 2013, 01:04:19 pm »
well i am having a small problem with wahcade and was thinking you mite be able to give me a hand trying to set it up a i am getting a joy error and can not find a way around it

General_Faliure

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 89
  • Last login:March 01, 2022, 07:30:40 am
    • My Arcade Cab
Re: Mame, Ubuntu, Fluxbox and Wah!Cade
« Reply #5 on: February 01, 2013, 09:20:52 am »
This is a known problem in the current version, you have to add some lines to "filters.py"
Look at this topic how: http://forum.arcadecontrols.com/index.php/topic,114917.0.html
You can also use the fork; Mahcade, to be found here: http://www.mameau.com/mahcade/
The launchpad version is the newest, it's still in constant development.
My Arcade cab: https://goo.gl/photos/yE1KACHryQjCaaCj7
Core2 duo8400 @3.6 Ghz, 4Gb of mem, Geforce 9500.
Linux Mint 17.3 XFCE, Mame, Mess, Daphne FS-Uae, Mednafen and some more.
Mah!cade