# touchHLE

> Built from commit 3effc4a043e0 on 2026-11-24. The current build: https://abdess.github.io/retrobios/version.json

Source: https://abdess.github.io/retrobios/emulators/touchhle/

touchHLE emulates Apple iOS. It reads 10 files, none of them required: it starts games without them.

**About this profile**

| Detail | Value |
|---|---|
| Type | standalone |
| Classification | Embedded HLE |
| Source | [https://github.com/touchHLE/touchHLE](https://github.com/touchHLE/touchHLE) |
| Version | 0.2.3, stated in [`Cargo.toml`](https://github.com/touchHLE/touchHLE/blob/3c5850585ba55615b17a58c58331b6d6f52d4a9d/Cargo.toml) |
| Revision | [touchHLE/touchHLE@3c5850585ba5](https://github.com/touchHLE/touchHLE/commit/3c5850585ba55615b17a58c58331b6d6f52d4a9d) |
| Revision held | ROCKNIX 20261001 builds this revision. Later upstream commits are not part of that build. |
| Build file | ROCKNIX `projects/ROCKNIX/packages/emulators/standalone/touchhle-sa/package.mk` at `20261001` sets `PKG_VERSION` |
| Run by | [ROCKNIX](https://abdess.github.io/retrobios/platforms/rocknix/) |
| Profiled | 2026-10-17 |
| Profile | [YAML](https://github.com/Abdess/retrobios/blob/main/emulators/touchhle.yml), [JSON](https://abdess.github.io/retrobios/api/v1/emulators/touchhle.json) |
| Cores | touchhle, touchhle-sa |
| Systems | Apple iOS |

**Install this emulator's files**

With ROCKNIX: the installer finds ROCKNIX and its BIOS folder, then downloads only the files touchHLE reads there and checks each one.

Open a terminal on the device. Or connect from a computer with SSH, a terminal over the network. Paste the line. Press Enter.

Terminal

```
curl -fsSL https://abdess.github.io/retrobios/i | sh -s -- --emulator touchhle
```

**Technical notes**

High-level emulator for iPhone OS apps. The operating system and its frameworks are reimplemented in Rust, so no Apple firmware or system file is opened. What it reads besides the app are resources bundled with it: three Free Software ARMv6 libraries, fonts, and a table of default per-app options. ref: Cargo.toml:7, [`src/paths.rs:9-12`](https://github.com/touchHLE/touchHLE/blob/3c5850585ba55615b17a58c58331b6d6f52d4a9d/src/paths.rs#L9-L12), [`src/paths.rs:28-36`](https://github.com/touchHLE/touchHLE/blob/3c5850585ba55615b17a58c58331b6d6f52d4a9d/src/paths.rs#L28-L36)

Resources are opened relative to the working directory, or the Resources folder of a macOS bundle. ROCKNIX patches the Linux base to /usr/lib/touchHLE. ref: [`src/paths.rs:63-82`](https://github.com/touchHLE/touchHLE/blob/3c5850585ba55615b17a58c58331b6d6f52d4a9d/src/paths.rs#L63-L82)

The libraries are mapped into the guest at /usr/lib under their own names and aliases. An app binary that links one of them loads it from there, and fails to start with "Could not load bundled dylib" when the host file is missing. ref: [`src/fs.rs:588-622`](https://github.com/touchHLE/touchHLE/blob/3c5850585ba55615b17a58c58331b6d6f52d4a9d/src/fs.rs#L588-L622), [`src/environment.rs:384-413`](https://github.com/touchHLE/touchHLE/blob/3c5850585ba55615b17a58c58331b6d6f52d4a9d/src/environment.rs#L384-L413)

Fonts are opened the first time an app draws text in that face, and a missing or unparsable file is a panic. The Liberation families stand in for the iPhone OS faces, and Noto Sans JP is used for strings holding kana or kanji. ROCKNIX installs only the LiberationSans files, so an app that asks for a monospace, serif or Japanese face stops there. ref: [`src/font.rs:70-129`](https://github.com/touchHLE/touchHLE/blob/3c5850585ba55615b17a58c58331b6d6f52d4a9d/src/font.rs#L70-L129), [`src/frameworks/uikit/ui_font.rs:26-43`](https://github.com/touchHLE/touchHLE/blob/3c5850585ba55615b17a58c58331b6d6f52d4a9d/src/frameworks/uikit/ui_font.rs#L26-L43), [`src/frameworks/uikit/ui_font.rs:180-205`](https://github.com/touchHLE/touchHLE/blob/3c5850585ba55615b17a58c58331b6d6f52d4a9d/src/frameworks/uikit/ui_font.rs#L180-L205)

touchHLE_default_options.txt is read before the user's touchHLE_options.txt; when it cannot be opened a warning is printed and the app runs without it. ref: [`src/lib.rs:319-323`](https://github.com/touchHLE/touchHLE/blob/3c5850585ba55615b17a58c58331b6d6f52d4a9d/src/lib.rs#L319-L323)

## Files

**10 files**: 0 required, 10 optional. 8 more files come with the app.

By kind: 17 BIOS and 1 game data.

In this collection: 0 in repo and 10 missing.

## Optional

| File | Status | Hash |
|---|---|---|
| ** ### `LiberationMono-Regular.ttf` ** Bundled font - Path: `touchHLE_fonts/LiberationMono-Regular.ttf`- System: Apple iOS- Opened on first use of its face. touchHLE panics when it is missing. - SHA1: 6d137827a5b3 **Hashes, packages and source** - SHA1: `6d137827a5b3b5b4ca2378642cdee0f65497ad0b`- MD5: `e59b87dce1497a1ba08d472667722916`- Not in the platform's package, so the pack brings it, on: rocknix- Source: [`src/font.rs:70-85`](https://github.com/touchHLE/touchHLE/blob/3c5850585ba55615b17a58c58331b6d6f52d4a9d/src/font.rs#L70-L85), [`src/font.rs:88-90`](https://github.com/touchHLE/touchHLE/blob/3c5850585ba55615b17a58c58331b6d6f52d4a9d/src/font.rs#L88-L90) | missing | MD5 `e59b87dce149` |
| ** ### `LiberationMono-Bold.ttf` ** Bundled font - Path: `touchHLE_fonts/LiberationMono-Bold.ttf`- System: Apple iOS- Opened on first use of its face. touchHLE panics when it is missing. - SHA1: 621736fa22ae **Hashes, packages and source** - SHA1: `621736fa22ae2661eff1a0a199f882733440a33c`- MD5: `e52e17953632fd6f1da5e51c84a6dea7`- Not in the platform's package, so the pack brings it, on: rocknix- Source: [`src/font.rs:70-85`](https://github.com/touchHLE/touchHLE/blob/3c5850585ba55615b17a58c58331b6d6f52d4a9d/src/font.rs#L70-L85), [`src/font.rs:91-93`](https://github.com/touchHLE/touchHLE/blob/3c5850585ba55615b17a58c58331b6d6f52d4a9d/src/font.rs#L91-L93) | missing | MD5 `e52e17953632` |
| ** ### `LiberationMono-BoldItalic.ttf` ** Bundled font - Path: `touchHLE_fonts/LiberationMono-BoldItalic.ttf`- System: Apple iOS- Opened on first use of its face. touchHLE panics when it is missing. - SHA1: 6dbf7cd701cb **Hashes, packages and source** - SHA1: `6dbf7cd701cb1048dd7a2a01f84b5473842bf3ba`- MD5: `00bed708fb7614c12c92cfd16f1fb7b8`- Not in the platform's package, so the pack brings it, on: rocknix- Source: [`src/font.rs:70-85`](https://github.com/touchHLE/touchHLE/blob/3c5850585ba55615b17a58c58331b6d6f52d4a9d/src/font.rs#L70-L85), [`src/font.rs:94-96`](https://github.com/touchHLE/touchHLE/blob/3c5850585ba55615b17a58c58331b6d6f52d4a9d/src/font.rs#L94-L96) | missing | MD5 `00bed708fb76` |
| ** ### `LiberationMono-Italic.ttf` ** Bundled font - Path: `touchHLE_fonts/LiberationMono-Italic.ttf`- System: Apple iOS- Opened on first use of its face. touchHLE panics when it is missing. - SHA1: 67ec8aefea86 **Hashes, packages and source** - SHA1: `67ec8aefea86e24e6a875e9f5b78437e75edf9e8`- MD5: `fe762a65e22e23c935aff8eda38eaaf3`- Not in the platform's package, so the pack brings it, on: rocknix- Source: [`src/font.rs:70-85`](https://github.com/touchHLE/touchHLE/blob/3c5850585ba55615b17a58c58331b6d6f52d4a9d/src/font.rs#L70-L85), [`src/font.rs:97-99`](https://github.com/touchHLE/touchHLE/blob/3c5850585ba55615b17a58c58331b6d6f52d4a9d/src/font.rs#L97-L99) | missing | MD5 `fe762a65e22e` |
| ** ### `LiberationSerif-Regular.ttf` ** Bundled font - Path: `touchHLE_fonts/LiberationSerif-Regular.ttf`- System: Apple iOS- Opened on first use of its face. touchHLE panics when it is missing. - SHA1: e61787934542 **Hashes, packages and source** - SHA1: `e617879345422a0e204de4b1dff4a41103992d64`- MD5: `732ab01395f607bf178d0f32d841cc71`- Not in the platform's package, so the pack brings it, on: rocknix- Source: [`src/font.rs:70-85`](https://github.com/touchHLE/touchHLE/blob/3c5850585ba55615b17a58c58331b6d6f52d4a9d/src/font.rs#L70-L85), [`src/font.rs:112-114`](https://github.com/touchHLE/touchHLE/blob/3c5850585ba55615b17a58c58331b6d6f52d4a9d/src/font.rs#L112-L114) | missing | MD5 `732ab01395f6` |
| ** ### `LiberationSerif-Bold.ttf` ** Bundled font - Path: `touchHLE_fonts/LiberationSerif-Bold.ttf`- System: Apple iOS- Opened on first use of its face. touchHLE panics when it is missing. - SHA1: d38816f0b220 **Hashes, packages and source** - SHA1: `d38816f0b2205dc619c061a60ef5f250b9bdf231`- MD5: `184a866d565bae797baa39458fde7ac4`- Not in the platform's package, so the pack brings it, on: rocknix- Source: [`src/font.rs:70-85`](https://github.com/touchHLE/touchHLE/blob/3c5850585ba55615b17a58c58331b6d6f52d4a9d/src/font.rs#L70-L85), [`src/font.rs:115-117`](https://github.com/touchHLE/touchHLE/blob/3c5850585ba55615b17a58c58331b6d6f52d4a9d/src/font.rs#L115-L117) | missing | MD5 `184a866d565b` |
| ** ### `LiberationSerif-BoldItalic.ttf` ** Bundled font - Path: `touchHLE_fonts/LiberationSerif-BoldItalic.ttf`- System: Apple iOS- Opened on first use of its face. touchHLE panics when it is missing. - SHA1: 7e9704cabad5 **Hashes, packages and source** - SHA1: `7e9704cabad534e2a56b32bbbec89a8d7e4e138f`- MD5: `23e615c7010f0ad9f1d2817009733cb9`- Not in the platform's package, so the pack brings it, on: rocknix- Source: [`src/font.rs:70-85`](https://github.com/touchHLE/touchHLE/blob/3c5850585ba55615b17a58c58331b6d6f52d4a9d/src/font.rs#L70-L85), [`src/font.rs:118-120`](https://github.com/touchHLE/touchHLE/blob/3c5850585ba55615b17a58c58331b6d6f52d4a9d/src/font.rs#L118-L120) | missing | MD5 `23e615c7010f` |
| ** ### `LiberationSerif-Italic.ttf` ** Bundled font - Path: `touchHLE_fonts/LiberationSerif-Italic.ttf`- System: Apple iOS- Opened on first use of its face. touchHLE panics when it is missing. - SHA1: c5f801425d1f **Hashes, packages and source** - SHA1: `c5f801425d1f93be54e31267813f4367755f096c`- MD5: `31defdf69fc00c20b9caabe3e76d53e1`- Not in the platform's package, so the pack brings it, on: rocknix- Source: [`src/font.rs:70-85`](https://github.com/touchHLE/touchHLE/blob/3c5850585ba55615b17a58c58331b6d6f52d4a9d/src/font.rs#L70-L85), [`src/font.rs:121-123`](https://github.com/touchHLE/touchHLE/blob/3c5850585ba55615b17a58c58331b6d6f52d4a9d/src/font.rs#L121-L123) | missing | MD5 `31defdf69fc0` |
| ** ### `NotoSansJP-Regular.otf` ** Bundled font - Path: `touchHLE_fonts/NotoSansJP-Regular.otf`- System: Apple iOS- Opened on first use of its face. touchHLE panics when it is missing. - SHA1: 2a167a116b54 **Hashes, packages and source** - SHA1: `2a167a116b54ecd4f939e47d0ad78cb3402d938c`- MD5: `f82ef23cfbf8b46a234465b0151ee71f`- Not in the platform's package, so the pack brings it, on: rocknix- Source: [`src/font.rs:70-85`](https://github.com/touchHLE/touchHLE/blob/3c5850585ba55615b17a58c58331b6d6f52d4a9d/src/font.rs#L70-L85), [`src/font.rs:124-126`](https://github.com/touchHLE/touchHLE/blob/3c5850585ba55615b17a58c58331b6d6f52d4a9d/src/font.rs#L124-L126) | missing | MD5 `f82ef23cfbf8` |
| ** ### `NotoSansJP-Bold.otf` ** Bundled font - Path: `touchHLE_fonts/NotoSansJP-Bold.otf`- System: Apple iOS- Opened on first use of its face. touchHLE panics when it is missing. - SHA1: a7a997c4c894 **Hashes, packages and source** - SHA1: `a7a997c4c894d2cc691332e7232d909d4f08a552`- MD5: `77921099a1d3fce6fb64a7b3b678b7dc`- Not in the platform's package, so the pack brings it, on: rocknix- Source: [`src/font.rs:70-85`](https://github.com/touchHLE/touchHLE/blob/3c5850585ba55615b17a58c58331b6d6f52d4a9d/src/font.rs#L70-L85), [`src/font.rs:127-129`](https://github.com/touchHLE/touchHLE/blob/3c5850585ba55615b17a58c58331b6d6f52d4a9d/src/font.rs#L127-L129) | missing | MD5 `77921099a1d3` |

## Comes with the app

| File | Status | Hash |
|---|---|---|
| ** ### `libgcc_s.1.dylib` ** GCC runtime library from the iPhoneOS 4.0 SDK - Path: `touchHLE_dylibs/libgcc_s.1.dylib`- System: Apple iOS- Exposed as /usr/lib/libgcc_s.1.dylib. Needed by apps that link it. - SHA1: 827d9304ade7 **Hashes and source** - SHA1: `827d9304ade7342560b83bb2d79519161a36a395`- MD5: `f170c90d0940c5989c7ea65f6832906b`- Source: [`src/fs.rs:588-622`](https://github.com/touchHLE/touchHLE/blob/3c5850585ba55615b17a58c58331b6d6f52d4a9d/src/fs.rs#L588-L622), [`src/environment.rs:384-413`](https://github.com/touchHLE/touchHLE/blob/3c5850585ba55615b17a58c58331b6d6f52d4a9d/src/environment.rs#L384-L413) | - | MD5 `f170c90d0940` |
| ** ### `libstdc++.6.0.9.dylib` ** GNU C++ standard library from the iPhoneOS 4.0 SDK - Path: `touchHLE_dylibs/libstdc++.6.0.9.dylib`- System: Apple iOS- Exposed as /usr/lib/libstdc++.6.dylib and /usr/lib/libstdc++.6.0.9.dylib. Needed by apps that link it. - SHA1: 80a78b90ed2a **Hashes and source** - SHA1: `80a78b90ed2af3656947124a623be06346c91c07`- MD5: `d44ff6644a1f42e1a333664752940266`- Source: [`src/fs.rs:588-622`](https://github.com/touchHLE/touchHLE/blob/3c5850585ba55615b17a58c58331b6d6f52d4a9d/src/fs.rs#L588-L622), [`src/environment.rs:384-413`](https://github.com/touchHLE/touchHLE/blob/3c5850585ba55615b17a58c58331b6d6f52d4a9d/src/environment.rs#L384-L413) | - | MD5 `d44ff6644a1f` |
| ** ### `libz.1.2.3.dylib` ** zlib built from Apple's zlib-23.0.1 sources - Path: `touchHLE_dylibs/libz.1.2.3.dylib`- System: Apple iOS- Exposed as /usr/lib/libz.1.2.3.dylib, libz.1.dylib, libz.dylib and libz.1.1.3.dylib. Needed by apps that link it. - SHA1: c7a074cc2a28 **Hashes and source** - SHA1: `c7a074cc2a28618205107da722d3030441a7f791`- MD5: `6b2f78a706d9b46f038059ef01c97253`- Source: [`src/fs.rs:588-622`](https://github.com/touchHLE/touchHLE/blob/3c5850585ba55615b17a58c58331b6d6f52d4a9d/src/fs.rs#L588-L622), [`src/environment.rs:384-413`](https://github.com/touchHLE/touchHLE/blob/3c5850585ba55615b17a58c58331b6d6f52d4a9d/src/environment.rs#L384-L413) | - | MD5 `6b2f78a706d9` |
| ** ### `LiberationSans-Regular.ttf` ** Bundled font - Path: `touchHLE_fonts/LiberationSans-Regular.ttf`- System: Apple iOS- Opened on first use of its face. touchHLE panics when it is missing. - SHA1: 822a13649cfa **Hashes and source** - SHA1: `822a13649cfa7475343d52bfb2db9f0358a36822`- MD5: `d7b4e92b03deb1865aa61328fd5ff400`- Source: [`src/font.rs:70-85`](https://github.com/touchHLE/touchHLE/blob/3c5850585ba55615b17a58c58331b6d6f52d4a9d/src/font.rs#L70-L85), [`src/font.rs:100-102`](https://github.com/touchHLE/touchHLE/blob/3c5850585ba55615b17a58c58331b6d6f52d4a9d/src/font.rs#L100-L102) | - | MD5 `d7b4e92b03de` |
| ** ### `LiberationSans-Bold.ttf` ** Bundled font - Path: `touchHLE_fonts/LiberationSans-Bold.ttf`- System: Apple iOS- Opened on first use of its face. touchHLE panics when it is missing. - SHA1: 4e5ee6e5de4d **Hashes and source** - SHA1: `4e5ee6e5de4d35337f7d14fa43222908e28e2d8d`- MD5: `ab3823f8c454609eab661b54751fd55e`- Source: [`src/font.rs:70-85`](https://github.com/touchHLE/touchHLE/blob/3c5850585ba55615b17a58c58331b6d6f52d4a9d/src/font.rs#L70-L85), [`src/font.rs:103-105`](https://github.com/touchHLE/touchHLE/blob/3c5850585ba55615b17a58c58331b6d6f52d4a9d/src/font.rs#L103-L105) | - | MD5 `ab3823f8c454` |
| ** ### `LiberationSans-BoldItalic.ttf` ** Bundled font - Path: `touchHLE_fonts/LiberationSans-BoldItalic.ttf`- System: Apple iOS- Opened on first use of its face. touchHLE panics when it is missing. - SHA1: cbf18b615d02 **Hashes and source** - SHA1: `cbf18b615d022b3a49c114c1fdea5170e04e8d08`- MD5: `ad144bbd42d9dccb07db1aae6682b98b`- Source: [`src/font.rs:70-85`](https://github.com/touchHLE/touchHLE/blob/3c5850585ba55615b17a58c58331b6d6f52d4a9d/src/font.rs#L70-L85), [`src/font.rs:106-108`](https://github.com/touchHLE/touchHLE/blob/3c5850585ba55615b17a58c58331b6d6f52d4a9d/src/font.rs#L106-L108) | - | MD5 `ad144bbd42d9` |
| ** ### `LiberationSans-Italic.ttf` ** Bundled font - Path: `touchHLE_fonts/LiberationSans-Italic.ttf`- System: Apple iOS- Opened on first use of its face. touchHLE panics when it is missing. - SHA1: aa4de844c553 **Hashes and source** - SHA1: `aa4de844c5538cb9bf5393ed767884cd72f2b448`- MD5: `333f554fddaa0faf89afc3621a6a18c8`- Source: [`src/font.rs:70-85`](https://github.com/touchHLE/touchHLE/blob/3c5850585ba55615b17a58c58331b6d6f52d4a9d/src/font.rs#L70-L85), [`src/font.rs:109-111`](https://github.com/touchHLE/touchHLE/blob/3c5850585ba55615b17a58c58331b6d6f52d4a9d/src/font.rs#L109-L111) | - | MD5 `333f554fddaa` |
| ** ### `touchHLE_default_options.txt` ** Default options per app - System: Apple iOS- Command-line style options keyed by app bundle identifier, applied before the user's own file. - SHA1: ee41db73da6e **Hashes and source** - SHA1: `ee41db73da6e50593fdb95c3dee3bd42783718cf`- MD5: `e982d067cdcbda507773dd9d4b3d4c07`- Source: [`src/paths.rs:36`](https://github.com/touchHLE/touchHLE/blob/3c5850585ba55615b17a58c58331b6d6f52d4a9d/src/paths.rs#L36), [`src/lib.rs:319-323`](https://github.com/touchHLE/touchHLE/blob/3c5850585ba55615b17a58c58331b6d6f52d4a9d/src/lib.rs#L319-L323) | game data | MD5 `e982d067cdcb` |

## Next steps

- [Get the files](https://abdess.github.io/retrobios/which-pack/), for the setup in use
- [Every system](https://abdess.github.io/retrobios/systems/), and the files each one needs
- [When a game does not start](https://abdess.github.io/retrobios/wiki/troubleshooting/)

Data as of 24 November 2026.
