News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Author Topic: PSP image format using "xt." magic  (Read 2285 times)

CFOR

  • Jr. Member
  • **
  • Posts: 9
    • View Profile
PSP image format using "xt." magic
« on: September 24, 2014, 09:53:01 pm »
Does anybody have any knowledge of a PSP image file format that uses "xt." as its magic bytes? I've extracted these kinds of files from a larger packed file, but I don't have file names, so no extensions, but I know for a fact these are image files.

I'd like to convert these files into an editable format, then re-convert them, ultimately, but any information regarding these kinds of files would be appreciated.

A sample of this file can be found here:
http://www.mediafire.com/download/7srrhthliljpyjl/344

Dashman

  • Full Member
  • ***
  • Posts: 210
    • View Profile
Re: PSP image format using "xt." magic
« Reply #1 on: September 25, 2014, 08:07:50 am »
It's most probably a custom. You'll have to figure out what is what in the header and program yourself something to go from the xt format to something you're comfortable with.

Here's something to get you started:

https://www.dropbox.com/s/ggcrc4xtmtro16j/344.png?dl=0

Header is 48 bytes long. Image is 128 x 272 pixels, 8bpp. Tiles are 16x8. The palette starts at 0x8830 and has a 64-byte header (that's the last row in the image). What game is this?

PhOeNiX

  • Jr. Member
  • **
  • Posts: 85
    • View Profile
Re: PSP image format using "xt." magic
« Reply #2 on: September 25, 2014, 10:16:13 am »
If the format is not too complex, I may try to implement it into Rainbow, if you want: http://www.romhacking.net/utilities/1069/. But, it would be better to have some other example files, to understand what the header bytes mean.
« Last Edit: September 25, 2014, 10:32:01 am by PhOeNiX »

CFOR

  • Jr. Member
  • **
  • Posts: 9
    • View Profile
Re: PSP image format using "xt." magic
« Reply #3 on: September 25, 2014, 04:41:41 pm »
It's most probably a custom. You'll have to figure out what is what in the header and program yourself something to go from the xt format to something you're comfortable with.

Here's something to get you started:

https://www.dropbox.com/s/ggcrc4xtmtro16j/344.png?dl=0

Header is 48 bytes long. Image is 128 x 272 pixels, 8bpp. Tiles are 16x8. The palette starts at 0x8830 and has a 64-byte header (that's the last row in the image). What game is this?
Wow, that's awesome, many thanks! I wouldn't mind having to write my own converter, now that I understand the header. The game is Genso Suikoden: Tsumugareshi Hyakunen no Toki. I'm a big fan of the series (shame it's dead), so I'm just poking around to see if a translation is feasible, for the heck of it.

If the format is not too complex, I may try to implement it into Rainbow, if you want: http://www.romhacking.net/utilities/1069/. But, it would be better to have some other example files, to understand what the header bytes mean.
As Dashman suggested, I also think it's a custom format, since I couldn't find any information on it. I don't know how valuable it would be for you to add it to Rainbow (cool tool by the way). If you want to implement it anyway, I'd be more than happy to help.

PhOeNiX

  • Jr. Member
  • **
  • Posts: 85
    • View Profile
Re: PSP image format using "xt." magic
« Reply #4 on: September 26, 2014, 05:47:23 am »
Well, I would just need some more xt files to understand better the header format. Maybe, via PM?
« Last Edit: September 26, 2014, 06:52:34 am by PhOeNiX »