Data structure



  • This data is followed by a uint32 and then that many uint32 pairs, where the first one increases monotonically, then a bunch of the same thing but without the second element of the pair. Before this data is a bunch of arrays following the same format, but with strings instead of uint32s. I can't figure out this part in the middle, though:

    file 1:
    0000000: 0500 0000 0701 0000 4f01 0000 e000 0000  ........O.......
    0000010: e000 0000 6800 0000 6800 0000 9402 0000  ....h...h.......
    0000020: 9a06 0000 0600 0000 0600 0000 0400 0000  ................
    0000030: 8c01 0000 0400 0000 0500 0000 4f01 0000  ............O...
    0000040: 4f01 0000 e000 0000 e000 0000 6800 0000  O...........h...
    0000050: 7a00 0000 9a06 0000 9d06 0000 0600 0000  z...............
    0000060: 0700 0000 8c01 0000 8c01 0000 0500 0000  ................
    0000070: 0500 0000 4f01 0000 4f01 0000 e000 0000  ....O...O.......
    0000080: e000 0000 7a00 0000 8d00 0000 9d06 0000  ....z...........
    0000090: a006 0000 0700 0000 0800 0000 8c01 0000  ................
    00000a0: 8c01 0000 0500 0000 0500 0000 4f01 0000  ............O...
    00000b0: 4f01 0000 e000 0000 e000 0000 8d00 0000  O...............
    00000c0: a000 0000 a006 0000 a306 0000 0800 0000  ................
    00000d0: 0900 0000 8c01 0000 8c01 0000 0500 0000  ................
    00000e0: 0500 0000 4f01 0000 4f01 0000 e000 0000  ....O...O.......
    00000f0: e000 0000 a000 0000 b000 0000 a306 0000  ................
    0000100: a606 0000 0900 0000 0a00 0000 8c01 0000  ................
    0000110: 8c01 0000 0500 0000 0500 0000            ............
    
    file 2:
    0000000: 0200 0000 0701 0000 2f01 0000 e000 0000  ......../.......
    0000010: e000 0000 6800 0000 6800 0000 9402 0000  ....h...h.......
    0000020: d302 0000 0600 0000 0600 0000 0400 0000  ................
    0000030: 9c00 0000 0400 0000 0500 0000 2f01 0000  ............/...
    0000040: 2f01 0000 e000 0000 e000 0000 6800 0000  /...........h...
    0000050: 7800 0000 d302 0000 d602 0000 0600 0000  x...............
    0000060: 0700 0000 9c00 0000 9c00 0000 0500 0000  ................
    0000070: 0500 0000                                ....
    

    Or for those who don't like decoding little endian 32 bit integers in their head,

    file 1:
    00000005 00000107 0000014f 000000e0 000000e0 00000068 00000068 00000294 0000069a 00000006 00000006 00000004 0000018c 00000004 00000005 0000014f 0000014f 000000e0 000000e0 00000068 0000007a 0000069a 0000069d 00000006 00000007 0000018c 0000018c 00000005 00000005 0000014f 0000014f 000000e0 000000e0 0000007a 0000008d 0000069d 000006a0 00000007 00000008 0000018c 0000018c 00000005 00000005 0000014f 0000014f 000000e0 000000e0 0000008d 000000a0 000006a0 000006a3 00000008 00000009 0000018c 0000018c 00000005 00000005 0000014f 0000014f 000000e0 000000e0 000000a0 000000b0 000006a3 000006a6 00000009 0000000a 0000018c 0000018c 00000005 00000005
    
    file 2:
    00000002 00000107 0000012f 000000e0 000000e0 00000068 00000068 00000294 000002d3 00000006 00000006 00000004 0000009c 00000004 00000005 0000012f 0000012f 000000e0 000000e0 00000068 00000078 000002d3 000002d6 00000006 00000007 0000009c 0000009c 00000005 00000005


  • @ben_lubar said:

    This data is followed by a uint32 and then that many uint32 pairs, where the first one increases monotonically, then a bunch of the same thing but without the second element of the pair.

    Seems like Ben has his "I'm a Markov chain" day.



  • The data that I posted is followed in the file by a sorted map[uint32]uint32 and then a few sorted []uint32s.



  • Better.

    Anyway, fuck if I know what I'm looking at. Seems like file 2 got some values replaced with others in a pretty consistent way (preserving duplicates). As to what a blob of random hex dump represents, you might want to ask Nostradamus.



  • Ok, I think I (kinda) figured it out. Both of those are ((multiples of 14) plus one) in length. So it's some kind of crazy list of 14-tuples.

    Wheee



  • Googled for the first line of file 1. Only found a (your) pastebin.

    Did you notice that the lines you shared are identical mod 0 == /; z == x?



  • Macie means to say, wtf are you trying to accomplish



  • @Matches said:

    wtf are you trying to accomplish

    It's Ben; odds are it has something to do with Dwarf Fortress.


  • SockDev

    Either that or Source engine and Alien Swarm.



  • and Go.


Log in to reply
 

Looks like your connection to What the Daily WTF? was lost, please wait while we try to reconnect.