![]() |
|
|
|
#1
|
|||
|
|||
|
Cheats are disabled in the 1.2 patch as I'm sure many of you already know. My guess is they've been disabled not because Eidos dont want you to use them, but because they make the game unstable. I.E. corrupting your saves, crashing your game, e.t.c. I suggest only use the following method to re-enable cheats if you're looking for extra-replay value. Don't use cheats to finish the game.
I'll explain how they got disabled in 1.2 and the work around, for those interested. In version 1.0 and 1.1 the game code looks like this: Code:
//Check for 'EnableCheats' presence within the config
if ( FALSE != cConfig.GetField( "EnableCheats" ) )
{
g_bEnableCheats = TRUE; // Enable cheats
}
Code:
if ( FALSE != cConfig.GetField( "EnableCheats" ) )
{
g_bEnableCheats = FALSE; // Disable cheats?
}
Further evidence of the above theory.. The KeyDown handler for cheats wasn't removed with the patch (the code which brings up the cheat menu), so it's possible to bring still bring it up if the g_bEnableCheats variable is toggled to 'TRUE'. The following code will do that for you (source code included). If you want to compile the source-code you'll need a copy of masm32, It'll generate the exact same binary so you know this isn't a hoax. To use the enabler you must first load up into a game alt+tab out then run the executable. You'll know if the enabler was successfull if you hear a beep. http://zoid.gamehackers.net/Hitman/h...at_enabler.zip |
|
#2
|
|||
|
|||
|
Thanks!
__________________
Mobo: Asus P5W DH Deluxe. CPU: Intel Core 2 Duo E6400 @ 2.14Ghz. RAM: Corsair XMS2 2GB DDR2 800 (PC2 6400). Gfx: XFX 8800GTS XXX Edition 640mb/320bit. Sound card: Creative Audigy 2 ZS Gamer Edition Optical Drives: Asus Combo Drive, Lite-On DVD Burner HDD: System: Western Digital Raptor 74GB 10,000 RPM Serial ATA150, Storage: Seagate Barracuda 320GB 7200 RPM Serial ATA3.0Gbs. All powered on a Thermaltake 750Watt PSU. |
|
#3
|
|||
|
|||
|
sweet. this really works... except give all makes the game crash.. but oh well.. thanks
__________________
AMD Athlon XP 2600+ 2.08 GHz 1.5 GB Ram NVIDIA GeForce FX 5200 Ultra 128Mb ddr memory NVIDIA(R) nForce(TM) Audio |
|
#4
|
|||
|
|||
|
Quote:
I've been meaning to fix it, might give it a shot this weekend. Apparently according to numerous cheat sites the 'give all' feature crashes for every patch version, sounds like it wasn't implemented correctly.
|
|
#5
|
|||
|
|||
|
This may seem a really stupid question but, i read that you add EnableCheats to the HitmanBloodMoney.ini file then press c to bring down the cheat menu. All i can find is the config file, added the line and it does not work. I have the collectors edition by the way; what am i doing wrong?
|
|
#6
|
|||
|
|||
|
Quote:
|
|
#7
|
|||
|
|||
|
Quote:
2) I'd like to know how you found the address of the global variable for enabling cheats (0x8ACA89) and i'd like to know if you can found anyother interesting addresses, like the flag for enabling the console, or anything else. Actually any global variable could be intersting since it's easily accesible. ![]() A part from that i quickly wrote a little program thanks to that address i found in your code, that improves a little bit the usability, i hope. You have to run hitman, then the program. The improvement is that you don't have to rerun it everytime you start a new level. (since the flag is reset to false). My program can run in the background of hitman, and monitor the flag, and reset it to 1 when i see it has been unset. Here is the code: Code:
#include windows.h>
#include conio.h>
#include stdio.h>
#include string.h>
#include tchar.h>
#include wchar.h>
BOOL CALLBACK EnumWindowsProc(HWND hwnd, LPARAM lParam)
{
if (IsWindowVisible(hwnd) != 0)
{
WCHAR WindowTitle[1024];
if (GetWindowText(hwnd, WindowTitle, 1024) == 0)
return (true); // error
if (lstrcmp(WindowTitle, L"Hitman Blood Money") == 0)
{
DWORD ProcessId = 0;
HANDLE ProcessHandle;
GetWindowThreadProcessId(hwnd, &ProcessId);
ProcessHandle = OpenProcess(PROCESS_ALL_ACCESS, FALSE, ProcessId);
if (ProcessHandle == NULL)
return (true); // error
*((HANDLE *) lParam) = ProcessHandle;
}
}
return (true);
}
int _tmain(int argc, _TCHAR* argv[])
{
HANDLE ProcessHandle = NULL;
void *g_bEnableCheats_Address = (void *) 0x8ACA89;
unsigned char Byte;
if (EnumWindows(EnumWindowsProc, (LPARAM) &ProcessHandle) == 0)
{
MessageBeep(MB_ICONEXCLAMATION);
fprintf(stderr, "Failed to open \"Hitman Blood Money\" window.\n");
return (1); // error
}
if (ProcessHandle == NULL)
{
MessageBeep(MB_ICONEXCLAMATION);
fprintf(stderr, "Failed to open \"Hitman Blood Money\" window.\n");
return (2); // error
}
while (true)
{
// errors to be checked!!!
ReadProcessMemory(ProcessHandle, g_bEnableCheats_Address, &Byte, 1, NULL);
if (Byte == 0)
{
printf("EnableCheats is set to 0\n");
Byte = 1;
if (WriteProcessMemory(ProcessHandle, g_bEnableCheats_Address, &Byte, 1, NULL) == 0)
{
MessageBeep(MB_ICONEXCLAMATION);
fprintf(stderr, "Failed to set EnableCheats to 1.\n");
return (3); // error
}
MessageBeep(MB_OK);
printf("Succesfully set EnableCheats to 1.\n");
}
Sleep(1000);
}
return (0);
}
Last edited by Zarathoustra; 08-02-2006 at 10:20 AM. |
|
#8
|
|||
|
|||
|
Quote:
So how do you make your program work? I mean right from installing...I have no clue about programming ¬_¬ Any help would be appreciated. As far as I know, I have 1.2, but thats only because when I tried enabling cheats by editing the .ini file, nothing happened. And then I read that that does nothing at all if you have 1.2...but I don't know if 1.2 is something extra you have to install, and I just got the enabling cheats instructions for 1.1 wrong (even though I followed them to the letter). Help? |
|
#9
|
|||
|
|||
|
It seems that the enabler is working. I followed all the directions to a T. After the message box appears I tried going back into the game and all I get is background sound, no picture. Ctrl+Alt+Tab says that the game is "Not Responding". I tried using the EnableCheats option as well, and still no success.
Please Help ![]() Saucy
|
|
#10
|
|||
|
|||
|
mine only works in window mode, full screen says it can't find the game.
|
|
#11
|
|||
|
|||
|
You guys are sooo lucky i bothered to register just to reply:
http://www.ensaine.com/binaries/chea...n1.2Cheats.zip The newest version of his cheat from a page ago fyi. |
|
#12
|
|||
|
|||
|
That has a virus in it.
Is it a real virus, or just precautionary? |
|
#13
|
||||
|
||||
|
It's possible that it just does some things which are like malware/virus behaviour. This is the result from virustotal:
http://www.virustotal.com/nl/analisi...0df1cedfb755de |
|
#14
|
|||
|
|||
|
Quote:
How can I reach this enabler ?? |
|
#15
|
|||
|
|||
|
Thanks but the URL doesn't work now!
|
|
#16
|
|||
|
|||
|
Okies people... I did some MAJOR digging! I found a link that's still active for a cheat enabler! Found it on a Russian site!! http://hitmanseries.ru/hitman4/files/hbm_ecn.zip
Just run the game, start a level, alt tab, run the program, click the "Enable cheats" button and you are good! Get back into the game and hit C once or twice to get the menu up =^_^= Last edited by spafmagic; 03-23-2010 at 10:46 PM. |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Cheats Cheats Cheats! | pengy404 | Thief: Deadly Shadows | 1 | 05-31-2004 05:53 AM |
| Cheats | BlackSilver | Deus Ex: Invisible War | 7 | 04-12-2004 12:31 AM |
| Looking for Completion Times without cheats | GameKiller | Legacy of Kain: Defiance | 23 | 03-15-2004 12:40 PM |
| enabling cheats | cheddar420 | Deus Ex - General Discussion | 2 | 01-09-2004 05:38 AM |
| PC Cheats - How to Activate | WIZZETTE3457 | Tomb Raider 1 - 6 - Gaming Help Center | 0 | 07-24-2003 07:02 AM |