Translation/Transcription of all voicelines and mutant sounds from Russian to English
Co-author VodoXleb
WILL NOT WORK WITHOUT AT LEAST MODDED EXES RELEASE 2024.03.08
Disclaimer
- The Majority of the subtitles are machine translated, since this is in Beta state until we can check the accuracy of translations, some are missing, others don't make complete sense.
- If you want to help our read the "Helping with Translations" Section.
- If you have an issue, check the changelog/known issues section below before commenting it might have been identified or fixed in a new version.
Displaying Subtitles
- Using an engine patch, there is now a callback "on_phrase_callback" that whenever an npc makes a sound the path-name and the npc game object, from that depending on the MCM option the subtitle is displayed via the news manager or a customisable HUD with a few options for accessibility
- If using news manager + localisation mcm options and the flag you want isn't showing replace "eng" with any field in gamedata\configs\plugins\mod_news_tips_icons_as.ltx.
How it's built
- 6 Variables are used to build a table used to assit with how long it's shown, the contents of the subtitle, who said the subtitle, an icon to identify the speaker, the localisation (if needed) and the speakers faction.
- Speaker Name, Speaker Icon, Speaker Faction, Subtitle, Locale, Duration
Adding your own Subtitles
- The file name doesn't matter, however the structure has to be like any other string table file
- The Tag must start with "as_sub_" in order to be recognised
- The path-name to the sound file HAS to included in the tag after the "as_sub_" prefix (Starting with the folder under the root folder aka characters_voice under sounds)
- The actual string inside can be whatever
Helping with Translations
- If you check the github for this addon, under the transcriptions folder should be a copy of each file's transcription in russian.
- Since we don't have the full ability nor the time to dedicate to manual transcription and translation of each and every voice sound file, the majority of the ones present in this addon have been machine translated.
- If you want access to the script that is used to translate/transcribe .ogg files and write the outputs to xml please dm me on discord @antglobes
- If you feel like you can help out and check the accuracy of the transcriptions/provide relplacements for the nonsensical or incorrect ones please dm or make an issue stating so on the github repo.
Installation
M02
- Download the mod, M02, DLTX/Modded Exes, MCM
- Place the zip file in M02 downloads folder
- Right click on the zip from within M02, it should be underneath the downloads tab next to the data tab
- Click Install
- Select Main
- Done
Manual
- Copy across the gamedata folder
- DONT COPY ACROSS THE FOMOD FOLDER
- Done
Requirements
License
Credits
- Lucy, xcvb, mrdemonized, SimplyLeo (Vinci).
Known Issues
Version 0.5.2
- v0.5.2+ (Fixed in v0.6.0) Subtitles HUD not showing due to removed mcm opt meaning continous nil variable
Version 0.6.0
- v0.6.0 (Fixed in v0.6.1) Certain npc portraits are missing causing CTD
Version 0.6.1
- v0.5.2+ (Fixed) Cooldown mcm option was present but not being applied during queue processing
Changelog
- v0.5.2 Base Version
- v0.5.3 Active Dialog/Inventory Opened Prevents queue processing, NPC Distance based queue priority, Exclude Silent Subtitles, Inclusion of Trader Faction, Reworked HUD Activation.
- v0.6.0 Fixed HUD not showing, Inclusion of some missing subtitles.
- v0.6.1 Include News Manager Icons for HUD
- v0.6.2 Fixed Queue Timer, Reintergrated Subtitle Cooldown
I try it! (Too good to be true o_O ^^).
is there anything required to be enabled in game settings? only if i enable 'news manager' subtitle option, they appear, if i disable them, i can see the logs in console but no subtitle shows up in the hud
Is the "enable hud" mcm option highlighted? if so it should work. There has been some issues but looks like we missed something. I'll look into it
yeah it's enabled, just tested in vanilla anoamly + modded exes, but looks like it isn't working. only when enabling the 'news managaer' subtitles, it shows up
maybe english is not my natuve language, but this addon is damn impressive
dm me on here or discord
From time to time, when I approach the merchants (so far it has happened to me in Zaton, approaching the merchant, Nimble, in the ship, and in Jupiter, from, what's the merchant's name, Ashot?), as soon as he speaks the game crashes.
Fatal Error
Expression : <no espression>
Function : CScriptEngine::lua_pcall_failed
File
D:\a\xray-monolith\xray-monolith\src\xrServerEntities\script_engine.cpp
Line : 262
Description : fatal error
Arguments :
1 :[Lua] c:/my anomaly\gamedata\scripts\subtitles_ui.script(257) :display_subtitles
LUA error: c:/my anomaly\gamedata\scripts\subtitles_ui.script:257: attempt to call a nil value
(I copied by hand, I hope I transcribed everything without typing errors ^^).
For the moment I disable the modification -.-
Thanks for give us your log this will help alot, was having a problem with trader faction stalkers but should be able to fix this within a few hours
In a few hours... damn, this makes me proud to have copied the log (because this mod, for a person who doesn't speak Russian and loves Anomaly a lot, is a great great mod ^^).
I have a fix although because subtitles are not showing at all for people, you might have to wait a few days. If you check the repo within 24hrs and download the subtitles_ui.script form the main branch it should have a fix around line 83.
Thank you. In any case I will wait - we will wait - as long as the repair requires (I have an enormous esteem for those like you that continually enrich this splendid "game").
Thank you very much! I'm almost deaf so finally getting to "hear" my enemies through notification (because subtitles don't show up otherwise) is awesome. 10/10 and excited for updates! :)
Compatible with EFP?
Hasn't been tested with it but shouldn't have any conflicts unless missing the base game sound files
Expression : xml_doc.NavigateToNode(path,index)
Function : CUIXmlInit::InitStatic
File : D:\a\xray-monolith\xray-monolith\src\xrGame\ui\UIXmlInit.cpp
Line : 154
Description : XML node not found
Argument 0 : ui_inGame3_ico_bandit
Argument 1 : ui\ui_as_actor_portraits.xml
stack trace:
Yup, just got this same crash error but with a renegade instead of a bandit.
post logs or i can't help you
Well as I said, it's the same as the dude's error message above my response just with a "renegade" instead of a "bandit."
Here's mine:
FATAL ERROR
[error]Expression : xml_doc.NavigateToNode(path,index)
[error]Function : CUIXmlInit::InitStatic
[error]File : D:\a\xray-monolith\xray-monolith\src\xrGame\ui\UIXmlInit.cpp
[error]Line : 154
[error]Description : XML node not found
[error]Argument 0 : ui_inGame3_ico_renegade
[error]Argument 1 : ui\ui_as_actor_portraits.xml
I'm guessing the issue is how some NPCs don't have a specific portrait of themselves in Gamma? Gonna test to see if the same error happens if I enable the News Manager subtitle option.
I got the same crash when starting a new warfare save as renegade, but I enabled the News Manager option and could start a new game without crashing.
I get the same issue except when I try talking to Kalancha.
Expression : xml_doc.NavigateToNode(path,index)
Function : CUIXmlInit::InitStatic
File : D:\a\xray-monolith\xray-monolith\src\xrGame\ui\UIXmlInit.cpp
Line : 154
Description : XML node not found
Argument 0 : ui_npc_u_nebo_2_face_2
Argument 1 : ui\ui_as_actor_portraits.xml
I wish the subtitle boxes would last longer before disappearing. If the speech is longer than a brief sentence I can never read it in time.
Same problem as others described - mod is installed at the bottom of the Mo2 load order (1.5.2 with newest exes), but not seeing any translations around rookie village. Does not seem to work with the news manager enabled either. No errors though, just isn't working.
Any updates ?
Your link to DLTX/Modded Exes (Required, at least Release 2024.03.08) is broken