From ad583bca9286cea6400ffee88c272b817ee9aaed Mon Sep 17 00:00:00 2001 From: TheTank20 Date: Thu, 21 Dec 2023 01:42:08 +0000 Subject: [PATCH] Update README.md --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7142e8f..a00538a 100644 --- a/README.md +++ b/README.md @@ -34,4 +34,13 @@ Use `xpmgr_debug_[arch].exe` if you're encountering an error (or nothing's happe https://github.com/UMSKT/xpmgr/releases ## Building -Make sure Visual Studio 2017 or later is installed, with the v141_xp toolchain. Then, `git clone`, open in VS, build, done. +Make sure Visual Studio 2017 or later is installed. Then, install [TDM-GCC](https://jmeubank.github.io/tdm-gcc/about/). Then, run, at the source folder: +``` +mkdir build +mkdir build\x86 +mkdir build\x64 +windres icon.rc -O coff -F pe-i386 -o build\x64\icon_x64.res +g++ -m32 -o build\x86\xpmgr_x86 xpmgr.cpp build\x64\icon_x64.res -lole32 -luuid -loleaut32 +windres icon.rc -O coff -o build\x86\icon_x86.res +g++ -o build\x64\xpmgr_x64 xpmgr.cpp build\x86\icon_x86.res -lole32 -luuid -loleaut32 +```