Difference between revisions of "User:Eis os/TTDPatch Environment"

From TTWiki
Jump to navigationJump to search
m (3 revisions)
(Reformat and update)
Line 1: Line 1:
 
==Environment==
 
'''''Explains how I make my TTDPatch releases.'''''
 
 
=Oskar's Environment for making TTDPatch=
 
 
-=Environment=-
 
   
 
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 (:biggrin:)
+
All editor than can edit Textfiles [[File:icon_biggrin.gif]]
   
-=Makefile=-
+
==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=-
+
==After adding stuff TTDPatch crashes==
   
 
You should remove the versions info.
 
You should remove the versions info.
   
-=Sources for informations=-
+
==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 "ttdpatch_src.zip"
+
Download Josefs lastest patch package "ttdpatch_src.zip"
   
 
Read hacker.txt !
 
Read hacker.txt !

Revision as of 16:25, 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 Icon biggrin.gif

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