Hello again, I'm trying to get the textures for this game, but so far with no success.
Sample files:
I thank you for your help!
Yu Yu Hakusho Forever Texture *LGTX
-
- Posts: 156
- Joined: Tue Sep 01, 2015 9:44 am
Re: Yu Yu Hakusho Forever Texture *LGTX
The image uses 8BPP, swizzled texture and palette. I think it also has 4bpp format, but it is not in the sample.
I learned a lot from this forum, I hope this can also help you.
In fact, Noesis's built-in functions are already can unswizzle image and palette.
This is learned from the Episoder script.
I learned a lot from this forum, I hope this can also help you.
In fact, Noesis's built-in functions are already can unswizzle image and palette.
This is learned from the Episoder script.
Code: Select all
pixel = rapi.imageUntwiddlePS2 (pixel, width, height, 8)
textureData = rapi.imageDecodeRawPal (pixel, palette, width, height, 8, "r8g8b8p8", noesis.DECODEFLAG_PS2SHIFT)
-
- Posts: 48
- Joined: Sun Apr 21, 2019 2:09 am
Re: Yu Yu Hakusho Forever Texture *LGTX
Allen wrote:I learned a lot from this forum, I hope this can also help you.
Thanks for helping me
I'm really interested in learning to create scripts with python, but in relation to reading the image I get lost, I don't understand how to identify the palettes or what the size of the image would be, although this part I think is trial and error to find out.
Thank you for sharing some of your knowledge with me.