Skip to content

conversion to raw ANSI escape codes

Thomas Leathers edited this page May 31, 2016 · 4 revisions

T-CODE-RAW.PY is a conversion script that will output raw escape codes to a file called output-raw.txt

TIMGTRANS-PY.sh is a batch conversion bash script that will automatically pass all .TIMG files in the directory TIMGTRANS-PY.sh is in through the above converter python program, and name each new TCR file accordingly. for example: sample.TIMG will be converted, and the resulting TCR file will be called sample.TCR

Please ensure T-CODE-RAW.sh is in the same directory as TIMGTRANS-PY.sh

the resulting TCR files can be opened and printed in python as text data for example. and can also be used in bash with the cat command. and in both cases should display properly.

for information see Python

Clone this wiki locally