Adebasquer / AokanaPatch

MIT License
7 stars 1 forks source link

AokanaPatch

An Aokana patcher made using BepInEx which allows the game to read assets directly from .../Aokana/Aokana_Data instead of from the encrypted .../Aokana/Aokana_Data/*.dat files.

If no unencrypted file with the correct folder structure is found in .../Aokana/Aokana_Data, the patch gets data from the game's encrypted *.dat files the using the game's methods.

Installation:

Usage:

As an example, edit .../Aokana/Aokana_Data/ui_hi/en/sgtitle990000.webp however you like and test that it displays on the title screen.

The game has some checks for images of the wrong dimension and such so you might have to edit the original image if you get a black title screen or crash. If you don't have this folder or the original image, run my older data decryption tool and copy the results into .../Aokana/Aokana_Data

image

This patch is intended for translators and others to change the game's contents easily without re-encrypting any files.

Adding Fonts:

I have added the ability to load custom fonts for translation purposes. I've made a tutorial here https://github.com/Adebasquer/AokanaPatch/wiki/Font-Tutorial

Dependencies:

If you want to build this yourself, you need references to:

Notes:

There may be an easier way to inject code more directly using https://github.com/NeighTools/UnityDoorstop directly, but I couldn't get it working so BepInEx is used.