Jump to content

OBD:Oni2AS: Difference between revisions

m
minor wiki formatting and grammar edit
m (minor wiki formatting and grammar edit)
Line 1: Line 1:
[[Category:Modding information]]
The [[Oni2AS|Oni 2 dev disc]] from Angel Studios contains:
The Oni2 dev disc from Angel Studios contains:
*the main ELF executable '''SCPS_123.45'''
*the main ELF executable '''SCPS_123.45'''
*a plain-text configuration file '''SYSTEM.CNF'''
*a plain-text configuration file '''SYSTEM.CNF'''
*a '''SYSTEM''' folder containing fifteen ELF binaries ('''*.IRX''') and a file called '''IOPRP255.IMG'''
*a '''SYSTEM''' folder containing fifteen ELF binaries ('''*.IRX''') and a file called '''IOPRP255.IMG'''
*the three "binary data" files '''BANKS.DAT''', '''RB.DAT''' and '''STREAMS.DAT'''
*the three "binary data" files '''BANKS.DAT''', '''RB.DAT''' and '''STREAMS.DAT'''
==DAT file format (file table)==
==DAT file format (file table)==
The common format of the three "binary data" files is as follows (illustrated on the example of '''RB.DAT''').
The common format of the three "binary data" files is as follows (illustrated on the example of '''RB.DAT''').
Line 76: Line 76:


==Commonplace file formats==
==Commonplace file formats==
Some of the files in '''RB.DAT''' are either in plain text or in otherwise widely known formats that can be opened by third-party programs. Here is the list of such commonplace formats used in Oni2.
Some of the files in '''RB.DAT''' are either in plain text or in otherwise widely known formats that can be opened by third-party programs. Here is the list of such commonplace formats used in Oni 2.
*'''*.txt''' : [[wp:Text_file|Text file]]s. Some in Windows format (CR+LF at EOL), some in Unix format (only LF at EOL)
*'''*.txt''' : [[wp:Text_file|Text file]]s. Some in Windows format (CR+LF at EOL), some in Unix format (only LF at EOL)
*'''*.mb''' : binary file used by Maya 3D program (work-in-progress models of some characters and props)
*'''*.mb''' : binary file used by Maya 3D program (work-in-progress models of some characters and props)
*'''*.wav''' : [[wp:WAV]]. a common format for the uncompressed storage of sounds (through pulse-code modulation)
*'''*.wav''' : [[wp:WAV|WAV]]. a common format for the uncompressed storage of sounds (through pulse-code modulation)
*'''*.tga''' : [[wp:Truevision_TGA]]. a versatile texture format that supports RLE compression, MIP map storage, indexed as well as RGB color schemes, transparency (and therefore is widely used in games).
*'''*.tga''' : [[wp:Truevision_TGA|Targa]]. a versatile texture format that supports RLE compression, MIP map storage, indexed as well as RGB color schemes, transparency (and therefore is widely used in games).
*'''*.xml''' : [[wp:XML]].
*'''*.xml''' : [[wp:XML|XML]].
*'''*.cue''' : [[wp:Cue_sheet_(computing)]]. Occurs only once, as '''rb.cue''' at the root of '''RB.DAT'''
*'''*.cue''' : [[wp:Cue_sheet_(computing)|Cue sheet]]. Occurs only once, as '''rb.cue''' at the root of '''RB.DAT'''
*'''*.m2v''' : [[wp:MPEG-2]]. Video files. Occur in the form of '''movies/angel.m2v''' and '''movies/rockstarlogo.m2v'''
*'''*.m2v''' : [[wp:MPEG-2|MPEG-2]]. Video files. Occur in the form of '''movies/angel.m2v''' and '''movies/rockstarlogo.m2v'''
*...
*...


==Plain text file formats==
==Plain text file formats==
Apart from XML files (and some TXT files; mostly debug logs), Oni2 has many custom plain-text files, listed below.
Apart from XML files (and some TXT files; mostly debug logs), Oni 2 has many custom plain-text files, listed below.


'''Save files -''' occurs only in the form of '''sample.oni2save''' at the root of '''RB.DAT'''
'''Save files -''' occurs only in the form of '''sample.oni2save''' at the root of '''RB.DAT'''
Line 118: Line 118:


==MOD file format (plain text)==
==MOD file format (plain text)==
Most of Oni2's models are in a plain text format identified as "version: 1.10".
Most of Oni 2's models are in a plain text format identified as "version: 1.10".


...
...
Line 130: Line 130:


...
...
[[Category:Modding information]]