19,584
edits
m (improved wording on command line apps) |
|||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{update|This article contains links to the now defunct Oni Central Forum. Sections: Commands -> Levels}} | |||
{{TOCfloat|side=right}} | {{TOCfloat|side=right}} | ||
{{Hatnote|Before reading this page, it's a good idea to be familiar with basic Oni [[game data terminology]].}} | {{Hatnote|Before reading this page, it's a good idea to be familiar with basic Oni [[game data terminology]].}} | ||
Line 7: | Line 8: | ||
==Getting it== | ==Getting it== | ||
===Download links=== | ===Download links=== | ||
* Latest release of OniSplit: [http://mods.oni2.net/node/38 v0.9.99.2] ([ | * Latest release of OniSplit: [http://mods.oni2.net/node/38 v0.9.99.2] ([https://websvn.illy.bz/browse/Oni2/OniSplit/ source code]) | ||
* The current GUI for OniSplit is [[Vago (tool)|Vago]]. '''You should try the GUI to see if it does what you need before working with OniSplit on the command line.''' | * The current GUI for OniSplit is [[Vago (tool)|Vago]]. '''You should try the GUI to see if it does what you need before working with OniSplit on the command line.''' | ||
Line 34: | Line 35: | ||
In Windows, there are several options through which you can use OniSplit - out of which it is recommended to get Vago and CMDer: | In Windows, there are several options through which you can use OniSplit - out of which it is recommended to get Vago and CMDer: | ||
* [[Vago (tool)|Vago]] is a GUI for OniSplit which allows you to handle all general conversions, save your sessions as project files, input manual commands if needed, and more. The two downsides of it is that it doesn't support Blender yet, forcing the users input commands manually, which in turn are not stored upon ending the session. | * [[Vago (tool)|Vago]] is a GUI for OniSplit which allows you to handle all general conversions, save your sessions as project files, input manual commands if needed, and more. The two downsides of it is that it doesn't support Blender yet, forcing the users input commands manually, which in turn are not stored upon ending the session. | ||
* [https://cmder.app/ CMDer] is an excellent alternative to cmd.exe. It | * Command Prompt (cmd.exe). Windows' default command line interpreter; it's a very simple application that does not preserve a history of your commands from session to session. | ||
* [https://cmder.app/ CMDer] is an excellent alternative to cmd.exe. It adds a context menu option to open the command line with the current directory set to the folder you right-click in, and it also stores your recently used commands after ending the session. | |||
On Macs, the command line is accessed through /Applications/Utilities/Terminal.app (press Command-Space and type "terminal" to get there faster). | |||
On Macs, the command line is | |||
===OniSplit syntax=== | ===OniSplit syntax=== | ||
Line 101: | Line 101: | ||
! style="width:430px"| | ! style="width:430px"| | ||
|- | |- | ||
|<code>-list <file name></code>||Lists the named resources contained in a .dat (see [[OBD: | |<code>-list <file name></code>||Lists the named resources contained in a .dat (see [[OBD:File types/Naming|HERE]] for info on unnamed resources) | ||
|- | |- | ||
|<code>-export <destination directory> <dat file></code>||Breaks .dat file into .oni files | |<code>-export <destination directory> <dat file></code>||Breaks .dat file into .oni files | ||
Line 168: | Line 168: | ||
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. See [http://oni.bungie.org/forum/viewtopic.php?id=1515 HERE] for details. | 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. See [https://web.archive.org/web/20201127180431/http://oni.bungie.org/forum/viewtopic.php?id=1515 HERE] for details. | ||
{| | {| | ||
|- valign="top" | |- valign="top" |