OBD:Raw and separate file formats: Difference between revisions

m
unified Hatnotes (gets rid of awkward space between lines)
m (wording)
m (unified Hatnotes (gets rid of awkward space between lines))
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{OBD Home}}
{{OBD Home}}
:''You should read the [[dat|Instance file format]] page before this one.''
{{Hatnote|You should read the [[dat|Instance file format]] page before this one.<br>
:You can read about the [[OBD:File types|specific types of resources]] in the binary data files after this page.}}
In Windows retail Oni, raw files (ending in ".raw") contain chunks of data which are indexed by instance files and loaded on demand. In Mac Oni and the Windows demo, separate files (ending in ".sep") contain some of the data formerly contained by raw files (see "Mac vs. Windows" below for details). Thus, data offsets given in instance files' instance descriptors may apply to a raw file in Windows and a separate file on Macs.
In Windows retail Oni, raw files (ending in ".raw") contain chunks of data which are indexed by instance files and loaded on demand. In Mac Oni and the Windows demo, separate files (ending in ".sep") contain some of the data formerly contained by raw files (see "Mac vs. Windows" below for details). Thus, data offsets given in instance files' instance descriptors may apply to a raw file in Windows and a separate file on Macs.


Line 10: Line 11:


==Gaps==
==Gaps==
The original .raw are not packed as a compact sequence of 32-byte-aligned chunks. There are gaps of various sizes in every level, totalling up 25 megabytes for the whole game. Those gaps seem to be the same across all versions, even if other content differs. The content of those gaps is detailed below.
The raw data is not packed as a compact sequence of 32-byte-aligned chunks. There are gaps of various sizes in every level, totalling 25 megabytes for the whole game. Those gaps seem to be the same across all versions, even if other content differs. The content of those gaps is detailed below.


===Skybox mipmaps===
===Skybox mipmaps===
Line 45: Line 46:
|'''.raw'''
|'''.raw'''
|<center>[[AGDB]], [[AKVA]], [[BINA]], [[OSBD]],<br />[[SNDD]], [[SUBT]], [[TRAM]], [[TXMP]]</center>
|<center>[[AGDB]], [[AKVA]], [[BINA]], [[OSBD]],<br />[[SNDD]], [[SUBT]], [[TRAM]], [[TXMP]]</center>
|<center>AKVA, SNDD, SUBT, TRAM,<br />TXMP (wrapper)</center>
|<center>AKVA, SNDD, SUBT, TRAM</center>
|-
|-
|'''.sep'''
|'''.sep'''
|style="background:black;color:white"|
|style="background:black;color:white"|
|<center>BINA, OSBD, TXMP (data)</center>
|<center>BINA, OSBD, TXMP</center>
|}
|}