IcySon55 / Kuriimu

A general purpose game translation toolkit for authors of fan translations.
GNU General Public License v3.0
335 stars 50 forks source link

Plugin Request: Pokemon SMD File .Img and .Bin #622

Open Sinzu1906 opened 5 years ago

Sinzu1906 commented 5 years ago

Game Name: Pokemon Super Mystery Dungeon Console: 3DS Format extension(s): .img - .bin Type: Font/Image - Text

First 8 bytes of the file(s): pkd_font.img - 00 63 74 65 08 00 00 00 00 02 00 00 00 02 - �cte������� .bin - 53 49 52 30 90 03 00 00 - SIR0�� More details: I find information on forum ProjectPokemon they said File .img - cte format (LA4 as texture format) .bin - Sorry I don't know :( I thank you in advance. Sample files (if possible): .img https://drive.google.com/file/d/1_CPm4_DmUrD_AMfRU8Zzno4gokBLxp7k/view?usp=sharing .bin https://drive.google.com/file/d/1sCAEbhaO5l3dx5LIXt-CCuBWe6jSsu-l/view?usp=sharing

onepiecefreak3 commented 5 years ago

Who said you would find information on ProjectPokemon. And did you ask on ProjectPokemon for help?

Sinzu1906 commented 5 years ago

Yes , But No one responded... I have found information in the old posts on Forum image And He/She is no longer online :( image

Link this Post https://projectpokemon.org/home/forums/topic/35921-pokemon-super-mystery-dungeon-and-pmdgti-research-and-utilities/page/8/?tab=comments#comment-202174

Sinzu1906 commented 5 years ago

Hello ?

IcySon55 commented 5 years ago

Hi, I know you feel like you're waiting a while, and that's because you will be. We've currently been working on Kuriimu2 which is a fresh rewrite. On top of that, I no longer have free time and have not been working on Kuriimu or K2 at all. You will be waiting a while unless you find an interested programmer that can tackle these formats.

Sinzu1906 commented 5 years ago

Okay... maybe I'll waiting

onepiecefreak3 commented 3 years ago

The image format is only used for the fonts. Therefore it will only be added when the Font API was introduced to Kuriimu2.

The font format works like this: .dic - contains the letters and their definition in the .img .img - is the image containing the glyphs

.dic begins with a 4 byte magic, null int, number of glyphs, null int. Followed by entries with 0x14 bytes in size. Their structure was not researched yet. .img contains a generic image container. Image data starts at 0x80, and as mentioned in the OP, is encoded as LA44.

onepiecefreak3 commented 3 years ago

I just encountered the image format insice FARC's, so it will get supported as a separate plugin from the eventual fornt plugin as well.

onepiecefreak3 commented 3 years ago

The newest dev build and upcoming Release 1.2.1 of Kuriimu2 now features a plugin to load and edit cte images. I also looked into all the other bin files and discovered that they all seem to have different logic behind them, which leads me to not pursue to add a plugin for those any further.

Those bin files are either a single file with specific content (like shaders, or just not being an archive) or a weird collection of data portions beginning with SIR0. I have no idea what they are, but they don't seem to be an archive. Lastly the elephant in the room being FARC. While this might suggest an archive, I find very different kinds of structures inside those FARC's. I cannot distinguish between file tables, file names, or if it just contains loose files. Due to this, I will not do more work on them.

This concludes what was requested. The issue will be kept open for the future font plugin.

Sinzu1906 commented 3 years ago

Thank you for your help even though the post is 2 years ago. Until now i still research About file *.bin i sent long time ago those files are dialogue files but it's empty So i will sent another. This file include all language and texture messageen is empty text so you don't need check them, other mesage_* have text in there The file have name *_gracphic.bin is texture or image in game Folder script that use with all message\* (I think it can be used for the location where the dialogue occurs)

Other file i don't know but i still upload them if useful for research *.bin and *.lua https://drive.google.com/file/d/11hsz3Ho87_a6MDiK-9VIgIn2rULHjbz3/view?usp=sharing The file include all file like this image

image

onepiecefreak3 commented 3 years ago

I'm in possession of the whole game, and I know the contents of most files by now. However, as explained above, due to the different kind of structures, that don't seem coherent enough, I will not do more research on them. You're right that *_graphics.bin do contain a single image, but I currently have no way to distinguish them from other FARC's with multiple files and file names.