You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/Manual.md
+65Lines changed: 65 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -92,3 +92,68 @@ model_set_texture(model, "game/texture/sometex.png"); // located at `res/game/..
92
92
93
93
When you import a GLTF/GLB file textures will be automatically imported (copied) to the `res` directory and the connection between imported meshes and their assigned textures will be saved in the imported files.
94
94
95
+
# Building your game for retro handhelds (ARM64 Linux devices)
96
+
97
+
## Setup
98
+
99
+
This section describes the build process for such devices as Anbernic RG35XX H or similar.
100
+
101
+
- Based on https://github.com/Cebion/Portmaster_builds
102
+
103
+
The section will describe commands for WSL2 Ubuntu 24.04.1 LTS (for Windows users, Linux users you know what to do):
104
+
```
105
+
sudo apt update && sudo apt upgrade -y
106
+
sudo reboot now
107
+
```
108
+
Wait for console to close, then in Windows console:
Try `sudo apt update && sudo apt upgrade -y` if you get an error `sudo: unable to resolve host ...` write the hostname that you got in that message in the file `/etc/hostname` (replace the old one) and in the file `/etc/hosts` under the localhost string (use the same 127.0.0.1 address).
Then copy the resulting binary (from `build/OUTPUT/game`) to your ARM64 Linux device. We don't worry about installing SDL and other libraries because we link SDL and other libraries statically. Inside of your ARM64 Linux device launch the game using some file explorer or a console.
157
+
158
+
Note that running games made with this engine on `libmali` drivers (which your handheld's OS might use) may cause issues and crashes (for example loading a texture may cause black screen and/or out of memory error) instead prefer to use `panfrost` drivers if your OS provides them. Most of the testing is done on Rocknix which provides an option to change used driver in the settings.
0 commit comments