Difference between revisions of "User:Eis os/TTDPatch Environment"
m (moved OskarsTTDPatchEnvironment to User:Eis os/TTDPatch Environment: Tidy up) |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
⚫ | |||
− | |||
− | '''''Explains how I make my TTDPatch releases.''''' |
||
− | |||
− | =Oskar's Environment for making TTDPatch= |
||
− | |||
⚫ | |||
I use a bit old cygwin environment with gcc, nasm, upx. |
I use a bit old cygwin environment with gcc, nasm, upx. |
||
Line 10: | Line 5: | ||
Ollydbg, a free debugger |
Ollydbg, a free debugger |
||
− | All editor than can edit Textfiles |
+ | All editor than can edit Textfiles [[File:icon_biggrin.gif]] |
− | + | ==Makefile== |
|
TTDPatch releases work mostly out of the box, |
TTDPatch releases work mostly out of the box, |
||
Line 20: | Line 15: | ||
I added a hack for breakpoint emulation that was added by Josef in a cleaner way now into TTDPatch. See the Makefile about 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. |
You should remove the versions info. |
||
− | + | ==Sources for informations== |
|
Marcins site has a lot internal informations, check it out... |
Marcins site has a lot internal informations, check it out... |
||
− | |||
− | ...page... |
||
=Step by Step to get a TTDPatchW build environment.= |
=Step by Step to get a TTDPatchW build environment.= |
||
Line 36: | Line 29: | ||
Download Cygwin, while installing it make sure you have gcc and upx. |
Download Cygwin, while installing it make sure you have gcc and upx. |
||
− | Download Josefs lastest patch package |
+ | Download Josefs lastest patch package "ttdpatch_src.zip" |
Read hacker.txt ! |
Read hacker.txt ! |
||
Line 55: | Line 48: | ||
the simplest methode is to copy it to cygwin bin path :) |
the simplest methode is to copy it to cygwin bin path :) |
||
+ | |||
+ | If you have problems contact me in TheIrcChannel |
Latest revision as of 16:26, 30 July 2011
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