351
FF7Voice / Re: Has a FFVII Voice-Over Project ever been attempted?
« on: 2008-05-30 22:10:00 »
Dziugo : I had a bit more time to look into this and the issue was that I didn't have the Visual C++ files on my computer. Downloading and installing the 2008 vcredist_x86.exe from Microsoft's website fixed the issue. Quick test worked. I'm going to try it out for a bit and report back.
edit : Tried it out some more. The way your software works, I can definitely see this project working out technically. Brilliant.
However, the application doesn't seem to handle questions well. Tried the two questions on the highwind (operations room and take control of the helm) and they both send the game into an infinite loop. Here's the start of my debug file showing a loop :
MapID = 74 DialogID = 18 Just started playing.
MapID = 74 DialogID = 18 Has been stopped.
MapID = 70 DialogID = 102 Just started playing.
MapID = 70 DialogID = 102 Has been stopped.
MapID = 70 DialogID = 114 Just started playing.
MapID = 70 DialogID = 114 Has been stopped.
MapID = 70 DialogID = 112 Just started playing.
MapID = 70 DialogID = 112 Has been stopped.
MapID = 70 DialogID = 1 Just started playing.
MapID = 70 DialogID = 1 Just started playing.
MapID = 70 DialogID = 1 Just started playing.
MapID = 70 DialogID = 1 Just started playing.
MapID = 70 DialogID = 1 Just started playing.
MapID = 70 DialogID = 1 Just started playing.
MapID = 70 DialogID = 1 Just started playing.
MapID = 70 DialogID = 1 Just started playing.
MapID = 70 DialogID = 1 Just started playing.
MapID = 70 DialogID = 1 Just started playing.
MapID = 70 DialogID = 1 Just started playing.
MapID = 70 DialogID = 1 Just started playing
...
It keeps on going this way until I close the game. The actual text in game never shows up and the sound plays each second though!
Looking at the source of your program (installed VC++ Express 2008 out of curiosity to try and understand what you did), I'd wager it'd be related somehow to the program interpreting the part where ff7 waits for input as a end dialog and the program trying to reinitialize again since the dialog never came up in the first place. Only a theory from somebody who doesn't know much about these things and who's trying to understand.
To avoid that whole problem completely, would it be possible to exclude the ASK opcode messages from being picked up ? I don't remember a spot in the game where a question would be important enough to need to be voiced.
Ficedula : Wouldn't the text match way create a lot of overhead if the program has to look into a big heavy text file to match the clip before sending the sound out ? Wouldn't the ID way be more responsive ?
Ficedula & Dziugo : I've noticed, ff7music picks up the log Dziugo's hook creates in its main window (where all the texture stuff and mid info is written). With this in mind, would it be easier to use ff7music built in "sorter" and output engines in conjunction with Dziugo's hook or would it be easier to make one from scratch using Dziugo's program as a base ?
Here's a short copy & paste of that window (removed some redundant lines) :
TEXTURE LOADED INTO VIDEO MEMORY
MIDI play: 47
reading midi file: HIKU.mid
HIKU.mid
Midi file matched! HIKU
CSA6
CSR7
File counterpart 4-03 Airships Make Me Happy - The Highwind Takes to the Skies Remix.mp3
Resolved to F:\Documents\Music\ff7\4-03 Airships Make Me Happy - The Highwind Takes to the Skies Remix.mp3
Playing music
CSA6
CSR7
CSA8
Look for plugin for mp3
Init plugins
Setup input plugin: Nullsoft MPEG Audio Decoder 2.96+AAC
Setup output plugin: waveOut output v2.0.2a
Init finished
---------------------------
Prevented from resuming
CSR9
current volume: 127
MIDI is playing SUCCESSFULLY!!!
TEXTURE LOADED INTO VIDEO MEMORY
TEXTURE LOADED INTO VIDEO MEMORY
MIDI play: 47
song is already playing...
TEXTURE LOADED INTO VIDEO MEMORY
TEXTURE LOADED INTO VIDEO MEMORY
MapID = 74 DialogID = 18 Just started playing.
TEXTURE LOADED INTO VIDEO MEMORY
TEXTURE LOADED INTO VIDEO MEMORY
MapID = 74 DialogID = 18 Has been stopped.
TEXTURE LOADED INTO VIDEO MEMORY
TEXTURE LOADED INTO VIDEO MEMORY
MIDI play: 47
song is already playing...
TEXTURE LOADED INTO VIDEO MEMORY
TEXTURE LOADED INTO VIDEO MEMORY
MapID = 70 DialogID = 102 Just started playing.
MapID = 70 DialogID = 102 Has been stopped.
TEXTURE LOADED INTO VIDEO MEMORY
MapID = 70 DialogID = 114 Just started playing.
MapID = 70 DialogID = 114 Has been stopped.
MapID = 70 DialogID = 112 Just started playing.
MapID = 70 DialogID = 112 Has been stopped.
TEXTURE LOADED INTO VIDEO MEMORY
TEXTURE LOADED INTO VIDEO MEMORY
MapID = 70 DialogID = 1 Just started playing.
MapID = 70 DialogID = 1 Just started playing.
MapID = 70 DialogID = 1 Just started playing.
... (loop 'til alt-f4 as explained previously).
I do feel I should point out I tried the hook with and without ff7music and the loop still starts in either case so it would seem unrelated.
edit : Tried it out some more. The way your software works, I can definitely see this project working out technically. Brilliant.
However, the application doesn't seem to handle questions well. Tried the two questions on the highwind (operations room and take control of the helm) and they both send the game into an infinite loop. Here's the start of my debug file showing a loop :
MapID = 74 DialogID = 18 Just started playing.
MapID = 74 DialogID = 18 Has been stopped.
MapID = 70 DialogID = 102 Just started playing.
MapID = 70 DialogID = 102 Has been stopped.
MapID = 70 DialogID = 114 Just started playing.
MapID = 70 DialogID = 114 Has been stopped.
MapID = 70 DialogID = 112 Just started playing.
MapID = 70 DialogID = 112 Has been stopped.
MapID = 70 DialogID = 1 Just started playing.
MapID = 70 DialogID = 1 Just started playing.
MapID = 70 DialogID = 1 Just started playing.
MapID = 70 DialogID = 1 Just started playing.
MapID = 70 DialogID = 1 Just started playing.
MapID = 70 DialogID = 1 Just started playing.
MapID = 70 DialogID = 1 Just started playing.
MapID = 70 DialogID = 1 Just started playing.
MapID = 70 DialogID = 1 Just started playing.
MapID = 70 DialogID = 1 Just started playing.
MapID = 70 DialogID = 1 Just started playing.
MapID = 70 DialogID = 1 Just started playing
...
It keeps on going this way until I close the game. The actual text in game never shows up and the sound plays each second though!
Looking at the source of your program (installed VC++ Express 2008 out of curiosity to try and understand what you did), I'd wager it'd be related somehow to the program interpreting the part where ff7 waits for input as a end dialog and the program trying to reinitialize again since the dialog never came up in the first place. Only a theory from somebody who doesn't know much about these things and who's trying to understand.
To avoid that whole problem completely, would it be possible to exclude the ASK opcode messages from being picked up ? I don't remember a spot in the game where a question would be important enough to need to be voiced.
Ficedula : Wouldn't the text match way create a lot of overhead if the program has to look into a big heavy text file to match the clip before sending the sound out ? Wouldn't the ID way be more responsive ?
Ficedula & Dziugo : I've noticed, ff7music picks up the log Dziugo's hook creates in its main window (where all the texture stuff and mid info is written). With this in mind, would it be easier to use ff7music built in "sorter" and output engines in conjunction with Dziugo's hook or would it be easier to make one from scratch using Dziugo's program as a base ?
Here's a short copy & paste of that window (removed some redundant lines) :
TEXTURE LOADED INTO VIDEO MEMORY
MIDI play: 47
reading midi file: HIKU.mid
HIKU.mid
Midi file matched! HIKU
CSA6
CSR7
File counterpart 4-03 Airships Make Me Happy - The Highwind Takes to the Skies Remix.mp3
Resolved to F:\Documents\Music\ff7\4-03 Airships Make Me Happy - The Highwind Takes to the Skies Remix.mp3
Playing music
CSA6
CSR7
CSA8
Look for plugin for mp3
Init plugins
Setup input plugin: Nullsoft MPEG Audio Decoder 2.96+AAC
Setup output plugin: waveOut output v2.0.2a
Init finished
---------------------------
Prevented from resuming
CSR9
current volume: 127
MIDI is playing SUCCESSFULLY!!!
TEXTURE LOADED INTO VIDEO MEMORY
TEXTURE LOADED INTO VIDEO MEMORY
MIDI play: 47
song is already playing...
TEXTURE LOADED INTO VIDEO MEMORY
TEXTURE LOADED INTO VIDEO MEMORY
MapID = 74 DialogID = 18 Just started playing.
TEXTURE LOADED INTO VIDEO MEMORY
TEXTURE LOADED INTO VIDEO MEMORY
MapID = 74 DialogID = 18 Has been stopped.
TEXTURE LOADED INTO VIDEO MEMORY
TEXTURE LOADED INTO VIDEO MEMORY
MIDI play: 47
song is already playing...
TEXTURE LOADED INTO VIDEO MEMORY
TEXTURE LOADED INTO VIDEO MEMORY
MapID = 70 DialogID = 102 Just started playing.
MapID = 70 DialogID = 102 Has been stopped.
TEXTURE LOADED INTO VIDEO MEMORY
MapID = 70 DialogID = 114 Just started playing.
MapID = 70 DialogID = 114 Has been stopped.
MapID = 70 DialogID = 112 Just started playing.
MapID = 70 DialogID = 112 Has been stopped.
TEXTURE LOADED INTO VIDEO MEMORY
TEXTURE LOADED INTO VIDEO MEMORY
MapID = 70 DialogID = 1 Just started playing.
MapID = 70 DialogID = 1 Just started playing.
MapID = 70 DialogID = 1 Just started playing.
... (loop 'til alt-f4 as explained previously).
I do feel I should point out I tried the hook with and without ff7music and the loop still starts in either case so it would seem unrelated.