project reality header
Go Back   Project Reality Forums > Project Reality Support > PR:BF2 Support
15 Aug 2022, 00:00:00 (PRT)
Register Developer Blogs Project Reality Members List Search Today's Posts Mark Forums Read
PR:BF2 Support Help and support regarding PR:BF2 installation and in-game issues

Reply
 
Thread Tools Display Modes
Old 2022-07-04, 08:18   #1
TommyFederal

TommyFederal's Avatar
Post 1.7.1.1, crash 1321 error verifying localization, Debug assertion failed!.

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\M enu\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)
TommyFederal is offline
Last edited by TommyFederal; 2022-07-04 at 08:24.. Reason: forgot to put prmenu.utxt which i also edited
Reply With Quote
Old 2022-07-04, 10:34   #2
[R-DEV]​Suchar
PR:BF2 Developer
Project Reality Beta Tester
Default Re: 1.7.1.1, crash 1321 error verifying localization, Debug assertion failed!.

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.

https://www.realitymod.com/forum/uploads/signatures/sigpic98978_4.gif
Suchar is offline Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 12:00.