Port to Factorio 2.1 #1

Open
opened 2026-10-25 08:40:59 +01:00 by kyuubi · 2 comments
Owner

Port melon220's Space Platform Logistics System 1.0.1 (MIT) to Factorio 2.1.

Checked against the 2.1.23 runtime API (doc-html/runtime-api.json): every class member and define the mod uses still exists. A headless 2.1.23 run with only factorio_version bumped loads the data stage and creates a map with on_init cleanly.

  • Import original 1.0.1 unmodified, add LICENSE with the original copyright
  • info.json: factorio_version 2.1, base >= 2.1, ? space-age >= 2.1
  • Rename the mod to space-platform-logistics-system-fork so it can't collide with the original, and mark the original incompatible (!)
  • Fix the __space-platform-logistics-system__ graphics paths in data.lua
  • changelog.txt, README with attribution
  • Build zip, headless 2.1.23 load check of the built zip
  • In-game test (kyuubi)
Port melon220's Space Platform Logistics System 1.0.1 (MIT) to Factorio 2.1. Checked against the 2.1.23 runtime API (`doc-html/runtime-api.json`): every class member and define the mod uses still exists. A headless 2.1.23 run with only `factorio_version` bumped loads the data stage and creates a map with `on_init` cleanly. - [x] Import original 1.0.1 unmodified, add LICENSE with the original copyright - [x] `info.json`: `factorio_version` 2.1, `base >= 2.1`, `? space-age >= 2.1` - [x] Rename the mod to `space-platform-logistics-system-fork` so it can't collide with the original, and mark the original incompatible (`!`) - [x] Fix the `__space-platform-logistics-system__` graphics paths in `data.lua` - [x] `changelog.txt`, README with attribution - [x] Build zip, headless 2.1.23 load check of the built zip - [ ] In-game test (kyuubi)
Author
Owner

Built zip (1.1.0, commit on main) loads in a headless 2.1.23 instance: data stage, control script and on_init pass, map saves. Installed into ~/.factorio/mods for the in-game test.

Found while reading the code, both unchanged from 1.0.1:

  • Requests only update on Recheck, Add Link, Delete or the Active checkbox. Nothing runs on a timer.
  • sync_links_from_schedules() is never called, and it reads rec.type == "orbit" and rec.planet, which platform ScheduleRecords do not have (they use station). Route auto-detection from schedules does not work.
Built zip (1.1.0, commit on main) loads in a headless 2.1.23 instance: data stage, control script and on_init pass, map saves. Installed into ~/.factorio/mods for the in-game test. Found while reading the code, both unchanged from 1.0.1: - Requests only update on Recheck, Add Link, Delete or the Active checkbox. Nothing runs on a timer. - sync_links_from_schedules() is never called, and it reads rec.type == "orbit" and rec.planet, which platform ScheduleRecords do not have (they use station). Route auto-detection from schedules does not work.
Author
Owner

kyuubi is trying Construction Alert Requests (2.1) for ghost-driven landing pad requests instead. The fork stays as a plain 2.1 port; the in-game test is no longer planned for now.

kyuubi is trying [Construction Alert Requests](https://mods.factorio.com/mod/construction-alert-requests) (2.1) for ghost-driven landing pad requests instead. The fork stays as a plain 2.1 port; the in-game test is no longer planned for now.
Sign in to join this conversation.
No labels
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
kyuubi/space-platform-logistics-system-fork#1
No description provided.