A Python script that extracts texts from an Inform project

(Nathanaël Marion) #1

I wrote a Python script that extracts all the text from an Inform 7 project so that it is easy to proofread them. It also substitutes them as much as possible so that spell checkers are not troubled with the brackets inside the text.

You can download it here: bitbucket.org/Natrium729/inform … -extractor

You’ll need Python 3. Type the following command in a terminal to run the script:

$ python i7extract.py MyProject.inform

There’s a bunch of options, all is explained in the README. You can also define custom substitutions with a JSON file.

I hope someone will find it useful!