1.7.1.1, crash 1321 error verifying localization, Debug assertion failed!.

Help and support regarding PR:BF2 installation and in-game issues
Post Reply
TommyFederal
Posts: 32
Joined: 2022-04-19 10:23

1.7.1.1, crash 1321 error verifying localization, Debug assertion failed!.

Post by TommyFederal »

Hey so i already send this issue on discord but it might be little late so i also decided to send this issue to the forum to, so yesterday i edited English language into my own language and when i already completed several of them i go into the launcher and see it, the launcher language is also now in my own language. And when i try to test it IG(In-Game) and choose my online profile it shows

"1321: Error verifying localization. Please confirm Localization does not contain any invalid entries and try again"

and when i trying to launch the offline profile it show

"Debug assertion failed!
Version: 1.7.1.1
Module: Menu
File: C:\dice\Projects\BF2Branches\Patch_1_50\Code\BF2\Menu\Bf2HudBuilder.cpp
Line: 1283

Text: Font: Fonts/StandardTextBold_15.difnot found!

Current confile:Menu/HUD/HudSetup/TR/TR_HudUpd.con"

and when i use check-localization there was Deliametres problem found
not correctly sorrounding text:
-line 25
-line 41
-line 588

oh and i also edited almost everything in pr.utxt, prmap.utxt, prlauncher.utxt, prmessages.utxt, prmenu.utxt and prmaps.utxt (i only edit GAMEMODE_DESCRIPTION_ on prmaps)
Last edited by TommyFederal on 2022-07-04 08:24, edited 1 time in total.
Reason: forgot to put prmenu.utxt which i also edited
User avatar
Suchar
PR:BF2 Lead Developer
Posts: 2177
Joined: 2016-10-12 13:25
Location: Poland

Re: 1.7.1.1, crash 1321 error verifying localization, Debug assertion failed!.

Post by Suchar »

The issue has been resolved.

Error 1321 was caused by the same thing that triggered check-localization errors (missing ESC delimiters in the indicated lines).

The menu crash is caused by missing font. There are common fonts and language specific fonts. If you don't need your own font, you need to copy english font. It is in mods/pr/content/fonts_client.zip. Extract the zip, create a copy of /english font folder and rename the copied folder to the name of your language you used in /localization diretory. Then right-click your language's font folder and create a new archive named fonts_custom.zip (it should contain font for your language ONLY). Put the archive in mods/pr/content, next to other archives. It will work.

You will be able to test your localization online.
Image
Post Reply

Return to “PR:BF2 Support”