Extract Oni Data
The following binary data can be extracted from Oni.
- AKEV - A level's 3D model as Collada (DAE) file with textures.
- M3GM - Other 3D models as Wavefront (OBJ and MTL) file with textures.
- ONCC - 3D Character model as Collada (DAE) file with textures.
- ONWC - A weapon's 3D model as Wavefront (OBJ and MTL) file with textures.
- SNDD - The sound files as AIF format.
- SUBT - Subtitles as text files.
- TRBS - 3D Character model as Collada (DAE)
- TXMP - Textures as Targa (TGA) image files.
- levelx.dat - Level and level plugin can be split into individual .oni files.
Options
- None - When none is selected the data files listed above will be exported as stated.
- ONCC as OBJ - You can choose to export the ONCC as a Wavefront (OBJ) file.
- ONCC for Blender 3D - If you are using Blender 3D program, select this option. Blender has issues importing the ONCC if it contains animation states.
- ONCC in idle pose - Normally, when the ONCC is extracted as DAE, it is in the default animation pose where all the body parts are aligned to their parents. (The body parts are overlapped) However, with this option, the character will be standing in its idle pose.
- PC SNDD file as WAV. Since Onisplit does not convert sound files, this option will extract any SNDD files from the PC version to be extracted as a WAV file. Otherwise, if you attempt to extract it as an AIF file (Default setting) you will get a sound file with noise.
- Extract as .xml - This exports the data as .xml text files. This makes it easy to modify the data without using a hex editor. The current list includes BINA, CONS, DOOR, DPge, FILM, HPge, IGHH, IPge, M3GM, OBAN, ONCC, ONCV, ONLD, ONLV, ONGS, ONSK, ONVL, ONWC, OPge, OSBD, PSpc, PSpL, PSUI, TRAC, TRAM, TRIG, TRGE, TRMA, TRSC, TXMB, TXMP, WMCL, WMDD, WMM_, WPge.
Notes
- It is recommended to use the Extract as .xml option expecially for TXMP or texture files. This will produce a TGA image file and an .xml file with all the properties of the image.
- The "Extract .oni file(s)" button allows either single or multiple selection.
- The location of the exported file(s) will be stated in the Message Center. Pressing the "Go" will open the folder in the Finder
Convert files to Oni format
The following binary data can be converted to .oni files.
- AKEV - 3D Model of a level in the Collada format can be converted for use in Oni. However, currently, pathfinding cannot be converted at this time, so you will be able to walk through a level, but, the AI's will not know how to move through the level.
- SNDD - from either AIF or WAV files: AIFC files (.aif/.aifc/.afc, mono/stereo 22.05KHz, compressed(ima4)) produce SNDD files that are compatible with Oni Mac. WAV files (.wav, mono/stereo, 22.05KHz/44.1KHz, uncompressed(PCM)/compressed(MS-ADPCM)) produce SNDD files that are compatible with Oni PC retail.
- SUBT - From text files.
- TRBS - From Collada (DAE) files. (For more info see: Importing Character Models)
- XML - A number of Oni data files can be converted from XML files. The current list includes BINA, CONS, DOOR, DPge, FILM, HPge, IGHH, IPge, M3GM, OBAN, ONCC, ONCV, ONLD, ONLV, ONGS, ONSK, ONVL, ONWC, OPge, OSBD, PSpc, PSpL, PSUI, TRAC, TRAM, TRIG, TRGE, TRMA, TRSC, TXMB, TXMP, WMCL, WMDD, WMM_, WPge.
Conversion process
- Select single or multiple files which will converted to .oni format.
- Select the destination folder where the files will be installed.
- If you are converting TXMP files using .xml, make sure that both files are in the same directory and that you select the XML file to convert, not the actual TGA file.
- The "Go" button next to the message "File(s) are in your destination folder folder" will open the folder in the Finder.
- After the files have been converted, is time to make a package so the files can be viewed in the game.
Introduction | Create | TXMP | Packages | Special