New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DFHack init file locations are changing #181
Comments
I linked to this issue from all the pack maintainers' threads:
Which changes need to be made in LNP and which should be made by the pack maintainers? |
What you mentioned would be done here, but it's up to the pack maintainers to bring in the new versions, of course. If they customize PyLNP.json, they have to make sure to carry their things over. Rather than explicitly reference dfhack-config in those places, though, I think it'd be better to detect whether we need to use the dfhack-config folder - people might be playing older versions and I don't want to break compatibility if it's avoidable. This is easily done, since we can just register another token like the current <df>; I just need to know how I'd know. Is there some file or folder I can rely on the existence of in builds that will use that folder for these files? I'm afraid I don't use DFHack myself, so I'm not too sure of what a normal folder would look like... |
if |
actually, scratch that. |
That works for me. I will try to get to it this weekend, but if you want to contribute a pull request before then, feel free. |
Thanks! This weekend is fine. DFHack still has tasks we need to complete before we can spin a release. I just wanted to give you (and the pack maintainers) a good amount of lead time. |
For the record, this isn't in a build yet, but that should happen within a day or two. |
Thank you very much! I'll work with the pack maintainers to update (if they haven't already). |
I wanted to give you a heads up that in order to support DFHack's work on usability and in-game configuration, the dfhack init files (
dfhack*.init
,onLoad*.init
,onMapLoad*.init
, and the others) will be moving from the DF root directory todfhack-config/init/
.the
dfhack.history
file (along with all other history files) will also be moving todfhack-config/
For the LNP, I think this means the following changes:
<df>/dfhack.history
inPyLNP.json
will need to change to<df>/dfhack-config/dfhack.history
A new build of DFHack that you can use to test with is available from https://buildmaster.lubar.me/api/ci-badges/link?page=build&key=badges&$ApplicationId=3&$BinariesAvailable=true
The text was updated successfully, but these errors were encountered: