Total War: SHOGUN 2

Total War: SHOGUN 2

Portuguese units voice workaround [english voicelines] (optional)
56 Comments
Snedeck 18 Jun @ 5:42pm 
Ah I see, this is very good information, thank you for responding man, yeah after further testing artys and cavalry units only respond when u click them not the skills or other commands
RavenBuster  [author] 18 Jun @ 1:18pm 
The amusing thing is that the same voice actor voices the Royal Marines and Tercos and both units share most of their voice lines. You're free to do whatever you want with the provided information (that's more or less the point of this mod).To be honest I didn't come up with the idea all on my own. I did find a old TW Center forum where this solution was already mentioned a decade ago. Additionally, Raresh2508 also told me that leaving out the "Boshin_" part of all the foreign units (i.e. "Inf_Elite_Royal_Marines" instead of "Boshin_Inf_Elite_Royal_Marines") for the description text also makes the units speak in generic voice lines just with the related accent. Both solutions work flawlessly for foot troops/infantry but neither work for all other unit types with the notable exception that my way at least allows for voices when selecting Terco Cavalry for example but forget about any move or attack voiceover.
Snedeck 18 Jun @ 10:22am 
Hi, this mod is great coz somehow the original voice somehow fits more than the royal marine, Also, can I have ur permission to use this information about adding the voices to units for another mod? (Ultimate Expanded Field Command Beta 1.95) , Right now im only using it for my personal gameplay but I want to play expanded japan while having portugal, but the voices rn is japanese
Raresh2508 5 Jun, 2024 @ 9:46am 
Running without any mods worked, i tried updating the units one by one to see which one causes crashes, first i just edited the port_swordsman and that worked fine, i kept changing only the infantry models from melee to range, after editing all of them the campaign crashed. I made sure every field i updated was correctly set afterwards but to no luck the game crashes with the voice workaround and portugal faction mod.
RavenBuster  [author] 5 Jun, 2024 @ 9:39am 
Just to be sure did any of my 2 suggetions work? Especially knowing if running a non modded new campaign still works since if it doesn't I might have a solution for you because then the issue is not any you but on CA.
Raresh2508 5 Jun, 2024 @ 9:20am 
Tbh i don't really know what to do. Do you have a .pack that uses the portuguese faction and voice fix for all the units, that i can use.Or i can give you the one i was working on myself if you can check it out and see what is happening if you have time and it's not a problem for you.
RavenBuster  [author] 5 Jun, 2024 @ 8:56am 
Okay that's strange. At least we can rule out the units causing it since they if they work in CB they also work in campaigns, at least that's my personal experience. A few things you can try:
-disable all other mods which aren't required for you mod to work and try a new campaign (removes any mod conflicts)
-try starting a new vanilla / no mod campaign (This might seem stupid but this can actually happen, more on that if it applies to you)
Raresh2508 5 Jun, 2024 @ 8:29am 
The problem is starting a new campaign thats where the crash happenes, i edited the names and checked for all the error on RFPM but i don't have any. The units work in custom battle tho but i really wanted to play on the campaign with them.
RavenBuster  [author] 5 Jun, 2024 @ 8:24am 
You probably got a CTD when loading your save? That's because when you change the unit key that unit is now treated gamewise as a new unit cause old key ≠ new key and your savefile still tries to access the old unit/key which isn't there anymore hence causing the crash. That's generally a thing, often a crash means somethings missing or somethings is expected but isn't there. A new campaign should work fine but if you want to use your old savefiles then you have to add a copy of all changed units with their old key back into your mod.
Raresh2508 5 Jun, 2024 @ 8:15am 
@RavenBuster
Also thank you for all the help so far greatly appreciated
Raresh2508 5 Jun, 2024 @ 8:02am 
Does the file work only for infantry type units, after i edited some of them including artillery and cavalry i can't open the campaign.
RavenBuster  [author] 5 Jun, 2024 @ 7:33am 
You probably forgot to update some tables hence the missing text & unit card and the black/grey-ish screen.

unit card & model: db/uniforms_tables -> edit "Filename" columns
(Hint: Just make sure that both model in variantmodels/units (xyz.unit_variant) and all unit cards in ui/units (xyz.tga) have the same filename.)

unit name & description: text/db -> unit.loc & unit_description_texts.loc need to be edited.

If you want a more visual/handson approach you can always open my mod found at ...\Steam\steamapps\workshop\content\34330\1878707871
Raresh2508 5 Jun, 2024 @ 6:47am 
@RavenBuster
I fixed the voices but there is a weird glitch, now the units don't have a description and when i hover over them for example in custom battles the screen turns black/grey-ish like it's trying to open op the details of the units but it can't.
RavenBuster  [author] 5 Jun, 2024 @ 6:46am 
If I remember correctly by just adding the "Boshin_" prefix to the key of the unit(s). Just make sure to properly update the new key(s) for all other tables cause else it will cause issues/crashes.
Raresh2508 5 Jun, 2024 @ 6:12am 
I think i understand now, but how did you code your portuguese units to be considered as Boshin units( so i can use the voice lines for all of them not just the arquebus tercos), what field do i need to edit if you can help me on discord or something so i can at least show you some ss if you have time.
RavenBuster  [author] 4 Jun, 2024 @ 3:35pm 
@Raresh2508
If you want the long & detailed version see the [h1] Informations for Modders ... [/h1] section in this mod description for a more detailed explanation of what I did. Be aware that for some reason unit voices are linked to their description text and the given CA Terco description doesn't work on any other unit! My workaround is that I coded my portuguese units to be considered as Boshin/FoTs units and not Sengoku/base Shogun 2. Reason for this is that the Royal Marines from FotS have the same voice actor and nearly identical lines but their unit description can be used on other units without issues hence all of my mods portuguese units sound like them including a "Royal Marines, Aye Aye Sir" line which this mod fixes.
Raresh2508 4 Jun, 2024 @ 12:43pm 
Hello,
I was wondering how you did that, i'm trying to merge two mods together the one that adds portuguese to the missionary and the tercos ranged, and the one that adds portugal as a faction. I want the units to speak portuguese but i can't seem to link the voices with the units.
Trivixni 13 May, 2024 @ 2:12pm 
Preparar os canhões!
♠ Flokinho ♠ 29 May, 2022 @ 5:22am 
beleza, pica.
Tiger2071 17 Sep, 2021 @ 10:21am 
ah
RavenBuster  [author] 17 Sep, 2021 @ 5:04am 
Most likely there aren't any voice lines for cavalry abilities by tercos voice actors. Some actors only voiced a certain unit, unit type or agent and there simply wasn't any need for additional voice lines.
Tiger2071 16 Sep, 2021 @ 4:57pm 
One slight problem but I think this might be related to the unit type.
The ability buttons for the conqueror hero and lancers arent voiced, neither the cav specific ones (wedge and dismount) or skirmish, toggle FAW, toggle melee also isnt voiced for the hero.
Tiger2071 16 Sep, 2021 @ 4:11pm 
well, thanks man, for this and the mods
RavenBuster  [author] 16 Sep, 2021 @ 2:54pm 
The terco garrisons from my garrison mod should also be affected by the mod. All of my terco units use the same voice lines and I don't see why this shouldn't apply to them as well, so no extra work for you.
Tiger2071 16 Sep, 2021 @ 2:38pm 
Np, this was meant for personal use.
Do I need to do anything to the garrison file or no?
I'm not often on the defensive often, but no point in leaving a job half finished.
RavenBuster  [author] 16 Sep, 2021 @ 2:33pm 
Just tested it and it should work. I won't bother uploading the mod to the workshop because I didn't do anything that warrants credit. Credit goes to Vlakc for uploading his mod & providning the portuguese voice files.
RavenBuster  [author] 16 Sep, 2021 @ 2:20pm 
No problem just give me a few minutes, the mods almost already done. Modding the sound system itself is nearly impossible but voice lines are stored in mp3 files and the system calls these files solely upon the file name. Thus renaming certain files makes it quite easy to use the system to your advantage.
Example on how I did it:
1)Get/extract mp3 files from nanban mod
2)Rename these files to match the unit (in this case to royal marines. )
3)Upload renamed files to mod and your done

here's the standalone mod called "MODptaudio_weierstrass.pack". I edit the nanban speech mod to also include my units / royal marines :
click here [www.dropbox.com]
Tiger2071 16 Sep, 2021 @ 1:47pm 
I have some experience with PFM and have done some low level modding of empire through Attila (stat changes for units and buildings, 1 turn research, and such) but recently I've been messing around with recruitment pools and restricted units but I havent done anything outside the db file.
I feel like I could take this mod and overwrite it's tables with the ones from the NSM, but I havent tried anything and I'm doubting it'd be that simple.
RavenBuster  [author] 16 Sep, 2021 @ 1:38pm 
Sorry for misunderstanding you but I wasn't sure if you meant just my terco units or all units in general. Making my terco speak is quite easy but requires using a mod tool like rpfm (rusted packfile manager) to get the voice lines. It basically comes down to renaming certain .mp3 -files. I can offer you either teaching how to do that or simply make the mod myself.
Tiger2071 16 Sep, 2021 @ 12:59pm 
well, that's not gonna happen cuz I dont speak portuguese and I dont know anyone who does, but what I meant is, how would I be able to get the portuguese units from your mod to use the voice lines from the nanban speech mod?
In short, what I want to do is replace this mod (the english rework) with the nanban speech mod.
RavenBuster  [author] 16 Sep, 2021 @ 12:27pm 
Since portuguese language isn't supported by Shogun 2 (at least I can't find it in the steam language setting for Shogun 2), I assume that you're simply out of luck since there isn't an official localization and thus no recorded voice lines. Perhaps the author of the "Nanban Speech Add-on Mod" would know more about that topic since he put some portuguese voice lines into the game but I bet that they're probably from another TW title. In general, it would possible to do an inofficial portuguese language mod but without localized voice lines, you/someone would need to record a lot (to quantify it: hundreds or even thousands ) files of voice lines ...
Tiger2071 16 Sep, 2021 @ 9:51am 
How can I get your units to speak portuguese?
I have the nanban speech mod and I'd like to make your units speak portuguese instead of having the tercos speaking portuguese and the rest of the army being from victorian england.
RavenBuster  [author] 8 Nov, 2020 @ 4:32pm 
Yes, they only speak in english since there already is a mod where they speak portuguese called "Nanban Speech Add-on Mod"and I don't steal other peoples work ;-) . Just search for it or use the "click here" link at the bottom of my mod description. I will edit the title & description to be more precise/clear about the spoken language.
Astraben 8 Nov, 2020 @ 4:14pm 
Oh shit so it´s not supposed to remove the English, it´s supposed to elimintate Royal Marine references lmao

I´m so sorry for the trouble m8 ahahahaha
RavenBuster  [author] 8 Nov, 2020 @ 3:55pm 
I uploaded a small video to youtube as proof to you that the mod works
link: https://youtu.be/_iTnBFLudBs
There I show that my units speak their appropriate english voiclines as intented.
RavenBuster  [author] 8 Nov, 2020 @ 3:32pm 
Ok that is quite unexpected. With this set up it should work. Perhaps the file got corrupted when downloading Try to unsubscribe from the voice mod and start the mod manager. The mod should now be removed if not then delete it in your steam/shogun2 folder. Then resubscribe again and steam should download a 42.6 MB file and start normally.
Astraben 8 Nov, 2020 @ 3:02pm 
https://prnt.sc/vfrqyj

As you can see, all mods but yours are disabled.
The workaround still did not work, not for the added units nor the Terço
RavenBuster  [author] 8 Nov, 2020 @ 2:48pm 
Well then kindly I ask you to load the game with just my unit mod and the voice mod and tell me if the line still gets triggered. This way we/I can check if any of the other mods are interferring.
Astraben 8 Nov, 2020 @ 2:36pm 
Yes of course
RavenBuster  [author] 8 Nov, 2020 @ 2:30pm 
So I assume that the "Royal Marines ..." get's triggered right?
Astraben 8 Nov, 2020 @ 2:27pm 
I´ve already done that... I would know...
RavenBuster  [author] 8 Nov, 2020 @ 2:26pm 
Ok that's good. Try to follow this guide (best done in custom battle)

How to check if the mod is working:
(Select units multiple times due to 3 possible responses/voicelines)

-without mod: All of my tercos might respond with "Royal Marine" or 2 more generic voicelines upon selecting them.
-with mod: Only generic responses like base/vanilla tercos
In short: No "Royal Marines, aye aye Sir" = mod is working.
Astraben 8 Nov, 2020 @ 2:16pm 
I´m playing in English, only possible alteration is a kneel to fire mod
RavenBuster  [author] 8 Nov, 2020 @ 2:15pm 
@Astraben
In which language do you run S2?
Most mods,including all of mine, require you to use the english language for the game due to file naming reasons. When using any other language the mod might not work since the file is not correctly loaded.
Pharaoh 8 Nov, 2020 @ 1:33pm 
if you wont go to brazi erm i mean portugal portugal will come to you.
Astraben 8 Nov, 2020 @ 8:47am 
I´m using Weierstrass Units for Vanilla and the Tercos Revival skin for the gunners, no other unit mods.
RavenBuster  [author] 8 Nov, 2020 @ 6:37am 
@Astraben
(Small reminder: Currently only the units from my mod "Weierstrass Units for Vanilla",see required items, are supported due the way the voice mod is built. Other mods can use/link this mod but that's not on me to do.)

I'm not sure what you mean since I just tested it and the mod worked for me. Can you give me more details about your problem? What mods are used? etc .

FYI / How to check if the mod is working:
(Select units multiple times due to 3 possible responses/voicelines)

-without mod: All of my tercos might respond with Royal Marine upon selecting them.
-with mod: Only generic responses like base/vanilla tercos.
Astraben 7 Nov, 2020 @ 6:35pm 
Doesn`t seem to work
Aristoxenus 8 Jul, 2020 @ 8:11pm 
When non professional do the job well done than professional well paid but still doing shit!
PARABENS!!!!!!!!!!!
A big fuck you to CA and its Lusophobic tendencies
Pharaoh 16 Jun, 2020 @ 9:42pm 
Jajajajjajaj