3 Community Tutorials: Install Transport Tycoon, XFCE, and a Command-Line GitHub Utility

Jake showing off OpenTTD on PocketC.H.I.P.

Jake showing off OpenTTD on PocketC.H.I.P.

Become a Transportation Tycoon, bring the C.H.I.P. desktop computing experience to PocketC.H.I.P., and browse the millions of GitHub repositories from the geekiness of the command-line, all on PocketC.H.I.P.!

If you’re working on a cool project, make sure to share it with the community. Tweet about it, write a Facebook post, or join the conversation in the forum. We can’t wait to see what you’re working on.

Become a Transportation Tycoon in OpenTTD

DrRaccoon is the first to have written installation instructions for Open Transport Tycoon Deluxe (OpenTTD) on PocketC.H.I.P. The entire process takes less that five minutes and there’s even a nice video that walks you through the whole thing.

OpenTTD is an open source version of the of the popular 1995 DOS game Transport Tycoon Deluxe where players try to amass a fortune by collecting bus fares and train tickets. In 2003, Ludvig Strigeus began work to reverse engineer the DOS game that was originally written in assembly and create a new, C-based version for Linux. By 2004, Strigeus had his first official release, and development has been ongoing since.

Many open source games require the artwork and sound files from the original closed-source game, but not OpenTTD. In 2007, the OpenTTD community helped create 7000 2D sprites to liberate the open source version from the requirement of using closed source Transport Tycoon Deluxe’s assets. By 2009, the community had created the rest of the graphics, sound effects, and music were all finished and the game no longer required the purchase of the original game to play.

To install OpenTTD, just open your terminal from the PocketC.H.I.P. home screen and type the following commands.
sudo apt update
sudo apt install openttd

To launch the game, just type openttd and press enter. For more on the game, make sure to check out DrRaccoon’s forum thread.


Ye Olde Desktop Look & Feel

customdesktop

Looking for a more traditional desktop computing experience on PocketC.H.I.P., Crayzen installed the XFCE window manager. XFCE is the same window manager we ship preinstalled on C.H.I.P., but the stock version Crazyren’s using lacks some of the customization we’ve done to the window manager’s theme. It’s still got all the familiar desktop concepts like icons, menus, and window decorations, so it still seem familiar despite the different look.

But Crazyren didn’t stop with the window manager. With his GUI configuration file, you can emulate a right mouse button click, which is especially handy for traditional window managers like XFCE. He’s even added the Kali Linux repositories, which offer a slew of security research utilities, and upgraded Debian to the stretch branch.

Find out how to add each one of these tweaks to your PocketC.H.I.P. in the forum thread.


Browse All the Repos with a Command-line GitHub Utility

github-dl

It can be a real pain to type long GitHub repository names in at the command line, so Scoin put together a nice Github search and download utility that makes it easy to search and clone the millions of repos on GitHub. The downloader won’t replace git as your go-to utility for working with repositories, but it does make searching, browsing, and cloning very easy.

Here’s how to install on C.H.I.P. or PocketC.H.I.P.. Update your system and install a few required applications.
sudo apt update && sudo apt install git golang-go

Clone the github-dl repository.
git clone https://github.com/scoin/github-dl.git

Change directories to the source code repo.
cd github-dl/

Export your path.
export GOPATH=$PWD

Run the utility.
go get github.com/nsf/termbox-go
go run githubl.go [parameters]

If you end up using Scoin’s command-line tool, make sure to let him know in the forum thread and share your experience.


chipLogo64x64

We want to see what you’re working on! Don’t wait until your project is finished to share it!

Pose with your project, take a quick snap, or describe it in writing, we love it all. You can find us on Twitter, reach us on Facebook, or, best of all, join the lively conversation in the forum.

About the Author

Posted by

I'm busy writing and editing content at Next Thing Co.

Tags:

,

Add a Response