Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Material Patcher

This is a command line tool that simply:

  • Reads a .mat file, which is a collection of materials exported from Visual Pinball
  • Reads all .vpx files 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

Usage is pretty simple:

VisualPinball.MaterialPatcher.exe <path to .mat> <.vpx or input folder> <output folder>

Compilation

To get a single binary on Windows:

dotnet publish -r win-x64 -c Release -p:PublishSingleFile=true -p:PublishTrimmed=true
dotnet publish -r win-x86 -c Release -p:PublishSingleFile=true -p:PublishTrimmed=true

To get a single binary on MacOS:

dotnet publish -r osx-x64 -c Release -p:PublishSingleFile=true -p:PublishTrimmed=true

To get a single binary on Linux:

dotnet publish -r linux-x64 -c Release -p:PublishSingleFile=true -p:PublishTrimmed=true