MakeCode Arcade games in RetroPie
With some great help from Microsoft, it’s now possible to compile and download MakeCode Arcade games to run natively in Linux on Raspberry Pis, even with working support for a game controller.
Having had some issues with how the native game files execute from and exit back to RetroPie, I finally managed to come up with an ok work-around, with "automatic" support for gamepad and keyboard controls for up to 2 players.
The solution basically consists of a:
-launcher/wrapper executable which keeps the game in the foreground while playing and cleans up the framebuffer on exit,
-controller discovery and mapping with uinput-mapper.
-an online link generator, that starts the MakeCode Arcade editor in the mode for downloading natively executable elf files for RetroPie/Raspberry Pi OS
Happy retro gaming!
This post is deleted!
Finally working with up to 2 players on gamepads and/or keyboard controls!
(Works on my RPi4, at least, from RetroPie and the text console) ;-)
Vegz78 last edited by
Now updated with expanded gamepad support and «nomap» option to configure controllers manually.
Tested ok on RPi3 and 4, Lite and full Raspbian distros and RetroPie.
Added an automatic installation script today:
Also some stability fixes and expanded controller support since my last post.