RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    MakeCode Arcade games in RetroPie

    Scheduled Pinned Locked Moved Ideas and Development
    arcadehomebrewmakecoderaspberry piretropie
    8 Posts 1 Posters 3.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • V
      Vegz78
      last edited by Vegz78

      alt text

      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

      https://github.com/Vegz78/McAirpos
      https://vegz78.github.io/McAirpos

      Happy retro gaming!

      Br,
      Vegard

      V 1 Reply Last reply Reply Quote 2
      • V
        Vegz78 @Vegz78
        last edited by Vegz78

        abc

        V 1 Reply Last reply Reply Quote 0
        • V
          Vegz78 @Vegz78
          last edited by Vegz78

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • V
            Vegz78
            last edited by Vegz78

            abc

            1 Reply Last reply Reply Quote 1
            • V
              Vegz78
              last edited by Vegz78

              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) ;-)

              https://github.com/Vegz78/McAirpos

              Br,
              Vegard

              1 Reply Last reply Reply Quote 0
              • V
                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.

                1 Reply Last reply Reply Quote 0
                • V
                  Vegz78
                  last edited by Vegz78

                  Added an automatic installation script today:
                  https://github.com/Vegz78/McAirpos#quick-automatic-installation

                  Also some stability fixes and expanded controller support since my last post.
                  https://github.com/Vegz78/McAirpos#development-news

                  V 1 Reply Last reply Reply Quote 1
                  • V
                    Vegz78 @Vegz78
                    last edited by

                    Just updated a bug in the RetroPie installation script, which did not take into account the move to the new carbon-2021 theme from RetroPie v.4.7.19 and onwards.

                    Should work now for both newer and older RetroPie versions. Sorry for any inconvenience.

                    1 Reply Last reply Reply Quote 1
                    • First post
                      Last post

                    Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                    Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.