![]() |
|
#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
|
|||
|
|||
|
Managed to get it up by hitting the c key several times; though it's still a hit and miss affair
|
|
#8
|
|||
|
|||
|
ok i did this i opened up hitman and ran the enabler the cheats still didnt work can you guys please help me do i do this with 1.2 or 1.1???
im dumb please give step by step directions thanks
|
|
#9
|
|||
|
|||
|
Quote:
2) Enter a game. 3) Run the enabler. 4) Press 'C' to bring up cheat menu. ( Press ESC to close cheat menu ) |
|
#10
|
|||
|
|||
|
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. |
|
#11
|
|||
|
|||
|
Quote:
Last edited by Zarathoustra; 08-02-2006 at 10:56 AM. |
|
#12
|
|||
|
|||
|
They might as well just let us be able to enable cheats again. I mean, the cheat codes prior to 1.2 have already completely destroyed the uploaded game rankings by allowing people to finish each level with a time of 00:00.
So what is the point? |
|
#13
|
|||
|
|||
|
Please, please, please tell me how you got hold of the game code.
|
|
#14
|
||||
|
||||
|
Please don't.
|
|
#15
|
|||
|
|||
I heard the beep, I press "C" and nothing! Help please
|
|
#16
|
|||
|
|||
|
Quote:
__________________
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. |
|
#17
|
|||
|
|||
Mine doesn't work ARRRRGGGGHHH |
|
#18
|
|||
|
|||
|
Quote:
__________________
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. |
|
#19
|
|||
|
|||
|
Yes I installed the day I got it. Is there anyway to tell?
|
|
#20
|
|||
|
|||
|
Quote:
__________________
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. |
|
#21
|
|||
|
|||
|
Doesn't work for me either.
I start H:BM, I start a mission, I Alt+Tab out, and run the enabler, I hear a beep noise, bring H:BM back up, hit C, and nothing happens... |
|
#22
|
|||
|
|||
|
Yeah, I followed the instructions to the letter, but had the same failed result.
|
|
#23
|
||||
|
||||
|
I think you still need to type
EnableCheats in hitmanbloodmoney.ini Did you do that? |
|
#24
|
|||
|
|||
|
Yep
|
|
#25
|
|||
|
|||
|
I have 1.2 patch. still doesn't work though
![]()
|
![]() |
| 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 |