Adebasquer / AokanaPatch

MIT License
7 stars 1 forks source link

About kinkoi's font #4

Open Cosetto opened 2 years ago

Cosetto commented 2 years ago

Can you take a look at Kinkoi? I just want to know if your patch work for it.

Adebasquer commented 2 years ago

Hi, you can try using bepinex with kinkoi and using my patch as normal to see if it works, but it might not. I don't own kinkoi so i dont know if it will. Devs maybe dont use the same class names and such for every game, im not sure, but they might have copied most of the code between games so it could work.

If that doesn't work: You can try using dnSpy and use similar methods I did to modify the game yourself. try finding equivalent of PkRead class for decryption part, then go through code paths to see where devs have a method that actually gets data for use (ie where they fetch images, text, and so on, (AssetIO.FileReadPGroup method is what Aokana uses, for example)), and use harmony to patch it like I did to use decrypted files made using something like my other command line decryption tool instead of going through a decryption function, then can modify raw text and change font as normal.

Thomas-Bao commented 2 years ago

Can confirm that Kinkoi also uses PkRead and AssetIO.FileReadPGroup. Your ExtractAokana tool works on Kinkoi as well.

Thomas-Bao commented 2 years ago

Just tried using this patch on Kinkoi, and it worked. Just do the same thing you would for Aokana. Since Kinkoi's textbox is too transparent, I used it to mod in a darker textbox. @Adebasquer Thank you for making this and the ExtractAokana decryption tool.

Cosetto commented 2 years ago

@Thomas-Bao Can you help me create a font for kinkoi? I don't really get the tutorial. Here's the characters range Chars.zip