dfhack-proto-srcs

Crates.iodfhack-proto-srcs
lib.rsdfhack-proto-srcs
version0.9.0
sourcesrc
created_at2022-04-17 21:47:23.011075
updated_at2024-04-21 19:03:08.714338
descriptionDownload and extract DFHack protobuf files from source
homepage
repositoryhttps://github.com/plule/dfhack-remote
max_upload_size
id569599
size56,665
Pierre Lulé (plule)

documentation

README

dfhack_proto_srcs

Crates.io docs.rs Crates.io

This subcomponent of dfhack_remote contains the protobuf files extracted from DFHack.

It is licensed under ZLib, just like DFHack.

Regenerating the protos

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.

Commit count: 127

cargo fmt