예제 #1
0
def rawdata_ref_move_devc(tag_id, index_array, map_data, magic, engine,
                          diffs_by_offsets):
    tag_offset = index_array[tag_id].meta_offset
    # device id
    move_rawdata_ref(map_data, tag_offset +  4, magic, engine, diffs_by_offsets)
    # profile
    move_rawdata_ref(map_data, tag_offset + 24, magic, engine, diffs_by_offsets)
예제 #2
0
def rawdata_ref_move_antr(tag_id, index_array, map_data, magic, engine,
                          diffs_by_offsets):
    tag_offset = index_array[tag_id].meta_offset
    for moff in iter_reflexive_offs(map_data, tag_offset + 116 - magic, 180):
        # frame info
        move_rawdata_ref(map_data, moff +  72, magic, engine, diffs_by_offsets)
        # default data
        move_rawdata_ref(map_data, moff + 140, magic, engine, diffs_by_offsets)
        # frame data
        move_rawdata_ref(map_data, moff + 160, magic, engine, diffs_by_offsets)
예제 #3
0
def rawdata_ref_move_snd_(tag_id, index_array, map_data, magic, engine,
                          diffs_by_offsets):
    tag_offset = index_array[tag_id].meta_offset
    for moff in iter_reflexive_offs(map_data, tag_offset + 152 - magic, 72):
        for moff2 in iter_reflexive_offs(map_data, moff + 60 - magic, 124):
            # samples
            move_rawdata_ref(map_data, moff2 +  64, magic, engine, diffs_by_offsets)
            # mouth data
            move_rawdata_ref(map_data, moff2 +  84, magic, engine, diffs_by_offsets)
            # subtitle data
            move_rawdata_ref(map_data, moff2 + 104, magic, engine, diffs_by_offsets)
예제 #4
0
def rawdata_ref_move_scnr(tag_id, index_array, map_data, magic, engine,
                          diffs_by_offsets):
    tag_offset = index_array[tag_id].meta_offset
    # scenario editor data
    move_rawdata_ref(map_data, tag_offset +  260, magic, engine, diffs_by_offsets)

    # comments
    for moff in iter_reflexive_offs(map_data, tag_offset + 280 - magic, 64):
        move_rawdata_ref(map_data, moff + 44, magic, engine, diffs_by_offsets)

    # recorded animations
    for moff in iter_reflexive_offs(map_data, tag_offset + 876 - magic, 64):
        move_rawdata_ref(map_data, moff + 44, magic, engine, diffs_by_offsets)

    # script syntax data
    move_rawdata_ref(map_data, tag_offset + 1140, magic, engine, diffs_by_offsets)
    # script string data
    move_rawdata_ref(map_data, tag_offset + 1160, magic, engine, diffs_by_offsets)

    # source files
    for moff in iter_reflexive_offs(map_data, tag_offset + 1216 - magic, 52):
        move_rawdata_ref(map_data, moff + 32, magic, engine, diffs_by_offsets)
예제 #5
0
def rawdata_ref_move_metr(tag_id, index_array, map_data, magic, engine,
                          diffs_by_offsets):
    # meter data
    move_rawdata_ref(map_data, index_array[tag_id].meta_offset + 152,
                     magic, engine, diffs_by_offsets)
예제 #6
0
def rawdata_ref_move_font(tag_id, index_array, map_data, magic, engine,
                          diffs_by_offsets):
    # pixels
    move_rawdata_ref(map_data, index_array[tag_id].meta_offset + 136,
                     magic, engine, diffs_by_offsets)
예제 #7
0
def rawdata_ref_move_sidy(tag_id, index_array, map_data, magic, engine,
                          diffs_by_offsets):
    # documentation
    move_rawdata_ref(map_data, index_array[tag_id].meta_offset,
                     magic, engine, diffs_by_offsets)
예제 #8
0
def rawdata_ref_move_shpp(tag_id, index_array, map_data, magic, engine,
                          diffs_by_offsets):
    # shader code binary
    move_rawdata_ref(map_data, index_array[tag_id].meta_offset + 24,
                     magic, engine, diffs_by_offsets)