- UVs are working now
Hello,
I recently started working on the pc version of Ni No Kuni 2. I was able to load the vertex positions and indices, but I need some help with the uvs.
Here is a model of a bird : http://www.mediafire.com/file/7o76s0c6a ... 01000.g4mg
And here is the first mesh using hex2obj. Other ones are just LODs.
![Image](https://i.imgur.com/KXzlnyp.png)
The file starts immediately with the vertex blocks, and every block is 60 bytes. First 3 floats are vertex positions. UVs should also be somewhere in the block, but I couldn't see them. Any help would be appreciated.
-- Tool --
I also started to make a tool. Not really useful atm without the uvs, but I will update it as I discover new stuff. Skeleton data also doesn't look that complicated, but I want to have proper uvs first.
Overview
![Image](https://i.imgur.com/xsEospd.png)
How to use
- Extract the cpk archives using CriPakTools (or something else) first
- File -> Open to select a file
- Either select the .g4mg or the .g4pkm file. Both files need to in the same folder.
Download : http://www.mediafire.com/file/zh7xa2i8q ... wer_UV.rar