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.
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.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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 referenced this issue2026-10-04 19:56:18 +00:00
Resolution
Done. The repo is linked into the game as a mod.
D:\SteamLibrary\steamapps\common\Transport Fever 3. It ships avscode-templatefolder (tlconfig.lua,all_def.tl,.vscode/extensions.json) that points Teal atapi/tealdefandbase/tealdeffor type definitions.E:\Program Files (x86)\Steam\userdata\94065030\3493540\local(Steam root isE:\Program Files (x86)\Steam). It containsstaging_area,mods,saveand the other standard folders.staging_areawas empty....\local\staging_area\haylan_tf3_overtake->G:\_DEV\repos\tpf3-overtake\mod. Verified: a file created inmod\showed up through the junction.mod/is exposed to the game, so.git,docs/andCLAUDE.mdstay out of it.mod/is currently empty;mod.jsongoes at its root.haylan_tf3_overtake. Caveat: the example mod's folder name and itsmodIddiffer, so whether the folder name must equal themodIdis untested. Check when the hello-world mod loads.Remove-Itemon the link, not-Recurse); the repo is untouched.