Skip to content

Commit e3de45f

Browse files
committed
Merge branch 'master' of github.com:eprilx/FFDConverter
2 parents c952dcb + 5dfa017 commit e3de45f

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

AutoUpdate.xml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<item>
3-
<version>1.3.2</version>
4-
<url>https://github.com/eprilx/FFDConverter/releases/download/1.3.2/FFDConverter_1.3.2.zip</url>
3+
<version>1.3.3</version>
4+
<url>https://github.com/eprilx/FFDConverter/releases/download/1.3.3/FFDConverter_1.3.3.zip</url>
55
<mandatory>false</mandatory>
6-
<changelog>https://github.com/eprilx/FFDConverter/releases/tag/1.3.2</changelog>
7-
</item>
6+
<changelog>https://github.com/eprilx/FFDConverter/releases/tag/1.3.3</changelog>
7+
</item>

FFDConverter/FFD/FFDFormat.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ private static void ReadTable1FFD(FileStream input, ref general infoFFD)
241241
else if (infoFFD.table1Type == general.Type.U16)
242242
for (int i = 0; i < infoFFD.charsCount; i++)
243243
input.ReadValueU16(); // = 0
244-
else if (infoFFD.table1Type == general.Type.U16)
244+
else if (infoFFD.table1Type == general.Type.U32)
245245
for (int i = 0; i < infoFFD.charsCount; i++)
246246
input.ReadValueU32(); // = 0
247247
}

FFDConverter/FFDConverter.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<OutputType>Exe</OutputType>
44
<TargetFramework>net8.0</TargetFramework>
55
<NeutralLanguage>en</NeutralLanguage>
6-
<AssemblyVersion>1.3.2</AssemblyVersion>
6+
<AssemblyVersion>1.3.3</AssemblyVersion>
77
<PackageProjectUrl>https://github.com/eprilx/FFDConverter</PackageProjectUrl>
88
<RepositoryUrl>https://github.com/eprilx/FFDConverter</RepositoryUrl>
99
<RepositoryType>git</RepositoryType>

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@ FFDConverter --ffd2fnt -v FC5 -f fcz_bold_default.ffd -o - fcz_bold_default.ffd.
4747
<img src="sampleImg/guiScreen.png" height="280"/>
4848

4949
- fcz_bold_default.ffd is the file you get when unpack game files.
50-
- arialFC5.fnt is a character descriptions file generated by [BMFont](https://www.angelcode.com/products/bmfont/) or [Hiero](https://github.com/libgdx/libgdx/wiki/Hiero)
50+
- arialFC5.fnt is a character descriptions file generated by [BMFont](https://www.angelcode.com/products/bmfont/) or [Hiero](https://libgdx.com/wiki/tools/hiero)
5151
- fcz_bold_default.ffd.fnt is a character descriptions file exported from original FFD (fcz_bold_default.ffd)
5252

53-
*Note 1: After replace \*.ffd file, you need to replace image file in-game (e.g. \*.xbt from Far Cry series)*
53+
*Note 1: After replace \*.ffd file, you need to replace image file in-game (e.g. \*.xbt from Far Cry series). Take a look about modding image/texture by these tools: AnvilToolkit, FCB Converter, Dunia Tools,...*
5454

55-
*Note 2: Make font more smoother without nasty pixel, try creating [signed distance field font with Hiero](https://github.com/libgdx/libgdx/wiki/Distance-field-fonts) or searching about ``signed distance field`` for more solution.*
55+
*Note 2: Make font more smoother without nasty pixel, try creating [signed distance field font with Hiero](https://libgdx.com/wiki/graphics/2d/fonts/distance-field-fonts#generating-the-font) or searching about ``signed distance field`` for more solution.*
5656

5757
If the font is displayed incorrectly in game, you should edit config.xml to be more compatible.
5858
- *scaleXadvance = 1.0 (left) and scaleXadvance = 1.3 (right)*

0 commit comments

Comments
 (0)