# McAirpos and elf files

**URL:** <https://forum.makecode.com/t/mcairpos-and-elf-files/27845>\
**Category:** Arcade\
**Tags:** extension\
**Created:** [March 20, 2024, 7:57pm UTC](https://forum.makecode.com/t/mcairpos-and-elf-files/27845 "2024-03-20T19:57:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![timjimread](https://avatars.discourse-cdn.com/v4/letter/t/58956e/32.png) [@timjimread](https://forum.makecode.com/u/timjimread)\
**Post date:** [March 20, 2024, 7:57pm UTC](https://forum.makecode.com/t/mcairpos-and-elf-files/27845/1 "2024-03-20T19:57:59Z")

</div>

Hello all,

I am making a gaming cabinet for school. I have successfully got a Pi4 running RetroPi and I have followed the instructions and installed McAirpos, apart from the last step.  
The last bit tells me that I need to put a game with .elf in the folder for the installation to complete.  
For the life of me I can’t find any way of getting a .elf out of MakeCode. The instructions that I have seen here, simply say ‘download as an elf’. It must be obvious and I must be missing a step, can anyone give me very simple instructions to get a game made in MakeCode (I am using the falling duck exemplar) and download as an elf file. Thanks.

---

<div class="post-metadata">

**Author:** ![RobbyZero](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/robbyzero/32/17188_2.png) [@RobbyZero](https://forum.makecode.com/u/RobbyZero)\
**Post date:** [March 21, 2024, 11:05pm UTC](https://forum.makecode.com/t/mcairpos-and-elf-files/27845/2 "2024-03-21T23:05:34Z")

</div>

I don’t know anything about .elf files but I found this [Topic](https://forum.makecode.com/t/how-to-launch-makecode-arcade-uf2s-in-raspbian-retropie/2725). Hopefully it helps you.

---

<div class="post-metadata">

**Author:** ![Vegz78](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/vegz78/32/1201_2.png) [@Vegz78](https://forum.makecode.com/u/Vegz78)\
**Post date:** [March 22, 2024, 10:15pm UTC](https://forum.makecode.com/t/mcairpos-and-elf-files/27845/3 "2024-03-22T22:15:46Z")

</div>

This web page used to work:

> **[Welcome to McAirpos](https://vegz78.github.io/McAirpos/)**
>
> MakeCode Arcade games in RetroPie, Recalbox 7/8 and Batocera, running natively as ELF executables on Raspberry Pi OS/Linux ARM with 1-2 gamepads

---

<div class="post-metadata">

**Author:** ![teach421](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/teach421/32/12978_2.png) [@teach421](https://forum.makecode.com/u/teach421)\
**Post date:** [March 23, 2024, 12:19am UTC](https://forum.makecode.com/t/mcairpos-and-elf-files/27845/4 "2024-03-23T00:19:30Z")

</div>

It’s kinda goofy, but you have to use a special link or append the end of your URL with a bit of code. Once you do that, then when you download your games, they will download as .elf instead of .uf2.

Here’s a link you can use: [https://arcade.makecode.com/?nolocalhost=1&compile=rawELF&hw=rpi#](https://arcade.makecode.com/?nolocalhost=1&compile=rawELF&hw=rpi#)

It’ll take you to the dashboard and look like normal, but you’ll see that ‘compile=rawELF’ part in there that lets you know your downloads will come through as .elf files now.

Hope that helps!
