OniSplit: Difference between revisions

754 bytes added ,  10 November 2008
updating for 0.9.29; still need to be get specific about what XML files need to be in folder with DAE we are importing; also encouraging use of Depot for files
(→‎Download links: update link to 0.9.28)
(updating for 0.9.29; still need to be get specific about what XML files need to be in folder with DAE we are importing; also encouraging use of Depot for files)
Line 4: Line 4:
==Getting it==
==Getting it==
===Download links===
===Download links===
* Latest version of OniSplit: [http://edt.oni2.net/OS/OniSplit_v0.9.28.zip v0.9.28]
* Latest version of OniSplit: [http://mods.oni2.net/sites/default/files/OniSplit.exe_.zip v0.9.29]


===Requirements===
===Requirements===
Line 75: Line 75:
:TRBS and ONCC support additional -noanim and -anim options for -extract:dae, see [[AE:Importing character models|HERE]] for details.
:TRBS and ONCC support additional -noanim and -anim options for -extract:dae, see [[AE:Importing character models|HERE]] for details.
::Imported geometry must only contain triangles. See [[AE:Importing character models|HERE]] for additional options (e.g., cel-shading)
::Imported geometry must only contain triangles. See [[AE:Importing character models|HERE]] for additional options (e.g., cel-shading)
====Levels====
OniSplit can convert AKEV files (level geometry) and the associated file types to and from DAE format:
<tt>-extract:dae <target directory> <name of AKEV.oni source file></tt>  Extracts all AKEV and related instances to Collada files
The next two steps are used on a folder in which you have placed the DAE and XML-formatted instances of the required files, as well as textures in TGA format.
<tt>-create <target directory> -genmipmaps -format:dxt1 <source directory/>*.xml</tt>  Converts all AKEV and related instances to .oni files
<tt>-import:nosep <source directory> <target file name>.dat</tt>  The standard command for creating .dat/.raw files from .oni files (remember to use the import:sep option on Mac!)
=====Misc=====
=====Misc=====
Some more import/export functions, e.g., to rip sounds or rip/replace subtitles.
Some more import/export functions, e.g., to rip sounds or rip/replace subtitles.
Line 96: Line 107:
|}
|}


BIG NOTE OF WARNING: some of the above instance types (most importantly ONWC) contain geometry data (M3GM) embedded in them. The geometry can rountrip through xml but versions of OniSplit up to and including 0.9.26 produce an invalid .oni file that may cause Oni to crash.
BIG NOTE OF WARNING: some of the above instance types (most importantly ONWC) contain geometry data (M3GM) embedded in them. The geometry can round-trip through xml but versions of OniSplit up to and including 0.9.26 produce an invalid .oni file that may cause Oni to crash.