codesnip

Extra tricks for linux on your arcade machine

Want your linux arcade machine to boot right into, and shut down from your attract-mode front end?

Change to OpenBox as your window manager:

log out, select openbox above
log in
reboot

Add attract mode to autostart with openbox

vim ~/.config/openbox/autostart

paste this:

#AutoStart Attract-Mode
attract

:wq to save and exit vim

Hide the UI even further by changing the default colors to black

sudo vim /usr/lib/x86_64-linux-gnu/openbox-autostart

change the line under
# Set a background color
from
BG=””
to
BG=”#000000″

and this line:
#test -z $BG || $BG -solid “#303030”
to
#test -z $BG || $BG -solid “#000000”

Enable shutdown directly from exiting attract-mode:

sudo visudo -f /etc/sudoers

NOTE: this has implications, it basically allows everyone to do super user commands without a password. In the case of my arcade cab, I don’t care. Be aware of the risks.


#!! IMPORTANT: !! – PUT THIS AT THE END OF THE FILE AFTER THE LAST LINE OR YOU WILL RISK BREAKING YOUR ACCESS.

username ALL=(ALL) NOPASSWD: ALL

Then in attract mode:

Set: exit command

sudo shutdown now

welcometoquasicade

How do I enable the attract-mode intro video?

I had a little downtime at lunch today so I made a new intro video for the quasicade.

This video will play immediately as attract mode loads, before it shows the wheel.

This is great for showing someone the machine start up for the first time. You can really build some hype before showing them the wheel interface.

Here’s the clip:

Note: the killer music here is The Algorithm.
Check him out: https://www.the-algorithm.net/

Adding the clip to attract-mode is super easy.

Just upload it into your /home/USERNAME/.attract/media/video folder in mp4 format (make sure it’s owned by the user that’s running attract-mode)

Then, in attract mode, enter the menu, select INTRO:

Set Play Intro to YES
enter the path to your video intro in the Default Video section and apply.

Note: you can add other shapes of videos specifically if you wish (e.g. your screen is 9×16 vertical)

Progress and Video

You got a quarter?

Someone mentioned to me the other day that I’ve not posted on the Quasicade in a LONG TIME.

I guess I should post a little something.

Here’s a video of the current setup and operation.

[vimeo id=”112835321″ width=”300″ height=”533″ wmode=”transparent” title=”0″ byline=”0″ portrait=”0″ hd=”1″]

I’m toying with the idea of beefing up the hardware a little, even though it runs perfectly (other than Windows).

 

loading

The Front End

MAME is amazing at what it does, Emulation.

But by itself it doesn’t quite give you that “arcade machine” feel. It’s designed to be operated using a keyboard and mouse.

This is where the Front End comes in.

There are several options for front ends online:

  • Maximus Arcade
  • MameWAH
  • GameEX
  • Hyperspin

I did quite a bit of testing with the various front ends, and I chose the one that I enjoyed best.

Enter: Hyperspin.


Hyperspin is highly customizable, from themes on each system, all the way down to custom themes at the game level.

Its user interface allows for control using only the arcade sticks and buttons, which gives it a more packaged feel.

Here are some examples of what can be done using Hyperspin themes and Emumovies snaps:

For further information about this front end, please visit:

Hyperspin- FE

For info about the game preview snaps:

EmuMovies

For Emulation info visit the devs at:

MAME