-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding OpenKh.Tools.Kh2FontImageEditor #847
base: master
Are you sure you want to change the base?
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
This could be an error on my part (it's been a long time now since I've patched, tested, and used the PS2 version of the game for modifications and testing OpenKH tools), however upon patching the game with an edited fontimage.bar file using this tool, this is the end result. I will include the fontimage in question as well. I have yet to test using the OpenKH mod manager method, though I am unsure that would change the result. This methodology of testing I have done is using the legacy, far outdated patching method. |
Hi I have rewritten some of this editor. Could you please re-test again. |
Bumping this for testing. |
I will test this soon! |
About
Editor of both
fontimage.bar
andfontinfo.bar
.Initial
FontJapanese
Spacing editor
Unresolved issues
Alpha value ranging of
Icon
The one big problem is that color palette of
Icon
image.This is an
Indexed8
image so we can edit the palette too.But the alpha channel (Ps2 alpha) of the palette has irregular rule that we had not before.
0 to 128 is mapped to 0 to 255 (0.0 to 1.0) in PC.
129 to 255 is what for? This is for brighter alpha color blending (1.0 to 2.0).
We need good sense and good idea and valid data format to support this overkill usage of alpha channel of color palette for import and export purpose.
Untested for non FontJapanese