# LittleGPTracker (a.k.a 'The piggy')

**URL:** https://forum.clockworkpi.com/t/littlegptracker-a-k-a-the-piggy/9225
**Category:** GameShell
**Created:** [November 22, 2022, 12:25pm UTC](https://forum.clockworkpi.com/t/littlegptracker-a-k-a-the-piggy/9225 "2022-11-22T12:25:58Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![edward](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/edward/32/6761_2.png) [@edward](https://forum.clockworkpi.com/u/edward)
#### Post date: [November 22, 2022, 12:25pm UTC](https://forum.clockworkpi.com/t/littlegptracker-a-k-a-the-piggy/9225/1 "2022-11-22T12:25:58Z")

</div>

I know that with all the new shiny devices there’s not a lot of discussion going around GameSH\>, but let’s give it a try 🙂  
I’m currently investigating if it’s possible to compile [LittleGPTracker](https://www.littlegptracker.com/index.php) on the GameShell, which is LSDJ-like music tracker, but sample based. It seems like a great fit for the GS, it’s known to run on the RPi, Pocket Chip and other portable consoles, but unfortunately there’s not a lot of documentation on building this thing from source.  
So far my first attempts in building it failed (full disclosure: I’m not good at this stuff, lol), but I’ll keep this thread updated if I’ll have some progress, and if somebody wants to join me on this quest you are more than welcome 🙂  
Here’s the source code for those who are interested, who knows, maybe it might be also interesting for DevTerm and uConsole folks

> **[GitHub - Mdashdotdashn/LittleGPTracker](https://github.com/Mdashdotdashn/LittleGPTracker)**
>
> Contribute to Mdashdotdashn/LittleGPTracker development by creating an account on GitHub.

---

<div class="post-metadata">

### Author: ![edward](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/edward/32/6761_2.png) [@edward](https://forum.clockworkpi.com/u/edward)
#### Post date: [November 22, 2022, 2:27pm UTC](https://forum.clockworkpi.com/t/littlegptracker-a-k-a-the-piggy/9225/2 "2022-11-22T14:27:20Z")

</div>

I’ve got it running!  
I didn’t succeed in building it from the source, but I found out that after some tweaking a version built for PocketChip runs just fine, and it was easier than I thought.  
I found CHIP version in [this forum](https://chipmusic.org/forums/topic/9446/lgptpiggy-tracker-faq/page/4/). And here’s a [download link](https://mega.nz/file/0oZR0YhQ#BBfwz5CfQrn0CE-Vy7etfogMxowDDdf1tel6tuiL95A).  
I also downloaded the Debian version from the official website to have all the samples and demo song, and put it all in /games/Linux/lgpt (and lgpt.picochip-exe into bin folder inside).  
Since GS key mapping is not really standard, you’ll also need to add a config.xml with the following content into the same folder as executable

```auto
<CONFIG>
	<KEY_A value="j" />
	<KEY_B value="k" />
	<KEY_LEFT value="left" />
	<KEY_RIGHT value="right" />
	<KEY_UP value="up" />
	<KEY_DOWN value="down" />
	<KEY_LSHOULDER value="h" />
	<KEY_RSHOULDER value="l" />
	<KEY_START value="return" />
	<KEY_SELECT value="space" />
</CONFIG>

```

Now you can create a launcher shortcut and it should work. But there’s a catch, you won’t be able to quit and return to the main menu, so here’s a little hack that I’ve discovered while exploring [how to run SamplerBox](https://forum.clockworkpi.com/t/midi-controller-usb-synth-speaker/).  
You’ll need to install xbindkeys

```auto
sudo apt install xbindkeys

```

Crate a file (let’s name it lgpt-quit-bind) with the binding to the menu button to kill LGPT (preferably also in the same folder as executable) with the following content

```auto
"killall lgpt.picochip-exe && killall xbindkeys"
Escape

```

and run it each time before you launch lgpt, basically by adding another line to the launch script, so it’ll look something like this

```auto
#!/bin/bash
xbindkeys -f /path/to/lgpt-quit-bind
/path/to/lgpt.picochip-exe

```

That’s it, now you should be ready to rock the parties with some tracker music!

---

<div class="post-metadata">

### Author: ![edward](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/edward/32/6761_2.png) [@edward](https://forum.clockworkpi.com/u/edward)
#### Post date: [November 27, 2022, 7:34pm UTC](https://forum.clockworkpi.com/t/littlegptracker-a-k-a-the-piggy/9225/3 "2022-11-27T19:34:52Z")

</div>

Bonus: Menu icons  
 ![LGPT-monochrome](https://canada1.discourse-cdn.com/flex029/uploads/clockworkpi/original/2X/b/bb01b032e5f5aaea4273b3784eb78cdf90683d3d.png)  
 ![LGPT](https://canada1.discourse-cdn.com/flex029/uploads/clockworkpi/original/2X/f/f35caa550bc822f56890db9000af6b5df5105c68.png)

---

<div class="post-metadata">

### Author: ![edward](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/edward/32/6761_2.png) [@edward](https://forum.clockworkpi.com/u/edward)
#### Post date: [January 23, 2023, 3:44pm UTC](https://forum.clockworkpi.com/t/littlegptracker-a-k-a-the-piggy/9225/4 "2023-01-23T15:44:15Z")

</div>

heads up! there’s a new fork with some updates which can actually be built on GS (o-release-candidate branch for now). you can clone the branch to your gs, and then build it from the projects folder with `make PLATFORM=RASPI`

> **[GitHub - djdiskmachine/LittleGPTracker: LGPT feature improvements](https://github.com/djdiskmachine/LittleGPTracker)**
>
> LGPT feature improvements. Contribute to djdiskmachine/LittleGPTracker development by creating an account on GitHub.

and as a bonus here’s a short example of what it can do (although it was recorded with previous version, but it doesn’t matter)

> **[Work (Tracker Jungle snippet)](https://diode.zone/w/q92kfgvmUYTWHqEqMEmMJ3)**
>
> A sketch of a jungle track I made using Little Piggy Tracker running on ClockworkPI GameShell.

---

<div class="post-metadata">

### Author: ![Valssu](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/valssu/32/8026_2.png) [@Valssu](https://forum.clockworkpi.com/u/Valssu)
#### Post date: [March 28, 2023, 9:35am UTC](https://forum.clockworkpi.com/t/littlegptracker-a-k-a-the-piggy/9225/5 "2023-03-28T09:35:37Z")

</div>

amazing! Just want to ask how to install it? I am a bit of a rookie.

---

<div class="post-metadata">

### Author: ![edward](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/edward/32/6761_2.png) [@edward](https://forum.clockworkpi.com/u/edward)
#### Post date: [April 4, 2023, 10:24am UTC](https://forum.clockworkpi.com/t/littlegptracker-a-k-a-the-piggy/9225/6 "2023-04-04T10:24:15Z")

</div>

I guess its better to start from the previous version if you never built anything from source.  
Instructions in [this post](https://forum.clockworkpi.com/t/littlegptracker-a-k-a-the-piggy/9225/2) should get you started. Let me know if you get stuck somewher

---

<div class="post-metadata">

### Author: ![Dailen\_Williams](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/dailen_williams/32/12585_2.png) [@Dailen\_Williams](https://forum.clockworkpi.com/u/Dailen_Williams)
#### Post date: [June 12, 2025, 12:02am UTC](https://forum.clockworkpi.com/t/littlegptracker-a-k-a-the-piggy/9225/7 "2025-06-12T00:02:45Z")

</div>

Hey there! Old thread, but I was wondering if you or anyone else has been able to install it to a uConsole!

I’ve tried installing it to usr/bin and to usr/share/applications but I haven’t had any luck at all.

Tried both the rpi and picochip versions. Anyone have any luck?

---

<div class="post-metadata">

### Author: ![edward](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/edward/32/6761_2.png) [@edward](https://forum.clockworkpi.com/u/edward)
#### Post date: [June 12, 2025, 8:45am UTC](https://forum.clockworkpi.com/t/littlegptracker-a-k-a-the-piggy/9225/8 "2025-06-12T08:45:42Z")

</div>

I don’t have uConsole, so I can’t really help. I don’t know which builds you tried, but I’d suggest looking into [djdiskmachines fork](https://github.com/djdiskmachine/LittleGPTracker), as it’s actively maintained. You can try running one of its [releases](https://github.com/djdiskmachine/LittleGPTracker/releases/tag/1.4.2). Or you can try building it from source, but I have no idea which parameters you’ll need to use for uConsole. On GS it was a matter of cloning the repo, running `make PLATFORM=RASPI` from the project directory and waiting for several minutes, maybe it can also work for you.
