Defold -> Retro handhelds?

The problem was that there were both MSDOS and ext4 filesystem types present at the same time. The 47GB volume partition was formatted as MSDOS, and I couldn’t add execute permissions to the file because I’m on Linux Mint. So I moved the .sh file to the linuxrootfs partition, which is ext4, and ran the .sh file via the file manager app in app center on the RG35XXH. However, it just closed immediately and wrote nothing to log.txt.

sh and arm64 file :

Shadertoysample.zip (1.8 MB)

sh was simple

#!/bin/bash

SHDIR=$(dirname “$0”)
GAMEDIR=“$SHDIR/Shadertoysample”

cd “$GAMEDIR”

./Shadertoysample.arm64 > log.txt 2>&1

Where can we download the ARM build of the Demolition demo?

Tried to run RPG Map Sample:

ERROR:PLATFORM: GLFW Error: X11: Failed to open display :0.0

WARNING:INPUT: No gamepad map found for gamepad 0 (XU Mini M Gamepad). The raw gamepad map will be used.

(:2563): Gtk-WARNING \*\*: 05:39:07.968: Could not load a pixbuf from /org/gtk/libgtk/icons/16x16/status/window-minimize-symbolic.symbolic.png.
This may indicate that pixbuf loaders or the mime database could not be found.
\*\*
Gtk:ERROR:../gtk/gtkiconhelper.c:495:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /org/gtk/libgtk/icons/16x16/status/image-missing.png: Unrecognized image file format (gdk-pixbuf-error-quark, 3)
arm_release_ver: g13p0-01eac0, rk_so_ver: 11
Bail out! Gtk:ERROR:../gtk/gtkiconhelper.c:495:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /org/gtk/libgtk/icons/16x16/status/image-missing.png: Unrecognized image file format (gdk-pixbuf-error-quark, 3)

log.txt (4.4 KB)

The run was script was copied from Apotris.sh. Only GAMEDIR variable and exec line were chages:

GAMEDIR=/$directory/ports/RPGMapSample

$GPTOKEYB “RPGMapSample.arm64” &

./RPGMapSample.arm64

RPGMapSample.sh.example.txt (970 Bytes)

Tried both Panfrost and libMali drivers.

still NOT resolved in Defold 1.11.2:log having

ERROR:CRASH: /usr/lib/libdecor/plugins-1/libdecor-gtk.so(+0x794c) [0xffff92db794c]

Added https://github.com/aglitchman/defold-arm64-disabled-libdecor/archive/refs/tags/1.0.0.zip to project dependencies (see tutorial Working with library projects in Defold ) and the issue was fixed.

The downside of rebuilding project dependencies is that executable size grew in from 4.9mb to 21mb.

@aglitchman, did you report the issue?

It’s just a scene from our game - so there is no option to download.

It can’t be resolved in Defold - it’s a bug in Rocknix.

I haven’t yet, because Rocknix disabled the “issues” section in their Github repo and I didn’t manage to report the issue in their Discord - ROCKNIX

3 Likes

@aglitchman, thanks for your answers and defold-arm64-disabled-libdecor development!

OK, I posted it in the RockNix Discord and got question:

Jeod: Missing window decorations?