Repository navigation
Unsigned, ad-hoc-signed RoR IPA for arm64 iPhone/iPad, built from 88e4fc3.
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 114920088 sha256:220e0dced1768ba7ced973a5cae834799ca80013d77306d0f89f91c5f0260fb1
RoR-ios-lite.ipa 43280043 sha256:4566c3be44eabd927c867ff0a84eeffc8433aca850c191001c3c6d5292224fa1
RoR-ios-tiny.ipa 37864 sha256:e66f0b7c6b5840b69fdc8fe52fb0884e587717a67ad6e1b3079ffa201ca269ea
RoR-ios-bin.ipa 6788934 sha256:fb532fb4c4a372723aa251049ab441f5f3966e1016a9a44c5fb926457311a805
RoR-ios-res0.ipa 6789398 sha256:c90b0396baa68c325cdc1b76eba7b5f125d151fe07b1cf7da4456f2939e27083
RoR-ios-res0r.ipa 6789391 sha256:9c3834f69f1c9402b65b608af7b604a667b1b8b06153966dca3e7776fe0ca413