Oni Central Forum

A forum for the Oni community

You are not logged in.

#1 16/9/08 7:24

love_Oni
Member
From: Da Nang, Vietnam
Registered: 10/5/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 16/9/08 7:51

EdT
Moderator
From: Los Angeles, CA
Registered: 13/1/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 16/9/08 8:14

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

Re: OniSplit tutorial

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

Last edited by love_Oni (16/9/08 8:15)


The Boy Who Knew Too Much tongue

Offline

#4 16/9/08 10:51

EdT
Moderator
From: Los Angeles, CA
Registered: 13/1/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 22/9/08 13:15

TCTF Agent
Member
From: Long Beach, CA
Registered: 22/9/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 22/9/08 13:40

Iritscen
Moderator
From: NC, USA
Registered: 22/10/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).


byproducts are fine, but where's the beef?

Offline

#7 22/9/08 15:34

TCTF Agent
Member
From: Long Beach, CA
Registered: 22/9/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 22/9/08 15:36

EdT
Moderator
From: Los Angeles, CA
Registered: 13/1/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 30/9/08 6:21

love_Oni
Member
From: Da Nang, Vietnam
Registered: 10/5/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 30/9/08 18:00

Gumby
Member
From: Seattle, WA, USA
Registered: 30/8/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 30/9/08 18:06

EdT
Moderator
From: Los Angeles, CA
Registered: 13/1/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 2/10/08 0:21

love_Oni
Member
From: Da Nang, Vietnam
Registered: 10/5/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