SharedFontTool icon indicating copy to clipboard operation
SharedFontTool copied to clipboard

(new3ds) crash in modify in kr.bcfnt

Open BWAH2leaf opened this issue 5 years ago • 1 comments

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)

BWAH2leaf avatar Mar 12 '19 14:03 BWAH2leaf

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

dnasdw avatar Mar 13 '19 06:03 dnasdw