Page 64 of 85 FirstFirst ... 1439545556575859606162636465666768697071727374 ... LastLast
Results 1,261 to 1,280 of 1797

Thread: Guide to the ETW map

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Artifex
    Patrician

    Join Date
    Oct 2008
    Location
    London, UK
    Posts
    1,332

    Default Re: Guide to the ETW map

    12:22 split produces nonsense like this:

    <ary type="boundaries">
    <boundaries unknown1="704 (02c0)" unknown2="273 (000111)" path_id="49" vertex_index="1408"/>
    <boundaries unknown1="0 (0000)" unknown2="2 (000002)" path_id="-1" vertex_index="1414"/>
    <boundaries unknown1="536 (0218)" unknown2="1048833 (100101)" path_id="49" vertex_index="1427"/>
    <boundaries unknown1="436 (01b4)" unknown2="1114128 (110010)" path_id="0" vertex_index="1431"/>
    </ary>

    <ary type="boundaries">
    <boundaries unknown1="1012 (03f4)" unknown2="1114384 (110110)" path_id="0" vertex_index="1507"/>
    <boundaries unknown1="0 (0000)" unknown2="2 (000002)" path_id="-1" vertex_index="1516"/>
    <boundaries unknown1="536 (0218)" unknown2="1048833 (100101)" path_id="49" vertex_index="1528"/>
    </ary>

    <ary type="boundaries">
    <boundaries unknown1="764 (02fc)" unknown2="1179920 (120110)" path_id="0" vertex_index="2049"/>
    <boundaries unknown1="0 (0000)" unknown2="3 (000003)" path_id="-1" vertex_index="2058"/>
    <boundaries unknown1="388 (0184)" unknown2="65568 (010020)" path_id="0" vertex_index="2067"/>
    </ary>

    <ary type="boundaries">
    <boundaries unknown1="1020 (03fc)" unknown2="1115664 (110610)" path_id="0" vertex_index="10002"/>
    <boundaries unknown1="0 (0000)" unknown2="3 (000003)" path_id="-1" vertex_index="10010"/>
    </ary>

    <ary type="boundaries">
    <boundaries unknown1="728 (02d8)" unknown2="1048848 (100110)" path_id="0" vertex_index="9958"/>
    <boundaries unknown1="0 (0000)" unknown2="3 (000003)" path_id="-1" vertex_index="9969"/>
    <boundaries unknown1="388 (0184)" unknown2="65568 (010020)" path_id="0" vertex_index="9988"/>
    <boundaries unknown1="52 (0034)" unknown2="2162688 (210000)" path_id="0" vertex_index="9997"/>
    </ary>


    You can see very clearly that unknown2 (bottom 22 bits) are some kind of bitfield, and unknown1 (top 12 bits) have very high steps suggesting it took too many bits.

    Maybe unknown is 8:4:4:4:4:4:4 or something. Most of bottom bits are almost certainly some bitfield, not index or id. With top bits nobody knows.

  2. #2
    Artifex
    Patrician

    Join Date
    Oct 2008
    Location
    London, UK
    Posts
    1,332

    Default Re: Guide to the ETW map

    Here's 8:24 split (what code currently does except concatenating unknown2/3/4 together):


    <ary type="boundaries">
    <boundaries unknown1="0 (00)" unknown2="2 (000002)" path_id="-1" vertex_index="81"/>
    <boundaries unknown1="109 (6d)" unknown2="1114128 (110010)" path_id="0" vertex_index="88"/>
    </ary>


    <ary type="boundaries">
    <boundaries unknown1="0 (00)" unknown2="2 (000002)" path_id="-1" vertex_index="1114"/>
    <boundaries unknown1="134 (86)" unknown2="1048832 (100100)" path_id="0" vertex_index="1120"/>
    </ary>


    <ary type="boundaries">
    <boundaries unknown1="182 (b6)" unknown2="1048849 (100111)" path_id="49" vertex_index="1588"/>
    <boundaries unknown1="0 (00)" unknown2="2 (000002)" path_id="-1" vertex_index="1594"/>
    <boundaries unknown1="109 (6d)" unknown2="1114128 (110010)" path_id="0" vertex_index="1603"/>
    </ary>

    <ary type="boundaries">
    <boundaries unknown1="253 (fd)" unknown2="2163216 (210210)" path_id="0" vertex_index="2072"/>
    <boundaries unknown1="0 (00)" unknown2="3 (000003)" path_id="-1" vertex_index="2080"/>
    <boundaries unknown1="134 (86)" unknown2="1048832 (100100)" path_id="0" vertex_index="2087"/>
    </ary>

    <ary type="boundaries">
    <boundaries unknown1="176 (b0)" unknown2="273 (000111)" path_id="49" vertex_index="2688"/>
    <boundaries unknown1="0 (00)" unknown2="2 (000002)" path_id="-1" vertex_index="2694"/>
    <boundaries unknown1="109 (6d)" unknown2="1114128 (110010)" path_id="0" vertex_index="2703"/>
    </ary>

    <ary type="boundaries">
    <boundaries unknown1="182 (b6)" unknown2="1048864 (100120)" path_id="0" vertex_index="3423"/>
    <boundaries unknown1="0 (00)" unknown2="3 (000003)" path_id="-1" vertex_index="3432"/>
    <boundaries unknown1="97 (61)" unknown2="65552 (010010)" path_id="0" vertex_index="3446"/>
    </ary>


    <ary type="boundaries">
    <boundaries unknown1="182 (b6)" unknown2="1048849 (100111)" path_id="49" vertex_index="7860"/>
    <boundaries unknown1="0 (00)" unknown2="2 (000002)" path_id="-1" vertex_index="7868"/>
    <boundaries unknown1="97 (61)" unknown2="65552 (010010)" path_id="4" vertex_index="7879"/>
    <boundaries unknown1="13 (0d)" unknown2="1114112 (110000)" path_id="4" vertex_index="7884"/>
    </ary>

    <ary type="boundaries">
    <boundaries unknown1="176 (b0)" unknown2="273 (000111)" path_id="49" vertex_index="11271"/>
    <boundaries unknown1="0 (00)" unknown2="2 (000002)" path_id="-1" vertex_index="11276"/>
    <boundaries unknown1="13 (0d)" unknown2="1318912 (142000)" path_id="6" vertex_index="11289"/>
    <boundaries unknown1="1 (01)" unknown2="151552 (025000)" path_id="53" vertex_index="11297"/>
    <boundaries unknown1="97 (61)" unknown2="73744 (012010)" path_id="4" vertex_index="11303"/>
    </ary>

    <ary type="boundaries">
    <boundaries unknown1="241 (f1)" unknown2="74768 (012410)" path_id="4" vertex_index="11308"/>
    <boundaries unknown1="129 (81)" unknown2="152064 (025200)" path_id="53" vertex_index="11314"/>
    <boundaries unknown1="143 (8f)" unknown2="1319168 (142100)" path_id="6" vertex_index="11321"/>
    </ary>

    8 bit ID, 24 bit bitfield looks entirely plausible - but even then unknown1 might have fewer bits than 8, its lowest one or two bits look suspicious.

    If you see anything, tell me.

  3. #3
    Ordinarius
    Join Date
    Jul 2009
    Location
    Italy
    Posts
    737

    Default Re: Guide to the ETW map

    split unknown in more than 2 parts?

  4. #4
    Artifex
    Patrician

    Join Date
    Oct 2008
    Location
    London, UK
    Posts
    1,332

    Default Re: Guide to the ETW map

    Here's bit co-occurrence matrix for unknown field.

    I'm not entirely sure that count(a&b)^2 / count(a) / count(b) is the correct thing to measure... ;-)

    I'll think of a better metric to plot later.


    Bit: 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
    Percents: 47% 29% 44% 28% 29% 44% 28% 49% 00% 02% 05% 37% 00% 01% 07% 41% 01% 05% 13% 11% 00% 03% 08% 37% 00% 02% 08% 34% 00% 02% 35% 24%

    Dependence%: 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
    31: 100 26 51 58 28 52 59 45 0 1 1 55 0 1 6 39 0 5 17 6 1 6 16 77 0 1 7 44 XX 1 0 18
    30: 26 100 66 27 17 20 7 59 0 3 2 16 0 0 0 71 0 1 6 5 0 3 1 23 0 4 7 56 XX 0 0 13
    29: 51 66 100 63 20 31 18 54 0 3 3 25 0 0 2 57 1 5 18 6 0 3 5 44 0 5 17 77 XX 1 0 17
    28: 58 27 63 100 8 19 15 27 0 1 1 17 0 0 2 27 0 1 21 0 0 2 4 55 0 1 6 60 XX 0 0 10
    27: 28 17 20 8 100 66 28 60 1 6 10 51 0 4 14 44 0 1 5 6 0 4 4 21 0 3 3 15 XX 0 0 14
    26: 52 20 31 19 66 100 63 54 1 5 12 83 0 3 11 41 1 4 10 12 0 4 9 40 0 3 5 23 XX 1 0 17
    25: 59 7 18 15 28 63 100 27 0 0 0 76 0 2 5 22 0 1 5 6 0 3 10 47 0 1 2 14 XX 0 0 11
    24: 45 59 54 27 60 54 27 100 0 4 7 43 0 2 14 84 1 4 10 11 0 4 6 37 0 4 8 43 XX 1 0 21
    23: 0 0 0 0 1 1 0 0 100 0 0 0 0 0 0 0 3 0 0 1 0 0 0 0 0 0 0 0 XX 1 0 0
    22: 1 3 3 1 6 5 0 4 0 100 0 0 0 0 1 3 0 0 8 1 0 4 0 0 0 1 0 2 XX 0 0 0
    21: 1 2 3 1 10 12 0 7 0 0 100 0 0 1 12 2 1 13 3 12 0 0 2 0 0 1 5 0 XX 2 0 0
    20: 55 16 25 17 51 83 76 43 0 0 0 100 0 2 4 38 0 1 4 5 0 3 8 45 0 1 2 23 XX 0 0 19
    19: 0 0 0 0 0 0 0 0 0 0 0 0 100 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 XX 0 0 0
    18: 1 0 0 0 4 3 2 2 0 0 1 2 0 100 0 0 0 0 5 1 0 2 1 0 0 0 0 0 XX 0 0 0
    17: 6 0 2 2 14 11 5 14 0 1 12 4 0 0 100 0 1 13 6 15 0 1 9 1 0 1 3 0 XX 2 0 0
    16: 39 71 57 27 44 41 22 84 0 3 2 38 0 0 0 100 0 1 5 4 0 2 1 38 0 3 5 49 XX 0 0 24
    15: 0 0 1 0 0 1 0 1 3 0 1 0 0 0 1 0 100 3 1 2 1 0 1 0 1 0 1 0 XX 4 0 0
    14: 5 1 5 1 1 4 1 4 0 0 13 1 0 0 13 1 3 100 2 21 1 0 15 0 0 1 14 0 XX 7 0 0
    13: 17 6 18 21 5 10 5 10 0 8 3 4 0 5 6 5 1 2 100 0 1 8 6 7 0 5 10 7 XX 3 0 0
    12: 6 5 6 0 6 12 6 11 1 1 12 5 0 1 15 4 2 21 0 100 0 2 12 1 0 3 9 1 XX 7 0 0
    11: 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 100 0 0 0 0 0 1 0 XX 1 0 0
    10: 6 3 3 2 4 4 3 4 0 4 0 3 0 2 1 2 0 0 8 2 0 100 0 0 0 2 1 1 XX 1 0 0
    09: 16 1 5 4 4 9 10 6 0 0 2 8 0 1 9 1 1 15 6 12 0 0 100 0 0 0 11 1 XX 2 0 0
    08: 77 23 44 55 21 40 47 37 0 0 0 45 0 0 1 38 0 0 7 1 0 0 0 100 0 0 1 48 XX 0 0 21
    07: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 100 0 0 0 XX 0 0 0
    06: 1 4 5 1 3 3 1 4 0 1 1 1 0 0 1 3 0 1 5 3 0 2 0 0 0 100 0 0 XX 1 0 0
    05: 7 7 17 6 3 5 2 8 0 0 5 2 0 0 3 5 1 14 10 9 1 1 11 1 0 0 100 0 XX 3 0 0
    04: 44 56 77 60 15 23 14 43 0 2 0 23 0 0 0 49 0 0 7 1 0 1 1 48 0 0 0 100 XX 0 0 19
    03: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
    02: 1 0 1 0 0 1 0 1 1 0 2 0 0 0 2 0 4 7 3 7 1 1 2 0 0 1 3 0 XX 100 0 3
    01: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 XX 0 100 2
    00: 18 13 17 10 14 17 11 21 0 0 0 19 0 0 0 24 0 0 0 0 0 0 0 21 0 0 0 19 XX 3 2 100


  5. #5
    Artifex
    Patrician

    Join Date
    Oct 2008
    Location
    London, UK
    Posts
    1,332

    Default Re: Guide to the ETW map

    Here's correlation matrix:


    Bit: 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
    Percents: 47% 29% 44% 28% 29% 44% 28% 49% 00% 02% 05% 37% 00% 01% 07% 41% 01% 05% 13% 11% 00% 03% 08% 37% 00% 02% 08% 34% 00% 02% 35% 24%

    Dependence%: 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
    31: +100 +23 +47 +65 +26 +49 +65 +37 -3 +0 -9 +56 -1 +4 +8 +33 +0 +8 +25 +3 +6 +18 +30 +80 -1 +1 +10 +44 XXX +0 -69 +14
    30: +23 +100 +72 +34 +17 +15 -1 +65 +2 +13 +2 +11 -1 -7 -16 +77 -3 -5 +7 +4 +2 +9 -4 +24 +2 +15 +14 +63 XXX -3 -46 +13
    29: +47 +72 +100 +70 +14 +21 +11 +51 +1 +9 +4 +17 -1 -8 -7 +57 +2 +9 +27 +2 +4 +7 +4 +44 +5 +17 +32 +81 XXX +2 -64 +13
    28: +65 +34 +70 +100 -1 +13 +15 +25 -2 +5 -5 +15 -1 -4 -2 +28 -2 -3 +34 -22 +4 +6 +5 +63 -1 +0 +12 +67 XXX -3 -45 +9
    27: +26 +17 +14 -1 +100 +72 +34 +66 +5 +20 +24 +58 +2 +16 +29 +49 -1 -4 +3 +7 -1 +12 +7 +19 +2 +12 +3 +10 XXX -3 -47 +15
    26: +49 +15 +21 +13 +72 +100 +70 +51 +6 +16 +26 +86 +2 +12 +22 +38 +2 +8 +12 +17 -1 +11 +17 +38 +2 +9 +7 +16 XXX +2 -64 +14
    25: +65 -1 +11 +15 +34 +70 +100 +25 -2 -8 -13 +82 +0 +9 +9 +20 -3 -5 +5 +8 -1 +11 +20 +54 +0 +5 +1 +11 XXX -3 -45 +10
    24: +37 +65 +51 +25 +66 +51 +25 +100 +4 +13 +16 +41 +2 +11 +28 +85 +1 +7 +11 +15 +1 +10 +6 +32 +2 +12 +12 +43 XXX +0 -71 +19
    23: -3 +2 +1 -2 +5 +6 -2 +4 +100 +0 -1 -3 +0 +4 +5 +1 +17 +3 +4 +8 +0 +0 -1 -2 +0 +2 +2 -1 XXX +9 -4 -1
    22: +0 +13 +9 +5 +20 +16 -8 +13 +0 +100 -3 -10 +5 +2 +6 +9 +4 +3 +25 +4 +4 +17 -2 -5 +0 +10 +1 +5 XXX +3 -10 -7
    21: -9 +2 +4 -5 +24 +26 -13 +16 -1 -3 +100 -17 +1 +9 +30 -1 +6 +32 +11 +30 +0 -1 +7 -13 +4 +6 +18 -8 XXX +11 -17 -8
    20: +56 +11 +17 +15 +58 +86 +82 +41 -3 -10 -17 +100 +0 +7 +6 +37 -4 -8 -1 +2 -2 +7 +15 +48 -1 +3 -2 +19 XXX -4 -56 +20
    19: -1 -1 -1 -1 +2 +2 +0 +2 +0 +5 +1 +0 +100 +0 +0 -1 +0 +3 +1 +3 +0 +0 +1 -1 +0 +0 +0 -1 XXX +5 -1 -1
    18: +4 -7 -8 -4 +16 +12 +9 +11 +4 +2 +9 +7 +0 +100 -3 -9 +4 +1 +19 +5 +1 +12 +5 -2 +0 +1 -1 -8 XXX +1 -8 -5
    17: +8 -16 -7 -2 +29 +22 +9 +28 +5 +6 +30 +6 +0 -3 +100 -21 +8 +32 +18 +33 +0 +5 +25 -7 +3 +4 +9 -14 XXX +10 -19 -12
    16: +33 +77 +57 +28 +49 +38 +20 +85 +1 +9 -1 +37 -1 -9 -21 +100 -4 -10 -2 -3 +1 +5 -8 +37 +1 +10 +8 +53 XXX -5 -61 +26
    15: +0 -3 +2 -2 -1 +2 -3 +1 +17 +4 +6 -4 +0 +4 +8 -4 +100 +15 +9 +11 +7 +4 +6 -6 +12 +3 +5 -3 XXX +18 -7 -2
    14: +8 -5 +9 -3 -4 +8 -5 +7 +3 +3 +32 -8 +3 +1 +32 -10 +15 +100 +8 +42 +6 +2 +34 -12 +4 +6 +34 -12 XXX +25 -16 -8
    13: +25 +7 +27 +34 +3 +12 +5 +11 +4 +25 +11 -1 +1 +19 +18 -2 +9 +8 +100 -10 +8 +24 +17 +7 +5 +18 +24 +8 XXX +12 -27 -16
    12: +3 +4 +2 -22 +7 +17 +8 +15 +8 +4 +30 +2 +3 +5 +33 -3 +11 +42 -10 +100 +3 +10 +28 -17 +6 +12 +24 -16 XXX +23 -25 -13
    11: +6 +2 +4 +4 -1 -1 -1 +1 +0 +4 +0 -2 +0 +1 +0 +1 +7 +6 +8 +3 +100 +0 -1 -4 +0 +2 +6 -1 XXX +7 -4 -1
    10: +18 +9 +7 +6 +12 +11 +11 +10 +0 +17 -1 +7 +0 +12 +5 +5 +4 +2 +24 +10 +0 +100 -4 -13 +2 +14 +3 +1 XXX +6 -12 -8
    09: +30 -4 +4 +5 +7 +17 +20 +6 -1 -2 +7 +15 +1 +5 +25 -8 +6 +34 +17 +28 -1 -4 +100 -20 +1 +2 +27 -11 XXX +11 -21 -10
    08: +80 +24 +44 +63 +19 +38 +54 +32 -2 -5 -13 +48 -1 -2 -7 +37 -6 -12 +7 -17 -4 -13 -20 +100 -2 -5 -7 +52 XXX -9 -56 +24
    07: -1 +2 +5 -1 +2 +2 +0 +2 +0 +0 +4 -1 +0 +0 +3 +1 +12 +4 +5 +6 +0 +2 +1 -2 +100 +1 -1 -3 XXX +3 -3 -2
    06: +1 +15 +17 +0 +12 +9 +5 +12 +2 +10 +6 +3 +0 +1 +4 +10 +3 +6 +18 +12 +2 +14 +2 -5 +1 +100 -4 -11 XXX +7 -11 -6
    05: +10 +14 +32 +12 +3 +7 +1 +12 +2 +1 +18 -2 +0 -1 +9 +8 +5 +34 +24 +24 +6 +3 +27 -7 -1 -4 +100 -19 XXX +14 -20 -10
    04: +44 +63 +81 +67 +10 +16 +11 +43 -1 +5 -8 +19 -1 -8 -14 +53 -3 -12 +8 -16 -1 +1 -11 +52 -3 -11 -19 +100 XXX -7 -52 +21
    03: XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX
    02: +0 -3 +2 -3 -3 +2 -3 +0 +9 +3 +11 -4 +5 +1 +10 -5 +18 +25 +12 +23 +7 +6 +11 -9 +3 +7 +14 -7 XXX +100 -8 +13
    01: -69 -46 -64 -45 -47 -64 -45 -71 -4 -10 -17 -56 -1 -8 -19 -61 -7 -16 -27 -25 -4 -12 -21 -56 -3 -11 -20 -52 XXX -8 +100 -19
    00: +14 +13 +13 +9 +15 +14 +10 +19 -1 -7 -8 +20 -1 -5 -12 +26 -2 -8 -16 -13 -1 -8 -10 +24 -2 -6 -10 +21 XXX +13 -19 +100


    Negative values cor0/1, cor4/5, cor8/9, cor12/13, cor16/17, cor20/21, and lack of negative values in cor24..31 block suggest correct breakdown is:

    8 bits ID,
    4 bits
    4 bits
    4 bits
    4 bits
    4 bits
    4 bits

    Or in hex notation 2:1:1:1:1:1:1 hex digits.

    cor12/14 and cor12/15 are not entirely consistent with this, but considering how messy the data is in general it's close enough.


    ... and S2TW pathfinding has 4th bit always 0, sort of violating my results, and bottom 24 bits not behaving terribly much like bitfield. Even there there's still pretty strong 8:24 division.

    So I'll divide unknown into 8:24 for now and leave it to you guys to figure it out.
    unknown1 should probably be read as decimal.
    unknown2 as hex, with each hexdigit meaning something separate.

  6. #6
    Ordinarius
    Join Date
    Jul 2009
    Location
    Italy
    Posts
    737

    Default Re: Guide to the ETW map

    taw, don't forget post #374
    Last edited by PietroMicca; April 07, 2012 at 06:54 AM. Reason: mistake

  7. #7
    Artifex
    Patrician

    Join Date
    Oct 2008
    Location
    London, UK
    Posts
    1,332

    Default Re: Guide to the ETW map

    Quote Originally Posted by PietroMicca View Post
    taw, don't forget post #374
    What post #374?

    And how those meaningful path_ids are to be generated again?

    Me pull list of regions from some magical place since it's not in pathfinding.esf

    Then i2_ary contains indexes to it.

    Then u2_ary contains indexes to i2_ary. 0 is which path then? "0 <!-- separator -->" ???

    And none of that works at all for NTW DLC pathfinding.esfs right?

  8. #8
    Ordinarius
    Join Date
    Jul 2009
    Location
    Italy
    Posts
    737

    Default Re: Guide to the ETW map

    Quote Originally Posted by taw View Post
    What post #374?

    And how those meaningful path_ids are to be generated again?

    Me pull list of regions from some magical place since it's not in pathfinding.esf

    Then i2_ary contains indexes to it.

    Then u2_ary contains indexes to i2_ary. 0 is which path then? "0 <!-- separator -->" ???

    And none of that works at all for NTW DLC pathfinding.esfs right?
    Can't you put generated comments in an array?

  9. #9
    Ordinarius
    Join Date
    Jul 2009
    Location
    Italy
    Posts
    737

    Default Re: Guide to the ETW map

    stupid question

    signed hex should have 0 or 1 at first digit?

  10. #10
    Artifex
    Patrician

    Join Date
    Oct 2008
    Location
    London, UK
    Posts
    1,332

    Default Re: Guide to the ETW map

    Quote Originally Posted by PietroMicca View Post
    stupid question

    signed hex should have 0 or 1 at first digit?

    Wait, what?

    -1 in 32bit hex is 0xFFFFFFFF.

    +1 in 32bit hex is 0x00000001.

  11. #11
    Ordinarius
    Join Date
    Jul 2009
    Location
    Italy
    Posts
    737

    Default Re: Guide to the ETW map

    Quote Originally Posted by taw View Post
    Wait, what?

    -1 in 32bit hex is 0xFFFFFFFF.

    +1 in 32bit hex is 0x00000001.
    ok I have a theory buzzing in my head

    unknown 8 digits 2:3:3

    the first 2 a sort of unknown id
    the second 3 signed values multiple of 16 and so the last 3

    it would be possible?

  12. #12
    Artifex
    Patrician

    Join Date
    Oct 2008
    Location
    London, UK
    Posts
    1,332

    Default Re: Guide to the ETW map

    Added [uint2, int3, uint3] in comment, enjoy.

  13. #13
    Ordinarius
    Join Date
    Jul 2009
    Location
    Italy
    Posts
    737

    Default Re: Guide to the ETW map

    Quote Originally Posted by taw View Post
    Added [uint2, int3, uint3] in comment, enjoy.
    why you have done it for unknown1?

    I just want unknown2 split in 2 part, the first one signed

  14. #14
    Artifex
    Patrician

    Join Date
    Oct 2008
    Location
    London, UK
    Posts
    1,332

    Default Re: Guide to the ETW map

    Then I have no idea what you're talking about. There are 24 bits in unknown2.

    You want it split into [int12, uint12] ? I've done it in the code, but it's obviously wrong.

    The only negative numbers you'll ever see are in S2TW, I don't think there are any in ETW pathfinding.esf ever.

    <boundaries unknown1="0 (00)" unknown2="2 (000002 | 0 2)" path_id="-1" vertex_index="19"/>
    <boundaries unknown1="143 (8f)" unknown2="1114368 (110100 | 272 256)" path_id="0" vertex_index="24"/>

    <boundaries unknown1="0 (00)" unknown2="9116771 (8b1c63 | -1871 3171)" path_id="-1" vertex_index="5"/>
    <boundaries unknown1="13 (0d)" unknown2="6252321 (5f6721 | 1526 1825)" path_id="14" vertex_index="11"/>

  15. #15
    Ordinarius
    Join Date
    Jul 2009
    Location
    Italy
    Posts
    737

    Default Re: Guide to the ETW map

    We have to give up for now.

    Maybe we'll be more successful in startpos campaign_pathfinder.

  16. #16
    Artifex
    Patrician

    Join Date
    Oct 2008
    Location
    London, UK
    Posts
    1,332

    Default Re: Guide to the ETW map

    path_ids now have comments. No idea if they are correct. What I see doesn't look terribly sensible.


    <boundaries unknown1="0 (00)" unknown2="2 (000002 | 0 2)" path_id="-1 (transition)" vertex_index="19"/>
    <boundaries unknown1="143 (8f)" unknown2="1114368 (110100 | 272 256)" path_id="0 (sea)" vertex_index="24"/>

    <boundaries unknown1="176 (b0)" unknown2="273 (000111 | 0 273)" path_id="49 (new_york, ontario)" vertex_index="1408"/>
    <boundaries unknown1="0 (00)" unknown2="2 (000002 | 0 2)" path_id="-1 (transition)" vertex_index="1414"/>
    <boundaries unknown1="134 (86)" unknown2="1048833 (100101 | 256 257)" path_id="49 (new_york, ontario)" vertex_index="1427"/>
    <boundaries unknown1="109 (6d)" unknown2="1114128 (110010 | 272 16)" path_id="0 (sea)" vertex_index="1431"/>

    <boundaries unknown1="176 (b0)" unknown2="273 (000111 | 0 273)" path_id="49 (new_york, ontario)" vertex_index="9413"/>
    <boundaries unknown1="0 (00)" unknown2="2 (000002 | 0 2)" path_id="-1 (transition)" vertex_index="9417"/>
    <boundaries unknown1="134 (86)" unknown2="1048832 (100100 | 256 256)" path_id="4 (panama, guatemala)" vertex_index="9427"/>
    <boundaries unknown1="97 (61)" unknown2="65553 (010011 | 16 17)" path_id="49 (new_york, ontario)" vertex_index="9433"/>

    <boundaries unknown1="176 (b0)" unknown2="273 (000111 | 0 273)" path_id="49 (new_york, ontario)" vertex_index="13468"/>
    <boundaries unknown1="0 (00)" unknown2="2 (000002 | 0 2)" path_id="-1 (transition)" vertex_index="13473"/>
    <boundaries unknown1="13 (0d)" unknown2="1114112 (110000 | 272 0)" path_id="7 (wilderness_mexico, new_mexico)" vertex_index="13484"/>
    <boundaries unknown1="97 (61)" unknown2="65553 (010011 | 16 17)" path_id="49 (new_york, ontario)" vertex_index="13490"/>

  17. #17
    Ordinarius
    Join Date
    Jul 2009
    Location
    Italy
    Posts
    737

    Default Re: Guide to the ETW map

    you have built your array in the wrong way

    you have put sea as first element of this array

    listed regions, sea and at last what you see after the separator

    you have an <u2_ary>, put comments in order of apparition as elements of an array and replace separator comment with sea

  18. #18
    Artifex
    Patrician

    Join Date
    Oct 2008
    Location
    London, UK
    Posts
    1,332

    Default Re: Guide to the ETW map

    I don't understand you. Just explain it as an example.

  19. #19
    Ordinarius
    Join Date
    Jul 2009
    Location
    Italy
    Posts
    737

    Default Re: Guide to the ETW map

    ok an example from India (grid_data-0004)

    this is <u2_ary>

    Code:
    <u2_ary>
      1 <!-- unexplorable -->
      2 <!-- ceylon -->
      3 <!-- carnatica -->
      4 <!-- mysore -->
      5 <!-- malabar -->
      6 <!-- hyderabad -->
      7 <!-- bijapur -->
      8 <!-- orissa -->
      9 <!-- ahmadnagar -->
      10 <!-- berar -->
      11 <!-- gujarat -->
      12 <!-- malwa -->
      13 <!-- bengal -->
      14 <!-- rajpootana -->
      15 <!-- sindh -->
      16 <!-- hindustan -->
      17 <!-- baluchistan -->
      18 <!-- punjab -->
      19 <!-- afghanistan -->
      20 <!-- kashmir -->
      21 <!-- wilderness_khiva -->
     
      0 <!-- sea -->
     
      2 3, 4 <!-- carnatica, mysore -->
      2 4, 5 <!-- mysore, malabar -->
      2 3, 6 <!-- carnatica, hyderabad -->
      3 4, 5, 7 <!-- mysore, malabar, bijapur -->
      2 4, 7 <!-- mysore, bijapur -->
      2 4, 6 <!-- mysore, hyderabad -->
      3 3, 4, 6 <!-- carnatica, mysore, hyderabad -->
      2 3, 8 <!-- carnatica, orissa -->
      2 5, 7 <!-- malabar, bijapur -->
      2 6, 8 <!-- hyderabad, orissa -->
      3 3, 6, 8 <!-- carnatica, hyderabad, orissa -->
      2 6, 7 <!-- hyderabad, bijapur -->
      2 7, 9 <!-- bijapur, ahmadnagar -->
      3 6, 7, 9 <!-- hyderabad, bijapur, ahmadnagar -->
      2 6, 9 <!-- hyderabad, ahmadnagar -->
      2 6, 10 <!-- hyderabad, berar -->
      3 6, 8, 10 <!-- hyderabad, orissa, berar -->
      2 8, 10 <!-- orissa, berar -->
      2 9, 11 <!-- ahmadnagar, gujarat -->
      3 6, 9, 12 <!-- hyderabad, ahmadnagar, malwa -->
      2 6, 12 <!-- hyderabad, malwa -->
      2 9, 12 <!-- ahmadnagar, malwa -->
      3 6, 10, 12 <!-- hyderabad, berar, malwa -->
      2 10, 12 <!-- berar, malwa -->
      3 9, 11, 12 <!-- ahmadnagar, gujarat, malwa -->
      2 11, 12 <!-- gujarat, malwa -->
      2 8, 13 <!-- orissa, bengal -->
      2 11, 14 <!-- gujarat, rajpootana -->
      3 11, 12, 14 <!-- gujarat, malwa, rajpootana -->
      2 12, 14 <!-- malwa, rajpootana -->
      2 10, 13 <!-- berar, bengal -->
      2 11, 15 <!-- gujarat, sindh -->
      3 10, 12, 13 <!-- berar, malwa, bengal -->
      2 12, 13 <!-- malwa, bengal -->
      3 11, 14, 15 <!-- gujarat, rajpootana, sindh -->
      2 12, 16 <!-- malwa, hindustan -->
      3 12, 13, 16 <!-- malwa, bengal, hindustan -->
      2 14, 15 <!-- rajpootana, sindh -->
      2 14, 16 <!-- rajpootana, hindustan -->
      3 12, 14, 16 <!-- malwa, rajpootana, hindustan -->
      2 13, 16 <!-- bengal, hindustan -->
      2 15, 17 <!-- sindh, baluchistan -->
      3 14, 15, 18 <!-- rajpootana, sindh, punjab -->
      2 14, 18 <!-- rajpootana, punjab -->
      2 15, 18 <!-- sindh, punjab -->
      3 15, 17, 18 <!-- sindh, baluchistan, punjab -->
      2 17, 19 <!-- baluchistan, afghanistan -->
      2 17, 18 <!-- baluchistan, punjab -->
      3 17, 18, 19 <!-- baluchistan, punjab, afghanistan -->
      3 14, 16, 18 <!-- rajpootana, hindustan, punjab -->
      2 18, 19 <!-- punjab, afghanistan -->
      2 16, 18 <!-- hindustan, punjab -->
      3 16, 18, 20 <!-- hindustan, punjab, kashmir -->
      2 16, 20 <!-- hindustan, kashmir -->
      2 18, 20 <!-- punjab, kashmir -->
      2 19, 20 <!-- afghanistan, kashmir -->
      3 18, 19, 20 <!-- punjab, afghanistan, kashmir -->
      2 19, 21 <!-- afghanistan, wilderness_khiva -->
    </u2_ary>
    this is the array to call back for comments (first column position of elements in the array)

    Code:
    0	unexplorable
    1	ceylon
    2	carnatica
    3	mysore
    4	malabar
    5	hyderabad
    6	bijapur
    7	orissa
    8	ahmadnagar
    9	berar
    10	gujarat
    11	malwa
    12	bengal
    13	rajpootana
    14	sindh
    15	hindustan
    16	baluchistan
    17	punjab
    18	afghanistan
    19	kashmir
    20	wilderness_khiva
    21	sea
    22	carnatica, mysore
    23	mysore, malabar
    24	carnatica, hyderabad
    25	mysore, malabar, bijapur
    26	mysore, bijapur
    27	mysore, hyderabad
    28	carnatica, mysore, hyderabad
    29	carnatica, orissa
    30	malabar, bijapur
    31	hyderabad, orissa
    32	carnatica, hyderabad, orissa
    33	hyderabad, bijapur
    34	bijapur, ahmadnagar
    35	hyderabad, bijapur, ahmadnagar
    36	hyderabad, ahmadnagar
    37	hyderabad, berar
    38	hyderabad, orissa, berar
    39	orissa, berar
    40	ahmadnagar, gujarat
    41	hyderabad, ahmadnagar, malwa
    42	hyderabad, malwa
    43	ahmadnagar, malwa
    44	hyderabad, berar, malwa
    45	berar, malwa
    46	ahmadnagar, gujarat, malwa
    47	gujarat, malwa
    48	orissa, bengal
    49	gujarat, rajpootana
    50	gujarat, malwa, rajpootana
    51	malwa, rajpootana
    52	berar, bengal
    53	gujarat, sindh
    54	berar, malwa, bengal
    55	malwa, bengal
    56	gujarat, rajpootana, sindh
    57	malwa, hindustan
    58	malwa, bengal, hindustan
    59	rajpootana, sindh
    60	rajpootana, hindustan
    61	malwa, rajpootana, hindustan
    62	bengal, hindustan
    63	sindh, baluchistan
    64	rajpootana, sindh, punjab
    65	rajpootana, punjab
    66	sindh, punjab
    67	sindh, baluchistan, punjab
    68	baluchistan, afghanistan
    69	baluchistan, punjab
    70	baluchistan, punjab, afghanistan
    71	rajpootana, hindustan, punjab
    72	punjab, afghanistan
    73	hindustan, punjab
    74	hindustan, punjab, kashmir
    75	hindustan, kashmir
    76	punjab, kashmir
    77	afghanistan, kashmir
    78	punjab, afghanistan, kashmir
    79	afghanistan, wilderness_khiva
    highlighted in red position of sea

    -1 transition as you have correctly done

  20. #20
    Artifex
    Patrician

    Join Date
    Oct 2008
    Location
    London, UK
    Posts
    1,332

    Default Re: Guide to the ETW map

    Try it now.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •