Repository navigation
Rigs of Rods for iOS - unsigned IPA (rolling)
Unsigned, ad-hoc-signed RoR IPA for arm64 iPhone/iPad, built from 401eeea.
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 114899254 sha256:86a67d11ff3eed72e58fd6e7733e60e89d6cc4be9b003af530d15bd5eedecb7b
RoR-ios-lite.ipa 43259207 sha256:676bb5517f8ff80476ab3b764f804176af503858eab6111582cfe5185a51a09a
RoR-ios-tiny.ipa 37864 sha256:285b44b690c8f840fe914943c8d1055e12186926a5e29df2e893665dc46be026
RoR-ios-bin.ipa 6767899 sha256:d206cbaebfd43296f5cc17487d9ecdd77ae4c3197ae4ed0cdfb6b53dedfd267f
RoR-ios-res0.ipa 6768360 sha256:11943c0953e9b0597134e9bb194946810a856cdecfb3ef6ec75dfe129c3bbfa2
RoR-ios-res0r.ipa 6768357 sha256:8f0f5eda5a0b0319f32dae73c80951cf0b4837961561b68e0e7cbd7e7cc0097e