Jump to content

OBD:Raw and separate file formats: Difference between revisions

m
OniX-affected article; tweaked section naming
m (unified Hatnotes (gets rid of awkward space between lines))
m (OniX-affected article; tweaked section naming)
Line 1: Line 1:
{{UpdatedForOniX|1.0.0}}
{{OBD Home}}
{{OBD Home}}
{{Hatnote|You should read the [[dat|Instance file format]] page before this one.<br>
{{Hatnote|You should read the [[dat|Instance file format]] page before this one.<br>
Line 35: Line 36:
Textures can be stored with compression, and the amount of textures which are compressed in a given version ranges from "most" to "almost none". This leads to dramatic variations in size for the .raw (over 10% of the total amount of game content).
Textures can be stored with compression, and the amount of textures which are compressed in a given version ranges from "most" to "almost none". This leads to dramatic variations in size for the .raw (over 10% of the total amount of game content).


===Mac vs. Windows===
===Raw/separate storage===
====Storage====
The following table illustrates how some data was moved from raw files to separate files after the Windows version was finalized and before the Mac version was finalized. This version of the engine was then used for the Windows demo and Mac demo.
The following table illustrates how some data was moved from raw files to separate files after the Windows version was finalized and before the Mac version was finalized. See [[History of Mac Oni]] for the reason why the Windows demo uses separate files like Mac Oni does.


{|class="wikitable" style="margin-left:auto; margin-right:auto;"
{|class="wikitable" style="margin-left:auto; margin-right:auto;"
Line 55: Line 55:
AGDB resources are omitted from Macs and the Windows demo because this data is unused by Oni.
AGDB resources are omitted from Macs and the Windows demo because this data is unused by Oni.


====Sounds====
===Sound format===
The SNDD resources in the instance files (which are just wrappers for the actual sound data in the raw files) are 32 bytes long on the Mac, and 96 bytes long in Windows. This is because of the difference in the format of the core data: Macs store sound data in the AIFF format, and Windows uses the WAV format.
The SNDD resources in the instance files (which are just wrappers for the actual sound data in the raw files) are 32 bytes long on the Mac, and 96 bytes long in Windows. This is because of the difference in the format of the core data: Macs store sound data in the AIFF format, and Windows uses the WAV format.


{{OBD}}
{{OBD}}