1.2 KiB
1.2 KiB
Tooling
The Fedora toolbox container is expected to be named 2077.
Installed inside that toolbox:
- .NET SDK 8, 9, and 10
- GCC/G++, CMake, make
jq,ripgrep- WolvenKit CLI NuGet tool
wolvenkit.cli8.18.1
The WolvenKit command is:
toolbox run --container 2077 bash -lc '$HOME/.dotnet/tools/cp77tools --help'
Discover Traffic Resources
tools/discover_traffic_resources.sh \
"/path/to/Cyberpunk 2077/archive/pc/content" \
traffic-resources.txt
This lists archive paths matching traffic/persistent/lane naming. The regex is intentionally broad because CDPR naming can vary between base game and DLC archives.
Build Patch Archive
tools/build_lane_weight_archive.sh \
"/path/to/Cyberpunk 2077" \
"/path/to/Cyberpunk 2077/archive/pc/content" \
work/lane-weight-build
The script performs:
cp77tools extractfor traffic lane resourcescp77tools convert serializeto JSONtools/patch_traffic_lanes.pycp77tools convert deserializeback to CR2Wcp77tools packinto an archive
Copy the resulting archive from work/lane-weight-build/05_packed into
Cyberpunk 2077/archive/pc/mod for manual testing.