Skip to content

Update Steam launcher#5784

Merged
ab9rf merged 24 commits intodevelopfrom
resteam
Apr 6, 2026
Merged

Update Steam launcher#5784
ab9rf merged 24 commits intodevelopfrom
resteam

Conversation

@ab9rf
Copy link
Copy Markdown
Member

@ab9rf ab9rf commented Apr 6, 2026

Changes necessary to make DFHack work with changes in Steam client

ab9rf and others added 24 commits March 26, 2026 11:15
removes disparallelism with linux, and makes dealing with cross-folder hooking mechanics easier
1. Adopt changes to dfhooks
2. Install dfhooks_dfhack the `hack` folder, and generate and install an appropriate `dfhooks_dfhack.ini` into the DF folder
3. Adjust RPATH (on Linux) so dfhooks_dfhack.dll can find dfhack.dll
4. Use dfhooks preinit to get the hack base path. Use this path when initializing Core
5. in `getHackPath()`, use the collected hack base path instead of hardcoding `./hack`.
6. Fix at one instance where `hack` was hardcoded outside of `getHackPath` (note: there are others this commit does not fix)
7. Update VersionInfoFactory to use a fs `path` instead of a `string` as its argument
specifically, try in the hack path, in the hack path parent directory, and in the CWD, in that order
Co-Authored-By: Christian Doczkal <20443222+chdoc@users.noreply.github.com>
instead of assuming colocation, this version will (when both DF and DFHack are installed in Steam) automatically inject DFHack into DF

environments where not both apps are installed in Steam are (hopefully) unaffected
on windows, will prompt user
on linux, will advise user on how to manually clean

also removed install mode - can't seem to make work with steam API rn
changed injection/legacy check code to before instead of after wine-specific launch code

also made path detection hopefully more robust (and less wet)
scripts: master
plugins/stonesense: master
depends/dfhooks: main
@ab9rf ab9rf merged commit c152ce6 into develop Apr 6, 2026
26 checks passed
@ab9rf ab9rf deleted the resteam branch April 6, 2026 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants