User talk:Ssg: Difference between revisions

From OniGalore
Jump to navigation Jump to search
m (ssg.oni2.net)
(What types do we have?)
Line 5: Line 5:
:Pretty please. I'll assist you in every way you'll need ^^
:Pretty please. I'll assist you in every way you'll need ^^
::[[User:Geyser|geyser]] 18:01, 27 August 2007 (CEST)
::[[User:Geyser|geyser]] 18:01, 27 August 2007 (CEST)
<!--
test
:
{| border="0" width="100%" cellpadding="0" cellspacing="0"
| rowspan="2" | http://14mb.de/u/ccc/top_left.gif || width="98%" bgcolor="#000000" | http://14mb.de/u/ccc/10x1.gif || rowspan="2" | http://14mb.de/u/ccc/topright.gif
|-
| bgcolor="#e9e9e9" | <TT>Hex Image - First 64 Bytes</TT>
|}
{| border="0" width="100%" cellpadding="0" cellspacing="0" style="border: 1px solid black"
| bgcolor="#f9f9f9" | [[Image:agdb_a.gif]]
|}
{| border="0" width="100%" cellpadding="0" cellspacing="0"
| rowspan="2" | http://14mb.de/u/ccc/bot_left.gif || width="98%" bgcolor="#e9e9e9" | http://14mb.de/u/ccc/1x10.gif || rowspan="2" | http://14mb.de/u/ccc/botright.gif
|-
| bgcolor="#000000" | http://14mb.de/u/ccc/10x1.gif
|}




{| border="0" width="100%" cellpadding="0" cellspacing="0"
----
| rowspan="2" | http://14mb.de/u/ccc/top_left.gif || width="98%" bgcolor="#000000" | http://14mb.de/u/ccc/10x1.gif || rowspan="2" | http://14mb.de/u/ccc/topright.gif
|-
| bgcolor="#e9e9e9" | <TT>Hex Image Description</TT>
|}
{| border="0" width="100%" bgcolor="#ff0000" cellpadding="2" cellspacing="1" style="background-color: #000000"
|- bgcolor="#d9d9d9" align="center"
| width="7%" | '''Offset''' || width="7%" | '''Type''' || width="10%" | '''Raw Hex''' || width="10%" | '''Value''' || width="66%" |  '''Description'''
|- bgcolor="#f9f9f9" align="center" valign="top"
| 0x00 || file id || bgcolor="#ff0000" nowrap | 01 4C 02 00 || 588 || align="left" | 00588-.AGDB
|- bgcolor="#f9f9f9" align="center" valign="top"
| 0x04 || level id || bgcolor="#ffff00" | 01 00 00 06 || 3 || align="left" | level 3
|- bgcolor="#f9f9f9" align="center" valign="top"
| 0x08 || nowrap | unused (20) || bgcolor="#00ff00" | AD DE || dead || align="left" | not used
|- bgcolor="#f9f9f9" align="center" valign="top"
| 0x1C || long || bgcolor="#00ffff" | 15 8A 00 00 || 35349 || align="left" | 35349 packages follow (the first package is edged in black)
|- bgcolor="#737373" align="center"
| colspan="5" style="color: #f9f9f9" | The cells below show the first package.
|- bgcolor="#f9f9f9" align="center" valign="top"
| 0x20 || raw link || bgcolor="#ffc8c8" | 80 B6 46 00 || 46 B6 80 || align="left" | at this position starts the "old file name 1" part in the raw file
|- bgcolor="#f9f9f9" align="center" valign="top"
| 0x40 || raw link || bgcolor="#ffffc8" | A0 B6 46 00 || nowrap | 46 B6 A0 || align="left" | at this position starts the "old file name 2" part in the raw file
|}
{| border="0" width="100%" cellpadding="0" cellspacing="0"
| rowspan="2" | http://14mb.de/u/ccc/bot_left.gif || width="98%" bgcolor="#e9e9e9" | http://14mb.de/u/ccc/1x10.gif || rowspan="2" | http://14mb.de/u/ccc/botright.gif
|-
| bgcolor="#000000" | http://14mb.de/u/ccc/10x1.gif
|}


---


The tables above were just a test. Actually I don't like them anymore, because of too much useless stuff + too overgreyed and minor display errors with Opera 6.05. [[User:Ssg|Ssg]] 15:43, 16 August 2007 (CEST)
What types do we have for the tables?:


---


==Templates==
*number = int + lenght in bits (f.e. int32)
Casual contributors such as Neo enjoy using a template in which the user doesn't have to enter anything but the actual information.
*4 byte float = float (or float32 ?)
*4 byte file id = red_id
*4 byte level id = lev_id
*4 byte link = ???
*4 byte color = ???
*4 byte offset = ???
*1 byte bitset = bitset ?
*string = char[lenght in bytes]
*high bit = ???
*boolean = bool ?


Example: [[OFGA]]. This uses the Table template as well as the more recent OBDtr and OBDtrBK templates.


Any other types?


http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/ofga_a.gif


{{Table}}
How to distinguish between the different integers (Byte, UByte, Short, UShort, Long, ULong)?
{{OBD_Table_Header}}
|- ALIGN=CENTER VALIGN=TOP
{{OBDtr| 0x00 | res_id  |FF0000| 01 '''C5 02 00''' | 709  | 00709-.OFGA }}
{{OBDtr| 0x04 | lev_id  |FFFF00| 01 00 00 '''00''' | 0    | level 0 }}
{{OBDtr| 0x08 | char[16] |00FF00| AD DE ...        | dead | unused }}
{{OBDtr| 0x18 | ENVP    |00FF00| 00 00 00 00      | 0    | [[ENVP]] link, unused here }}
{{OBDtr| 0x1C | int32    |00FFFF| 05 00 00 00      | 5    | array size }}
{{OBDtrBK}}
{{OBDtr| 0x00 | bool32 |FFC8C8| 00 80 01 00 | 0x18000 | bitset - unknown, some values below:
*00 80 01 00 - console stuff and other stuff
*00 06 00 00 - console collision part (just a rectangular parallelepiped with the rough dimension of the console)
*00 00 00 00 - "other" stuff, e.g. doors}}
{{OBDtr| 0x04 | M3GM  |C8FFC8| 01 C6 02 00 | 710    | link to 00710-.[[M3GM]]}}
{{OBDtr| 0x08 | OBLS  |C8FFFF| 00 00 00 00 | 0      | [[OBLS]] link, never used}}
|}




The HexRow template can be renamed to HEXtr, and there can be a hex-specific header template.
*Byte = -128 to 127
*UByte = 0 to 255
*Short = -32768 to 32767
*UShort = 0 to 65535
*Long = -2,147,483,648 to 2,147,483,647
*ULong = 0 to 4,294,967,295


ASCII hex rows can be alternated with screenshots within a hex table. Suggestions welcome.


{|cellpadding=2 cellspacing=0
[[User:Ssg|Ssg]] 11:00, 3 September 2007 (CEST)
{{HexRow
 
|0x00|
<!-- please don't delete this
|01|C5|02|00|01|00|00|00|AD|DE|AD|DE|AD|DE|AD|DE|
http://14mb.de/u/ccc/botright.gif
|FF|FF|FF|FF|FF|FF|FF|FF|00|00|00|00|00|00|00|00|
|00|00|00|00|FF|FF|FF|FF|FF|FF|FF|FF|FF|FF|FF|FF|
|00|00|00|00|00|00|00|00|00|00|00|00|00|00|00|00|
}}
{{HexRow
|0x10|
|AD|DE|AD|DE|AD|DE|AD|DE|00|00|00|00|05|00|00|00|
|00|00|00|00|00|00|00|00|FF|FF|FF|FF|00|00|00|00|
|FF|FF|FF|FF|FF|FF|FF|FF|00|00|00|00|FF|FF|FF|FF|
|00|00|00|00|00|00|00|00|FF|FF|FF|FF|FF|FF|FF|FF|
}}
{{HexRow
|0x20|
|'''00|'''80|'''01|'''00|'''01|'''C6|'''02|'''00|'''00|'''00|'''00|'''00|00|80|01|00|
|FF|FF|FF|FF|C8|C8|C8|C8|C8|C8|C8|C8|FF|FF|FF|FF|
|C8|C8|C8|C8|FF|FF|FF|FF|FF|FF|FF|FF|FF|FF|FF|FF|
|C8|C8|C8|C8|C8|C8|C8|C8|FF|FF|FF|FF|FF|FF|FF|FF|
}}
{{HexRow
|0x30|
|01|CE|02|00|00|00|00|00|00|80|01|00|01|D3|02|00|
}}
|}
-->
-->

Revision as of 09:00, 3 September 2007

I'm going to close my webspace account at university. That means that Oni Stuff will go offline on Thursday indefinitely. Ssg 13:51, 27 August 2007 (CEST)


How about moving the whole thing onto ssg.oni2.net?
Pretty please. I'll assist you in every way you'll need ^^
geyser 18:01, 27 August 2007 (CEST)




What types do we have for the tables?:


  • number = int + lenght in bits (f.e. int32)
  • 4 byte float = float (or float32 ?)
  • 4 byte file id = red_id
  • 4 byte level id = lev_id
  • 4 byte link = ???
  • 4 byte color = ???
  • 4 byte offset = ???
  • 1 byte bitset = bitset ?
  • string = char[lenght in bytes]
  • high bit = ???
  • boolean = bool ?


Any other types?


How to distinguish between the different integers (Byte, UByte, Short, UShort, Long, ULong)?


  • Byte = -128 to 127
  • UByte = 0 to 255
  • Short = -32768 to 32767
  • UShort = 0 to 65535
  • Long = -2,147,483,648 to 2,147,483,647
  • ULong = 0 to 4,294,967,295


Ssg 11:00, 3 September 2007 (CEST)