Daemon icon indicating copy to clipboard operation
Daemon copied to clipboard

build on Android Termux

Open illwieckz opened this issue 3 years ago • 3 comments

@cu-kai tried to build daemon-tty on an Android phone using Termux. I tried to debug some issues preventing this.

This allows to build Dæmon engine and Unvanquished (as exe game) on Android. NaCl doesn't work as loaders we use aren't for Android.

Some commits may be merged separately, like the commit supporting TMPDIR environment variable (which would be good to have on Linux anyway). This patch can be merged separately there:

  • https://github.com/DaemonEngine/Daemon/pull/800

Here is an Unvanquished server running on Android in Termux using exe game:

Unvanquished Android exe server

illwieckz avatar Mar 07 '23 12:03 illwieckz

I updated the first message.

illwieckz avatar Mar 08 '23 00:03 illwieckz

Why should we add a bunch of kludges to build for Android when it has zero prospects of becoming a usable platform?

slipher avatar Mar 08 '23 22:03 slipher

Why should we add a bunch of kludges to build for Android when it has zero prospects of becoming a usable platform?

@cu-kai was hoping to run daemon-tty on his phone, so I tried to make it work! 😅️

Anyway that's interesting because given the size of patches to make Unvanquished server run with exe on Android is very small, maybe we can run Unvanquished servers on whatever system that looks like Linux enough on whatever architecture that is not that exotic without much larger change if the server runs exe game code.

illwieckz avatar Mar 10 '23 21:03 illwieckz