Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 1011 Bytes

File metadata and controls

44 lines (29 loc) · 1011 Bytes

Table Script

This is a command line tool that simply:

  • Reads all .vpx files in a folder (or a single file)
  • Optionally takes in an output folder

It then:

  • Extracts all input table scripts
  • Converts CR/LF to NL on Unix systems
  • Saves the table scripts to the output folder if specified, otherwise outputs to the console.

Usage

Usage is pretty simple:

VisualPinball.TableScript <.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