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
+20-6Lines changed: 20 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -166,11 +166,25 @@ if (info == NULL) {
166
166
167
167
# Building your game for retro handhelds (ARM64 Linux devices)
168
168
169
-
## Setup
169
+
## The easy way
170
170
171
-
This section describes the build process for such devices as Anbernic RG35XX H or similar.
171
+
Buy a Raspberry Pi Zero 2 W (it's a very cheap ARM64 computer), compile your app directly on the Raspberry Pi and just copy-paste the resulting executable to your handheld.
172
172
173
-
- Based on https://github.com/Cebion/Portmaster_builds
173
+
For building don't forget to pull submodules and install SDL dependencies (just copy-paste commands for Ubuntu, including the Wayland package): https://github.com/libsdl-org/SDL/blob/main/docs/README-linux.md#build-dependencies
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.
242
+
Then copy the resulting binary (from `build/OUTPUT/` directory) 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.
0 commit comments