Pdub wrote:Well, from my knowledge, and XSH is the same as an FSH with only two differences. In a hex editor the header(first 4 characters) of a FSH file reads Shpf and the images are unswizzled and easily editable with the current tools available. An XSH file has a header of ShpX and the images are swizzled. So, to get the images out of an XSH, you change the header to Shpf, and export with fshline, then run the swizzle program on the bitmaps to unswizzle the image(s). So I guess the exact opposite should work for converting FSH to XSH.
First you would need to extract the images form the sweat patch and then swizzle them. Use fshline to do this wiht the -nfs option because I don't think the swizzle program likes DDS or PNG files. Your command line should look like this-
fshline armXXbase.fsh -nfs
There should be a few BMP's in the folder that is created. One for RGB and one for Alpha for each image in the fsh. Swizzle all of them with the program.
Now, with the XSH files. Change the XSH extension to FSH. Next, edit the XSH header from ShpX to Shpf with a hex editor, then run fshline on it to extract the images. Now you need to replace those images with the swizzled versions, reimport the images and change the header of the FSH file back to ShpX and change the extension to XSH. Hopefully it works.
You said the armbase doesn't come up swizzled, but Dolffin imports it incorrectly. Can you upload just one armXXbase.xsh file for me from xbox so I can take a look at it?
Users browsing this forum: No registered users and 3 guests