# 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:** 1\
**Showing post:** 2

<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!

---

_[View the full topic](https://forum.clockworkpi.com/t/littlegptracker-a-k-a-the-piggy/9225)._
