Frontend Tech + >> Ultimarc
View all threads Index   Flat Mode Flat  

ruckage
MAME Fan
Reged: 05/08/11
Posts: 3
Send PM
Ultrastik and ultrastikcmd on Raspberry Pi
05/14/15 01:07 PM


Hello,

Thanks to the efforts of Andy S the ultrastikcmd program is now available for the raspberry pi. You can find Andy's original post on mameworld here: New version 0.2 of Linux UltraStik map upload tool now available

I've just successfully installed ultrastikcmd on a Raspberry Pi myself so thought I would provide step by step instructions to help others. I'm using a Raspberry Pi 2 with the Retropie Distro but it should work the same on other distros.

Here are the step by step instructions to get this running (thanks to Andy who answered all my questions)


Quote:


Make sure you’re connected to the internet and in the terminal type:
wget https://github.com/andrewsil1/UltrastikCmd/archive/master.zip

Once downloaded type: unzip master.zip

Navigate to the unzipped folder: cd UltrastikCmd-Master/

Navigate to libusb-1.0.19: cd libusb-1.0.19/
Type the following:
sudo ./configure
sudo make
sudo make install

Once finished navigate back by typing: cd ..

Navigate to libusb-compat-0.1.5: cd libusb-compat-0.1.5/
Type the following:
sudo ./configure
sudo make
sudo make install

Once finished navigate back by typing: cd ..

Navigate to libhid-0.2.16: cd libhid-0.2.16/
Type the following:
sudo ./configure
sudo make
sudo make install

Once finished navigate back by typing: cd ..

Navigate to ultrastikcmd-0.2: cd ultrastikcmd-0.2/
Type the following:
sudo ./configure
sudo make
sudo make install


Finally type: sudo ldconfig




ultrastikcmd should now be ready to use.

To flash a map to the ultrastik type either:
sudo ultrastikcmd -u (full path to map file)
or:
sudo ultrastikcmd -v -u (full path to map file) if you want more verbose output.

Replace (full path to map file) with the path to the map file you wish to upload. Map files can be found in: /usr/local/share/ultrastikcmd/maps

For example to flash the 4 way map to the ultrastik type:
sudo ultrastikcmd -u /usr/local/share/ultrastikcmd/maps/4-Way.um

For a description of the other available arguments type: ultrastikcmd –-help

A big thanks to Andy S for porting this and for helping me compile and install it.







Entire thread
Subject Posted by Posted on
* Ultrastik and ultrastikcmd on Raspberry Pi ruckage 05/14/15 01:07 PM
. * Re: Ultrastik and ultrastikcmd on Raspberry Pi dizzlebomb  06/23/20 03:33 AM

Extra information Permissions
Moderator:  Andy Warne 
0 registered and 18 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 3258