Hard Light Productions Forums
General FreeSpace => FreeSpace & FreeSpace Open Support => Topic started by: Bryan See on June 07, 2017, 10:59:14 am
-
I'm trying out with a fonts.tbl file with three TrueType fonts and zero VFNT type fonts. However, when starting up, I get this message:
Error: At least three fonts have to be loaded but only 0 valid entries were found!
File: font.cpp
Line: 367
ntdll.dll! ZwWaitForSingleObject + 20 bytes
KERNELBASE.dll! WaitForSingleObjectEx + 159 bytes
fred2_open_3_7_5_20170606_43a4664_x64_SSE2.exe! <no symbol>
fred2_open_3_7_5_20170606_43a4664_x64_SSE2.exe! <no symbol>
fred2_open_3_7_5_20170606_43a4664_x64_SSE2.exe! <no symbol>
fred2_open_3_7_5_20170606_43a4664_x64_SSE2.exe! <no symbol>
fred2_open_3_7_5_20170606_43a4664_x64_SSE2.exe! <no symbol>
fred2_open_3_7_5_20170606_43a4664_x64_SSE2.exe! <no symbol>
fred2_open_3_7_5_20170606_43a4664_x64_SSE2.exe! <no symbol>
fred2_open_3_7_5_20170606_43a4664_x64_SSE2.exe! <no symbol>
fred2_open_3_7_5_20170606_43a4664_x64_SSE2.exe! <no symbol>
fred2_open_3_7_5_20170606_43a4664_x64_SSE2.exe! <no symbol>
USER32.dll! CallWindowProcW + 1232 bytes
USER32.dll! CallWindowProcW + 460 bytes
USER32.dll! SetRect + 188 bytes
ntdll.dll! KiUserCallbackDispatcher + 36 bytes
win32u.dll! NtUserCreateWindowEx + 20 bytes
USER32.dll! CreateWindowExW + 2474 bytes
USER32.dll! CreateWindowExW + 577 bytes
USER32.dll! CreateWindowExA + 130 bytes
fred2_open_3_7_5_20170606_43a4664_x64_SSE2.exe! <no symbol>
fred2_open_3_7_5_20170606_43a4664_x64_SSE2.exe! <no symbol>
fred2_open_3_7_5_20170606_43a4664_x64_SSE2.exe! <no symbol>
fred2_open_3_7_5_20170606_43a4664_x64_SSE2.exe! <no symbol>
fred2_open_3_7_5_20170606_43a4664_x64_SSE2.exe! <no symbol>
fred2_open_3_7_5_20170606_43a4664_x64_SSE2.exe! <no symbol>
fred2_open_3_7_5_20170606_43a4664_x64_SSE2.exe! <no symbol>
fred2_open_3_7_5_20170606_43a4664_x64_SSE2.exe! <no symbol>
fred2_open_3_7_5_20170606_43a4664_x64_SSE2.exe! <no symbol>
fred2_open_3_7_5_20170606_43a4664_x64_SSE2.exe! <no symbol>
fred2_open_3_7_5_20170606_43a4664_x64_SSE2.exe! <no symbol>
USER32.dll! CallWindowProcW + 1232 bytes
USER32.dll! CallWindowProcW + 460 bytes
USER32.dll! SetRect + 188 bytes
ntdll.dll! KiUserCallbackDispatcher + 36 bytes
win32u.dll! NtUserCreateWindowEx + 20 bytes
USER32.dll! CreateWindowExW + 2474 bytes
USER32.dll! CreateWindowExW + 577 bytes
USER32.dll! CreateWindowExA + 130 bytes
fred2_open_3_7_5_20170606_43a4664_x64_SSE2.exe! <no symbol>
fred2_open_3_7_5_20170606_43a4664_x64_SSE2.exe! <no symbol>
fred2_open_3_7_5_20170606_43a4664_x64_SSE2.exe! <no symbol>
fred2_open_3_7_5_20170606_43a4664_x64_SSE2.exe! <no symbol>
fred2_open_3_7_5_20170606_43a4664_x64_SSE2.exe! <no symbol>
fred2_open_3_7_5_20170606_43a4664_x64_SSE2.exe! <no symbol>
fred2_open_3_7_5_20170606_43a4664_x64_SSE2.exe! <no symbol>
fred2_open_3_7_5_20170606_43a4664_x64_SSE2.exe! <no symbol>
fred2_open_3_7_5_20170606_43a4664_x64_SSE2.exe! <no symbol>
fred2_open_3_7_5_20170606_43a4664_x64_SSE2.exe! <no symbol>
fred2_open_3_7_5_20170606_43a4664_x64_SSE2.exe! <no symbol>
KERNEL32.DLL! BaseThreadInitThunk + 20 bytes
ntdll.dll! RtlUserThreadStart + 33 bytes
It appears that at least three VF fonts to be defined, not TrueType ones. The engine did not recognize these TrueType fonts upon startup. The solution is at least three fonts of either VF and TrueType must be loaded, so the TrueType fonts must be recognized first.
-
Please post your fonts.tbl.
-
#Fonts
$TrueType: arial.TTF
+Name: Arial
+Size: 12
$TrueType: comicsans.TTF
+Name: Comic Sans
+Size: 12
$TrueType: Times.TTF
+Name: Times New Roman
+Size: 12
#End
#Fonts
$TrueType: arial.TTF
+Name: Arial
+Size: 12
$Font: font01.vf
$Font: font02.vf
#End
-
Could not reproduce; only way I get that error is if those fonts couldn't actually be found.
...You do understand that the .ttf files need to be in the /data/fonts/ folder, right?
-
He probably thought that as long as they were in his system fonts, he'd be fine. All hail the "visionary modder and coder." :rolleyes:
-
Could not reproduce; only way I get that error is if those fonts couldn't actually be found.
...You do understand that the .ttf files need to be in the /data/fonts/ folder, right?
Yes. Why cannot rename the folder that contains the .ttf files to "fonts" if the name is not?
-
Could not reproduce; only way I get that error is if those fonts couldn't actually be found.
...You do understand that the .ttf files need to be in the /data/fonts/ folder, right?
Yes. Why cannot rename the folder that contains the .ttf files to "fonts" if the name is not?
...What? :wtf: What's stopping you from renaming your folders, exactly?
-
There may already be a folder named "fonts"?
That would prevent you from renaming another folder to "fonts."
-
There may already be a folder named "fonts"?
That would prevent you from renaming another folder to "fonts."
Yes, I did. I think the engine should rename the folder to fonts if it hadn't already.
-
The engine will not rename any folders. The folder structure that you have to follow in order for data to get loaded is fixed (and can be seen on the wiki), and we will not add code to correct stupid mistakes modders make because they don't feel like following it.
-
I get it.
-
I think you are referring to this. Woutersmits has encountered it while working on a TC mod.
Assert: "fontData != nullptr"
File: NVGFont.cpp
Line: 105
Invalid font data pointer passed!
ntdll.dll! ZwWaitForSingleObject + 20 bytes
KERNELBASE.dll! WaitForSingleObjectEx + 159 bytes
fs2_open_3_7_5_20170625_a769a7e_x64_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_7_5_20170625_a769a7e_x64_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_7_5_20170625_a769a7e_x64_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_7_5_20170625_a769a7e_x64_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_7_5_20170625_a769a7e_x64_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_7_5_20170625_a769a7e_x64_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_7_5_20170625_a769a7e_x64_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_7_5_20170625_a769a7e_x64_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_7_5_20170625_a769a7e_x64_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_7_5_20170625_a769a7e_x64_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_7_5_20170625_a769a7e_x64_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_7_5_20170625_a769a7e_x64_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_7_5_20170625_a769a7e_x64_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_7_5_20170625_a769a7e_x64_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_7_5_20170625_a769a7e_x64_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_7_5_20170625_a769a7e_x64_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_7_5_20170625_a769a7e_x64_SSE2-FASTDBG.exe! <no symbol>
KERNEL32.DLL! BaseThreadInitThunk + 20 bytes
ntdll.dll! RtlUserThreadStart + 33 bytes
[ This info is in the clipboard so you can paste it somewhere now ]
Use Debug to break into Debugger, Exit will close the application.
ntdll.dll! ZwWaitForSingleObject + 20 bytes
KERNELBASE.dll! WaitForSingleObjectEx + 159 bytes
fs2_open_3_7_5_20170625_a769a7e_x64_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_7_5_20170625_a769a7e_x64_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_7_5_20170625_a769a7e_x64_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_7_5_20170625_a769a7e_x64_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_7_5_20170625_a769a7e_x64_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_7_5_20170625_a769a7e_x64_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_7_5_20170625_a769a7e_x64_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_7_5_20170625_a769a7e_x64_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_7_5_20170625_a769a7e_x64_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_7_5_20170625_a769a7e_x64_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_7_5_20170625_a769a7e_x64_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_7_5_20170625_a769a7e_x64_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_7_5_20170625_a769a7e_x64_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_7_5_20170625_a769a7e_x64_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_7_5_20170625_a769a7e_x64_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_7_5_20170625_a769a7e_x64_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_7_5_20170625_a769a7e_x64_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_7_5_20170625_a769a7e_x64_SSE2-FASTDBG.exe! <no symbol>
KERNEL32.DLL! BaseThreadInitThunk + 20 bytes
ntdll.dll! RtlUserThreadStart + 33 bytes
-
Do you have the font file "font01.vf" in your mod? That is required at the moment if you don't specify +Special Character Font:.
-
I instead specified a TrueType font.