godot-cpp (mcpp resource mirror)
Immutable build inputs for the compat.godot-cpp
package. This repository holds no source of its own — releases here are archives
of upstream godotengine/godot-cpp.
Why a repack
godot-cpp is only half a source tree. The other half — ~1000 GDExtension engine
classes plus every builtin Variant type (gen/include/, gen/src/) — is
produced by upstream's own binding_generator.py from
gdextension/extension_api.json, and no upstream tag archive or release carries
it. Generating it on the consumer side would make Python a hard dependency of
every build on every platform.
So the generator runs once, offline, and the result is published here.
Contents of each release asset
godot-cpp-<version>.tar.gz is exactly:
- the upstream tag archive, byte-for-byte (the packer diffs the two trees and refuses to publish if any upstream file differs), plus
gen/, emitted by upstream's unmodifiedbinding_generator.pyin its default configuration: 64-bit,precision=single,template_get_nodeon.
Repacking is deterministic (sorted entries, fixed mtime, gzip -n), so anyone
can rebuild the asset and compare sha256.
| version | upstream tag | upstream archive sha256 | asset sha256 |
|---|---|---|---|
| 4.5.0 | godot-4.5-stable | ac78539c0042554c494ea419549d2de88758d448721aeb0e5d41129aa87e339c | b0c36e77f02c4181352cdd7547b209b93a833be1ad6197f8c650d92987221a00 |
Reproduce
# from a mcpp-index checkout
tools/godot-cpp/repack.sh godot-4.5-stable 4.5.0 /tmp/out
sha256sum /tmp/out/godot-cpp-4.5.0.tar.gz
The CN mirror of the same bytes lives at
https://gitcode.com/mcpp-res/godot-cpp/releases.
Upstream godot-cpp is MIT licensed; see LICENSE.md inside the archive.