OBD:Oni2AS: Difference between revisions

5,177 bytes added ,  6 February 2018
→‎Plain text file formats: plain-text list completed
m (minor wiki formatting and grammar edit)
(→‎Plain text file formats: plain-text list completed)
Line 87: Line 87:


==Plain text file formats==
==Plain text file formats==
Apart from XML files (and some TXT files; mostly debug logs), Oni 2 has many custom plain-text files, listed below.
Apart from XML files (and some TXT and '''*.log''' 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 93: Line 93:
'''Template files -''' occurs only in the form of '''template/rb.template''' and a couple of '''layout.template''' files (see '''Layout files''' below)
'''Template files -''' occurs only in the form of '''template/rb.template''' and a couple of '''layout.template''' files (see '''Layout files''' below)


'''Layout files -''' files that specify the layout of a level. They're called names like '''layout.et''' (entities), '''layout.graphs''', '''layout.lights''', '''layout.paths'''
'''Graph files -''' files ending in '''.graph''', found in '''layout/*/'''
 
'''Layout files -''' files that specify the layout of a level. They're called names like '''layout.actors''', '''layout.et''' (entities), '''layout.graphs''', '''layout.groups''', '''layout.lights''', '''layout.paths''', '''layout.fog''', '''layout.atktab''' (attack table), '''layout.template''', '''layout.campack''' (also '''layout.campacknew'''), '''layout.bnds''' (bounds)
 
'''Environment settings -''' occurs only in the form of '''default.environment''' files in various '''layout/*/''' folders
 
'''"rb" files -''' core settings of some sort found '''in Settings/''': '''rb.ammo''', '''rb.expl''' (explosions), '''rb.formations''', '''rb.fx''' (effects), '''rb.gamedata''', '''rb.gt''', '''rb.inventory''', '''rb.patterns''', '''rb.proj''' (projectiles), and '''rb.weap''' (weapons). Also '''Audio/rb.audiopackages''' and '''fx/rb.fxe''', as well as the aforementioned '''template/rb.template'''. At the time of writing, we do not know what RB stands for [[User:Geyser|geyser]] ([[User talk:Geyser|talk]]) 16:07, 6 February 2018 (CET)
 
'''UI files -''' two files ending in '''.ui''', found in '''Settings/''': '''rbfrontend.ui''' and '''rbgame.ui'''
 
'''Tuning files -''' two files ending in '''.tune''', found in '''Settings/''': '''pad.tune''' and '''pad_before_massive_tuning.tune'''


'''Script files -''' files ending in '''.oni''', rather similar to [[BSL]]. Can be compiled into binary '''*.onc''' files.
'''Script files -''' files ending in '''.oni''', rather similar to [[BSL]]. Can be compiled into binary '''*.onc''' files.


'''Model files -''' files ending in '''.mod''' or '''.xmod'''. Version 1 format is plain-text, version 2 is binary (see below for both).
'''Model files -''' files ending in '''.mod''' (or '''.mod.bak''' or '''.mod.old''') or '''.xmod'''. Version 1 format is plain-text, version 2 is binary (see below for both).
 
'''Pathfinding files -''' files ending in '''.room''' and '''.bsp''', found in '''Level/*/'''


'''Pathfinding files -''' files ending in '''.room''', '''.bsp''' or '''.mesh''' (collection of interconnected pathfinding meshes)
'''Mesh files -''' files ending in '''.mesh''', found in '''Level/*/''' (pathfinding) or '''Entity/*/''' (explosions and gun flares)


'''Fighting state machines -''' files ending in '''.fsm''', found in '''Statemachine/'''
'''Fighting state machines -''' files ending in '''.fsm''', found in '''Statemachine/'''


'''Attack patterns -''' files ending in '''.atk''', found in '''Statemachine/''' and '''layout/fightai_grapple/statemachine_backup/'''
'''Attack patterns -''' files ending in '''.atk''', found in '''Statemachine/''' and '''layout/fightai_grapple/statemachine_backup/'''
'''Formation files -''' files ending in '''.frm''', found in '''Settings/''', apparently something to do with the GUI page layout.
'''HUD setting files -''' occurs only in the form of '''Settings/HUD_Settings.hud'''
'''Control mapping files -''' occurs only in the form of '''Settings/control.map'''
'''Particle files -''' files ending in '''.ptx''', found in '''Settings/'''
'''Shader files -''' files ending in '''.shader''', used as an intermediate between models and their textures.
'''"Neat" files -''' two files ending in '''.neat''' in '''Entity/kno/''' (apparently improved '''.shader''' files)
'''Attack FX tables -''' files ending in '''.attackfxtable''', found in '''fx/'''
'''Effect lists etc -''' files ending in '''.fxl''' and '''.fxm''', found in '''fx/'''
'''Jump files -''' files ending in '''.jump''', found in '''entity.tune/animpkg/nav/'''
'''Locomotion files -''' files ending in '''.loco''', found in '''entity.tune/animpkg/nav/''', and in the respective folders of some character entities.
'''Blocking files -''' files ending in '''.blk''', found in '''entity.tune/*/''', and in the respective folders of some character entities.
'''Reaction files -''' files ending in '''.rct''', found in '''entity.tune/*/'''
'''Animation packages -''' files ending in '''.apkg''' (and '''.apkg.txt'''), found in '''entity.tune/animpkg/'''. Also, template file '''entity.tune/animpkg/nav/nav.tpkg'''
'''Animation collections -''' files ending in '''.anims''' or '''.Anims''', found in '''entity.tune/*/''', and in the respective folders of some animated entities.
'''Attack data files -''' files ending in '''.atdt''' (or '''.atdt.bak'''), found in '''entity.tune/*/''', and in the respective folders of some character entities.
'''Attack collections -''' files ending in '''.attacks''', found in '''entity.tune/*/''', and in the respective folders of some character entities.
'''Attachment files -''' occurs only in the form of '''entity.tune/erc/erc.attach'''
'''Fighter data -''' occurs only in the form of '''entity.tune/kno/kno.ft'''
'''Weapon data -''' files ending in '''.weap''', found in '''entity.tune/*/'''. Possibly related to '''Settings/rb.weap'''
'''Sound library -''' files ending in '''.sndlib''', found in '''entity.tune/*/'''
'''BFG files -''' files ending in '''.bfg''', found in '''layout/*/''' and '''Entity/*/'''
'''MMB files -''' files ending in '''.mmb''', found in '''layout/*/'''
'''Entity type -''' files ending in '''.type''', found in '''Entity/*/''' (mostly '''entity.type''' or '''Entity.type''')
'''Bounds and physics -''' files ending in '''.bnd''' (mostly '''Bound.bnd''' or '''Bound#.bnd''') and '''.phys''' (either '''Bound.phys''' or '''Bound#.phys'''), found in '''Entity/*/'''
'''Shape files -''' files ending in '''.sha''', found in '''Entity/*/'''
'''Skeleton files -''' files ending in '''.skel''', found in '''Entity/*/''' for rigged/animated models
'''Edge files -''' files ending in '''.em''', found in '''Entity/*/''' (for character collision?)
'''Gait files -''' files ending in '''.gait''' (or '''.gait.bak'''), found in '''Entity/*/''' for characters (a gait is a "manner of walking")
'''TC files -''' files ending in '''.tc''', found in '''Entity/*/''' (apparently for animated textures; "texture collection"?)
'''Playback files -''' files ending in '''.play''', found in '''Entity/jae/''' and '''Entity/krk/'''
'''"lot" files -''' files ending in '''.lot''', found in '''Entity/''' (lists of '''*.mb''' files). Also '''Entity/back.lot.withTemplates'''
'''"ini" files -''' occurs only in the form of '''Entity/button.ini'''
'''"mel" files -''' apparently Maya project definition (plain text)
'''"attr" and "geom" -''' only occur as '''Entity/proxy/exportTMP/exportTmp/set_temp1.attr''' and '''Entity/proxy/exportTMP/exportTmp/static.geom'''


...
...