Repository navigation
Rigs of Rods for iOS - unsigned IPA (rolling)
Unsigned, ad-hoc-signed RoR IPA for arm64 iPhone/iPad, built from 70cbcc2.
Files (release-dependent):
- RoR-ios.ipa - the full game, ~112 MB. Ships its data in
RoR.app/rorres/ (not resources/ - see below). - RoR-ios-lite.ipa - the same app with the content-only archives
dropped (meshes/textures/sounds/caelum/SkyX/
hydrax), ~40 MB. Every archive the startup path
loads is kept, so it launches exactly like the
full build - this is what makes it a usable
launch diagnostic. - RoR-ios-tiny.ipa - NOT the game. Shares Info.plist/signature/packaging
with the game. Installs and launches (green screen). - RoR-ios-bin.ipa - diagnostic (only on 'diag' tag). Real RoR binary,
no data directory at all. The known-good baseline. - RoR-ios-res0.ipa - diagnostic (only on 'diag' tag). bin plus a single
file in resources/ . The known-BAD reference. - RoR-ios-res0r.ipa - diagnostic (only on 'diag' tag). bin plus the same
single file, in rorres/ instead. What the fix does.
Why the directory is called rorres:
An .app whose bundle contains a top-level directory named resources
(or Resources - the check is case-insensitive) is refused by the iOS
installer with the generic "Unable to Install", while the very same
directory under any other name (zzz/, Base.lproj/, rorres/) installs
and runs. Measured on device: bin - no directory -> installs
zzz/rotest.txt -> installs
Base.lproj/rotest.txt -> installs
resources/rotest.txt -> refused
Resources/rotest.txt -> refused
codesign is what flips. With a resources/ (or Resources/) directory
present it switches its resource rules to the macOS "resource
envelope" set - rules=^Resources/, plus a '^[^/]+$ -> nested' rule in
rules2 - and iOS will not install a bundle sealed that way. With any
other directory name it keeps the plain ^.* rules that iOS accepts.
The ad-hoc signature was never the problem: an unsigned variant with
resources/ is refused just the same.
If the game installs but crashes right after launching:
It now writes Documents/ror-trace.log - one line per startup phase,
plus every OGRE log line and, if it dies, the reason (SIGSEGV, or the
uncaught exception's message). That file is flushed line by line with
write(2), so it is complete even when the process is killed mid-line.
Open it on the phone: Files app -> On My iPhone -> Rigs of Rods ->
ror-trace.log. The last lines are the interesting ones. The same
folder holds RigsOfRods/logs/RoR.log, which OGRE writes - but that one
is buffered and loses its tail on a crash, so prefer ror-trace.log.
Hand the file itself to ESIGN / Sideloadly / SideStore - it is served
as a plain file, nothing to unpack. An .ipa is a zip whose root
contains Payload/.
CHECK THE DOWNLOAD BEFORE INSTALLING
A truncated download makes every installer fail, and the error looks
like a build problem ("Truncated input file", "Unable to Install").
Compare the byte size of the file you downloaded with the list below;
if it differs by even one byte, download the file again.
RoR-ios.ipa 114898950 sha256:6dc204d80a697a09650e3cb7366117bfac6e4a8c1d2b4251b6dbfb238c912db8
RoR-ios-lite.ipa 43258900 sha256:ac5c20c3f43dd187973a81c16667493707ed4215f2432bcc71c105b9e7d34c0e
RoR-ios-tiny.ipa 37864 sha256:46cb7ea910e04afe409e438f6adbcd58915d8111a8b9fa514f847b0e3752fcbc
RoR-ios-bin.ipa 6767665 sha256:b8d8d3b88b64471303d3cbbccd9223d7e2b3612de00239d2e8029b0d203e485d
RoR-ios-res0.ipa 6768129 sha256:0d6a3e6d0d0614611437bb6b9659b3b8a8ca33f0e5239dd931ab89df36b459bc
RoR-ios-res0r.ipa 6768124 sha256:a7f78542ea4c418409235ccb9482a431b6143a27db875938dafb1e0515869789