/YSRes

parsing blks

Primary LanguagePython

YSRes

A Parser of a certain anime game's data files (WIP)

Current target version: 3.5

Requirements

  • Python 3

How to run

  • Clone this repository
git clone https://github.com/paimooon/YSRes
  • Place blk files in YSRes/blk
  • Edit textMapLanguage and xorKey in prepare.py
  • Install Python modules
pip install kaitaistruct XlsxWriter
  • Run prepare
python prepare.py
  • Run main
# example
python main.py -t -e -o -l KR -i 10000079 -s
python main.py -o -l KR -i 10000080
python main.py -w -l KR -i 12511
python tower.py

Argument usage

usage: main.py [-t] [-e] [-o] [-w] [-l LANG] [-i ID] [-s] 

Arguments:
    -t --textmap        # Dump TextMap (-l argument needed)
    -e --excel          # Dump ExcelBinOutput
    -o --output         # Generate character output (-l, -i argument needed)
    -w --weapon         # Generate weapon output (-l, -i argument needed)

    -l --lang [LANG]    # Set language (Example: KR)
    -i --id [ID]        # Set character id (Example: 10000078)

    -s                  # Xlsx skill short version

BLK info

00/24230448 => BinOutput
00/25539185 => ExcelBinOutput (must need)
00/31049740 => Asset Index
00/35323818 => Lua Scripts
01/26692920 => CHS
02/27251172 => CHT
03/25181351 => DE
04/25776943 => EN
05/20618174 => ES
06/25555476 => FR
07/30460104 => ID
08/32244380 => JP
09/22299426 => KR
10/23331191 => PT
11/21030516 => RU
12/32056053 => TH
13/34382464 => VI

YSRes currently use only ExcelBinOutput and textmap

Future Goals

  • GenerateElemBall data
  • Abyss monster detailed info

Credit