| View previous topic :: View next topic   | 
	
	
	
		| Author | 
		Message | 
	
	
		Hidden_Agenda How do I cheat?
  Reputation: 0
  Joined: 23 Oct 2022 Posts: 4
 
  | 
		
			
				 Posted: Sun Oct 23, 2022 10:51 pm    Post subject: Help with 32bit game, hex edit game permanent cheats | 
				       | 
			 
			
				
  | 
			 
			
				I'm working on modifying the exe of an older game, Saint's Row 2, to allow for permanent cheats. I'm making various exes for the various cheats.
 
 
At the moment I've hit a bit of a hurdle, Health for everyone (Player and NPCs exists at the address
 
 	  | Code: | 	 		  | SR2_pc.exe.text+568D47  | 	  
 
Though nullifying the code here
 
 
Gives everyone infinite health.
 
I've worked it down to register ECX (32bit)  specifically CH (8Bit) 
 
 
For those who want cheats, but don't want to use a trainer or cheat engine.
 
 
Currently using HxD to edit the exe.
 
 
Edit: The value for health is a float value (1000)
 | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		cooleko Grandmaster Cheater
  Reputation: 11
  Joined: 04 May 2016 Posts: 717
 
  | 
		
			
				 Posted: Mon Oct 24, 2022 5:02 am    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				I'm assuming you want to only give yourself infinite health, which means you are going to have to add logic to the game through either a new header or a code cave that you can use here?
 
 
Lots of resources to use but google how to identify or create code caves.
 | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		Hidden_Agenda How do I cheat?
  Reputation: 0
  Joined: 23 Oct 2022 Posts: 4
 
  | 
		
			
				 Posted: Mon Oct 24, 2022 11:47 am    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				cooleko, yes, that's my intention.
 
 
Based on what I've read, it'll probably be the same for most float values that coincide with both player and NPC values.
 
 
Thank you for the direction!
 | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		HalfWolf Newbie cheater
  Reputation: 0
  Joined: 03 Jan 2023 Posts: 12
 
  | 
		
			
				 Posted: Wed Jan 04, 2023 9:40 pm    Post subject: Re: Help with 32bit game, hex edit game permanent cheats | 
				       | 
			 
			
				
  | 
			 
			
				[quote="Hidden_Agenda"]I'm working on modifying the exe of an older game, Saint's Row 2, to allow for permanent cheats. I'm making various exes for the various cheats.
 
 
At the moment I've hit a bit of a hurdle, Health for everyone (Player and NPCs exists at the address
 
[code]SR2_pc.exe.text+568D47 [/code]
 
Though nullifying the code here
 
[code]D9 9E 24 11 00 00[/code]
 
Gives everyone infinite health.
 
I've worked it down to register ECX (32bit) [code]1F2C3D94[/code] specifically CH (8Bit) [code]3D[/code]
 
 
For those who want cheats, but don't want to use a trainer or cheat engine.
 
 
Currently using HxD to edit the exe.
 
 
Edit: The value for health is a float value (1000)[/quote]
 
I appreciate your efforts, but I think If we ever enabled cheats, our save will be permanently marked as cheat enabled. The only way to fix it is to restore an old save.
 | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		 |