Exemplo n.º 1
0
def to_table(data, path):
    with open(path, 'w') as f:
        csv_writer = csv.writer(f, delimiter=',', quotechar='"',
                                quoting=csv.QUOTE_MINIMAL)

        csv_writer.writerow('Index,Id,Class,File'.split(','))

        reader = BinaryReader(data, 'little')
        size = reader.read_int()

        for i in range(size):
            csv_writer.writerow(to_row(reader))
Exemplo n.º 2
0
def to_table(data, path):
    with open(path, 'w') as f:
        csv_writer = csv.writer(f, delimiter=',', quotechar='"',
                                quoting=csv.QUOTE_MINIMAL)

        csv_writer.writerow('Index,Level,Experience,Experience Gap,UnknownFlag,Details'.split(','))

        reader = BinaryReader(data, 'little')
        size = reader.read_int()

        for i in range(size):
            csv_writer.writerow(to_row(reader))
Exemplo n.º 3
0
def to_table(data, path):
    with open(path, 'w') as f:
        csv_writer = csv.writer(f, delimiter=',', quotechar='"',
                                quoting=csv.QUOTE_MINIMAL)

        csv_writer.writerow('Index,Id,Description,Reward'.split(','))

        reader = BinaryReader(data, 'little')
        size = reader.read_int()

        for i in range(size):
            csv_writer.writerow(to_row(reader))
Exemplo n.º 4
0
def to_table(data, path):
    with open(path, 'w') as f:
        csv_writer = csv.writer(f, delimiter=',', quotechar='"',
                                quoting=csv.QUOTE_MINIMAL)

        csv_writer.writerow(
            'Index,Id,Type,Order,Value,Cash Level,Points Level,Cash 7,Cash 30,'
            'Cash Perm,Points 7,Points 30,Points Perm,Name'.split(',')
        )

        reader = BinaryReader(data, 'little')
        size = reader.read_int()

        for i in range(size):
            csv_writer.writerow(to_row(reader))
Exemplo n.º 5
0
def to_table(data, path):
    with open(path, 'w') as f:
        csv_writer = csv.writer(f,
                                delimiter=',',
                                quotechar='"',
                                quoting=csv.QUOTE_MINIMAL)

        csv_writer.writerow('Index,Id,StatIndex,Level,StatPoints,Payment,'
                            'Cash,Points,Name,Stat,IconPath'.split(','))

        reader = BinaryReader(data, 'little')
        size = reader.read_int()

        for i in range(size):
            csv_writer.writerow(to_row(reader))
Exemplo n.º 6
0
def to_table(data, path):
    with open(path, 'w') as f:
        csv_writer = csv.writer(f,
                                delimiter=',',
                                quotechar='"',
                                quoting=csv.QUOTE_MINIMAL)

        csv_writer.writerow(
            'Index,Level,Experience,Experience Gap,UnknownFlag,Details'.split(
                ','))

        reader = BinaryReader(data, 'little')
        size = reader.read_int()

        for i in range(size):
            csv_writer.writerow(to_row(reader))
Exemplo n.º 7
0
def to_table(data, path):
    with open(path, 'w') as f:
        csv_writer = csv.writer(f,
                                delimiter=',',
                                quotechar='"',
                                quoting=csv.QUOTE_MINIMAL)

        csv_writer.writerow(
            'Index,Id,Type,Order,Value,Cash Level,Points Level,Cash 7,Cash 30,'
            'Cash Perm,Points 7,Points 30,Points Perm,Name'.split(','))

        reader = BinaryReader(data, 'little')
        size = reader.read_int()

        for i in range(size):
            csv_writer.writerow(to_row(reader))
Exemplo n.º 8
0
def to_table(data, path):
    with open(path, 'w') as f:
        csv_writer = csv.writer(f, delimiter=',', quotechar='"',
                                quoting=csv.QUOTE_MINIMAL)

        csv_writer.writerow(
            'Index,Id,Position,Class,Level,Payment,Cash 7,Cash 30,'
            'Cash Perm,Points 7,Points 30,Points Perm,Unknown,Name,'
            'Icon Path,Shop Description,Description'.split(',')
        )

        reader = BinaryReader(data, 'little')
        size = reader.read_int()

        for i in range(size):
            csv_writer.writerow(to_row(reader))
Exemplo n.º 9
0
def to_table(data, path):
    with open(path, 'w') as f:
        csv_writer = csv.writer(f,
                                delimiter=',',
                                quotechar='"',
                                quoting=csv.QUOTE_MINIMAL)

        csv_writer.writerow(
            'Index,Id,Position,Class,Level,Payment,Cash 7,Cash 30,'
            'Cash Perm,Points 7,Points 30,Points Perm,Unknown,Name,'
            'Icon Path,Shop Description,Description'.split(','))

        reader = BinaryReader(data, 'little')
        size = reader.read_int()

        for i in range(size):
            csv_writer.writerow(to_row(reader))
Exemplo n.º 10
0
def to_table(data, path):
    with open(path, 'w') as f:
        csv_writer = csv.writer(f, delimiter=',', quotechar='"',
                                quoting=csv.QUOTE_MINIMAL)

        csv_writer.writerow(
            'Index,Id,Class,Name,Unknown,Gender,Level,Unknown,Unknown,Brand,Unknown,'
            'Payment,Exchange,Cash 7,Cash 30,Cash Perm,Points 7,Points 30,'
            'Points Perm,Bonus,Icon Path,NifFile1,NifFile2,NifFile3,'
            'NifFile4,NifFile5,Description'.split(',')
        )

        reader = BinaryReader(data, 'little')
        size = reader.read_int()

        for i in range(size):
            csv_writer.writerow(to_row(reader))
Exemplo n.º 11
0
def to_table(data, path):
    with open(path, 'w') as f:
        csv_writer = csv.writer(f,
                                delimiter=',',
                                quotechar='"',
                                quoting=csv.QUOTE_MINIMAL)

        csv_writer.writerow(
            'Index,Id,Class,Name,Unknown,Gender,Level,Unknown,Unknown,Brand,Unknown,'
            'Payment,Exchange,Cash 7,Cash 30,Cash Perm,Points 7,Points 30,'
            'Points Perm,Bonus,Icon Path,NifFile1,NifFile2,NifFile3,'
            'NifFile4,NifFile5,Description'.split(','))

        reader = BinaryReader(data, 'little')
        size = reader.read_int()

        for i in range(size):
            csv_writer.writerow(to_row(reader))
Exemplo n.º 12
0
def to_table(data, path):
    with open(path, 'w') as f:
        csv_writer = csv.writer(f,
                                delimiter=',',
                                quotechar='"',
                                quoting=csv.QUOTE_MINIMAL)

        csv_writer.writerow(
            'Index,Id,Level,Payment,Cash 7,Cash 30,'
            'Cash Perm,Points 7,Points 30,Points Perm,Unknown,Name,'
            'CaUnknown,Camera File,Icon Path,Winner0,Winner1,Winner2,'
            'Winner3,Winner4,Loser0,Loser1,Loser2,Loser3,Loser4,'
            'Description'.split(','))

        reader = BinaryReader(data, 'little')
        size = reader.read_int()

        for i in range(size):
            csv_writer.writerow(to_row(reader))