Text Editing of Brush World files - voxraygames/worldbuilding GitHub Wiki
(example for posterity)
cd tools
./flatc.exe --json --raw-binary -o ../brush/landscape/layered-brushes/7x7 ../src/world.fbs -- ../brush/landscape/layered-brushes/7x7/top_grass_01.mvfb
That generates a .json file with the same name. Inside that file, you'd replace all occurrences of a file you want to replace. Then, to convert it back to a brush file.
./flatc.exe --binary -o ../brush/landscape/layered-brushes/7x7 ../src/world.fbs ../brush/landscape/layered-brushes/7x7/top_grass_01.json
This generates a .bin
file, which you'd rename to .mvfb