View Single Post
  #2  
Old 02-01-2013, 04:24
chessgod101's Avatar
chessgod101 chessgod101 is offline
Co-Administrator
 
Join Date: Jan 2011
Location: United States
Posts: 539
Rept. Given: 2,242
Rept. Rcvd 704 Times in 224 Posts
Thanks Given: 754
Thanks Rcvd at 1,021 Times in 191 Posts
chessgod101 Reputation: 700-899 chessgod101 Reputation: 700-899 chessgod101 Reputation: 700-899 chessgod101 Reputation: 700-899 chessgod101 Reputation: 700-899 chessgod101 Reputation: 700-899 chessgod101 Reputation: 700-899
Have you tried lordpe's rebuild function? It may be an easy solution to the problem. If you need to calculate the size of the section manually, simply subtract the section's beginning offset from the last byte in the section +1. If there is a section following this one, you can simply subtract the first section's offset from the from the following section's offset. LordPe is the best tool to do this. Just open the section editor and use the built in hex editor to determine what the last byte is. Once you have calculated the size, just use lordpe to change the value.

If you need a video explanation, the following video for protectionPlus unpacking shows you how to calculate raw size manually:
Code:
http://tuts4you.com/download.php?view.2115
__________________
"As the island of our knowledge grows, so does the shore of our ignorance." John Wheeler
Reply With Quote