Skip to content

Commit

Permalink
support assassin creed 2
Browse files Browse the repository at this point in the history
  • Loading branch information
eprilx committed Oct 20, 2021
1 parent 981d6a3 commit be72c8c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Supported games:
- Far Cry: 3, Primal, 5
- Far Cry: 3, BloodDragon, Primal, 4, 5
- Watch dogs: 1, 2
- Assassin Creed: 4
- Assassin Creed: 2, 4

Make sure installed [.Net 5.0](https://dotnet.microsoft.com/download/dotnet/5.0)

Expand Down
2 changes: 1 addition & 1 deletion FFDConverter/FFDConverter.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<OutputType>Exe</OutputType>
<TargetFramework>net5.0</TargetFramework>
<NeutralLanguage>en</NeutralLanguage>
<AssemblyVersion>1.1.2</AssemblyVersion>
<AssemblyVersion>1.1.3</AssemblyVersion>
<PackageProjectUrl>https://github.com/eprilx/FFDConverter</PackageProjectUrl>
<RepositoryUrl>https://github.com/eprilx/FFDConverter</RepositoryUrl>
<RepositoryType>git</RepositoryType>
Expand Down
2 changes: 1 addition & 1 deletion FFDConverter/FFDFormat.cs
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ private static uint GetAsizeFFD(generalInfoFFD infoFFD, generalInfoBMF infoBMF,
{
asize += (uint)(infoFFD.BitmapName[i].Length + 1);
}
asize += (uint)(infoBMF.charsCount * 27 + 4);
asize += (uint)(infoBMF.charsCount * 27 + (config.unkHeaderAC - 9));
return asize;
}
}
Expand Down
2 changes: 1 addition & 1 deletion FFDConverter/Properties/launchSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"profiles": {
"FFDConverter": {
"commandName": "Project",
"commandLineArgs": "-v Blood -b test.fnt -f \"FC3BD\\eurostile_bold_default.ffd\" -o new.ffd"
"commandLineArgs": "-v Creed2 -b test.fnt -f \"AC2\\1717-AC2Aaux_ProMedium_Latin.Fire_Font_Descriptor\" -o new.ffd"
}
}
}
1 change: 1 addition & 0 deletions FFDConverter/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@
<game name="WatchDogs1 - WD1" scaleXoffset="1.0" scaleYoffset="1.0" scaleWidth="1.0" scaleHeight="1.0" scaleXadvance="2.0" addCustomYoffset="0" unkHeader1="3" unkHeader2="34" unkHeader3="4" unkHeaderAC="0"/>
<game name="WatchDogs2 - WD2" scaleXoffset="16.0" scaleYoffset="16.0" scaleWidth="16.0" scaleHeight="16.0" scaleXadvance="2.0" addCustomYoffset="0" unkHeader1="3" unkHeader2="34" unkHeader3="4" unkHeaderAC="0"/>
<game name="AssassinCreed4BlackFlag - AC4" scaleXoffset="8.0" scaleYoffset="8.0" scaleWidth="8.0" scaleHeight="8.0" scaleXadvance="2.0" addCustomYoffset="0" unkHeader1="3" unkHeader2="34" unkHeader3="4" unkHeaderAC="13"/>
<game name="AssassinCreed2 - AC2" scaleXoffset="1.0" scaleYoffset="1.0" scaleWidth="1.0" scaleHeight="1.0" scaleXadvance="2.0" addCustomYoffset="0" unkHeader1="3" unkHeader2="34" unkHeader3="4" unkHeaderAC="9"/>
</config>

0 comments on commit be72c8c

Please sign in to comment.