xboxscene.org forums

Author Topic: Game Logo?  (Read 91 times)

old engineer

  • Archived User
  • Full Member
  • *
  • Posts: 155
Game Logo?
« on: September 06, 2004, 12:39:00 PM »

...I'm guessing youv'e already tried DEXBE?
Logged

heffer

  • Archived User
  • Newbie
  • *
  • Posts: 2
Game Logo?
« Reply #1 on: September 06, 2004, 12:47:00 PM »

QUOTE (old engineer @ Sep 6 2004, 08:42 PM)
...I'm guessing youv'e already tried DEXBE?

Yeah I've looked at a bunch of utils (including dexbe/cxbx/etc), but they all seem to just extract the small logo contained within the xbe's certificate section.

I've done some more searching, and what i need looks like it's the 'TitleImage.xbx' from the UDATA folders.  Still trying to figure out what format these files are, and how to actually extract this file from the available data

[edit]
hm, it looks like i've found the location of the titleimage data (section $$XTIMAGE from the xbe), now I just have to figure out what format it is  unsure.gif
Logged

TOOGAM

  • Archived User
  • Newbie
  • *
  • Posts: 26
Game Logo?
« Reply #2 on: September 06, 2004, 04:48:00 PM »

It's in XBX format, of course.  I think there's some tools to convert images to/from XBX format.  (Note: There seem to be multiple files that use the extention XBX, including graphics files, and some other save-related files.)
Logged

unleashx

  • Archived User
  • Hero Member
  • *
  • Posts: 621
Game Logo?
« Reply #3 on: September 06, 2004, 10:58:00 PM »

The extension is .xbx but the format is either DXT1, or DXT3/5. There could be other format, perhaps just a plain BMP. You need to examine the header to know the real format.

.xbx is not a standard format and could mean anything, from an image to a unicode/ascii text file. I wouldn't rely on the extension.

Note: I think such a tool exist, xbx2dds, something along that line.
Logged

heffer

  • Archived User
  • Newbie
  • *
  • Posts: 2
Game Logo?
« Reply #4 on: September 07, 2004, 05:45:00 PM »

QUOTE (unleashx @ Sep 7 2004, 07:01 AM)
The extension is .xbx but the format is either DXT1, or DXT3/5. There could be other format, perhaps just a plain BMP. You need to examine the header to know the real format.

.xbx is not a standard format and could mean anything, from an image to a unicode/ascii text file. I wouldn't rely on the extension.

Note: I think such a tool exist, xbx2dds, something along that line.

would you happen to know where i could find a reference on the xpr header?

i've found some miscellaneous links on it here and here
and through some digging of my own, found that the difference between these files and the dds files are only in the header (the data is exactly the same).

the first link mentions that the XPR info can be found in the (x?)DK documentation regarding the bundler but i can't seem to find anything other than how to make .rdf files for the bundler

I just have to figure out how to interpret the header data, and then hopefully i can use this info for getting to dds then eventually to bmp
Logged

Brouhaha

  • Archived User
  • Full Member
  • *
  • Posts: 213
Game Logo?
« Reply #5 on: September 07, 2004, 08:14:00 PM »

CODE

typedef struct {
   DWORD dwMagic;
   DWORD dwTotalSize;
   DWORD dwHeaderSize;
} XPR_HEADER;

#define XPR_MAGIC_VALUE 0x30525058


Have a look at xgraphics.h from the XDK.
Logged

Peacemaker2000

  • Archived User
  • Newbie
  • *
  • Posts: 1
Game Logo?
« Reply #6 on: September 22, 2004, 02:24:00 AM »

biggrin.gif
Peacemaker2000
Logged