/vtf-parser

Transformer for Transvalor vtf file to csv file write in c++

Primary LanguageC++MIT LicenseMIT

VtfParser

This repository is a program that I write to transform the ".vtf" file generate by transvalor forge to ".csv" file.

Compilation

Just use g++ to compile all ".cpp" file in the repository.

$ g++ *.cpp -o vtf-parser

Then just copy the vtf-parser binary file to your working directory.

Usage

  1. Transform only one vtf file (the file name must contain .vtf):
$ ./vtf-parser <vtf filename>
  1. Use the find command to generate file names file, and recursively transform all vtf files in the folder:
$ find . -type f -name "*.vtf" > vtfFiles
$ ./VtfParser < vtfFiles