Skip to content

Custom Fonts⚓︎

2Take1 allows you to change the font used by the menu (Tahoma by default). You can import multiple fonts to 2Take1 and set them for individual elements of the UI.

Create a Font⚓︎

Required Packages

In order to use a font in 2Take1, you need to turn it into a spritefont file, using Microsoft's MakeSpriteFont tool.

Once you donwload it, open a CMD window in the directory where MakeSpriteFont.exe is located, and run the following command:

./MakeSpriteFont "<font>" <file> /FontSize:<size> /NoPremultiply /Sharp /defaultcharacter:0x2592 /characterregion:0x0-0xFF /characterregion:0x25A0 /characterregion:0x192 /characterregion:0x393 /characterregion:0x398 /characterregion:0x3A3 /characterregion:0x3A6 /characterregion:0x3A9 /characterregion:0x3B1 /characterregion:0x3B4-0x3B5 /characterregion:0x3C0 /characterregion:0x3C3-0x3C6 /characterregion:0x207F /characterregion:0x20A7 /characterregion:0x2219 /characterregion:0x221A /characterregion:0x221E /characterregion:0x2229 /characterregion:0x2248 /characterregion:0x2261 /characterregion:0x2264-0x2265 /characterregion:0x2310 /characterregion:0x2320 /characterregion:0x2321 /characterregion:0x2500 /characterregion:0x2502 /characterregion:0x250C /characterregion:0x2510 /characterregion:0x2514 /characterregion:0x2518 /characterregion:0x251C /characterregion:0x2524 /characterregion:0x252C /characterregion:0x2534 /characterregion:0x253C /characterregion:0x2550-0x256C /characterregion:0x2580 /characterregion:0x2584 /characterregion:0x2588 /characterregion:0x258C /characterregion:0x2590-0x2593 /characterregion:0x4E00-0x9FFF /fastpack
  • <font> – Name of the font. It must be already installed on your PC.
  • <file> – Name of the spritefont file that will be created. Make sure it has the .spritefont extension.
  • <size> – Size of the font in pixels.

You may create different spritefonts using the same font but different sizes.

Example

These examples are extracted from the unicode preset provided with the menu files.

./MakeSpriteFont "Microsoft YaHei" yahei_24.spritefont /FontSize:24 /NoPremultiply /Sharp /defaultcharacter:0x2592 /characterregion:0x0-0xFF /characterregion:0x25A0 /characterregion:0x192 /characterregion:0x393 /characterregion:0x398 /characterregion:0x3A3 /characterregion:0x3A6 /characterregion:0x3A9 /characterregion:0x3B1 /characterregion:0x3B4-0x3B5 /characterregion:0x3C0 /characterregion:0x3C3-0x3C6 /characterregion:0x207F /characterregion:0x20A7 /characterregion:0x2219 /characterregion:0x221A /characterregion:0x221E /characterregion:0x2229 /characterregion:0x2248 /characterregion:0x2261 /characterregion:0x2264-0x2265 /characterregion:0x2310 /characterregion:0x2320 /characterregion:0x2321 /characterregion:0x2500 /characterregion:0x2502 /characterregion:0x250C /characterregion:0x2510 /characterregion:0x2514 /characterregion:0x2518 /characterregion:0x251C /characterregion:0x2524 /characterregion:0x252C /characterregion:0x2534 /characterregion:0x253C /characterregion:0x2550-0x256C /characterregion:0x2580 /characterregion:0x2584 /characterregion:0x2588 /characterregion:0x258C /characterregion:0x2590-0x2593 /characterregion:0x4E00-0x9FFF /fastpack
./MakeSpriteFont "Microsoft YaHei" yahei_16.spritefont /FontSize:16 /NoPremultiply /Sharp /defaultcharacter:0x2592 /characterregion:0x0-0xFF /characterregion:0x25A0 /characterregion:0x192 /characterregion:0x393 /characterregion:0x398 /characterregion:0x3A3 /characterregion:0x3A6 /characterregion:0x3A9 /characterregion:0x3B1 /characterregion:0x3B4-0x3B5 /characterregion:0x3C0 /characterregion:0x3C3-0x3C6 /characterregion:0x207F /characterregion:0x20A7 /characterregion:0x2219 /characterregion:0x221A /characterregion:0x221E /characterregion:0x2229 /characterregion:0x2248 /characterregion:0x2261 /characterregion:0x2264-0x2265 /characterregion:0x2310 /characterregion:0x2320 /characterregion:0x2321 /characterregion:0x2500 /characterregion:0x2502 /characterregion:0x250C /characterregion:0x2510 /characterregion:0x2514 /characterregion:0x2518 /characterregion:0x251C /characterregion:0x2524 /characterregion:0x252C /characterregion:0x2534 /characterregion:0x253C /characterregion:0x2550-0x256C /characterregion:0x2580 /characterregion:0x2584 /characterregion:0x2588 /characterregion:0x258C /characterregion:0x2590-0x2593 /characterregion:0x4E00-0x9FFF /fastpack
./MakeSpriteFont "Microsoft YaHei" yahei_14.spritefont /FontSize:14 /NoPremultiply /Sharp /defaultcharacter:0x2592 /characterregion:0x0-0xFF /characterregion:0x25A0 /characterregion:0x192 /characterregion:0x393 /characterregion:0x398 /characterregion:0x3A3 /characterregion:0x3A6 /characterregion:0x3A9 /characterregion:0x3B1 /characterregion:0x3B4-0x3B5 /characterregion:0x3C0 /characterregion:0x3C3-0x3C6 /characterregion:0x207F /characterregion:0x20A7 /characterregion:0x2219 /characterregion:0x221A /characterregion:0x221E /characterregion:0x2229 /characterregion:0x2248 /characterregion:0x2261 /characterregion:0x2264-0x2265 /characterregion:0x2310 /characterregion:0x2320 /characterregion:0x2321 /characterregion:0x2500 /characterregion:0x2502 /characterregion:0x250C /characterregion:0x2510 /characterregion:0x2514 /characterregion:0x2518 /characterregion:0x251C /characterregion:0x2524 /characterregion:0x252C /characterregion:0x2534 /characterregion:0x253C /characterregion:0x2550-0x256C /characterregion:0x2580 /characterregion:0x2584 /characterregion:0x2588 /characterregion:0x258C /characterregion:0x2590-0x2593 /characterregion:0x4E00-0x9FFF /fastpack
./MakeSpriteFont "Malgun Gothic" malgun_24.spritefont /FontSize:24 /NoPremultiply /Sharp /defaultcharacter:0x2592 /characterregion:0x0-0xFF /characterregion:0x25A0 /characterregion:0x192 /characterregion:0x393 /characterregion:0x398 /characterregion:0x3A3 /characterregion:0x3A6 /characterregion:0x3A9 /characterregion:0x3B1 /characterregion:0x3B4-0x3B5 /characterregion:0x3C0 /characterregion:0x3C3-0x3C6 /characterregion:0x207F /characterregion:0x20A7 /characterregion:0x2219 /characterregion:0x221A /characterregion:0x221E /characterregion:0x2229 /characterregion:0x2248 /characterregion:0x2261 /characterregion:0x2264-0x2265 /characterregion:0x2310 /characterregion:0x2320 /characterregion:0x2321 /characterregion:0x2500 /characterregion:0x2502 /characterregion:0x250C /characterregion:0x2510 /characterregion:0x2514 /characterregion:0x2518 /characterregion:0x251C /characterregion:0x2524 /characterregion:0x252C /characterregion:0x2534 /characterregion:0x253C /characterregion:0x2550-0x256C /characterregion:0x2580 /characterregion:0x2584 /characterregion:0x2588 /characterregion:0x258C /characterregion:0x2590-0x2593 /characterregion:0x4E00-0x9FFF /fastpack
./MakeSpriteFont "Malgun Gothic" malgun_16.spritefont /FontSize:16 /NoPremultiply /Sharp /defaultcharacter:0x2592 /characterregion:0x0-0xFF /characterregion:0x25A0 /characterregion:0x192 /characterregion:0x393 /characterregion:0x398 /characterregion:0x3A3 /characterregion:0x3A6 /characterregion:0x3A9 /characterregion:0x3B1 /characterregion:0x3B4-0x3B5 /characterregion:0x3C0 /characterregion:0x3C3-0x3C6 /characterregion:0x207F /characterregion:0x20A7 /characterregion:0x2219 /characterregion:0x221A /characterregion:0x221E /characterregion:0x2229 /characterregion:0x2248 /characterregion:0x2261 /characterregion:0x2264-0x2265 /characterregion:0x2310 /characterregion:0x2320 /characterregion:0x2321 /characterregion:0x2500 /characterregion:0x2502 /characterregion:0x250C /characterregion:0x2510 /characterregion:0x2514 /characterregion:0x2518 /characterregion:0x251C /characterregion:0x2524 /characterregion:0x252C /characterregion:0x2534 /characterregion:0x253C /characterregion:0x2550-0x256C /characterregion:0x2580 /characterregion:0x2584 /characterregion:0x2588 /characterregion:0x258C /characterregion:0x2590-0x2593 /characterregion:0x4E00-0x9FFF /fastpack
./MakeSpriteFont "Malgun Gothic" malgun_14.spritefont /FontSize:14 /NoPremultiply /Sharp /defaultcharacter:0x2592 /characterregion:0x0-0xFF /characterregion:0x25A0 /characterregion:0x192 /characterregion:0x393 /characterregion:0x398 /characterregion:0x3A3 /characterregion:0x3A6 /characterregion:0x3A9 /characterregion:0x3B1 /characterregion:0x3B4-0x3B5 /characterregion:0x3C0 /characterregion:0x3C3-0x3C6 /characterregion:0x207F /characterregion:0x20A7 /characterregion:0x2219 /characterregion:0x221A /characterregion:0x221E /characterregion:0x2229 /characterregion:0x2248 /characterregion:0x2261 /characterregion:0x2264-0x2265 /characterregion:0x2310 /characterregion:0x2320 /characterregion:0x2321 /characterregion:0x2500 /characterregion:0x2502 /characterregion:0x250C /characterregion:0x2510 /characterregion:0x2514 /characterregion:0x2518 /characterregion:0x251C /characterregion:0x2524 /characterregion:0x252C /characterregion:0x2534 /characterregion:0x253C /characterregion:0x2550-0x256C /characterregion:0x2580 /characterregion:0x2584 /characterregion:0x2588 /characterregion:0x258C /characterregion:0x2590-0x2593 /characterregion:0x4E00-0x9FFF /fastpack

Import a Font⚓︎

Shared Fonts

Our Discord server allows members to share their fonts.

Make sure that the file has the .spritefont extension, and copy it to the following directory. Keep in mind that you will have to uninject the menu and then inject it back in order to see the new fonts.

After that, you will be able to use the new fonts for each element of the menu UI.

%appdata%\PopstarDevs\2Take1Menu\ui\fonts