Oni Central Forum

A forum for the Oni community

You are not logged in.

#1 03/25/13 01:03

6opoDuJIo
Member
From: Ukraine
Registered: 03/18/13

Binary data?

Is there someone still researching oni binary data?
is that abandonned or structure is completely known?


Implement Oni with Unity3D engine :
https://github.com/6opoDuJIo/Oni-Round2

Offline

#2 03/25/13 05:03

paradox-01
Member
From: Germany
Registered: 01/14/07

Re: Binary data?

Neo is doing this. I think it's pretty much complete though there could be some more notes here and there.

For example:
ONCC
    <DamageFactors>
    <CoverConstants>
    <AutoFreezeConstants>
    <LODConstants>


Do want to help or are you looking for some specific information?

Offline

#3 03/25/13 05:03

6opoDuJIo
Member
From: Ukraine
Registered: 03/18/13

Re: Binary data?

Im looking for general level definition. As i already noticed (personally for me) some files points to other, and there is some hierrarchy. Im looking for hierrarchy definitnion -  which one is root of level definition file?
or even complete .dat and .raw structure definition

Last edited by 6opoDuJIo (03/25/13 05:03)


Implement Oni with Unity3D engine :
https://github.com/6opoDuJIo/Oni-Round2

Offline

#4 03/25/13 06:03

paradox-01
Member
From: Germany
Registered: 01/14/07

Re: Binary data?

Note that binary data docs are about *.raw/dat level archive files.
*.oni files can contain both parts - raw and dat - and have different offsets. oni files also sometimes contain more than one instance, for example ONCC*.oni contains also ONCP.
http://wiki.oni2.net/Dat
http://wiki.oni2.net/Category:Oni_binary_data_docs
http://wiki.oni2.net/Persist.dat (savegame file)

Hierarchies:
http://ssg.oni2.net/oni_fi_l.htm (game level)
http://ssg.oni2.net/oni_fi_c.htm (character)
http://ssg.oni2.net/oni_fi_m.htm (message)
http://ssg.oni2.net/oni_fi_0.htm (level 0 files)

Offline

#5 03/25/13 07:03

6opoDuJIo
Member
From: Ukraine
Registered: 03/18/13

Re: Binary data?

Ouh, ty, i thought info on ssg.oni2.net is incomplete (because of message on index page).
Btw, what is the Level0 and why that one defined separately?

Last edited by 6opoDuJIo (03/25/13 07:03)


Implement Oni with Unity3D engine :
https://github.com/6opoDuJIo/Oni-Round2

Offline

#6 03/25/13 08:03

paradox-01
Member
From: Germany
Registered: 01/14/07

Re: Binary data?

Almost everything is on the wiki except for those hierarchies. We don't need them very often so we kinda forgot to port them.


Whatever a game level gets loaded, level 0 gets also loaded because it contains global data.
Global data is always* or often** needed. For example ONGSgame_settings*, BINAEINOimpact_effects*, BINADBMTTextureMaterials* , consoles (CONS)**, doors (DOOR)** and character files (ONCC, TRBS, TRAC, TRAM)**, etc.

Level 0 could contain textures of other levels, but it doesn't. This make sense memory-wise.
When you play level 1 you don't need the textures of level 2, 3, 4, etc.

Last edited by paradox-01 (03/25/13 08:03)

Offline

Board footer

Powered by FluxBB