13 posts / 0 new
Last post
ponyrider0
ponyrider0's picture
Contributor
Offline
Last seen: 2 years 3 months ago
Joined: 07/22/2016 - 05:01
Karma: 1214
[REL] VoiceFile Redirector OBSE Plugin v1.2

Update: mediafire download link: voicefile_redirector-v1_2.7z

 

[REL] VoiceFile Redirector OBSE Plugin v1.2

Description:
OBSE plugin to redirect missing voicefiles to other locations.  Based on Elys_USV. Version 1.0 expands on elys_usv.dll functionallity with the following: If no voicefiles are present, it first tries to substitute the imperial race in the voice filename to find a match.  If none present, it will try to detect if current dialog is a greeting and then redirect to a generic greeting based on race and sex of speaker.  If both fail, it will fallback to elys_usv.mp3 if present.  

Requirements:
OBSE v0021
Elys_USV: elys_usv.mp3 and elys_usv.lip  

Installation:
Install Oblivion Script Extender.  Remove Elys_usv.dll.  Then install this plugin via Wrye-Bash installers tab.  Or manually copy voicefile_redirector.dll into "\Oblivion\Data\OBSE\Plugins".  

Credit:
Thanks to Elys for supplying original source code and programming suggestions.  Thanks to llde for assistance with building OBSE source code.  And thanks to Morroblivion community for their suggestions, testing and other contributions to this project.  

source code: https://github.com/ponyrider0/voicefile-redirector

Changelog:
version 1.2 - Bugfix for lip filename redirection.

version 1.1 - Bugfix for constructionset editor.  No changes to game mode.

version 1.0 - initial release.

AttachmentSize
File voicefile_redirector-v1_1.7z58.98 KB
File voicefile_redirector-v1_2.7z58.95 KB
Edited by: ponyrider0 on 03/02/2020 - 11:34
ponyrider0
ponyrider0's picture
Contributor
Offline
Last seen: 2 years 3 months ago
Joined: 07/22/2016 - 05:01
Karma: 1214
Original development thread

Original development thread is here.

As mentioned on that thread, the future todo list includes: 

- Implement INI string search/replacment system (see notes in previous post).
- ESP Script communication to receive information on speaker, disposition, class, quest variables and actual dialog text.
- Insert dynamic length silence, probably with a command similar to this:

 

ffmpeg -i "concat:input1.mpg|input2.mpg|input3.mpg" -c copy output.mpg

 

ponyrider0
ponyrider0's picture
Contributor
Offline
Last seen: 2 years 3 months ago
Joined: 07/22/2016 - 05:01
Karma: 1214
I just posted an update

I just posted an update (version1.2) which fixes the lip-synch bug.

Diana TES GotH
Diana TES GotH's picture
Member
Offline
Last seen: 4 years 8 months ago
Joined: 11/25/2015 - 21:49
Karma: 165
Is this specific to

Is this specific to Morroblivion, or will it also work for Oblivion voice files? I'm asking because if it works for all, then I am going to list it in the Extenders and DLL section of my guide.

ponyrider0
ponyrider0's picture
Contributor
Offline
Last seen: 2 years 3 months ago
Joined: 07/22/2016 - 05:01
Karma: 1214
Theoretically, it should work

Theoretically, it should work for everything that the original Elys_USV plugin worked for.  The plugin does not have anything hard-coded for Morroblivion.  However, my only experience with TES4 mods are through playing Morroblivion, so I don't know if there are any non-Morroblivion mods that can take advantage of these features. 

If anyone has any knowledge of non-Morroblivion mods that can take advantage of the VoiceFile Redirector, please let us know by posting here.  Thanks.

1Mac
1Mac's picture
Member
Offline
Last seen: 4 years 5 months ago
Joined: 01/06/2018 - 18:20
Karma: 33
I can confirm this works for

I can confirm this works for non-Morroblivion mods without Morroblivion installed. The unvoiced dialogue in Arthmoor's Sutch Village mod was paired with the voiced greeting text. I imagine his other village mods and similar mods would gain a similar benefit. The lack of lip syncing was a little weird, but it's a very nice immersion feature to have!

ponyrider0
ponyrider0's picture
Contributor
Offline
Last seen: 2 years 3 months ago
Joined: 07/22/2016 - 05:01
Karma: 1214
Thanks for letting me know! 

Thanks for letting me know!  I'm actually very happy to learn that it works outside of Morroblivion!  Regarding lip syncing, hopefully the generic voiced greeting should match up with lip syncing.  It should only revert to non lip-synced speech when the silent mp3 is playing.  Let me know if that's not the case.

1Mac
1Mac's picture
Member
Offline
Last seen: 4 years 5 months ago
Joined: 01/06/2018 - 18:20
Karma: 33
Glad to be the bearer of good

Glad to be the bearer of good news! I'd need to play with it some more, but from the handful of conversations I started, I didn't notice that the default greetings were lipsynced, sorry to say.

ponyrider0
ponyrider0's picture
Contributor
Offline
Last seen: 2 years 3 months ago
Joined: 07/22/2016 - 05:01
Karma: 1214
I've made a new experimental

I've made a new experimental version that contains one bug-fix for greeting responses and a compatibility fix for the Diverse Voices mod (https://www.nexusmods.com/oblivion/mods/9829).  I need testing and feedback to at least confirm that nothing is broken, then I'll set this up as the new release version.

AttachmentSize
File voicefile_redirector_2018-apr-24_alpha.7z58.42 KB
Jackofblaze
Jackofblaze's picture
Offline
Last seen: 7 years 2 days ago
Joined: 04/14/2018 - 12:48
Karma: 5
So, I tested it out, and it

So, I tested it out, and it seems to have totally fixed the compatibility issues. Thank you for your excellent work! Morrowind characters now use their proper voiced dialogue, and the races that are supposed to be affected by Diverse Voices in Cyrodiil all use the voices they should as well. Only slightly strange thing is the Morrowind characters also give the default greeting for their race from vanilla Oblivion whenever you initiate dialogue with them, but this is a very minor issue.

ponyrider0
ponyrider0's picture
Contributor
Offline
Last seen: 2 years 3 months ago
Joined: 07/22/2016 - 05:01
Karma: 1214
Jackofblaze wrote:

Jackofblaze wrote:

... Only slightly strange thing is the Morrowind characters also give the default greeting for their race from vanilla Oblivion whenever you initiate dialogue with them, but this is a very minor issue.

That's the intended feature of Voicefile_Redirector.  Some people (me) are annoyed by the completely silent greeting when talking to Morroblivion NPCs.  The generic Oblivion greeting should only show up for NPCs with missing voicefiles (which is nearly all Morrowind NPCs, unless you have one of the Voiced Dialog mods installed).  The effect is intended to be similar to how Baldur's Gate 1 or Diablo 1 NPCs have a generic voiced greeting whenever you initiate dialog.  If I ever implement a configuration file for the Voicefile_redirector, I'll add in an option to disable generic voiced greetings..... I may also add in support for randomizing the greetings and customizing which ones are played based on NPC disposition.  Currently, it uses Oblivion generic greetings so that the voicefile_redirector can be used without Morroblivion installed, but I may also add in the ability to autodetect the equivalent Morroblivion greetings and play them instead (that way, the same voice actors are always used for consistency).

th3toadd
th3toadd's picture
Offline
Last seen: 6 years 9 months ago
Joined: 08/18/2016 - 15:32
Karma: 2
Thanks for making this fix

Thanks for making this fix ponyrider :)

I would really appreciate it if you could a version where we can toggle off the generic voiced greetings, the greeting being completely different from what the text says really throws me off

ponyrider0
ponyrider0's picture
Contributor
Offline
Last seen: 2 years 3 months ago
Joined: 07/22/2016 - 05:01
Karma: 1214
I've been thinking of

I've been thinking of modifying it to just a one word audio acknowledgement like "Hello" or "What?"... or maybe just a cough sound.  But a toggle option is a good idea too...  I'll put all of that on my todo list.  Thanks.