Binary numbers
- Why a redundant binary numbers?
- It will be overwritten next time, because the table is created by script.
- Wiimm (talk) 16:03, 14 September 2013 (UTC)
- I thought it would help to recognise the event type and the item. I didn't know this table is generated by a script.
- Leseratte (talk) 16:13, 14 September 2013 (UTC)
- No problem and infos are welcome. It's only a hint, that editing the table is wast of time.
- But the open question is: Why a redundant binary numbers? For all other see below.
- Wiimm (talk) 16:39, 14 September 2013 (UTC)
Data structure SHOOT
- Event types 0x40 and 0x41 have different data length, so it can't be the same data structure.
- Wiimm (talk) 16:06, 14 September 2013 (UTC)
Generic tables and C-Code
I have a script, that reads data tables and creates C-Code and the wiki tables and sometimes some other helpful stuff.
One is the item list:
Item List
! idx | id-name | n1| n2 | nam4 | en-name | de-name
!---------------------------------------------------------------------------------
+02 | BANANA | b | B1 | BA-1 | Banana | Banane
+12 | BANANA3 | B | B3 | BA-3 | Triple Banana | Drei Bananen
+03 | FAKE | f | FK | FAKE | Fake Item Box | Schwindel-Box
+06 | BOBOMB | o | BO | BOMB | Bob-omb | Bob-omb
+00 | GREEN | g | G1 | GR-1 | Green Shell | Grüner Panzer
+10 | GREEN3 | G | G3 | GR-3 | Triple Green Shell | Drei Grüne Panzer
+01 | RED | r | R1 | RD-1 | Red Shell | Roter Panzer
+11 | RED3 | R | R3 | RD-3 | Triple Red Shell | Drei Rote Panzer
07 | BLUE | b | SS | SPIN | Spiny Shell | Stachi-Panzer
!---------------------------------------------------------------------------------
04 | MUSHROOM | 1 | M1 | MR-1 | Mushroom | Turbo-Pilz
05 | MUSHROOM3 | 3 | M3 | MR-3 | Triple Mushroom | Drei Turbo-Pilze
0a | GOLDEN | G | GM | GOLD | Golden Mushroom | Goldener Turbo-Pilz
0b | MEGA | M | MM | MEGA | Mega Mushroom | Maxi-Pilz
09 | STAR | S | ST | STAR | Star | Superstern
0f | BULLET | B | BB | BILL | Bullet Bill | Kugelwilli
0e | CLOUD | C | TC | THUN | Thunder Cloud | Wolkenblitz
!---------------------------------------------------------------------------------
0c | BLOOPER | b | BP | BLOP | Blooper | Blooper
0d | POW | p | PB | POWB | POW Block | POW-Block
08 | LIGHTNING | l | LI | LIGH | Lightning | Blitz
!---------------------------------------------------------------------------------
13 | UNKNOWN | ? | ?? | ???? | ?unknown? | ?unbekannt?
14 | NONE | - | -- | ---- | no item | kein Item
!---------------------------------------------------------------------------------
! +idx: tail possible
The table define names and the order+separators for e.g. the LOG command.
Next is the event table:
Event List
! Legende:
| <NAME: Use item of box
| >NAME: Use item of tail
| +NAME: Drop item to road
| -NAME: Absorb item from road
| *NAME: Collide with item
!-----------------------------------------------------------------
! type|len |struct | related items | info
!-----------------------------------------------------------------
10 | 0 | | | *no event*
!-----------------------------------------------------------------
23 | 3 | USED | <MR-1 <MR-3 | Mushroom used
24 | 3 | USED | <STAR | Star activated
26 | 3 | USED | <LIGH | Lightning activated
28 | 3 | USED | <MEGA | Mega Mushroom activated
...
!-----------------------------------------------------------------
60 | 14 | | | | ? lost green shell after blue
61 | 14 | | |
62 | 14 | | |
...
The first instance of the second table was also created by script and analysing all events of all network dumps I have (165 dumps with total 10.5 GB = 2.1 GB compressed). But that's not all, I have also 13 GB of videos showing my races related to some of the dumps. The total size of the mkw-ana project is about 17 GB without compiled files.
Wiimm (talk) 16:39, 14 September 2013 (UTC)