Oni Central Forum

A forum for the Oni community

You are not logged in.

#1 25/3/13 1:53

6opoDuJIo
Member
From: Ukraine
Registered: 18/3/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 25/3/13 5:11

paradox-01
Member
From: Germany
Registered: 14/1/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 25/3/13 5:53

6opoDuJIo
Member
From: Ukraine
Registered: 18/3/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 (25/3/13 5:57)


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

Offline

#4 25/3/13 6:33

paradox-01
Member
From: Germany
Registered: 14/1/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 25/3/13 7:17

6opoDuJIo
Member
From: Ukraine
Registered: 18/3/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 (25/3/13 7:46)


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

Offline

#6 25/3/13 8:44

paradox-01
Member
From: Germany
Registered: 14/1/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 (25/3/13 8:52)

Offline

Board footer

Powered by FluxBB