Oni Central Forum

A forum for the Oni community

You are not logged in.

#1 09/16/08 07:09

love_Oni
Member
From: Da Nang, Vietnam
Registered: 05/10/08

OniSplit tutorial

I don't use the OniSplit very much, so I don't know all the features of it. I think other people can post questions in this topic too smile. This is my question (just a small question):

I used the OniUnPacker to open the level0_Final.dat and modified a little thing in some TRAMs. Now how should I use the OniSplit to export them in .oni files (or .xml files)?


The Boy Who Knew Too Much tongue

Offline

#2 09/16/08 07:09

EdT
Moderator
From: Los Angeles, CA
Registered: 01/13/07
Website

Re: OniSplit tutorial

love_Oni: You will need to first "split" the level0_Final.dat file, the basic command in OniSplit is:
-export <target directory> <source file>

More commands can be found here:
http://wiki.oni2.net/Onisplit

Offline

#3 09/16/08 08:09

love_Oni
Member
From: Da Nang, Vietnam
Registered: 05/10/08

Re: OniSplit tutorial

It takes a quite long time, isn't it? I just want the TRAM files.

Last edited by love_Oni (09/16/08 08:09)


The Boy Who Knew Too Much tongue

Offline

#4 09/16/08 10:09

EdT
Moderator
From: Los Angeles, CA
Registered: 01/13/07
Website

Re: OniSplit tutorial

If you're just spliting the dat file to .oni files, it will take a few minutes, not long.

Offline

#5 09/22/08 13:09

TCTF Agent
Member
From: Long Beach, CA
Registered: 09/22/08

Re: OniSplit tutorial

I asked a question about OniSplit in another thread.
But is OniSplit almost the same as Hex Editor?
I don't have hex editor myself, but I have a file called OniSplit.

Offline

#6 09/22/08 13:09

Iritscen
Moderator
From: NC, USA
Registered: 10/22/07

Re: OniSplit tutorial

OniSplit is the more user-friendly alternative to a hex editor.  It can not only break Oni's binary data files into individual resource files, but it can output a lot of those files in XML format, then after you modify them, take those files back in and turn out a new binary file that Oni can read from.  It's our best modding tool at this point (not to minimize OniUnPacker).


Check out the Anniversary Edition Seven at ae.oni2.net!

Offline

#7 09/22/08 15:09

TCTF Agent
Member
From: Long Beach, CA
Registered: 09/22/08

Re: OniSplit tutorial

Iritscen wrote:

OniSplit is the more user-friendly alternative to a hex editor.  It can not only break Oni's binary data files into individual resource files, but it can output a lot of those files in XML format, then after you modify them, take those files back in and turn out a new binary file that Oni can read from.  It's our best modding tool at this point (not to minimize OniUnPacker).

Oh thanks Iritscen!
Sorry about posting question in other thread.
I was hoping to move that over here.:)

Offline

#8 09/22/08 15:09

EdT
Moderator
From: Los Angeles, CA
Registered: 01/13/07
Website

Re: OniSplit tutorial

TCTF Agent: OniSplit uses terminal commands to perform its work.

Here's an overview of it: http://wiki.oni2.net/Onisplit

Offline

#9 09/30/08 06:09

love_Oni
Member
From: Da Nang, Vietnam
Registered: 05/10/08

Re: OniSplit tutorial

Not a very serious problem but I think OniSplit didn't work very good. When I extracted all the TRAC files in level0_final folder, I typed:

onisplit.exe -extract:xml aa level0_Final\TRAC*.oni

And OniSplit not only extracted all the TRAC files but also extracted some TRAM files:

TRAMCOMGUYact_no2.xml
TRAMCOMGUYrun_kick.xml
TRAMELICOMthrow_fw_k.xml
TRAMMUROrun_slide.xml
TRAMMUTCOMrun_kick.xml
TRAMNINCOMjump_idle.xml
TRAMREDCOMthrow_bk_k.xml
TRAMTANCOMrun_thw_fw_p_tgt.xml
...

That thing I don't like sad.


The Boy Who Knew Too Much tongue

Offline

#10 09/30/08 18:09

Gumby
Member
From: Seattle, WA, USA
Registered: 08/30/07

Re: OniSplit tutorial

Well you can probably delete the TRAM files...I think. big_smile


Iritscen: roll
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours

Offline

#11 09/30/08 18:09

EdT
Moderator
From: Los Angeles, CA
Registered: 01/13/07
Website

Re: OniSplit tutorial

Hmmm... I just tried it and I got the 22 TRAC files, no TRAM files for me.

You do have the latest version: http://edt.oni2.net/OS/OniSplit_v0.9.28.zip

Offline

#12 10/02/08 00:10

love_Oni
Member
From: Da Nang, Vietnam
Registered: 05/10/08

Re: OniSplit tutorial

I tried the latest version. It still extracted some TRAM files ???

Never mind, this is not very important.


The Boy Who Knew Too Much tongue

Offline

Board footer

Powered by FluxBB