[PR #7039] [MERGED] Port ledger: sixteen title screen and world-open rows are ported, not missing #7287

Closed
opened 2026-11-03 06:37:11 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/7039
Author: @MSedgeMC
Created: 11/2/2026
Status: ✅ Merged
Merged: 11/2/2026
Merged by: @ludovic111

Base: main ← Head: fix/port-map-client2-019


📝 Commits (1)

  • 0d5f7f2 Port ledger: sixteen title and world-open rows are ported, not missing

📊 Changes

1 file changed (+16 additions, -16 deletions)

View changed files

📝 tools/port_map/client2-019.tsv (+16 -16)

📄 Description

Vanilla asks a world's questions before opening it (WorldOpenFlows.openWorldCheckVersionCompatibility, openWorldCheckWorldStemCompatibility, openWorldCheckDiskSpace, createBackupAndOpenWorld), shows the experimental-features warning and the experiments screen when the chosen data packs need them (ConfirmExperimentalFeaturesScreen, ExperimentsScreen), and runs OptimizeWorldScreen over a world's dimensions.

What was wrong. tools/port_map/client2-019.tsv listed all sixteen as missing, several with player-facing notes that would send the next reader building screens that already exist ("no such screen in Horizon", "no optimizer exists", "no low-disk-space warning before loading a world"). All sixteen are ported:

row now points at
ConfirmExperimentalFeaturesScreen.init, .DetailsScreen.init title/confirm_experiments.rs::ConfirmExperimentsScreen::new (the flagged packs and their flags)
ConfirmExperimentalFeaturesScreen.DetailsScreen.PackListEntry.extractContent ConfirmExperimentsScreen::draw
CreateWorldScreen.openExperimentsScreen title.rs::Title::click_action (opens experiments::ExperimentsScreen with the selected packs' flags)
ExperimentsScreen.init, .getHumanReadableTitle title/experiments.rs::ExperimentsScreen::new
ExperimentsScreen.onDone ExperimentsScreen::click (Outcome::Done hands the flags back to the create screen)
OptimizeWorldScreen.create Title::begin_optimize
OptimizeWorldScreen.init Title::end_optimize (Cancel closes the upgrader; poll_optimize finishes the run)
OptimizeWorldScreen.extractRenderState Title::draw_optimize
WorldCreationUiState.WorldTypeEntry.isAmplified title/create_world.rs::buttons (the amplified preset's tooltip), inline
WorldOpenFlows.askForBackup Title::play ("BackupBeforeUpgrade")
WorldOpenFlows.openWorldCheckVersionCompatibility Title::play (the incompatible AlertScreen)
WorldOpenFlows.createBackupAndOpenWorld Title::start_backup (the world opens when the backup finishes)
WorldOpenFlows.openWorldCheckWorldStemCompatibility Title::after_prompt (the old-customized / experimental question)
WorldOpenFlows.openWorldCheckDiskSpace Title::after_prompt (Mode::LowDiskSpace)

The three bundled-resource-pack rows (openWorldLoadBundledResourcePack, loadBundledResourcePack, promptBundledPackLoadFailure) stay missing: nothing reads a world's own resources.zip.

Proven:

  • python3 tools/port_ledger.py build --jar 26.3-client.jar --jar 26.3-server.jar then python3 tools/port_ledger.py map-check tools/port_map/client2-019.tsv reports nothing for any of the sixteen rows. The check resolves each where to a file and a function in the tree and each row's class and method in the vanilla ledger, so both halves are covered by that one command. The only lines it still reports are six rows this PR does not touch (CreateWorldScreen.getOrCreateTempDataPackDir, .openDataPackSelectionScreen, .tryApplyNewDataPacks, .removeTempDataPackDir, .createTempDataPackDirFromExistingWorld, .getDataPackSelectionSettings), whose where holds a line number or a prose name instead of file::fn; they were like that before this change and are left for a separate pass.
  • a script over the sixteen corrected rows resolved each file::owner::fn against the working tree: 16 of 16 found.

Not proven. No cargo test run: the build VM was suspended (machine_cooldown) for this stretch, so cargo test -q -p horizon-client-lib --lib title:: and --lib experiments were not run here; CI's suite covers them. I did not run the game.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/7039 **Author:** [@MSedgeMC](https://github.com/MSedgeMC) **Created:** 11/2/2026 **Status:** ✅ Merged **Merged:** 11/2/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/port-map-client2-019` --- ### 📝 Commits (1) - [`0d5f7f2`](https://github.com/horizon-rust/horizon/commit/0d5f7f228d4e2fd66e89f97c16b4920d83fa066b) Port ledger: sixteen title and world-open rows are ported, not missing ### 📊 Changes **1 file changed** (+16 additions, -16 deletions) <details> <summary>View changed files</summary> 📝 `tools/port_map/client2-019.tsv` (+16 -16) </details> ### 📄 Description Vanilla asks a world's questions before opening it (`WorldOpenFlows.openWorldCheckVersionCompatibility`, `openWorldCheckWorldStemCompatibility`, `openWorldCheckDiskSpace`, `createBackupAndOpenWorld`), shows the experimental-features warning and the experiments screen when the chosen data packs need them (`ConfirmExperimentalFeaturesScreen`, `ExperimentsScreen`), and runs `OptimizeWorldScreen` over a world's dimensions. **What was wrong.** `tools/port_map/client2-019.tsv` listed all sixteen as `missing`, several with player-facing notes that would send the next reader building screens that already exist ("no such screen in Horizon", "no optimizer exists", "no low-disk-space warning before loading a world"). All sixteen are ported: | row | now points at | | --- | --- | | `ConfirmExperimentalFeaturesScreen.init`, `.DetailsScreen.init` | `title/confirm_experiments.rs::ConfirmExperimentsScreen::new` (the flagged packs and their flags) | | `ConfirmExperimentalFeaturesScreen.DetailsScreen.PackListEntry.extractContent` | `ConfirmExperimentsScreen::draw` | | `CreateWorldScreen.openExperimentsScreen` | `title.rs::Title::click_action` (opens `experiments::ExperimentsScreen` with the selected packs' flags) | | `ExperimentsScreen.init`, `.getHumanReadableTitle` | `title/experiments.rs::ExperimentsScreen::new` | | `ExperimentsScreen.onDone` | `ExperimentsScreen::click` (`Outcome::Done` hands the flags back to the create screen) | | `OptimizeWorldScreen.create` | `Title::begin_optimize` | | `OptimizeWorldScreen.init` | `Title::end_optimize` (Cancel closes the upgrader; `poll_optimize` finishes the run) | | `OptimizeWorldScreen.extractRenderState` | `Title::draw_optimize` | | `WorldCreationUiState.WorldTypeEntry.isAmplified` | `title/create_world.rs::buttons` (the amplified preset's tooltip), inline | | `WorldOpenFlows.askForBackup` | `Title::play` ("`BackupBeforeUpgrade`") | | `WorldOpenFlows.openWorldCheckVersionCompatibility` | `Title::play` (the incompatible AlertScreen) | | `WorldOpenFlows.createBackupAndOpenWorld` | `Title::start_backup` (the world opens when the backup finishes) | | `WorldOpenFlows.openWorldCheckWorldStemCompatibility` | `Title::after_prompt` (the old-customized / experimental question) | | `WorldOpenFlows.openWorldCheckDiskSpace` | `Title::after_prompt` (`Mode::LowDiskSpace`) | The three bundled-resource-pack rows (`openWorldLoadBundledResourcePack`, `loadBundledResourcePack`, `promptBundledPackLoadFailure`) stay `missing`: nothing reads a world's own `resources.zip`. **Proven**: - `python3 tools/port_ledger.py build --jar 26.3-client.jar --jar 26.3-server.jar` then `python3 tools/port_ledger.py map-check tools/port_map/client2-019.tsv` reports nothing for any of the sixteen rows. The check resolves each `where` to a file and a function in the tree and each row's class and method in the vanilla ledger, so both halves are covered by that one command. The only lines it still reports are six rows this PR does not touch (`CreateWorldScreen.getOrCreateTempDataPackDir`, `.openDataPackSelectionScreen`, `.tryApplyNewDataPacks`, `.removeTempDataPackDir`, `.createTempDataPackDirFromExistingWorld`, `.getDataPackSelectionSettings`), whose `where` holds a line number or a prose name instead of `file::fn`; they were like that before this change and are left for a separate pass. - a script over the sixteen corrected rows resolved each `file::owner::fn` against the working tree: 16 of 16 found. **Not proven.** No `cargo test` run: the build VM was suspended (`machine_cooldown`) for this stretch, so `cargo test -q -p horizon-client-lib --lib title::` and `--lib experiments` were not run here; CI's suite covers them. I did not run the game. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:37:11 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#7287
No description provided.