# How to launch Makecode Arcade UF2s in Raspbian/RetroPie?

**URL:** <https://forum.makecode.com/t/how-to-launch-makecode-arcade-uf2s-in-raspbian-retropie/2725>\
**Category:** Help\
**Created:** [July 10, 2020, 1:10pm UTC](https://forum.makecode.com/t/how-to-launch-makecode-arcade-uf2s-in-raspbian-retropie/2725 "2020-07-10T13:10:42Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![mmoskal](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/mmoskal/32/20_2.png) [@mmoskal](https://forum.makecode.com/u/mmoskal)\
**Post date:** [July 10, 2020, 3:40pm UTC](https://forum.makecode.com/t/how-to-launch-makecode-arcade-uf2s-in-raspbian-retropie/2725/2 "2020-07-10T15:40:40Z")

</div>

The binaries generated for RPi should work without any special image, at least when you run them from text mode console (they may fight with the X server). Go to [https://arcade.makecode.com/?compile=rawELF](https://arcade.makecode.com/?compile=rawELF) , click Download and select RPi. You should get a .elf file.

You’ll need a correct config file at `/sd/arcade.cfg`. To test with keyboard you can do something like this:

```nohighlight
SCAN_CODES=/dev/input/event1
BTN_LEFT=28
BTN_RIGHT=1
BTN_UP=25
BTN_DOWN=15
BTN_A=106
BTN_B=103
BTN_RESET=2
BTN_EXIT=105
BTN_MENU=6

```

I think this is using arrows. The scan codes can be glanced from output of ‘evtest’ command.

Otherwise, you’ll have to set up ALSA sound (if you don’t set up sound, the games will crash).

We used to have a native SDL-based interpreter for MakeCode VM bytecode. That worked on Windows, macOS and Linux (all x86, but I see no reason it wouldn’t work on ARM). I don’t believe this works anymore though. One of these days I may try to revive it, but don’t hold your breadth.

---

_[View the full topic](https://forum.makecode.com/t/how-to-launch-makecode-arcade-uf2s-in-raspbian-retropie/2725)._
