18,700
edits
(→PC exclusives: actually, Macs do F2 and F3 after all) |
(→File formats: rewriting ssg's old write-up, removing technical details that are covered in more appropriate places) |
||
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]]: | |||
{|class="wikitable" style="margin-left:auto; margin-right:auto;" | |||
!Windows | |||
!Mac and Windows demo | |||
|- | |||
|*.dat, *.raw | |||
|<center>*.dat, *.raw, *.sep</center> | |||
|} | |||
====.dat files==== | |||
These files are mostly identical between Mac (and Windows demo) 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==== | |||
In Windows, these files contain the core data of the [[AGDB]], [[AKVA]], [[BINA]], [[OSBD]], [[SNDD]], [[SUBT]], [[TRAM]] and [[TXMP]] resources. | |||
On Mac and in the Windows demo, these files only contain the core data of the AKVA, SNDD, SUBT and TRAM resources; the rest have been moved to the .sep files (except for AGDB resources, which were omitted from Macs and the Windows demo because this data is unused by Oni). | |||
In terms of differences in the actual data formats, the most notable change is that Macs use SNDDs in the AIFF format, and Windows (retail and demo) uses WAV sound data. | |||
====.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 the core data of 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]] |