User:Ommina: Difference between revisions

From AniDB
Jump to navigation Jump to search
Line 3: Line 3:


=== FILE acode & fcode replacement ===
=== FILE acode & fcode replacement ===
'''fmask:'''
byte1 - IDs<br>
1<br>
2 int4 aid<br>
3 int4 eid<br>
4 int4 gid<br>
5 int4 lid<br>
6 list other episodes<br>
7 int2 IsDeprecated<br>
8 int2 state<br>
<br>
byte2<br>
1 int8 size<br>
2 str ed2k<br>
3 str md5<br>
4 str sha1<br>
5 str crc32<br>
6<br>
7<br>
8<br>
byte3<br>
1 str quality<br>
2 str source<br>
3 str audio codec<br>
4 int4 audio bitrate<br>
5 str video codec<br>
6 int4 video bitrate<br>
7 str video resolution<br>
8 str file type (extension)<br>
<br>
byte4<br>
1 str dub language<br>
2 str sub language<br>
3 int4 length in seconds<br>
4 str description<br>
5 int4 release date<br>
6<br>
7<br>
8 str anidb file name<br>


'''amask:'''
'''amask:'''
Line 91: Line 46:
8<br>
8<br>


<table>
<center>
 
'''fmask:'''
 
<table border="1" cellpadding="0" cellspacing="2">
  <tr>
  <tr>
   <td align="center">Byte 1</td>
   <td align="center">Byte 1</td>
   <td align="center">Byte 2</td>
   <td align="center">Byte 2</td>
  <td align="center">Byte 3</td>
  <td align="center">Byte 4</td>
  </tr>
  </tr>
  <tr>
  <tr>
Line 192: Line 153:
     <td align="right">128</td>
     <td align="right">128</td>
     <td>-</td>
     <td>-</td>
    </tr>
  </table>
  </td>
  <td>
  <table>
    <tr>
    <td>Bit</td>
    <td align="right">Decimal</td>
    <td>Data Field</td>
    </tr>
    <tr bgcolor="#eee">
    <td>0</td>
    <td align="right">1</td>
    <td>str quality</td>
    </tr>
    <tr>
    <td>1</td>
    <td align="right">2</td>
    <td>str source</td>
    </tr>
    <tr bgcolor="#eee">
    <td>2</td>
    <td align="right">4</td>
    <td>str audio codec</td>
    </tr>
    <tr>
    <td>3</td>
    <td align="right">8</td>
    <td>int4 audio bitrate</td>
    </tr>
    <tr bgcolor="#eee">
    <td>4</td>
    <td align="right">16</td>
    <td>str video codec</td>
    </tr>
    <tr>
    <td>5</td>
    <td align="right">32</td>
    <td>int4 video bitrate</td>
    </tr>
    <tr bgcolor="#eee">
    <td>6</td>
    <td align="right">64</td>
    <td>str video resolution</td>
    </tr>
    <tr>
    <td>7</td>
    <td align="right">128</td>
    <td>str file type (extension)</td>
    </tr>
  </table>
  </td>
  <td>
  <table>
    <tr>
    <td>Bit</td>
    <td align="right">Decimal</td>
    <td>Data Field</td>
    </tr>
    <tr bgcolor="#eee">
    <td>0</td>
    <td align="right">1</td>
    <td>str dub language</td>
    </tr>
    <tr>
    <td>1</td>
    <td align="right">2</td>
    <td>str sub language</td>
    </tr>
    <tr bgcolor="#eee">
    <td>2</td>
    <td align="right">4</td>
    <td>int4 length in seconds</td>
    </tr>
    <tr>
    <td>3</td>
    <td align="right">8</td>
    <td>str description</td>
    </tr>
    <tr bgcolor="#eee">
    <td>4</td>
    <td align="right">16</td>
    <td>int4 release date</td>
    </tr>
    <tr>
    <td>5</td>
    <td align="right">32</td>
    <td>unused</td>
    </tr>
    <tr bgcolor="#eee">
    <td>6</td>
    <td align="right">64</td>
    <td>unused</td>
    </tr>
    <tr>
    <td>7</td>
    <td align="right">128</td>
    <td>str anidb file name</td>
     </tr>
     </tr>
   </table>
   </table>
Line 197: Line 256:
  </tr>
  </tr>
</table>
</table>
</center>


=== ANIME acode replacement ===
=== ANIME acode replacement ===

Revision as of 09:12, 14 October 2008


FILE acode & fcode replacement

amask:

byte1
1 int4 anime total episodes
2 int4 last episode nr (highest, not special)
3 str year
4 str type
5 str related aid list
6 str related aid type
7 str category list
8

byte2
1 str romaji name
2 str kanji name
3 str english name
4 str other name
5 str short name list
6 str synonym list
7 str producer name list
8 str producer id list

byte3
1 str epno
2 str ep name
3 str ep romaji name
4 str ep kanji name
5
6
7
8

byte4
1 str group name
2 str group short name
3
4
5
6
7
8

fmask:

Byte 1 Byte 2 Byte 3 Byte 4
Bit Decimal Data Field
0 1 -
1 2 int4 aid
2 4 int4 eid
3 8 int4 gid
4 16 int4 lid
5 32 list other episodes
6 64 int2 IsDeprecated
7 128 int2 state
Bit Decimal Data Field
0 1 int8 size
1 2 str ed2k
2 4 str md5
3 8 str sha1
4 16 str crc32
5 32 -
6 64 -
7 128 -
Bit Decimal Data Field
0 1 str quality
1 2 str source
2 4 str audio codec
3 8 int4 audio bitrate
4 16 str video codec
5 32 int4 video bitrate
6 64 str video resolution
7 128 str file type (extension)
Bit Decimal Data Field
0 1 str dub language
1 2 str sub language
2 4 int4 length in seconds
3 8 str description
4 16 int4 release date
5 32 unused
6 64 unused
7 128 str anidb file name

ANIME acode replacement

amask:

amask:
byte1
1 int aid
2
3 str year
4 str type
5 str related aid list
6 str related aid type
7 str category list
8 str award list

byte2
1 str romaji name
2 str kanji name
3 str english name
4 str other name
5 str short name list
6 str synonym list
7 str producer name list
8 str producer id list

byte3
1 int4 episodes
2 int4 normal ep count
3 int4 special ep count
4 int4 air date
5 int4 end date
6 str url
7 str picname
8

byte4
1 int4 rating
2 int4 vote count
3 int4 temp rating
4 int4 temp vote count
5 int4 average review rating
6 int4 review count
7
8

byte5
1 int4 anime planet id
2 int4 anime news network id
3 int4 allcinema id
4 str animenfo id
5
6
7
8

ANIME Relationship Types

Some stuff I don't remember, but need to look up.

Empty Table

Byte 1
Bit Decimal Data Field
0 1 String
1 2 String
2 4 String
3 8 String
4 16 String
5 32 String
6 64 String
7 128 String