Repository navigation
Releases
v0.4.58 — 首个玩家可用 beta / first player-facing beta(iPhone 17 · iPad 双机裁决通过)
0.4.58 — 首个面向玩家的 beta
自 v0.3.3(M3:JIT 跑通)以来两个里程碑落地:M4 托管层共享——触控与 mod 管线与安卓版完全对齐;M5 玩家可用 beta 完成第一波。本包为定版包:iPhone 17 与 iPad 双机裁决通过的二进制,仅改版本号。
新增(相对 v0.3.3)
- 触控层完整对齐安卓:点按 / 双击 / 长按右键 / 按住拖动框选(0.4.51 起框可见)/ 双指缩放 / 点按辅助 / 列表惯性滚动 / 屏幕左右键 / 按键轮盘 / 文本框软键盘。
- 仅横屏:左右两种横屏随设备翻转,竖屏不再打坏 UI(iPhone 与 iPad 都锁)。
- 中日韩与 emoji 字体内置:Noto Sans SC + Noto Emoji 兜底。
- 模组管线:Harmony / MonoMod 在 JIT 竞技场上跑通;
.zip/ 文件夹导入、设备内 ModPrep、随包 ModRules 加载顺序规则(631 条)。 - Steam 创意工坊下载器:扫码 / 密码登录,浏览订阅,下载并安装 mod;凭据保存在应用私有目录,升级保留。
- 挖孔 / 安全区适配:灵动岛与 home 条——靠边窗口自动让开。
- 内存账本与自动整理(0.4.45–0.4.47):
port17-status.txt记 footprint / 余量 / 峰值,余量吃紧自动整理。 - 日志只留一轮(0.4.48):上一轮自动归档到
prev-log/。 - 启动器:导入 zip / 导出 / JIT 脚本分享(脚本随 IPA 打包,升级自动同步)。
已知边界
- 每次启动都需要 JIT 会话(StikDebug +
rw17-jit26.js)——iOS 不允许普通应用创建可执行内存,这是平台天花板;普通打开会停在提示上。 - 中文输入法暂未适配:引擎文字视图只实现 UIKeyInput,拼音组合输不进;英文输入与退格正常。
- 没有 Steam 集成(成就等);没有文件监视;截图不进相册;系统代理未读。
- 内存:8 GB 设备已做账本与阻尼线,但模组多、会话长的场景尚未实测。
- 少数 PC 专有 API 缺失(不能启动外部程序等),依赖它们的 mod 可能出错。
安装
- 用 SideStore / AltStore / LiveContainer 等自签工具安装
port17host-0.4.58.ipa(无需 Apple 开发者账号)。 - 拷入你自己 Steam 版 RimWorld 1.7 的游戏文件(
Assets.zip、Version.txt、Data/、Renders与托管程序集),详见 GAME-IMPORT.md;首次启动会在设备上原地改写(约半分钟),之后再启动一次。 - 每次启动:StikDebug 以 Port17 为目标运行
rw17-jit26.js(启动器「JIT 脚本」按钮可直接交给 StikDebug);等 Port17 等到竞技场后游戏启动。 - 模组通过 Port17 导入,或在游戏模组界面打开创意工坊窗口。
反馈问题请附上 文件 App → Port17 → Documents 下的 port17-ui.log、coreclr-stderr.log、engine-trace.log、port17-status.txt。
0.4.58 — first player-facing beta
Two milestones since v0.3.3 (M3: JIT working): M4 shared managed layer — touch and mod pipeline aligned with the Android build; and M5 player-usable beta, first wave. This package is the verdict-passed binaries (iPhone 17 and iPad) with a version bump only.
New since v0.3.3
- Touch layer fully aligned with Android: tap, double tap, long-press for right-click, hold-then-drag box selection (box visible since 0.4.51), two-finger zoom, tap assist, inertial scrolling, on-screen left/right buttons, the key ring and the soft keyboard for text fields.
- Landscape only: both landscape orientations flip with the device; portrait no longer breaks the UI (locked on iPhone and iPad alike).
- Bundled CJK and emoji fonts: Noto Sans SC + Noto Emoji fallback.
- Mod pipeline: Harmony / MonoMod run on the JIT arena;
.zip/ folder import, on-device ModPrep, a bundled ModRules load-order rule set (631 rules). - Steam Workshop downloader: QR / password sign-in, browse subscriptions, download and install mods; credentials stay in the app's private directory and survive updates.
- Cutout / safe-area handling: Dynamic Island and home indicator — windows near the edges step aside.
- Memory ledger and automatic trimming (0.4.45–0.4.47):
port17-status.txtrecords footprint / headroom / peak; trims when headroom runs low. - One round of logs (0.4.48): the previous round is archived to
prev-log/. - Launcher: import zip, export, share the JIT script (bundled in the IPA, synced on upgrade).
Known limits
- Every launch needs a JIT session (StikDebug +
rw17-jit26.js) — iOS does not let an ordinary app create executable memory; this is the platform ceiling. Opened normally, Port17 stops with a notice. - Chinese IME not yet supported: the engine's text view implements UIKeyInput only, so pinyin composition cannot get through; English typing and backspace work.
- No Steam integration (achievements etc.); no file watchers; screenshots do not go to the Photos library; the system proxy is not read.
- Memory: the ledger and damper lane are in on 8 GB devices, but long sessions with large mod lists are untested.
- A few PC-only APIs are missing (external programs cannot be started, etc.); a mod that needs one may fail.
Install
- Sideload
port17host-0.4.58.ipawith SideStore / AltStore / LiveContainer or any tool that signs with your Apple ID (no developer account needed). - Copy in the game files from your own Steam copy of RimWorld 1.7 (
Assets.zip,Version.txt,Data/,Rendering/and the managed assemblies); see GAME-IMPORT.md. The first launch patches them on the device (about half a minute); launch once more afterwards. - Every launch: run
rw17-jit26.jsfrom StikDebug with Port17 as the target (the launcher's "JIT 脚本" button hands it to StikDebug); the game starts once Port17 has the arena. - Mods: import through Port17, or open the Workshop window from the game's Mods screen.
When reporting a problem, attach port17-ui.log, coreclr-stderr.log, engine-trace.log and port17-status.txt from Files → Port17 → Documents.
Unofficial fan project — not affiliated with Ludeon Studios; you need your own copy of the game (the repo and the package contain no game files).
M3 里程碑:JIT 成功——RimWorld 1.7 全速可玩(iPad 真机实测)
里程碑
JIT 成功:自建混合运行时(dotnet/runtime v11.0.0 GA tag,静态 RyuJIT + 按需解释器)+ StikDebug 竞技场协议在真机(iPad M4 / iOS 27 / SideStore 签名)完整跑通。
真机实测:全 DLC 创建世界 → 世界生成 → 进入殖民地地图,装载速度较解释器显著提升,零崩溃。JIT 与解释器同包双模,存档互通。
技术要点(从 M1 封存到 M3 收官的三轮真机排障)
- 竞技场协议(playport 形态):app 发
brk #0xf00d请求,StikDebug 脚本经 debugserver_M代分配 128MiB RX 并逐页祝福,分离后照常执行——脚本窗口可关,祝福保持页面可执行(iOS 27 实证); - 执行必须走授予页本体:remap 副本执行被内核拒绝(SIGBUS),Reserve 改纯指针算术;
- 运行时包即官方包同源:GA tag v11.0.0 + collect 三级变体回退(ios→unix→net11.0),92 个 PNSE 缩水桩按构造消失;
- 官方 NuGet iOS 包是解释器专用构建(无 JIT),自建是唯一路线。
使用方法
- SideStore 侧载 IPA(自动带 get-task-allow);诊断界面「导入 zip」装游戏资源(PC
python scripts/pack-game-zip.py打包),详见 GAME-IMPORT.md; - 解释器模式:普通打开即玩(首次自动跑设备内 setup);
- JIT 模式:StikDebug + 配对文件 + LocalDevVPN 前置 → 运行 rw17-jit26.js(目标 Port17)→ detached 后关窗 → 打开 Port17 自动进 JIT。
已知边界
- JIT 需每次会话经 StikDebug 拉起(无授权时自动回退解释器,不崩);
- mod 管线与触控优化(安卓 PortMobile 对齐)= M4,见 PLAN.md。
非官方玩家项目,与 Ludeon Studios 无关;需玩家自备正版游戏(仓库与安装包均不含游戏文件)。
Runtime iOS arm64 (JIT) v11.0.0
dotnet/runtime ��iOS arm64,--dynamiccodecompiled true。缓存逐出后由 ipa job 自动从此恢复;本地 mac 调试也可下载解压到 runtime-out/ 复用。
Runtime iOS arm64 (JIT) 86ee4f57ebc
dotnet/runtime ��iOS arm64,--dynamiccodecompiled true。缓存逐出后由 ipa job 自动从此恢复;本地 mac 调试也可下载解压到 runtime-out/ 复用。