xboxscene.org forums

Author Topic: Game Save Images - Format  (Read 735 times)

Brad09

  • Archived User
  • Newbie
  • *
  • Posts: 4
Game Save Images - Format
« on: August 06, 2005, 10:06:00 PM »

Dear Developers

Maybe this is kind of the 'wrong place' for my problem, but I'm sure you
can help me :luv:
MXM can handle the .Xbe - game save Images. I'm working on a FTP-Prog
for PC that can handle these icons too - works well for most icons,
but there are certain Games (For Example Worms, Top Spin, The
Suffering, and many of EA's Fifa Soccer titles..) with a 'different'
Save-Image-Format. (TitleImage.xbx is not the usual 9kb in size- it
is a lot bigger - 65kb or more..)
What's up with these files ?? Pleeeease give me a hint. Is it a
different image-Format ? (not DDS ?) Ist is, isn't it ?
I really tried to find out - but no chance  :(
Logged

Brad09

  • Archived User
  • Newbie
  • *
  • Posts: 4
Game Save Images - Format
« Reply #1 on: August 08, 2005, 04:58:00 PM »

I tried some more, and now I'm pretty sure it's some kind of
Raw format. 3 bytes for RGB(+1byte for AlphaChannel, I guess) Pixel after
Pixel. Very simple. But the pixel-sequence seems strange. Its not just 128 Columns * 128 Rows :( (maybe the 128*128 image is devided into several
smaller parts ?)

PLEASE HELP!
Logged

fghjj

  • Archived User
  • Sr. Member
  • *
  • Posts: 288
Game Save Images - Format
« Reply #2 on: August 08, 2005, 06:22:00 PM »

Maybe the texture is in a swizzled (optimized byte order) format? The MXM developers haven't been active for a while now, so this might not be the best forum to ask your question.

128*128*4 bytes per pixel = 65 kb, that makes sense.

I suggest you take a look at the GetXBEIcon function in the XBMC source, it looks like the CXBPackedResource object takes care of the conversion. Never heard of icons not working with XBMC.
Logged

Brad09

  • Archived User
  • Newbie
  • *
  • Posts: 4
Game Save Images - Format
« Reply #3 on: August 09, 2005, 07:55:00 AM »

Thank you.

I checked the sources, but it seems on Xbox you only have to load
the raw data as texture (and its recognized/converted automatically
no matter if its a DDS or this Raw-format..)

no bit-juggling there :(
(I hope I did not miss something)

here is a Link to the Data of the 'Fifa-Worldcup(2002)'-Logo :
german forum (see first post for attachment)

all I found out is - first byte is blue, second green, third red, forth
Alpha(Intensity)....
Size is always 65536 bytes. (The resource for the 'ComplexTools'-Logo was bigger,
but I checked it - the raw-data is 65536 there,too. Other Games with this kind of Logo : e.g. Top Spin, Nhl 004, The Suffering..)
Logged

Brad09

  • Archived User
  • Newbie
  • *
  • Posts: 4
Game Save Images - Format
« Reply #4 on: August 13, 2005, 10:37:00 AM »

beerchug.gif

Its like fghjj estimated - you 'only' have to unswizzle the image-data.
Logged