User:Eis os/TTDPatch Environment
Environment
I use a bit old cygwin environment with gcc, nasm, upx.
Ollydbg, a free debugger
All editor than can edit Textfiles
Makefile
TTDPatch releases work mostly out of the box,
Ollydbg in my current version doesn't like INT3 Breakpoints,
I added a hack for breakpoint emulation that was added by Josef in a cleaner way now into TTDPatch. See the Makefile about Breakpoints.
After adding stuff TTDPatch crashes
You should remove the versions info.
Sources for informations
Marcins site has a lot internal informations, check it out...
Step by Step to get a TTDPatchW build environment.
(Only for people who have knowledge what they are doing, don't ask me how to programm in assembler, don't think it's nice C or C++ code)
Download Cygwin, while installing it make sure you have gcc and upx.
Download Josefs lastest patch package "ttdpatch_src.zip"
Read hacker.txt !
Ok, now really read it.
Change start.bat for setting debug, and cygwin path.
Change Makefile if you need special breakpoint setup
Try to build your own version:
make clean remake allw
If you change TTDPatch, be sure to remove the versions information!
If you get problems running nasm (that is in Josef package aswell),
the simplest methode is to copy it to cygwin bin path :)
If you have problems contact me in TheIrcChannel