Repository navigation
Patch queue: drop the ROMFSARC reader and the touchpad experiment (proposal) - #162
Conversation
|
Direction approved, but the branch conflicts with the cloud-saves and LM3 patches that landed (both touch One ask on the cost note: players with old shard archives get a clear log line and a launcher prompt — please make sure that message names the action ('re-send the game data as romfs.img via the launcher') rather than only describing the state. |
6d9d819 to
bcb8a5e
Compare
Removes 0002-romfsarc (the shard-archive reader in dm/host, its tool, test and doc) and 0013-touchpad-geometry (a header and test with no hook in the host). Upstream's DMROMFS1 image replaced the archives and neither front end produces them any more. main.m (in 0003) no longer accepts romfs.idx as game data: such a folder is reported as having no game data. The log line and the launcher's Game data section say to re-send the game data as romfs.img from the launcher. The Windows build's source list, two stale strings in both front ends, the READMEs, BUILDING and the issue-form placeholders follow.
bcb8a5e to
c6c960a
Compare
|
Rebased onto current main (ab7de98). 0002 and 0013 are dropped from the series, The old-archive message now names the action. The launcher's Game data section shows "The game data here is an old shard archive (romfs.idx), which this version no longer reads. Re-send the game data as romfs.img from the launcher." and the log line says the same. The change is folded into 0003 ( |
|
@LNPANDY merged as you approved: 0002 and 0013 are out of the series, and |
The window header no longer shows the product name or the green icon tile, and the subtitle that still mentioned archive shards (removed in #162) is gone from the Swift string table and the generated Qt table. Only the language button stays in the header.
The window header no longer shows the product name or the green icon tile, and the subtitle that still mentioned archive shards (removed in #162) is gone from the Swift string table and the generated Qt table. Only the language button stays in the header.
The window header no longer shows the product name or the green icon tile, and the subtitle that still mentioned archive shards (removed in #162) is gone from the Swift string table and the generated Qt table. Only the language button stays in the header.
The window header no longer shows the product name or the green icon tile, and the subtitle that still mentioned archive shards (removed in #162) is gone from the Swift string table and the generated Qt table. Only the language button stays in the header.
The window header no longer shows the product name or the green icon tile, and the subtitle that still mentioned archive shards (removed in #162) is gone from the Swift string table and the generated Qt table. Only the language button stays in the header.
The window header no longer shows the product name or the green icon tile, and the subtitle that still mentioned archive shards (removed in #162) is gone from the Swift string table and the generated Qt table. Only the language button stays in the header.
Proposal, 48h. @LNPANDY decides.
What the two patches did
0002-romfsarc: the old ROMFSARC shard-archive reader indm/host(romfs_arc.c/.h,dm/tools/romfs_arc.py,t_romfs_arc.c,docs/ROMFS_ARCHIVE.md, the archive handles and@romfsarcpaths inhle_fs.c, Makefile lines).0013-touchpad-geometry: a fork experiment (touchpad_geometry.h,t_touchpad_geometry.c, a Makefile line) with no player-facing function and no hook in the host.Why they can go
romfs.img,romfs.id) replaced the archives, and neither front end produces archives any more (both moved toromfs_image.py). The reader's only remaining use is archives players made long ago.Cost for players
An iPhone that still holds an old shard archive (
romfs.idx+romfs.NN) needs the game data sent again once, as a newromfs.imgthrough the launcher. The app treats such a folder as "no game data" and now names the action in both places a player or a bug report can see it:Documents/log.txt:boot: <folder> holds an old RomFS shard archive (romfs.idx), which is no longer read. Re-send the game data as romfs.img from the launcherMacs and anyone on
romfs.imgare unaffected.What changed
patches/series, the two patch files removed,dm/fork_patches.txtand the vendored tree regenerated withpatches.py apply.main.m,Launcher.swiftandDmIOS-Bridging-Header.h(folded into 0003):romfs_dir_okdrops theromfs.idxbranch, logs the old-archive case and keeps the message that the launcher's Game data section shows.frontend-qt/.../win/build_app.py,test_win.py):romfs_arc.cremoved from the expected source list (would have broken the Makefile match).romfs_arc.pystrings in both front ends' localizations and a comment, README/README.zh-CN "older archives still load" bullets and BUILDING/BUILDING.zh-CN now say they are not read, ROADMAP and launcher-c docs (in 0015), issue-form placeholders.Not changed
LICENSElines 4-7 andNOTICElines 10-11 still name the removed romfs_arc files in @LNPANDY's copyright line. @LNPANDY should decide whether to reword them.Release-note one-liner
"Old RomFS shard archives (
romfs.idx) are no longer read. If your iPhone still has one, send the game data again once from the launcher."Bump (
patches.py bump --dry --to seedds/main, upstream at e4292dd)Checks run
Rebased onto origin/main (ab7de98), run in a clean worktree:
patches.py check: ok, 19 patches give the committed tree (2245 files)python3 -m unittest discover -s scripts/tests: 39 tests okmake -C dm/host GAME=010015100B514000andmake -C dm/host/tests GAME=010015100B514000 run: both exit 0GAME=010015100B514000 python3 dm/ios/tools/compile_check.py: 184 files, 0 failedswift build -c releaseandswift testinfrontend/: 359 tests, 12 skipped, 0 failurespython3 -m unittest discover -s frontend-qt/tests: 155 tests ok, 11 skippedpython3 dm/tools/tests/test_docs.py: 11 tests ok