OBD:FILM: Difference between revisions

From OniGalore
Jump to navigation Jump to search
No edit summary
 
m (changed family)
 
(10 intermediate revisions by 5 users not shown)
Line 1: Line 1:
[[Main Page]] >> [[OBD:Oni Binary Data|Oni Binary Data]] >> [[OBD:File types|File Types]] >> FILM File
{{OBD_File_Header | type=FILM | prev=ENVP | next=HPge | name=Film | family=Level | align=center}}




<CENTER>[[OBD:ENVP|<==]] <FONT SIZE=5>FILM File</FONT> [[OBD:HPge|==>]]<BR>
[[Image:film_a.gif]]
<FONT SIZE=2>Film</FONT></CENTER>




http://www.fh-eberswalde.de/user/dkriesch/onistuff/images/film_a.gif
{{Table}}
{{OBDth}}
{{OBDtr| 0x00 | res_id  |FF0000| 01 9C 00 00 | 156        | 00156-BomberKonRun01.FILM }}
{{OBDtr| 0x04 | lev_id  |FFFF00| 01 00 00 06 | 3          | level 3 }}
{{OBDtr| 0x08 | float    |FFC8C8| FE 6B 81 44 | 1035.374855 | x-position of the character }}
{{OBDtr| 0x0C | float    |FFC8C8| 00 00 73 43 | 243.000000  | y-position (height) of the character }}
{{OBDtr| 0x10 | float    |FFC8C8| F1 A8 F1 C1 | -30.207490  | z-position of the character }}
{{OBDtr| 0x14 | float    |FFFFC8| 34 E3 C8 40 | 6.277734    | body facing (6.277734 * 180 / pi <nowiki>=</nowiki> 359.687663 degrees) }}
{{OBDtr| 0x18 | float    |C8FFC8| 00 C8 1A 3B | 0.002361    | desired facing (0.002361 * 180 / pi <nowiki>=</nowiki> 0.135275 degrees) }}
{{OBDtr| 0x1C | float    |C8FFFF| 00 00 00 00 | 0.000000    | head facing (0 * 180 / pi <nowiki>=</nowiki> 0 degrees) }}
{{OBDtr| 0x20 | float    |FFC8FF| DB 8F B9 BF | -1.449726  | looking up or down (-1.449726 * 180 / pi <nowiki>=</nowiki> -83.063181 degrees) }}
{{OBDtr| 0x24 | int32    |FFC800| FF 00 00 00 | 255        | film lenght in frames (one frame <nowiki>=</nowiki> 1/60 seconds) }}
{{OBDtr| 0x28 | link    |C800C8| 00 00 00 00 | unused      | cutscene1 animation (link to a [[OBD:TRAM|TRAM]] file triggered by cutscene1 key action) }}
{{OBDtr| 0x2C | link    |C87C64| 00 00 00 00 | unused      | cutscene2 animation (link to a [[OBD:TRAM|TRAM]] file triggered by cutscene2 key action) }}
{{OBDtr| 0x30 | char[12] |B0C3D4| AD DE      | dead        | unused }}
{{OBDtr| 0x3C | int32    |E7CEA5| 5A 00 00 00 | 90          | array size }}
{{OBDtrBK}}
{{OBDtr| 0x00 | float |FFDDDD| 00 00 00 00 | 0.000000    | X mouse delta }}
{{OBDtr| 0x04 | float |64AAAA| 00 00 00 00 | 0.000000    | Y mouse delta }}
{{OBDtr| 0x08 | int64 |EBEBEB| 00 00 00 00 00 00 00 00 00 | 0  | key events; the following bits are possible:


:0x '''01''' 00 00 00 00 00 00 00 - (1:00) escape
:0x '''02''' 00 00 00 00 00 00 00 - (1:01) console
:0x '''04''' 00 00 00 00 00 00 00 - (1:02) pausescreen
:0x '''08''' 00 00 00 00 00 00 00 - (1:03) cutscene1
:0x '''10''' 00 00 00 00 00 00 00 - (1:04) cutscene2
:0x '''20''' 00 00 00 00 00 00 00 - (1:05) f4
:0x '''40''' 00 00 00 00 00 00 00 - (1:06) f5
:0x '''80''' 00 00 00 00 00 00 00 - (1:07) f6
:0x 00 '''01''' 00 00 00 00 00 00 - (1:08) f7
:0x 00 '''02''' 00 00 00 00 00 00 - (1:09) f8
:0x 00 '''04''' 00 00 00 00 00 00 - (1:0A) start_record
:0x 00 '''08''' 00 00 00 00 00 00 - (1:0B) stop_record
:0x 00 '''10''' 00 00 00 00 00 00 - (1:0C) play_record
:0x 00 '''20''' 00 00 00 00 00 00 - (1:0D) f12
:0x 00 '''80''' 00 00 00 00 00 00 - (1:0F) lookmode
:0x 00 00 '''01''' 00 00 00 00 00 - (1:10) screenshot
:0x 00 00 '''20''' 00 00 00 00 00 - (1:15) forward
:0x 00 00 '''40''' 00 00 00 00 00 - (1:16) backward
:0x 00 00 '''80''' 00 00 00 00 00 - (1:17) turnleft
:0x 00 00 00 '''01''' 00 00 00 00 - (1:18) turnright
:0x 00 00 00 '''02''' 00 00 00 00 - (1:19) stepleft
:0x 00 00 00 '''04''' 00 00 00 00 - (1:1A) stepright
:0x 00 00 00 '''08''' 00 00 00 00 - (1:1B) jump
:0x 00 00 00 '''10''' 00 00 00 00 - (1:1C) crouch
:0x 00 00 00 '''20''' 00 00 00 00 - (1:1D) punch
:0x 00 00 00 '''40''' 00 00 00 00 - (1:1E) kick
:0x 00 00 00 '''80''' 00 00 00 00 - (1:1F) block (no effect)
:0x 00 00 00 00 '''01''' 00 00 00 - (1:20) walk
:0x 00 00 00 00 '''02''' 00 00 00 - (1:21) action
:0x 00 00 00 00 '''04''' 00 00 00 - (1:22) hypo
:0x 00 00 00 00 '''08''' 00 00 00 - (1:23) reload
:0x 00 00 00 00 '''10''' 00 00 00 - (1:24) swap
:0x 00 00 00 00 '''20''' 00 00 00 - (1:25) drop
:0x 00 00 00 00 '''40''' 00 00 00 - (1:26) fire1
:0x 00 00 00 00 '''80''' 00 00 00 - (1:27) fire2
:0x 00 00 00 00 00 '''01''' 00 00 - (1:28) fire3
}}
{{OBDtr| 0x10 | int32    |8C8CCC| 00 00 00 00 | 0          | frame number }}
{{OBDtr| 0x14 | int32    |FF00C8| 00 00 00 00 | 0          | ignored }}
|}


<TABLE BORDER=1 WIDTH=100% CELLPADDING=2 CELLSPACING=0>
<TR ALIGN=CENTER BGCOLOR="#FFDDBB"><TD WIDTH=15%><B>Hex</B></TD><TD WIDTH=15%><B>Translation</B></TD><TD WIDTH=70%><B>Meaning</B></TD></TR>
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#FF0000">01 9C 00 00</TD><TD>156</TD><TD ALIGN=LEFT>00156-BomberKonRun01.FILM</TD></TR>
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#FFFF00">01 00 00 06</TD><TD>3</TD><TD ALIGN=LEFT>level 3</TD></TR>
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#FFC8C8">FE 6B 81 44</TD><TD>1035.374855</TD><TD ALIGN=LEFT>x-coordinate (position)</TD></TR>
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#FFC8C8">00 00 73 43</TD><TD>243.000000</TD><TD ALIGN=LEFT>y-coordinate (position)</TD></TR>
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#FFC8C8">F1 A8 F1 C1</TD><TD>-30.207490</TD><TD ALIGN=LEFT>z-coordinate (position)</TD></TR>
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#FFFFC8">34 E3 C8 40</TD><TD>6.277734</TD><TD ALIGN=LEFT><FONT COLOR="red">look to state in degrees (angle over 360 is possible - huh?)</FONT></TD></TR>
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#C8FFC8">00 C8 1A 3B</TD><TD>0.002361</TD><TD ALIGN=LEFT><FONT COLOR="red">facing in degrees (works nor correct, the angle isn't the same as the float)</FONT></TD></TR>
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#C8FFFF">00 00 00 00</TD><TD>0.000000</TD><TD ALIGN=LEFT>looking from left or right to facing state</TD></TR>
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#FFC8FF">DB 8F B9 BF</TD><TD>-1.449726</TD><TD ALIGN=LEFT>looking up or down</TD></TR>
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#FFC800">FF 00 00 00</TD><TD>255</TD><TD ALIGN=LEFT>film lenght in 1/60 seconds (4.25 seconds)</TD></TR>
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#C800C8">00 00 00 00</TD><TD>0</TD><TD ALIGN=LEFT>unknown</TD></TR>
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#C87C64">00 00 00 00</TD><TD>0</TD><TD ALIGN=LEFT>unknown</TD></TR>
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#B0C3D4">AD DE</TD><TD>dead</TD><TD ALIGN=LEFT>not used</TD></TR>
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#E7CEA5">5A 00 00 00</TD><TD>90</TD><TD ALIGN=LEFT>90 packages follow (one package is edged in black)</TD></TR>
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#000000"><TD COLSPAN=3><FONT SIZE=2 COLOR="#FFFFFF">Below follows the first package.</FONT></TD></TR>
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#FFDDDD">00 00 00 00</TD><TD>0.000000</TD><TD ALIGN=LEFT>camera angle (up / down)</TD></TR>
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#64AAAA">00 00 00 00</TD><TD>0.000000</TD><TD ALIGN=LEFT>rotation of the character on the y-axis in degrees</TD></TR>
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#EBEBEB">00 00</TD><TD>0</TD><TD ALIGN=LEFT>unknown</TD></TR>
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#8C8CCC">00 00</TD><TD>0</TD><TD ALIGN=LEFT>move bitset (20 = run)</TD></TR>
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#FF00C8">00 00 00 00</TD><TD>0</TD><TD ALIGN=LEFT>unknown</TD></TR>
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#F0F096">00 00 00 00</TD><TD>0</TD><TD ALIGN=LEFT>frame</TD></TR>
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#00C864">00 00 00 00</TD><TD>0</TD><TD ALIGN=LEFT>unknown</TD></TR>
</TABLE>


{{OBD_File_Footer | type=FILM | prev=ENVP | next=HPge | name=Film | family=Level}}


<HR>
{{OBD}}
<CENTER>[[OBD:ENVP|<==]] <B>FILM File</B> [[OBD:HPge|==>]]</CENTER>
<HR>
 
 
[[Main Page]] >> [[OBD:Oni Binary Data|Oni Binary Data]] >> [[OBD:File types|File Types]] >> FILM File

Latest revision as of 21:26, 9 December 2023

ONI BINARY DATA
ENVP << Other file types >> HPge
FILM : Film
switch to XML:FILM page
Overview @ Oni Stuff
OBD.png


Film a.gif


Offset Type Raw Hex Value Description
0x00 res_id 01 9C 00 00 156 00156-BomberKonRun01.FILM
0x04 lev_id 01 00 00 06 3 level 3
0x08 float FE 6B 81 44 1035.374855 x-position of the character
0x0C float 00 00 73 43 243.000000 y-position (height) of the character
0x10 float F1 A8 F1 C1 -30.207490 z-position of the character
0x14 float 34 E3 C8 40 6.277734 body facing (6.277734 * 180 / pi = 359.687663 degrees)
0x18 float 00 C8 1A 3B 0.002361 desired facing (0.002361 * 180 / pi = 0.135275 degrees)
0x1C float 00 00 00 00 0.000000 head facing (0 * 180 / pi = 0 degrees)
0x20 float DB 8F B9 BF -1.449726 looking up or down (-1.449726 * 180 / pi = -83.063181 degrees)
0x24 int32 FF 00 00 00 255 film lenght in frames (one frame = 1/60 seconds)
0x28 link 00 00 00 00 unused cutscene1 animation (link to a TRAM file triggered by cutscene1 key action)
0x2C link 00 00 00 00 unused cutscene2 animation (link to a TRAM file triggered by cutscene2 key action)
0x30 char[12] AD DE dead unused
0x3C int32 5A 00 00 00 90 array size
First element (black outline)
0x00 float 00 00 00 00 0.000000 X mouse delta
0x04 float 00 00 00 00 0.000000 Y mouse delta
0x08 int64 00 00 00 00 00 00 00 00 00 0 key events; the following bits are possible:
0x 01 00 00 00 00 00 00 00 - (1:00) escape
0x 02 00 00 00 00 00 00 00 - (1:01) console
0x 04 00 00 00 00 00 00 00 - (1:02) pausescreen
0x 08 00 00 00 00 00 00 00 - (1:03) cutscene1
0x 10 00 00 00 00 00 00 00 - (1:04) cutscene2
0x 20 00 00 00 00 00 00 00 - (1:05) f4
0x 40 00 00 00 00 00 00 00 - (1:06) f5
0x 80 00 00 00 00 00 00 00 - (1:07) f6
0x 00 01 00 00 00 00 00 00 - (1:08) f7
0x 00 02 00 00 00 00 00 00 - (1:09) f8
0x 00 04 00 00 00 00 00 00 - (1:0A) start_record
0x 00 08 00 00 00 00 00 00 - (1:0B) stop_record
0x 00 10 00 00 00 00 00 00 - (1:0C) play_record
0x 00 20 00 00 00 00 00 00 - (1:0D) f12
0x 00 80 00 00 00 00 00 00 - (1:0F) lookmode
0x 00 00 01 00 00 00 00 00 - (1:10) screenshot
0x 00 00 20 00 00 00 00 00 - (1:15) forward
0x 00 00 40 00 00 00 00 00 - (1:16) backward
0x 00 00 80 00 00 00 00 00 - (1:17) turnleft
0x 00 00 00 01 00 00 00 00 - (1:18) turnright
0x 00 00 00 02 00 00 00 00 - (1:19) stepleft
0x 00 00 00 04 00 00 00 00 - (1:1A) stepright
0x 00 00 00 08 00 00 00 00 - (1:1B) jump
0x 00 00 00 10 00 00 00 00 - (1:1C) crouch
0x 00 00 00 20 00 00 00 00 - (1:1D) punch
0x 00 00 00 40 00 00 00 00 - (1:1E) kick
0x 00 00 00 80 00 00 00 00 - (1:1F) block (no effect)
0x 00 00 00 00 01 00 00 00 - (1:20) walk
0x 00 00 00 00 02 00 00 00 - (1:21) action
0x 00 00 00 00 04 00 00 00 - (1:22) hypo
0x 00 00 00 00 08 00 00 00 - (1:23) reload
0x 00 00 00 00 10 00 00 00 - (1:24) swap
0x 00 00 00 00 20 00 00 00 - (1:25) drop
0x 00 00 00 00 40 00 00 00 - (1:26) fire1
0x 00 00 00 00 80 00 00 00 - (1:27) fire2
0x 00 00 00 00 00 01 00 00 - (1:28) fire3
0x10 int32 00 00 00 00 0 frame number
0x14 int32 00 00 00 00 0 ignored


ONI BINARY DATA
ENVP << Other file types >> HPge
FILM : Film
Level file