|
|
|
|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Find out what address is used before the conditional jumps and change it there, so you dont have to change jump ops.
|
| Sponsored Links |
|
#2
|
||||
|
||||
|
Or change the setting of the byte which is always the best
![]() Often it's Call IsCDInserted Test EAX, EAX Blah Blah You can just patch the "CALL IsCD" into "MOV EAX, 1" which a) perfectly works (unless there's an additional check based on booleans -> bytes) and b ) eliminates the CD check phyisically, hence it starts earlier than normal as it doesnt need to search for drives, checks etc. |
|
#3
|
||||
|
||||
|
if you can patch the call to the proc, then you can also patch the proc it calls, which is a LOT better.. esp. if the proc is indirectly xreffed later on, then your work is in vain.. patch the proc, then its more probable it will work...
and sometimes its weird, patching mov eax,1 does not work, however patching xor eax,eax.. inc eax does (most likely due to flags), so thats also worth paying attention to...
__________________
bleh DO NOT PM me with questions, leave that in the forums...ESPECIALLY if i dont know you... |
|
#4
|
||||
|
||||
|
Quote:
__________________
Joe Forster/STA For more information, see the FileForums forum rules and the PC Games forum FAQ! Don't contact me via E-mail or PM to ask for help with anything other than patches (or software in general) done by me, otherwise your request may be deleted without any reply! Homepage: http://sta.c64.org, E-mail: [email protected]; for attachments, send compressed (ZIP or RAR) files only, otherwise your E-mail will bounce back! |
|
#5
|
||||
|
||||
|
naw, relocs are only applicable to dlls, in exe, it will load at the base address specified in the pe header.. so exe's don't need reloc's
hiew had a bug in the older versions where for e8 calls it always added on the base address and screwed things up.. that could be the reason for the grayed output.. relocs are only applicable for certain situations and e8 calls are not one of them.. the e8 call is relative to the va its called from e8 xx xx xx xx -> va+ xxxxxxxx +5.. relocs apply to such things like ff 15 xx xx xx xx (where only the xx xx xx xx will be updated by adding on the 'new runtime base) ff 25 xx xx xx xx, ff 35 xx xx xx xx and code like mov eax,[12345678] mov [12345678], eax etc, where only the 12345678 part is updated.. if in doubt, process the reloc table and double check your patch area
__________________
bleh DO NOT PM me with questions, leave that in the forums...ESPECIALLY if i dont know you... |
|
#6
|
||||
|
||||
|
Yup, FF 15, that's the one!
I rather change it to a neutral 90 B8 (NOP; MOV EAX, <call address>) instead or jump over it (if there's enough room in front of it).
__________________
Joe Forster/STA For more information, see the FileForums forum rules and the PC Games forum FAQ! Don't contact me via E-mail or PM to ask for help with anything other than patches (or software in general) done by me, otherwise your request may be deleted without any reply! Homepage: http://sta.c64.org, E-mail: [email protected]; for attachments, send compressed (ZIP or RAR) files only, otherwise your E-mail will bounce back! |
|
#7
|
||||
|
||||
|
90 E8 i hope ;p. considering mov eax,<call address> will never actually call the function and/or screw the stack if the proc uses params.. regardless though, ff 15 in an exe shouldn't matter really for reloc's, as the exe loads at the base address from the pe header, only dlls get relocated
__________________
bleh DO NOT PM me with questions, leave that in the forums...ESPECIALLY if i dont know you... |
|
#8
|
||||
|
||||
|
No, I mean, the CD check (or whatever) is completely skipped this way!
Ehhh, never mind me...
__________________
Joe Forster/STA For more information, see the FileForums forum rules and the PC Games forum FAQ! Don't contact me via E-mail or PM to ask for help with anything other than patches (or software in general) done by me, otherwise your request may be deleted without any reply! Homepage: http://sta.c64.org, E-mail: [email protected]; for attachments, send compressed (ZIP or RAR) files only, otherwise your E-mail will bounce back! |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| B&W v1.1 Beta Patch Crack Uploaded | IamaCrack | PC Games | 6 | 25-05-2007 05:02 |
| FIFA 98... How can I crack it? | (none) | PC Games | 0 | 09-12-2001 20:47 |
| Need AquaNox & Wiggles No-CD !!! | Matrix | PC Games | 1 | 12-10-2001 14:32 |
| need a WORKING crack for FIFA 2001 (GERMAN)// Brauche funktionierenden Crack für fifa2001 (deutsch) | hetti2000 | PC Games | 1 | 30-09-2001 01:27 |
| RA2 Patch 1.004 crack | gaboz | PC Games | 0 | 19-02-2001 07:07 |