pleonex / tinke

Viewer and editor for files of NDS games
GNU General Public License v3.0
356 stars 57 forks source link

Issues with DS Zoo Tycoon Games #83

Open Mjmannella opened 3 years ago

Mjmannella commented 3 years ago

Hello,

I've had some trouble viewing certain files for Zoo Tycoon DS and Zoo Tycoon 2 DS. They're admittedly rather niche games so I can understand if you wish to not support them. I apologize if this doesn't qualify as a proper issue, I'm basing my post on what was mentioned for the Tinke Google Group.

For the former, the issue is with .ntft files (they're similar to .nbfc files, in that they use a .nbfp file for their palette) where the result is a garbled mess regardless of how it's oriented. Is there any sort of formatting I need to do for it to be read?

For the second game, my main issue is with .nbma files. I'm pretty sure they're model files, as that's how they're organized in the game files. I have no idea as to what I can do to have them be viewable outside of manual hex editing (which isn't preferred).

If it helps at all, I can send some sample files from each game!

pleonex commented 3 years ago

Hi,

The .ntft files as you said are similar to .nbfc and they are usually raw tiles. Try changing "Image pattern" to Lineal or Horizontal. One of the two values should make the image works.

The .nbma files are 3D model animation. As far as I know they don't contain any 3D model or texture, just how to animate it. I think there are some programs that can read them.

Mjmannella commented 3 years ago

Hi,

After some further investigating with the .ntft files, it seems that the .ntfp files used for .ntft files have a default depth of 256/1 (8bpp), which ends up meaning that they store 16 different colour palettes. I think this is the ultimate reason for the weird images. Unfortunately, I have yet to get a desirable result from playing around with the settings unfortunately.

As for the .nbma files, it seems like ZT2DS is unique is storing model and texture data in this files, as they're present in the game's "animal_model" folder and there's no other folders that seem to house that kind of animal data.

If you're interested, I included various files from both games so they can be examined directly.

DS Game Files.zip