William Lam

Patch Notes Formatter

Manually formatting patch notes for the game known as Heroes of Newerth (HoN) that will be released every few weeks (or even months) is incredibly tedious & consumes hours of your time each time you do it. By investing ~10 hours into a Python Patch Notes Formatter script, I was able to enjoy my increased productivity and semi-automate the formatting process!

The script is generally pretty simple: it takes in a patch_notes.txt file as an input file, and then parses it line-by-line to format it into 2 new files: one formatted specifically for the official HoN forums, and the other for the in-game version of the HoN patch notes.

This script was specifically created for my specific needs, though I learned a lot of Python's string manipulation, file I/O and line parsing concepts. To keep track of each ability name, hero name and item name, Python's list data structures were used because of their simplicity. These data structures are updated manually in the event a new skill name/hero name/item name came up, which allows this script to not have to rely on an internet connection or connecting to a database.

Links

Before & after demo: