Hejsil / pokemon-randomizer

A Pokémon Rom randomizer tool written in Zig
The Unlicense
13 stars 0 forks source link

NARC files can have files that does not have names in FNT #15

Closed Hejsil closed 6 years ago

Hejsil commented 6 years ago

It seems that all Pokémon Platinum NARC files are structured to have a FAT, but where the FNT is empty. This means, that our current file loading system is not able to load the files, as we load files recursively using the FNT main table and sub-tables.

Hejsil commented 6 years ago

Seems like Pokémon games are an exception to the rule: https://github.com/pleonex/tinke/blob/1fa7288bb52e1f373dcfd51328874454505b5652/Plugins/Pack/Pack/NARC.cs#L89

Hejsil commented 6 years ago

Ok, so the solution might be this: