Jump to content

Esm format - how to get voice file names?


Recommended Posts

I've been looking at the Mod File Format, trying to understand how to programmatically get the file name for any specific line of dialogue out of Fallout4.esm. Examining Fallout4.esm, I can find the dialogue lines in "NAM1" records (as ilstring values), but I have no idea how to get the names of the voice files associated with the dialogue. I don't know if anyone here can help me with this, but I though I'd put the question out there anyway, while I continue to look for the solution on my own.

Link to comment
Share on other sites

http://www.nexusmods.com/fallout4/mods/7273/?

 

I know this doesn't really answer your question, but I think it will help with whatever you're trying to do?

Edit: the author also kindly provided the FO4Edit script he used to make this dump, so it might actually answer your question after all.

Link to comment
Share on other sites

Put simply, you need the CK for this. Those filenames are generated internally while editing dialogue and are not stored anywhere in the file.

Link to comment
Share on other sites

Actually they simplified voice file name structure in Fallout4, it no longer involves editor ids of quest and topic. It works like this now

sound\voice\<plugin>\<voice type>\<INFO formid>_<Response number>.fuz

where

<plugin> - plugin name, the master of INFO record

<voice type> - editor id of VTYP record that defines voice

<INFO formid> - 8 digits hex FormID number of INFO record

<Response number> - value from TRDA\Respose number field

 

So when standing on an interested INFO record in FO4Edit, press Ctrl+F3 and type in the filter field FormID number of INFO to quickly locate all voice files associated with that record, then right click -> save as if needed.

Link to comment
Share on other sites

http://www.nexusmods.com/fallout4/mods/7273/?

 

I know this doesn't really answer your question, but I think it will help with whatever you're trying to do?

Edit: the author also kindly provided the FO4Edit script he used to make this dump, so it might actually answer your question after all.

I've been aware of that script for a few days now, and I've taken a brief look at it. I'm not a big fan of Pascal and I'm not very familiar with the language, but I'm definitely keeping that script in mind as a last resort option. Anyway, what I'm trying to do is make the next version of VFRT pull the data directly from the plugin file and localized strings file, instead of relying on a dialogue file exported with the CK.

 

Put simply, you need the CK for this. Those filenames are generated internally while editing dialogue and are not stored anywhere in the file.

I was hoping that wouldn't be the case. I may still be able to do this without the CK though. The naming convention is drastically simplified in FO4, and I've now made enough progress that I'm able to locate the information I need to form the file name. If I can find the voice type as well (working on it), then I'll just need to learn how to read the format intelligently so I can seek directly to the locations of the data I need. I'm getting there! Thanks both for the replies.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...