Dwarf Fortress Dwarf Fortress Mobile: Running Dwarf Fortress on Android Devices |
- Dwarf Fortress Mobile: Running Dwarf Fortress on Android Devices
- [Kruggsmash] Waddlesquash #7: Trail of the Cresent Moon
- Dead Civ start - promoting marriages
Dwarf Fortress Mobile: Running Dwarf Fortress on Android Devices Posted: 03 Dec 2021 06:43 AM PST Special thanks to ptitSeb for developing of box86/64 and explictly testing Dwarf Fortress, delphonso for bringing this to my attention on the forums, and methylatedspirit for deb sources for box86/64. AbstractDwarf Fortress Mobile has been a desired artifact in this community for many years [1], and has been mostly implemented through connecting to a remote instance of Dwarf Fortress running on a separate computer [2]; however, the ☼adamantine short sword☼ of implementations would be to get Dwarf Fortress running locally on ARM computers. Dwarf Fortress is, unfortunately, only compiled for x86 and x86-64 systems, and I think the general consensus was that it was not worth the time to petition The Great Toady One to figure out how to compile Dwarf Fortress for ARM architectures. Thus, the only way to get Dwarf Fortress functioning on ARM computers is through emulation. Emulating Dwarf Fortress on ARM has also been achieved historically. QEMU has been used to run x86 programs on ARM machines, however, these instances were often plagued by complaints about performance [3], as QEMU fully emulates the libraries required to run Dwarf Fortress, leading to a large performance overhead. These emulations also often ran in a full linux environment, as opposed to operating systems optimized for performance in handheld devices. Recent developments in x86/64 emulation has lead to translating library calls to run programs on ARM architecture. Rather than emulating the libraries wholecloth, by intercepting library calls they can then be redirected to the native library, allowing the calls to run in the native ARM libraries, granting a large performance boost. The development of box86/64 has implemented these developments, allowing for higher performance "emulation" of x86 and x86-64 programs on ARM hardware. [4] Combined with PRoot for privilege escalation and running a secondary operating system without a guest kernel, it is now possible to run Dwarf Fortress natively on any Android device. Recent developments in software emulation and hardware processing power has made playing Dwarf Fortress on a mobile phone a convenient way to play Dwarf Fortress on the go, at reasonable performance levels. Figure 1: Dwarf Fortress running on a Google Pixel 3 These experiments were performed on a Google Pixel 3 running Android 12. A medium region with 125 year history generates in approximately 10 minutes. An initial 3x3 embark in that world appears to run at full speed (100FPS). Methods1. Install TermuxTermux is a terminal emulator for Android, which is available on F-droid [6], a repository for open source Android applications. It is possible to download Termux from the Google Play Store, but it is no longer supported and no longer receives updates. 2. Install PRootPRoot, along with the linux distributions, can be installed while in Termux by typing the command 3. Setting up the Debian environmentTo install debian, type Enter the debian environment by typing 4. Install box64Many modern Android phones run on the arm64 architecture, and thus require box64 and the 64-bit Dwarf Fortress program. If your phone is 32-bit, then you need box86 and the 32-bit Dwarf Fortress program instead. The rest of the sections will assume that you are running an arm64 device. Install wget ( With wget, you can install box64 from many sources. Here we will be using the sources defined in Pi-Apps [5], a collection of install scripts for Raspberry Pi. Add the repository to your sources with Update your package lists with 5. Setting Up Dwarf FortressDownload the 64-bit version of Dwarf Fortress from the main website [7]. It can be extracted with the command Modify the 6. Install Required LibrariesRun (I have forgotten exactly which libraries and packages that I installed. If someone could compile a list of packages required, I will update this guide.) ∞. Quality of LifeThe default font in Termux renders dwarves as emoji smiley faces. To change the font, install To customize the top bar of the virtual keyboard, edit the Volume Up + [NUMBER] can be used to emulate F1-F10, which is useful when using hotkeys. Macros do not appear to work. Shift as a modifier key does not appear to work, though may be implemented in future versions of Termux [8]. Replacing the A bluetooth keyboard is theoretically recommended, but has not yet been tested by the author. Future WorkThere have been reports that sound functions through this setup, although I have not yet tested this. Additionally, it may be possible to run a window manager to run Dwarf Fotress in graphical mode, or send the output to a VNC server, but I have yet to test these possibilities. Further research is required to determine whether Dwarf Fortress in graphical mode is possible on mobile devices. ConclusionIt is possible to run Dwarf Fortress locally on an Android device with acceptable performance. [1] https://www.reddit.com/r/dwarffortress/comments/go0mh/any_way_to_get_dwarf_fortress_to_run_in/ [link] [comments] | ||
[Kruggsmash] Waddlesquash #7: Trail of the Cresent Moon Posted: 03 Dec 2021 10:23 AM PST
| ||
Dead Civ start - promoting marriages Posted: 03 Dec 2021 02:14 PM PST I finally managed to make a dead civ start and I need to start breeding dwarves and Im wondering if there is some kinda script for dfhack or therapist that would give you the highest number of compatible dwarf pairs for baby making. Because it seems that in the present version of DF it is very hard to get dwarves to marry at least for me, ive had 15 dwarves or so for idk 6+ years now and the highest tier relationship is Friend. Im going to probably use 2 bed bedrooms to pair them but i would like to figure out a good way to pair them such that i can get as many pairs as possible that has as high probability as possible to actually merry. [link] [comments] |
You are subscribed to email updates from Dwarf Fortress. To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google, 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States |
No comments:
Post a Comment