18,700
edits
(→File formats: rewriting ssg's old write-up, removing technical details that are covered in more appropriate places) |
m (→File formats: wording) |
||
Line 57: | Line 57: | ||
===File formats=== | ===File formats=== | ||
The most visible difference between the game data in Mac and Windows Oni is the presence of .sep files on the Mac. This and other changes were made either for general optimization or to meet some limitation on the Mac side. Due to the fact that [[History of Mac Oni|Mac Oni was finished after Windows Oni]] and the demos were finished after the code was finalized for both platforms, the changes for Mac Oni carried over to the Windows demo. To illustrate, here are the kinds of level data files that you'll find in the [[GameDataFolder]]: | The most visible difference between the game data in Mac and Windows Oni is the presence of .sep files on the Mac. This and other changes were made either for general optimization or to meet some limitation on the Mac side. Due to the fact that [[History of Mac Oni|Mac Oni was finished after Windows Oni]] and the demos were finished after the code was finalized for both platforms, the changes for Mac Oni carried over to the Windows demo. To learn more about these files, read [[OBD:Instance file format]]. But to illustrate, here are the kinds of level data files that you'll find in the [[GameDataFolder]]: | ||
{|class="wikitable" style="margin-left:auto; margin-right:auto;" | {|class="wikitable" style="margin-left:auto; margin-right:auto;" | ||
!Windows | !Windows retail | ||
!Mac and Windows demo | !Mac demo, Mac retail and Windows demo | ||
|- | |- | ||
|*.dat, *.raw | |<center>*.dat, *.raw</center> | ||
|<center>*.dat, *.raw, *.sep</center> | |<center>*.dat, *.raw, *.sep</center> | ||
|} | |} | ||
====.dat files==== | ====.dat files==== | ||
These files are mostly identical between Mac | These files are mostly identical between Mac and Windows, but Mac [[SNDD]] resources are 32 bytes long, whereas Windows and Windows demo [[SNDD]] resources (wrappers for the actual sound data in the .raw files) are 96 bytes long; this is because of the change in SNDD format noted below under ".raw files". | ||
====.raw files==== | ====.raw files==== | ||
Line 78: | Line 78: | ||
====.sep files==== | ====.sep files==== | ||
Windows retail Oni lacks these files, all the relevant data being in the .raw files. On Macs and in the Windows demo, .sep files contain | Windows retail Oni lacks these files, all the relevant data being in the .raw files. On Macs and in the Windows demo, .sep files contain the BINA, OSBD and TXMP resources. For TXMPs in particular, only the "wrapper" for the texture data is stored in a Mac's .raw file, with a link to the actual image data where it is found in the level's .sep file. | ||
[[Category:Modding information]] | [[Category:Modding information]] |