This is a command line tool that simply:
- Reads a
.matfile, which is a collection of materials exported from Visual Pinball - Reads all
.vpxfiles in a folder (or a single file) - Takes in an output folder
It then:
- Applies all material properties to the materials of all input tables with the same name
- Saves the update table to the output folder
Usage is pretty simple:
VisualPinball.MaterialPatcher.exe <path to .mat> <.vpx or input folder> <output folder>To get a single binary on Windows:
dotnet publish -r win-x64 -c Release -p:PublishSingleFile=true -p:PublishTrimmed=truedotnet publish -r win-x86 -c Release -p:PublishSingleFile=true -p:PublishTrimmed=trueTo get a single binary on MacOS:
dotnet publish -r osx-x64 -c Release -p:PublishSingleFile=true -p:PublishTrimmed=trueTo get a single binary on Linux:
dotnet publish -r linux-x64 -c Release -p:PublishSingleFile=true -p:PublishTrimmed=true