Getting Started in making an app for MuOS

Hi, I would like to make an app for MuOS. Is there a guide anywhere on how to get started on this?

1 Like

hey, i would also love to know this !!! I’m a game developer, so I’m pretty sure that any games made with unity or UE wont work on my rg35xx sp device since it’s poor ram. but I suspect there’s way to use Godot, QT/pyside, raylib, or even SDL2 to develop a app/game that runs well. but I don’t have lot knowledge on linux side of things…

I encountered the same thing when I first wanted to write an application for muOS.
I referred to Scrappy (which is built on Love2D) to gradually learn how to develop.
And I found it quite approachable.
Quite a few applications are built on top of Love2D, and we can easily read their code.
Lets give it a try and see how it goes. :laughing:

1 Like

Yeah like @nvcuong1312 said, using Love2D is probably the easiest way to get started.

But it’s certainly not the only way.

The main limitations on this platform are in how we draw to the screen.

There is no KMS/DRM, no Wayland or X11. You must use SDL2 or OpenGLES to create a context to be able to draw stuff on the screen. Those are going to use the fbdev backend to actually blit the information to the panel.

Love2D makes this part easy because it handles the SDL2 context creation for display and such, where if you were to do it directly you have to do those things yourself.

Here is a good reference implementation of graphics output on this type of environment.

4 Likes

I’ve been tinkering with web based applications on my 40xxh (I’m a web developer) – playing around with the handheld/controller interface and the gamepad web api.
I do it mostly through Moonlight (or the Qt browser port, which seems kinda broken for me unfortunately). It’s a lot easier for someone like me to just get something on the handheld screen via a webview and interact with it that way, but it’d be cool to have something a bit more native/on device.
I’ve previously built some Electron applications to run on like a Raspberry pi, but that still relies on X11, which I understand is not feasible^
Any alternatives/ideas?

I don’t think it’s really feasible because of the RAM limitation on these devices. Modern web stuff takes a lot of memory comparatively.

Trying to get electron running, while possible with something like westonpack, you are likely to run out of resources fairly quick as electron itself is heavy.

You have already found QT Web Browser which was the best engine we had, though it does have its issues. The only other browser I have seen was Netsurf which has a very limited javascript engine compared to modern browsers like Firefox or Chrome.

Yeah that makes sense. I will not be going further down this rabbit hole, hehe, thank you.