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

(new3ds) crash in modify in kr.bcfnt #5

Open
BWAH2leaf opened this issue Mar 12, 2019 · 1 comment
Open

(new3ds) crash in modify in kr.bcfnt #5

BWAH2leaf opened this issue Mar 12, 2019 · 1 comment

Comments

@BWAH2leaf
Copy link

When i used "KOR" machine, I apply the font(menu 10) I've made, always Crash.
But, This does not happen if I used "JP" machine.

Some peoples have found that if they check the "Disable ARM11 Exception handlers" in Luma.
But, I think this method is dangerous.

Can you help me uncheck the Disable ARM11 exception handlers and use SfontT?

Thank you.


An exception occurred

Processor: ARM11(core 0)
Exception type: data abort
Fault status: Translation - Page
Current process: menu(000400300000A902)

@dnasdw
Copy link
Owner

dnasdw commented Mar 13, 2019

1

struct SFontTextureGlyph
{
u8 CellWidth;
u8 CellHeight;
n8 BaselinePos;
u8 MaxCharWidth;
u32 SheetSize;
u16 SheetNum;
u16 SheetFormat;
u16 SheetRow;
u16 SheetLine;
u16 SheetWidth;
u16 SheetHeight;
u32 SheetImage;
};

Make sure "SheetNum" <= 0x15, so let "SheetSize" bigger.
If you create .bcfnt file by ctr_FontConverterConsole.exe, you can set the option "-os 512"(means SheetSize is 512KB) to solve forever.
The .bcfnt file size limit is 3350400Bytes.

You can reference cbf_cj.bcfnt
https://github.com/dnasdw/cbf_cj/blob/master/bin/make_cbf.bat

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

No branches or pull requests

2 participants