| Author | 
		Message | 
	
	
		| Guest | 
		
			
				 Posted: Sat May 18, 2013 9:32 am    Post subject:  | 
			 
			
				
  | 
			 
			
				 	  | Dark Byte wrote: | 	 		  Save memory region does not save as hex but as binary
 
 Anyhow, you could try lua and a for loop and in there call readInteger(address+xxx), add the result to a string and when done save that string to the clipboard | 	  
 
 Thanks. That's what I was looking for.
 
 I managed to make the code and it works.
 
  	  | Code: | 	 		  
 
 addressStart = 0x09EA99B3
 addressEnd = 0x09EA9A72
 addressDiff = addressEnd - addressStart
 
 result = ""
 for i = 0,addressDiff,4 do
    result = result..readInteger(addressStart+i)
 
    if (i+4) % 16 == 0 then
       result = result.."\n"
    else
       result = result.."      "
    end
 end
 
 writeToClipboard(result)
 
  | 	 
  | 
			 
		  | 
	
	
		  | 
	
	
		| Dark Byte | 
		
			
				 Posted: Thu May 16, 2013 2:07 am    Post subject:  | 
			 
			
				
  | 
			 
			
				Save memory region does not save as hex but as binary
 
 Anyhow, you could try lua and a for loop and in there call readInteger(address+xxx), add the result to a string and when done save that string to the clipboard | 
			 
		  | 
	
	
		  | 
	
	
		| G. Uest | 
		
			
				 Posted: Wed May 15, 2013 8:26 pm    Post subject:  | 
			 
			
				
  | 
			 
			
				 	  | jucce wrote: | 	 		  So you want to instead of saving a memory region as 	  | Code: | 	 		  | FF EE AA 11 00 22 33 99 | 	  get the output (in ASCII) as?
 I would suggest saving the memory dump without headers and then making a small tool of your own that goes through it reading 4 byte chunks and outputting the corresponding integer value. | 	  
 
  	  | Code: | 	 		  
 Instead of this
 01 00 00 00 fa 00 00 00 a8 61 00 00
 save this
 1           250         25000
  | 	  
 
 Because, in the memory viewer, I can save the byte hex, either by the save memory region option, or highlight and copy directly.
 But if I change the display type to 4 byte decimal, it won't let me highlight and copy.
 
 Essentially, I need to save a copy of what I see in the memory viewer with display type on 4 byte decimal.
 
 It's already shown there, but it just won't let me highlight and copy it. | 
			 
		  | 
	
	
		  | 
	
	
		| jucce | 
		
			
				 Posted: Wed May 15, 2013 7:06 pm    Post subject:  | 
			 
			
				
  | 
			 
			
				So you want to instead of saving a memory region as 	  | Code: | 	 		  | FF EE AA 11 00 22 33 99 | 	  get the output (in ASCII) as?
 
 Or do you want any possible combination of 4 byte values? I mean it all depends on where you consider the start to be. 	  | Code: | 	 		  | [FF EE AA 11] 00 22 33 99 | 	 
  	  | Code: | 	 		  | FF [EE AA 11 00] 22 33 99 | 	 
  	  | Code: | 	 		  | FF EE [AA 11 00 22] 33 99 | 	  And so on.
 
 I would suggest saving the memory dump without headers and then making a small tool of your own that goes through it reading 4 byte chunks and outputting the corresponding integer value. | 
			 
		  | 
	
	
		  | 
	
	
		| G. Uest | 
		
			
				 Posted: Wed May 15, 2013 9:42 am    Post subject: Save memory region as 4 bytes decimal | 
			 
			
				
  | 
			 
			
				The save memory region function saves everything as a byte hex.
 Is there a way to save it as 4 bytes decimal instead?
 If not, then perhaps, is there a way to copy all the 4 bytes decimals in a certain range to the clip board?
 
 Thanks in advance. | 
			 
		  | 
	
	
		  |