Skip to content
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

TTFFonts for other gamemaker game? #2012

Open
WestCreeper opened this issue Jan 6, 2025 · 2 comments
Open

TTFFonts for other gamemaker game? #2012

WestCreeper opened this issue Jan 6, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@WestCreeper
Copy link

Which component should be improved?

Other

Describe your feature suggestion in more detail

I am trying to translate another game made by GameMaker which is "Wandersong" into Chinese.
But the Chinese characters are too big to be embed into .png.
I tried editing the ttffonts by deleting the undertale detection code and correcting the right font name, but it won't work.
object reference not set to an instance of an object
Though I've knew that the TTFFonts only works for UT, still I'm wondering if it possible to make game other than UT load fonts in TTF format.

@WestCreeper WestCreeper added the enhancement New feature or request label Jan 6, 2025
@AnXing233
Copy link

AnXing233 commented Jan 8, 2025

about the first problem(the Chinese characters are too big to be embed into .png), you can change the script file,which path is .\Scripts\Resource Repackers\ImportFontData.csx.
in line 24, change 2048 to 4096(or 8192...?), so that you can import Chinese characters(.png and .csv file).

also you can use ImportGMS2FontData.csx(which in Script->Community script), which can import .yy file generated by GameMaker.

to be frank, this game uses YYC(Yo Yo Compiler), i dont think that script TTFFonts can work(because the code... cant work....)

hope those can help you

@WestCreeper
Copy link
Author

about the first problem(the Chinese characters are too big to be embed into .png), you can change the script file,which path is .\Scripts\Resource Repackers\ImportFontData.csx. in line 24, change 2048 to 4096(or 8192...?), so that you can import Chinese characters(.png and .csv file).

also you can use ImportGMS2FontData.csx(which in Script->Community script), which can import .yy file generated by GameMaker.

to be frank, this game uses YYC(Yo Yo Compiler), i dont think that script TTFFonts can work(because the code... cant work....)

hope those can help you

Thanks a lot! I will make a try! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants