Extracting Gears of War 2 screenshots
Posted: Sun Mar 08, 2009 5:04 pm
Ok, I plugged in my Xbox 360 HDD to my computer again last night after installing a game to the Hard Drive, just to see what it would look like. I was messing around and I found the Gears of War 2 folder with all the screenshots taken in-game. Just like Halo screenshots, they are simply in JPG format inside the CON file, so I opened it in a hex editor and extracted the screenie. Now, I know nothing about programming in C, VB, etc, but I'd like to make a program that will extract the screenshots from those files, just for fun. Here's what I know:
The shots are in container inside the folder Partition3/content/[profile id]/4D53082D/00000001/shot_[shot id, I think]
The jpg file always starts at offset E000 and starts with the hex values "FF D8 FF E0 00 10" and goes through to the very end of the CON file.
It's an odd JPG format though, I tried simply putting my own JPG hex code in there and putting it back but it didn't work. In hindsight, I did forget to resign it.
Anyway, what could I do to make a simple, small app that will open and extract those JPG files for me? Maybe a batch feature, and if I really want to get into it, I can choose between loading files from different games, like Halo 3, as well.
I'm sure I could do something web-based that opened the file using PHP and extracted it, but who wants to upload their CON files and go through all that? Besides, that's a security risk.
So, can anyone help me? Like I said I know nothing of C, C++, C#, VB...etc, but I'm willing to learn what it takes.
The shots are in container inside the folder Partition3/content/[profile id]/4D53082D/00000001/shot_[shot id, I think]
The jpg file always starts at offset E000 and starts with the hex values "FF D8 FF E0 00 10" and goes through to the very end of the CON file.
It's an odd JPG format though, I tried simply putting my own JPG hex code in there and putting it back but it didn't work. In hindsight, I did forget to resign it.
Anyway, what could I do to make a simple, small app that will open and extract those JPG files for me? Maybe a batch feature, and if I really want to get into it, I can choose between loading files from different games, like Halo 3, as well.
I'm sure I could do something web-based that opened the file using PHP and extracted it, but who wants to upload their CON files and go through all that? Besides, that's a security risk.
So, can anyone help me? Like I said I know nothing of C, C++, C#, VB...etc, but I'm willing to learn what it takes.