Locate the TpF3 install and junction the repo as a mod #4

Closed
opened 2026-10-04 19:53:48 +00:00 by haylan · 1 comment
Owner

Part of #1
Blocked by: #3

Question

Find the TpF3 install path and user mods directory on this machine, and junction (or otherwise link) this repo into it so the game sees it as a mod. Record the paths and any caveats in the answer.

Part of #1 Blocked by: #3 ## Question Find the TpF3 install path and user mods directory on this machine, and junction (or otherwise link) this repo into it so the game sees it as a mod. Record the paths and any caveats in the answer.
haylan added the wayfinder:task label 2026-10-04 19:53:48 +00:00
haylan self-assigned this 2026-10-04 20:24:02 +00:00
Author
Owner

Resolution

Done. The repo is linked into the game as a mod.

  • Game install: D:\SteamLibrary\steamapps\common\Transport Fever 3. It ships a vscode-template folder (tlconfig.lua, all_def.tl, .vscode/extensions.json) that points Teal at api/tealdef and base/tealdef for type definitions.
  • User data: E:\Program Files (x86)\Steam\userdata\94065030\3493540\local (Steam root is E:\Program Files (x86)\Steam). It contains staging_area, mods, save and the other standard folders. staging_area was empty.
  • Junction: ...\local\staging_area\haylan_tf3_overtake -> G:\_DEV\repos\tpf3-overtake\mod. Verified: a file created in mod\ showed up through the junction.
  • Layout decision: the repo contains the mod. Only mod/ is exposed to the game, so .git, docs/ and CLAUDE.md stay out of it. mod/ is currently empty; mod.json goes at its root.
  • Mod ID / folder name: haylan_tf3_overtake. Caveat: the example mod's folder name and its modId differ, so whether the folder name must equal the modId is untested. Check when the hello-world mod loads.
  • Undo: remove the junction only (Remove-Item on the link, not -Recurse); the repo is untouched.
## Resolution Done. The repo is linked into the game as a mod. - **Game install:** `D:\SteamLibrary\steamapps\common\Transport Fever 3`. It ships a `vscode-template` folder (`tlconfig.lua`, `all_def.tl`, `.vscode/extensions.json`) that points Teal at `api/tealdef` and `base/tealdef` for type definitions. - **User data:** `E:\Program Files (x86)\Steam\userdata\94065030\3493540\local` (Steam root is `E:\Program Files (x86)\Steam`). It contains `staging_area`, `mods`, `save` and the other standard folders. `staging_area` was empty. - **Junction:** `...\local\staging_area\haylan_tf3_overtake` -> `G:\_DEV\repos\tpf3-overtake\mod`. Verified: a file created in `mod\` showed up through the junction. - **Layout decision:** the repo *contains* the mod. Only `mod/` is exposed to the game, so `.git`, `docs/` and `CLAUDE.md` stay out of it. `mod/` is currently empty; `mod.json` goes at its root. - **Mod ID / folder name:** `haylan_tf3_overtake`. Caveat: the example mod's folder name and its `modId` differ, so whether the folder name must equal the `modId` is untested. Check when the hello-world mod loads. - **Undo:** remove the junction only (`Remove-Item` on the link, not `-Recurse`); the repo is untouched.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: haylan/tpf3-overtake#4