xboxscene.org forums

Author Topic: Help With Corrupted Pgr3 Pics  (Read 45 times)

kezor

  • Archived User
  • Sr. Member
  • *
  • Posts: 367
Help With Corrupted Pgr3 Pics
« on: April 12, 2006, 01:54:00 PM »

what are you problems what do you need help with this things might help
Logged

Fuel90

  • Archived User
  • Newbie
  • *
  • Posts: 31
Help With Corrupted Pgr3 Pics
« Reply #1 on: April 12, 2006, 06:33:00 PM »

QUOTE(SniperKilla @ Feb 19 2006, 05:35 PM) View Post

heres how to fix the corrupted photomode pictures...

the reason they are corrupted, is because there are hash's strewn about every few images, you need to remove them.. they are in 1000 byte blocks
once extracted, open the non working pic in a hex editor, and scroll down untill you hit a big blank space of 00's, once you reach the top of the 00's, note what offset they start at, (Example 553E), now since every hash is in a 1000 byte block, scroll up to the start of that 1000 (Example 5000), now were going to start there, and select down to 6000, when at block 6000, if its still 00's, keep going, if its a block of data, you have to look at it, and see if its hash or jpeg data, the hash data is easy to spot by its repeating values throughout, (usually C000, or 8000), if you see data like this, go down to the next thousand (7000) if you still see hash data or 00's keep going, keep doing this untill you get to data that dosent look like hash data, so say 7000 is jpeg data, select from 5000 to 7000 and delete, make sure your bytes selected is an even number, in this case it would be 2000 bytes selected.. save and magically your jpeg is fixed... a better tutorial will come soon, i wrote this up in 5 minutes while sitting bored at work... and soon we should have an automated application..

thanks to th0mas and angerwound for the help.


I tried this with my pics but I still get a corrupt image, if someone will help that would be great. (link to both corrupt pictures below)

http://files.filefro...;/fileinfo.html
Logged