Attract-Mode Support Forum

Attract-Mode Support => General => Topic started by: Luke_Nukem on September 18, 2018, 07:38:56 PM

Title: A bootable Linux ISO/USB that auto-loads from a 2nd USB
Post by: Luke_Nukem on September 18, 2018, 07:38:56 PM
Hi all.

This is something I had been working on for a long while, and only just got around to completing - a USB bootable Linux install that boots directly to Attract Mode, and loads/saves configs, roms, art etc from a second USB drive.

The short of it is:
- write iso to USB drive,
- format another USB drive with a partition named 'arcade_usb'
- copy your complete setup to the above drive partition (see example (https://gitlab.com/Luke-Nukem/attractmode-arcade/tree/master/example_arcade_usb))
    - Attract Mode setup is expected to be in the attractmode directory
- insert both sticks and boot

NOTE: You can yank the arcade_usb stick out (which stops Attract Mode), tinker with stuff on it on another computer, then stick it back in (Attract Mode will start again with new settings etc).

NOTE: Linux Is CaSe SeNsiTiVe!!!

---
Hardware:

CPU must be 64bit!

It *should* work with almost anything provided it supports decent OpenGL levels required by the SFML lib AM uses. I provide two ISO's; one with previous gen of Nvidia support, and one for current gen - both ISO's should support Intel and AMD/ATi without issue.

The hardware I run this on at the moment with great success is:
- AMD Athlon 64,
- 512Mb of RAM,
- Nvidia 8600GT
and shaders work very well in AM and in Mame using bgfx. I do get some slow-down on this hardware with more complex themes or ones that try to display a whole lot of video snaps at once.

---
Installing:

If you are experienced with Linux, you can install this ISO to the local HDD of the machine you want it on, there are two scripts to help get you through; installer, and install-arcade. install-arcade (WIP!) will nuke the HDD and install the ISO unguided, whereas installer will do it with your help.

NOTE: The ISO's don't include EFI boot as of yet, so booting and installing will be old-fashioned BIOS style for now.

NOTE: Feedback is welcomed. For issues though, please create them on Gitlab, or if you don't have an account on there PM me and I'll add the issue.

---
Links:

Gitlab project (https://gitlab.com/Luke-Nukem/attractmode-arcade)

Pre-built ISO's (https://drive.google.com/drive/folders/1TPROBowaEjeheA3KOkBmAB6bCtNpNjJJ)

Main README.md (https://gitlab.com/Luke-Nukem/attractmode-arcade/blob/master/README.md)

arcade_usb setup example (https://gitlab.com/Luke-Nukem/attractmode-arcade/tree/master/example_arcade_usb)

 Theme in photo and in examples is the excellent flat_blue (http://forum.attractmode.org/index.php?topic=277.0)
Title: Re: A bootable Linux ISO/USB that auto-loads from a 2nd USB
Post by: bionictoothpick on September 24, 2018, 07:23:22 AM
This looks interesting. Thanks for sharing with the group.
Title: Re: A bootable Linux ISO/USB that auto-loads from a 2nd USB
Post by: nitrogen_widget on September 28, 2018, 01:22:37 PM
cool.
i'm not familiar with arch but if I recall it's a minimal install normally?
Looking to put this on an older PC with just a few GB of ram for vertical classics.
It runs lubuntu fine for my mame purposes.
Title: Re: A bootable Linux ISO/USB that auto-loads from a 2nd USB
Post by: Luke_Nukem on October 01, 2018, 10:18:03 PM
Project updated.

Reminder to please read the README.md (https://gitlab.com/Luke-Nukem/attractmode-arcade/blob/master/README.md).

Downloadable ISO's now include separate ISO per GPU vendor type: AMD, Intel, Nvidia, Nvidia (340 drivers).