Skip to content
This repository has been archived by the owner on Sep 10, 2020. It is now read-only.
/ ies2csv Public archive

Python 3.5+ port of Doddler's ies2csv for Tree of Savior .ies files

License

Notifications You must be signed in to change notification settings

dark-nova/ies2csv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ies2csv

Overview

ies2csv is a utility meant to convert the .ies files found within .ipf files used by Tree of Savior to a readable tab-separated file. csv is a misnomer because I discovered some fields in the .ies actually have commas, affecting the output from the original csv format.

This ies2csv is a fork of the original utility, written in C# by Doddler. As practice for myself, I re-implemented the code in Python, specifically Python 3.5+.

Each resulting .tsv file has a structure like so:

  • ncols_int: number of numeric/integer fields, like ClassID (ID) and NeedCount (flag)
  • ncols_str: the rest of the fields, usually strings
  • i.e. ncols = ncols_int + ncols_str

Usage

Main

$ python ies2csv.py -h
usage: ies2csv.py [-h] {file,batch} ...

An .ies file to tsv converter

positional arguments:
  {file,batch}  subcommand help
    file        file help
    batch       batch help

optional arguments:
  -h, --help    show this help message and exit

File-based operations

$ python ies2csv.py file -h
usage: ies2csv.py file [-h] [--output OUTPUT] ies_file

positional arguments:
  ies_file              The .ies file to convert

optional arguments:
  -h, --help            show this help message and exit
  --output OUTPUT, -o OUTPUT
                        An optional file to output to; overrides default file
                        name

⚠ Default behavior creates a .tsv file with the same 'stem' name.

If OUTPUT is specified, the tsv contents will be written to OUTPUT.

Batch operations

$ python ies2csv.py batch -h
usage: ies2csv.py batch [-h] directory

positional arguments:
  directory   The directory with .ies files to batch convert

optional arguments:
  -h, --help  show this help message and exit

⚠ In batch mode, manual output is disabled.

Requirements

This code is designed around the following:

  • Python 3.5+

Disclaimer

This project is not affiliated with or endorsed by Tree of Savior. See LICENSE for more detail.

About

Python 3.5+ port of Doddler's ies2csv for Tree of Savior .ies files

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages