#!/usr/bin/env python
# By Daniel Pistelli & Nguyen Tan Cong
# This script is to patch DLL/EXE MajorVersion to 5,
# so they can be loaded by Windows XP.
# This is the problem introduced by compiling on Windows 7, using VS2013.
=
=
=
= # encode versions
# patches MajorOperatingSystemVersion and MajorSubsystemVersion
= + +
# write back to file