Monster Hunter 3U .tex

Textures, recreate headers, conversions, algorithms and parsing of image files
SnowHaze
Posts: 7
Joined: Sun Mar 27, 2016 12:35 am

Monster Hunter 3U .tex

Post by SnowHaze »

There is a noesis script in xentax, which doesn't work on many files and has severe issues whenever the alpha channel is involved.

Example files:
https://www.dropbox.com/s/2d6c327vn42o7q6/em064_01_BM.tex?dl=0 The script works fine on this one except on areas where there is alpha involved.
https://www.dropbox.com/s/pl9lmwiu50gpfpm/td_icon_m_ID_eng.tex?dl=0 Doesn't work at all on this one.

Thanks in advance.
SnowHaze
Posts: 7
Joined: Sun Mar 27, 2016 12:35 am

Re: Monster Hunter 3U .tex

Post by SnowHaze »

I discovered that by hex-editing the files i couldn't open with the noesis script, I could change a single value to make them work.
The value in 08 on the very first line according to HxD hex editor, the script uses this to tell the width of the image, 31 is 2048, 2c is 1024, 28 is 512, 24 is 256 and 20 is 128.

Setting that value to any of the accepted hex numbers will make the script work, though you need to find the specific one that will make the image appear correctly.

Now all that's left is fixing the alpha on the python script, but that's not really the point of this forum, so i guess this counts as solved?