ArthurHeitmann / F-SERVO

File utility and quest scripts editor for Nier:Automata
GNU General Public License v3.0
22 stars 2 forks source link

question/help #5

Open pen-pen05 opened 2 months ago

pen-pen05 commented 2 months ago

Hello! I have little experience modding games so I'm a bit lost tbh. I'd appreciate some help! My plan is to replace 9S voice with Popola's (using an ai voice model) 'cause i´m replaying the game using the twins and I thought it'd be a lot immersive with their voices

I could find the file with his noises (jump, damage, attack and event-dialogs), about +200. It seems is easy to replace them, it'll take some time though.

My problem came when I was trying to find the files with his actual dialogs (in game dialogs and cutscenes). Couldn't do it. If you know where I can find them, it would be really helpful! Thank you in advance!

ArthurHeitmann commented 2 months ago

For dialogs see here. There are about 1.3k 9s voice lines. Which is a lot for a manual task. For cutscenes, you have to search for evXXXX audio files. However those contain all speakers from that cutscene. I don't know if it makes sense to replace those in your case.

Since the large number of files involved is very high, you will not get around some automation. If you know how, you can do that yourself. Otherwise I can help. If you make a small proof of concept and think it's worth committing, I can make a tool that automatically replaces newly generated files.

pen-pen05 commented 2 months ago

Got it! Thank you a lot! Actually, yeah I don't think it's necessary to edit the cutscenes audio. About the dialogs, could you tell me where should I look for them? I mean, the file(s) that contains the dialogs so I can start to modify them. 1.3K is a lot but I don't really mind, if it's as easy as I think I could do 40-50 dialogs per day so in about 1 mouth it'd be done.

I've been using SERVO for modify the bnk files that are in the audio folder of the game, but those are only moans, screams, and short event-dialogs. Haven't had any luck finding the file with the actual dialogs. Was curious about the "stream" ones, but it seems those are the cutscenes audio...

Thank you again!!

ArthurHeitmann commented 2 months ago

This is explained a bit in the music modding wiki. But basically, open WwiseStreamInfo.wai from NierAutomata\data\sound. Inside the English folder are wsp container files. They contain the localized audio files. In there you can either go through them one by or search for the related event right away. You can identify all 9S voice lines by the _a9s suffix the name has.

Still for your own sanity, I'm offering to help automate some parts of the workflow.

ArthurHeitmann commented 2 months ago

And another benefit of automating the bulk of the work, is that you can easily tweak setting of your voice model or completely replace it with a different voice for a different mod, without another month of hard work

pen-pen05 commented 2 months ago

I see! It sounds good. Thank you!! How would automation work? What would I have to do?

ArthurHeitmann commented 2 months ago

Rough steps:

  1. Collect all .wem files you're interested in and copy them to a separate folder
  2. Convert all .wem files to .wav
  3. Transform all the audio files using your ai model
  4. Convert all new .wav files back to .wem
  5. Update the game files with the new .wem files
pen-pen05 commented 2 months ago

Got it! I'll try to do it when I have the time and tell you how was it, thank you again!

ArthurHeitmann commented 2 months ago

Alright, have fun!