Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AC2 error when convert Fire_Font_Descriptor to fnt #6

Closed
eprilx opened this issue Sep 6, 2023 · 4 comments
Closed

AC2 error when convert Fire_Font_Descriptor to fnt #6

eprilx opened this issue Sep 6, 2023 · 4 comments

Comments

@eprilx
Copy link
Owner

eprilx commented Sep 6, 2023

hi, i want to convert Fire_Font_Descriptor to .fnt, but it's comes with this error:

[Unhandled exception. System.IO.EndOfStreamException: Attempted to read past the end of the stream.
at Gibbed.IO.SmallWorkBuffer.ReadBytes(Stream stream, Int32 count) in D:\a\FFDConverter\FFDConverter\FFDConverter\Gibbed.IO\SmallWorkBuffer.cs:line 55
at FFDConverter.FFDFormat.ReadTable1FFD(FileStream input, general& infoFFD) in D:\a\FFDConverter\FFDConverter\FFDConverter\FFD\FFDFormat.cs:line 240
at FFDConverter.FFDFormat.Load(String inputFFD, Config& config) in D:\a\FFDConverter\FFDConverter\FFDConverter\FFD\FFDFormat.cs:line 42
at FFDConverter.FFDFunction.ConvertFFDtoFNT(String inputFFD, String outputFNT, String versionGame) in D:\a\FFDConverter\FFDConverter\FFDConverter\FFD\FFDFunction.cs:line 39
at FFDConverter.Program.Main(String[] args) in D:\a\FFDConverter\FFDConverter\FFDConverter\Program.cs:line 151]

what should i do? what is the problem?
it's for AC2

Originally posted by @Mstr-Samuel in #2 (comment)

@eprilx
Copy link
Owner Author

eprilx commented Sep 7, 2023

Does that file come from ps, xbox or... ?
What tool do you use to get these files ?
I need more details because I see a slight difference in formatting between your version and the steam version. Also, the name extension does not have any "_", it should be Fire_Font_Descriptor.

@Mstr-Samuel
Copy link

Does that file come from ps, xbox or... ? What tool do you use to get these files ? I need more details because I see a slight difference in formatting between your version and the steam version. Also, the name extension does not have any "_", it should be Fire_Font_Descriptor.

it's PC, the tool is AnvilToolKit. i don't know why it's different.

@eprilx
Copy link
Owner Author

eprilx commented Sep 7, 2023

It's because AnvilToolKit export wrong format. All my samples (include other games) is exported from Ubisoft_Data_Tool_by_Delluto.
You can workaround it by modifying unkHeader1 in config.xml file to 4 and replace the extension FireFontDescriptor image
or contact the AnvilToolKit author.

@eprilx eprilx closed this as completed Sep 7, 2023
@Mstr-Samuel
Copy link

okay, thanks, this problem is solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants