3424 by VorteX
The goals to improve locale/speech system were reached:
- now includes all game text;
- faster loads (loaded once when game starts);
- supports missing strings (they got default locale);
- supports old style 2d maps;
- supports subtitles even if sound files are missing;
- supports PlayStation/PC speech differences.
New locale and speech system adds/fixes alot of features:
- now loaded in menu.dat, when application starts (doesn't load each map start, like previous system did);
- loads all string at once in console variable space, so any translated string is accessible anytime;
- new 'testlocale localename' command which inspects given locale for extra/missing strings and prints warnings for them;
- any locale is loaded after default locale, so missing strings is going to have default locale;
- new subtitles design (centered, added character names for non-kain speech);
- added a length parameter to speech test (last <num> block). So it speech misses sound file, it will be shown anyway;
- default locale was remade to include all original game texts;
- all strings is stored in locale/<localename>/strings folder (having .nsx extension);
- refactored texture translation code, now trying to replace each texture in map resources (no more text scripting, just place the files under locale/<localename>/<path_to_texture>);
- speech now now supported by old style 2D maps (with hash->filename table);
- now supporting PS version speech differences. Some speech are shorter in PlayStation version;
Minor gameplay fixes:
- magic light now only adds ambient in outdoor maps
- speech now fades with distance (175 units max dist, which is equal to kain->barkeep distance in the prologue scene).
- speech scripts (misc_infomark) was completely re-routed, all maps updated. Includes new syntax for .message and support for .message2, .message3, .message4.
- minor config names/temp files re-route (removed now unused mapnames and dlcache).
This update requires re-run of installation script.
!Warning! New speech system is incompatible with old one. All locales require refactoring to a new format, which is explained in updated wiki article.
To all translation teams: please, update your locales!
Model Texture Level Audio Script file
Folder Document Binary file Other