UI Fonts Text
Font
Square721Dm_18.Font
font_consolas_16.Font
Square721Dm_18_PageA.Texture2D
font_consolas_16_PageA.Texture2D
Localization games font
-
- Posts: 4
- Joined: Tue Apr 13, 2021 9:22 am
Re: Localization games font
.Font - these are the coordinates of the font characters
.Texture2D - these Texture with symbols
.Texture2D - these Texture with symbols
-
- Posts: 48
- Joined: Wed Jun 09, 2021 10:23 pm
Re: Localization games font
How do I unzip a file?
font_consolas_16.Font
font_consolas_16_PageA.Texture2D
font_consolas_16.Font
font_consolas_16_PageA.Texture2D
-
- Posts: 165
- Joined: Wed Jun 01, 2016 5:53 pm
Re: Localization games font
Your textures are DXT5 compressed. Texture starts on offset 0x128 hex and decimal 296. Texture size is at offset 0x120 hex and decimal 288.
Texture resolution can be obtained on the end of file. First INT is width and second INT is height. See image.
Font
Texture resolution can be obtained on the end of file. First INT is width and second INT is height. See image.
Font
-
- Posts: 48
- Joined: Wed Jun 09, 2021 10:23 pm
Re: Localization games font
I did not understand what to do to add here or delete until a file appears
dds
dds
-
- Posts: 165
- Joined: Wed Jun 01, 2016 5:53 pm
Re: Localization games font
Good you are using 010 HEX Editor. Here is template to parse font texture files.
You must only add DDS header with correct compression and width/height. Compression is DXT5 with alpha. That "byte TextureRAWDATA[TextureSize];" is texture. Just click on that colum and press Ctrl+double tap C and paste into new file and add DDS header.
You must only add DDS header with correct compression and width/height. Compression is DXT5 with alpha. That "byte TextureRAWDATA[TextureSize];" is texture. Just click on that colum and press Ctrl+double tap C and paste into new file and add DDS header.
Code: Select all
//------------------------------------------------
//--- 010 Editor v11.0.1 Binary Template
//
// File:
// Authors:
// Version:
// Purpose:
// Category:
// File Mask:
// ID Bytes:
// History:
//------------------------------------------------
FSeek(288);
int TextureSize;
int Unk;
byte TextureRAWDATA[TextureSize];
int Width;
int Height;
-
- Posts: 26
- Joined: Mon Sep 02, 2019 1:38 pm
Re: Localization games font
h3x3r wrote:Good you are using 010 HEX Editor. Here is template to parse font texture files.
You must only add DDS header with correct compression and width/height. Compression is DXT5 with alpha. That "byte TextureRAWDATA[TextureSize];" is texture. Just click on that colum and press Ctrl+double tap C and paste into new file and add DDS header.Code: Select all
//------------------------------------------------
//--- 010 Editor v11.0.1 Binary Template
//
// File:
// Authors:
// Version:
// Purpose:
// Category:
// File Mask:
// ID Bytes:
// History:
//------------------------------------------------
FSeek(288);
int TextureSize;
int Unk;
byte TextureRAWDATA[TextureSize];
int Width;
int Height;
if I don't have 010 HEX Editor . but using only HxD, how to know the width, and height. To get the image file
can you show me step by step?