Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 719 Bytes

File metadata and controls

9 lines (7 loc) · 719 Bytes

Stronghold tgx reader

Description

This is a small Python script for reading .tgx files from the game Stronghold 1. The tgx files contain images in a special binary format. I was inspired by the great software from PodeCaradox and the Stronghold Wiki. The only dependencies of the script are numpy and matplotlib. Both are used to plot the result. You can comment out the corresponding lines if you only want to extract a list of RGBA pixel colors.

Stronghold is a great game. You should try it if you've never played it before.

License

This program is released under the CC BY-SA 4.0 license.