| Crates.io | dfhack-proto-srcs |
| lib.rs | dfhack-proto-srcs |
| version | 0.10.0 |
| created_at | 2022-04-17 21:47:23.011075+00 |
| updated_at | 2025-03-21 21:42:10.973574+00 |
| description | Download and extract DFHack protobuf files from source |
| homepage | |
| repository | https://github.com/plule/dfhack-remote |
| max_upload_size | |
| id | 569599 |
| size | 109,376 |
This subcomponent of dfhack_remote contains the protobuf files extracted from DFHack.
It is licensed under ZLib, just like DFHack.
To regenerate the protos in the source directory, run cargo build with the DFHACK_DOWNLOAD set to 1.
To target a different DFHACK version, set the DFHACK_ZIP environment variable to an url.
For example https://github.com/DFHack/dfhack/archive/refs/heads/develop.zip.
Then in RemoteFortressReader.proto, change the type of
MaterialDefinition::name and WorldMap::name to bytes, it is currently encoded in
CP437.