Author
		 | 
		
			Topic: Freezing a Value in Memory?  (Read 1 times)
		 | 
	 
 
	
		
			
				
					
						
							The Drunken Hacker 
							
								Guest 
							
						 | 
						
							
								  | 
								
									
									«  on: January 02, 2010, 02:55:15 pm » | 
								
								 | 
							  
							 
							I have been toying with FCEUX's debugger & tools but haven't figured out a way to do this. I would like to lock a particular byte in memory at a specific value. Is there a simple way to do this? Currently, I'm just leaving the hex editor open and when the value in question gets to low, I reset it back to FF but it would be nice if I could just lock the value and not have to constantly change it manually. (It's probably obvious but the # I'm wanting to freeze is hit points.) Is this something I would have to find a cheat for or can it be done with the memory editing tools? 
						 | 
					 
					
						| 
							
						 | 
					 
				 
			 |  
		 
	 |  
	
		
		
			
				
					
						
							KingMike 
							
								Guest 
							
						 | 
						
							
								  | 
								
									
									« Reply #1 on: January 02, 2010, 02:59:26 pm » | 
								
								 | 
							  
							 
							Right click the value in FCEUX' hex editor. 
						 | 
					 
					
						| 
							
						 | 
					 
				 
			 |  
		 
	 |  
	
		
		
			
				
					
						
							The Drunken Hacker 
							
								Guest 
							
						 | 
						
							
								  | 
								
									
									« Reply #2 on: January 02, 2010, 09:26:53 pm » | 
								
								 | 
							  
							 
							Huh. I can't believe I never tried right clicking before.
  Just to be clear... when I freeze the value in question, it doesn't stop my HP from continuing to run down. However, the value at that location corresponds to the value of my HP ie. if I enter FF, my HP changes to 255. Does freezing actually lock the value in? I assume so but just want to make sure that it doesn't just keep it from visually changing in the hex editor. I presume maybe there's another location that affects the HP rundown as well, I just need to do some more digging. 
						 | 
					 
					
						| 
							
						 | 
					 
				 
			 |  
		 
	 |  
 
		 |