Killing Floor

Killing Floor

74 ratings
Unicode Support
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
218.712 KB
29 Nov, 2016 @ 8:59pm
30 Nov, 2016 @ 6:09pm
3 Change Notes ( view )

Subscribe to download
Unicode Support

Description
THIS IS NOT A LOCALIZATION.
NOT whitelisted (yet). If you turn on the mutator, you can't progress your perks on plain vanilla servers.
Not the best solution, but that's probably the best you can get with a mod.

Features:
[+] Resolves all tilde characters to proper characters.
[+] Allows sending & receiving in-game text messages in any language
[+] Resolves jumbled player names if they are not ASCII-compliant, allowing them to show up properly in lobby, in-game chat and scoreboard. (Requires mutator to be activated)
[+] Free support in comments section (subject to availability).

NOTE: READ THE ENTIRE DESCRIPTION BELOW AND DON'T JUST CLICK SUBSCRIBE
YOUR GAME MAY FAIL TO LAUNCH IF YOU DON'T FOLLOW THE INSTRUCTIONS CAREFULLY.

This replaces the fonts in game with Noto Sans font.
It fixes the annoying junk replacement characters when there are non-Latin characters.

Due to huge texture size only 2 font heights are used to conserve memory: 7 and 11.
Therefore, it does have a side-effect of smaller text when it should be large.


The screenshot is provided as example only. The author is in no shape or form affliated with the servers presented.


1. Download font texture (MyUnicodeFont.utx) here: (3MB Compressed zip, uncompressed size 144MB)
https://drive.google.com/file/d/0B-uxR8AhT03bTUdIOU1LNUF3UmM/view?usp=sharing
The above goes to your Textures folder.

2. Download mutator to fix player names here: (this goes to your System folder)
https://drive.google.com/open?id=0B-uxR8AhT03baFpTVHQ5NjBobVE

3a. To install, download these files and replace the same files in System folder:
https://drive.google.com/file/d/0B-uxR8AhT03bTi1hSk9hcDZCcnM/view?usp=sharing

3b. To UNINSTALL, download these files and replace the same files in System folder:
https://drive.google.com/file/d/0B-uxR8AhT03bbTRKTVV0SWdCZzA/view?usp=sharing

NOTE: The subscribe button will download int files and mutator only, you have to download the texture with the link provided above manually.

Your thumbs up will show your support to the development and update to this feature.

Known Issues:
- Outside gameplay, some strings are still not resolved.
- Side-effect of small text
- Noticable FPS drop at server menus (not fixable as I don't know how UT2004 coded it natively)
- For multiplayer, if the server does not run this mutator, all non-ASCII player names on the server will remain jumbled... d'oh.

Internal notes (alien speak, NOT targeted to users):
- DXT5 compression doesn't help with FPS (although it halved the uncompressed font texture size)
- FPS drop is due to CPU load not memory
- XInterface.GUIStyles.DrawText has 90%+ CPU load
- DrawText is a native(C++) function, so it is impossible to optimize at UnrealScript level
- FPS drop is not fixable
- With unicode range of 0100-0200 only, FPS at server selection ~200
- With unicode range of 0100-02AF,4E00-9FFF, FPS drops drastically to ~15
- Overhead is directly related to number of included characters
- Some characters in Unicode range 2400-2C7F is causing problems with font size larger than 11
- Single-threaded redraw means more CPU cores will not help
- Unicode ranges beyond FFFF is not possible (TTFontImport.cpp)
... UE_LOG(LogTTFontImport, Warning, TEXT("Adding unicode character range %x-%x (%d-%d)"),From,To,From,To); for( int32 i=From;i<=To&&i>=0&&i<65536;i++ ) // hardcoded unicode range here.. { Chars = 1; } ...
- UT2004 is UT2004.
78 Comments
SG 28 Apr, 2018 @ 8:49pm 
...should still work unless the author has changed something.....without telling us in the description...
OceanDrive 28 Apr, 2018 @ 5:27pm 
no work
SG 17 Mar, 2018 @ 2:24am 
oh, he deleted his comments, which puts all my comments into a conversation with an invisible person......hahahaha
WhatTheMeow  [author] 22 Sep, 2017 @ 5:36am 
hi, I'm not really active on Steam anymore so you are free to publish your improvements or whatnot under a similar name
RAMBO 22 May, 2017 @ 8:54pm 
Great idea. I like it.
SG 17 May, 2017 @ 9:29pm 
ok then maybe he forgot.....ask again....remind him...
SG 16 May, 2017 @ 8:42pm 
Well he's offline 7 days ago.....so of course he won't answer....wait till he comes back online.....
SG 15 May, 2017 @ 8:09pm 
If you copied his version and basically made improvements, then I guess wait for his approval(or even better yet give him your improved version of his version and he can update it on his end and thus there is no need for two workshop pages on the same thing!); however, if you made yours from scratch, then of course you can upload it as it's your own work! :fhappy:
SG 9 Dec, 2016 @ 2:31pm 
Well in that case, you should probably rename it to "Partial unicode support fix" or something similar.....
SG 9 Dec, 2016 @ 5:54am 
Ok, alright - thanks for trying! :fhappy: