Page 1 of 1

[Tiled? PNG] Utawarerumono: Itsuwari no Kamen

Posted: Mon Oct 08, 2018 7:54 am
by marcussacana
Well, I'm trying modify the .tex files from the "Utawarerumono: Itsuwari no Kamen" of ps3
At first look seens a .png with a header, and some files works just removing this header.
But a problem, some files looks like a 'tiled' texture...

An texture non-tiled: https://up.vidyagam.es/ede821da-d258-4e ... -n.tex.png
And a texture tiled: https://up.vidyagam.es/30a8c39a-7d44-42 ... al.tex.png

In both files I just removed the .tex header,
If I can say something I looks like the value at 0xD, if equals to 0x3 then is tiled, if equals to 0x1 isn't tiled (not sure)


Sample Files:
https://up.vidyagam.es/d05fedc3-3f64-43 ... exture.rar

Any hints?

Re: [Tiled? PNG] Utawarerumono: Itsuwari no Kamen

Posted: Thu Oct 11, 2018 9:38 pm
by mugi
they are swizzled with morton (aka. z-order)

you're also right about the flag, if you change the flag in the header to disable the swizzle, the graphics work fine without it, so if you can get your hands on the clean image, you can just reassemble it and change the header to not use z-order, then insert it back clean.

i did a full reverse-engineering of all the compression, filecontainer, text and graphic formats of the game including the sprite coordinates of the multi-image spritesheets, but my data applies to the ps3 versions of the game.
if my memory serves me, vita version had slight differences. (the endianess, for starters, and iirc the graphics stuff had different values for the flags, 0x07 i believe was swizzle toggle.)

oh just for the shits of it, the executable of the game also contains a LZ77 compressed text portion holding the DLC encryption keys in it.

Re: [Tiled? PNG] Utawarerumono: Itsuwari no Kamen

Posted: Sat Oct 13, 2018 10:48 pm
by marcussacana
Thanks for the info, I'm newbie with textures formats, but i will try do something.
(I'm working with the ps3 ver too)

It's this, I'm rigth?: https://en.wikipedia.org/wiki/Z-order_curve

Re: [Tiled? PNG] Utawarerumono: Itsuwari no Kamen

Posted: Tue Oct 16, 2018 1:45 pm
by mugi
yeah. Though just so that you know, if my memory serves me, only like... 4 images in the entire game are using this swizzle. (titlescreen image, some menu stuff i believe.) i just fed them to my deswizzler and then disabled the whole junk from the header. They learned their lesson since utawarerumono 3 doesnt use it anymore xD (they blessed me with all sort of other shit to reverse instead lol.) i have a few pics on my site of the title screne actually working after i got rid of that stupid extra layer of bother on it; https://blacklabel-translations.com/arc ... i-no-kamen

Re: [Tiled? PNG] Utawarerumono: Itsuwari no Kamen

Posted: Sat Oct 20, 2018 7:38 am
by marcussacana
Are you trying translate the ps3 version?
If yes, well, take a look in the fuwanovel, I published a 'automatic' port of the psv text to the ps3 script...
Well... needs a revision because this 'automatic' port isn't perfect but if you want do a proper patch this can save your time.

Re: [Tiled? PNG] Utawarerumono: Itsuwari no Kamen

Posted: Tue Oct 23, 2018 7:38 pm
by mugi
I planned to, but it's currently not something im actively working on. I got busy with other things.
That said, i have a full mapping of the script format so editing it in any way i wish is not really an issue.

Re: [Tiled? PNG] Utawarerumono: Itsuwari no Kamen

Posted: Thu Mar 14, 2019 3:18 am
by marcussacana
Thank you, I added support in my tool, it's late but well,
If anyone with the same problem: https://github.com/marcussacana/AquaPlusEditor

Re: [Tiled? PNG] Utawarerumono: Itsuwari no Kamen

Posted: Mon May 06, 2019 3:51 pm
by mugi
im a bit late too i guess but i decided to just release the tools we coded for this game while poking around with it.
you can download the whole thing from my site; https://bbs.blacklabel-translations.com ... php?tid=73

maybe they'll serve some use for someone.

Re: [Tiled? PNG] Utawarerumono: Itsuwari no Kamen

Posted: Sat Sep 14, 2019 7:37 pm
by marcussacana
Yeah, good work man, I'm glad in know you are trying help the world-wide translation community.

Just notice acutally we can't download because we can't register in your forum after click in 'I agree'