Skip to content
Entropy42 edited this page Apr 29, 2013 · 4 revisions

o8build is a tool included in OCTGN's install that allows game developers to work with OCTGN's file structures.

o8build.exe is located in OCTGN's install directory (typically documents/octgn/OCTGN/o8build.exe). It is a command line application, and as such does nothing when you try opening the EXE.

o8build accepts the following parameters:

  • -d={target-path} -- builds a .o8g and a .nupkg file from the files in the target path
  • -c -d={target-path} -- converts all .o8s files at the target path, generating a folder for all the set xmls (to be included in the game def), and extracting all renamed images to another folder. Currently, this incorrectly places a Markers folder inside the Set Images, rather than placing Markers with the game definitions where they belong.
  • -v -d={target-path} -- verifies the files in the target path as a valid game definition structure, but does not build it.
  • -i -- Builds and copies your game package into the local feed of OCTGN. This command must be executed from within the folder that contains your definition.xml.

O8BUILD COMMAND LINE FOR DUMMIES

If you're not comfortable with using the command line, here's a simple method to avoid using it:

  • find the target path of the stuff you want to build a game definition from, and copy it to your clipboard
  • find the o8build.exe file (see above)
  • create a shortcut of that file
  • right-click the shortcut, choose 'properties'
  • in the "target" box, add the parameters you want to use. For example, if you want to run the convert, add -c -d=c:\users\myname\gamefolder\ (or wherever you put your game files)
  • move the shortcut to wherever you feel easiest to access
  • if you want to run the -i parameter with this method, you can set the "Start in" field to wherever your game files reside.