[TECHNICAL] FF7Voice Programmer's Discussion Thread

  • Thread starter Thread starter FF7Voice
  • Start date Start date
Status
Not open for further replies.
F

FF7Voice

Guest
Welcome to the Technical Discussion thread for FF7Voice. Please keep MP3 Demos inside Pre-Release thread. This thread exists to allow Qhimm Users involved in FF7Voice the ability to discuss any technical aspects of the project without having it all mixed up with the mass of MP3 Demos we've received.

WHO IS INVOLVED?
There isn't a specific person assigned as the Project Manager. Everyone involved with FF7Voice is a Project Manager. We all have a say in what's involved and what direction the project is headed. If you would like to become involved with the technical aspects of FF7Voice, please E-mail [email protected]. The E-mail will be directed to the appropriate individual(s).
 
Last edited:
Since we're moving on to another thread, here's the latest relevant info I posted in the other one :

As I've mentioned in the other thread, I've been testing voices during a play through with relative success.  I have yet to hear about anybody else doing so at this point though.

From my testing here is what I've so far found :
- The script catcher defaults to the default character name no matter how you named them (good thing)
- It sometimes freezes when you alt-tab out of the game (haven't noticed a pattern yet as it doesn't happen on a regular basis)
- The included wav files by ficedula creates a memory error if played at the same time as ff7music but regular wavs work fine.  I guess its the way they've been encoded
- I have to test this further as I have no nearby saves by it didn't pick up the text in Lucrecia's waterfall (zz4).  That is the only area I had an issue with text not picking up. (UPDATE further down)
- The ztuck area (cloud's flashback about zack in the mansion) was picked up correctly but immediately renamed it to a odd string of characters before dialog started, nullifying any configured script lines.  It is always the same random string of characters though so it could be worked around.

That's all I can think of for now.
For people wanting to try out the program (found in the original voice-over thread by ff7heart) here's a quick tutorial :

- download the voices pack and unzip it in your ff7 folder
- download ficedula's save and unzip it in your saves folder
- start ff7
- alt-tab out of it
- double click voices.exe in ff7 folder
- click start (NO MESSAGE WILL COME UP - THIS IS NORMAL)
- go back to ff7
- go into save slot 4
- choose the "highwind" save (it's in the first 5 ones I believe)
- talk to people in the cockpit and post back your results!

I would also recommend you try running the program as a normal script catcher as well to see if there are any areas where there might be issues with the text not being picked up.
Using ficedula's save file, I found out the one at 53h28 was just by the waterfall cave with Vincent's event not yet triggered so I played it through.  The program detects the change of location (zz4) but does not detect anything afterwards, no field file changes, no dialog.

I also found out that the problem is not related to the text of the waterfall cave not being picked up because even if I leave the waterfall after the event, it stops picking up field field changes and dialogue in the airship and this is text I've picked up before so I know it does work.  So initiating the waterfall event totally stops the voices program (although voices itself does not crash - it just stands there doing nothing).

So there must be something when either the zz4 area is loaded or as the first line of dialog initializes that "breaks" the hooks of the voices program into ff7.

This is the only area I've tested where this happens so far (I've played the huge materia quest to just before getting back in midgar) so I'm thinking it might be a unique coding patern specific to that area interfering with the program.
Ficedula : Quick update on the Vincent waterfall issue.  Enough time had went by so I could go by the waterfall and pick up chaos and death penalty in my game.  Voices picked up that event properly so I would think the bug is related to the initialization of the first line of dialog for the Lucrecia event.  Looking at zz4 in cosmo, I don't see anything out of the ordinary in the first lines of dialog though ...
 
I have a somewhat unrelated question here... Who'll be acting director for this voiceover project? Honestly, some of those people's voices are good, but they lack drama and character. We need a director that can make them bring life to the characters.
 
Well, I wouldn't say we're expecting professionally performed voiceovers (not to sound the least offensive). This is a community effort and is simply a whole bunch of fun.
 
We do have a director who's very rigourous so no worries there.  More info might be found in the pre-release thread on the artistic side of things though.

This one is for the program itself, script editing, etc.
 
Mesden is coaching the Actors, but Calavera, Revenile, and Berri all equally assist by trading their ideas.
 
Last edited:
Marcis, who are we sending these completed MP3s to for implementation into the Scene?
 
So far, that hasn't been established.

You could upload it to my ftp server and I could do the setup if you'd like.

However, currently, the program only supports wavs.
 
Yeah, Alright Marcis. You appear to know a lot about how to implement the .WAVs. Once all the .WAVs have been received from the Voice Actors, they will be E-mailed to you. From there, you will be responsible for placing them into the actual scene itself. Where should they be E-mailed to?
 
Hi, I'm just showing my results for the voice demo here.
Okay.
I'm on vista so i expected problems when I first instal FF7, when I installed it, it would load up and then mess up a lil' on the first mission.
I uninstalled it did a few things and reinstalled it. Now it would only load up, black screen, five seconds later it would turn off. So I put it in compatibility mode 98 and run as administrator. TADA! It worked :P
Okay so then i tried out this program. I put it in my FF7 directory, ran the game in Compatibility mode 98 and run as admin, got to title, Alt+Tab and ran voices. I clicked start ONCE, and it said an error message saying something like "ff7.exe process not located". I started again, and did a re-test. Same error message. So i thought since I have FF7 in compatibility mode and in run as admin. Maybe I should do the same for Voices. I put it in compatibility mode and run as admin tried again and it worked! I think this was because, FF7 was run as admin that voices didnt have permission or that because FF7 was running as it would in 98 maybe voices had to too. Either way i didnt bother to test which of the two or if it was both that did the job.
When I tested it i noticed that the voices where VERY quiet. So i had to turn my volume in the config actually IN THE FF7 GAME MENU down to about 2.
Other than that it was awsome!
 
Yeah, Alright Marcis. You appear to know a lot about how to implement the .WAVs. Once all the .WAVs have been received from the Voice Actors, they will be E-mailed to you. From there, you will be responsible for placing them into the actual scene itself. Where should they be E-mailed to?
Don't forget to process them to raise their quality. Just a reminder.
 
I sent you info about that.

As I've mentioned a few times as well, everyone interested in this project would do us a great service to try the proof of concept Ficedula posted.  This would show it works across a wide array of system configuration and help improve the program if need be.  The link to it is in ff7heart's thread (do a search for ff7hearth's posts if you can't find it, he doesn't have many).

I also have a question for Ficedula, and anyone one else interested in developing this program.  Is this a program you guys actually have interest to move forward and fine tune ?  I know I wouldn't want to impose so I feel this is a question that we should ask.  None of us currently have the programming knowledge to make this work and even though I most likely could learn if needed, I currently have no base for it and my knowledge of ff7's inner workings is limited.  I feel a program written by skilled programmers would be far more elegant and far less buggy than what I could eventually come up with!

If you guys are on board then assuming we take ficedula's program as a base here are the major extra features that have been requested by the team so far :
- Ability to work alongside ff7music
- Ability to use MP3's for output
- Ability to play multiple MP3's at one time (multiple party members speak at the same time)
- Ability to play sound after a certain amount of time has gone by when a specific movie starts playing (ex: speech starts after x number of seconds after the nibelheim movie where spehiroth rips jenova's head starts since speech is hardcoded into it).
- Ability to play MP3's in specific battles (when text is displayed or specific events happen - ex: war cry by cloud at beginning of battle after aerith is killed or music played when reno runs away along with displayed text).  The speech when text is displayed is the more important of the two.

Thanks!

 edit : some further testing info.

I finished testing until the end of disc 2.  Everything in those areas seems perfect except for the very last scene of disc 2.  When I switched back to windows, I noticed there were multiple access violation errors (no sound file configurations done for those areas yet so not due to file access).  I don't know if this is relevant debug info but the Access violation address was always 0045C768 and the read address varied.  I got 5 or 6 different read address but the 3 most common were 00000000, 00000038 and 6E695693.  I also know the program continued to pickup the text even though it was having these issues but it stopped picking it up at the very last part, the one where you get to the main cockpit area and you find out everyone has come back while you were sleeping with Tifa.  Don't know if they are related issues or not though.
 
Last edited:
With multiple MP3s played at the same time, you can just prepare one mixed MP3, and bind it to one character, leaving the rest silent. Same result, much less effort.
 
With multiple MP3s played at the same time, you can just prepare one mixed MP3, and bind it to one character, leaving the rest silent. Same result, much less effort.
Replace all occurrences of MP3/MP3s with WAV/WAVs.
 
Marcis suggested that they be done in .WAV, rather than .MP3
No, actually I may not have been clear abpout this as this isn't what I meant.

I suggested that we record and edit the project files as wavs.  However, from there they can be encoded in the best codec for release, most likely MP3 as there really is no advantage to do a final release as wav's.  Even though wav's might be "slightly" higher quality, they do take up a very significant amount of space compared to MP3's.

Wav's really are the base of all audio formats.  Once past the recording and editing stage, there's no need to keep them as wav's except as a source for safekeeping.

Sorry if I didn't explain what I meant better.
 
I am a voice actor on the project, but I am also a Computer Science major.  I've been lurking around the forums every now and again and was hoping that my involvement in the project (although in another area of it) could allow me to learn about FF7 hacking and exactly what goes into it.  Would this be possible?
 
Just tried the Voices program with Ficedula's proof of Concept.

Tried it initially with FF7Music... didn't work but we knew that anyway... tried it without, worked fine, no glitches, no crashes. Made me laugh!
 
Thanks for testing and reporting back.  For my info, what OS do you use ?

I've also been looking at how we could be playing sound during battle when text pops up.  The first step in this would be to find out how the game calls up in battle text so I've been searching the forum for info on that.

The text is found in the scene files in scene.bin.

After further digging, I can confirm that the opcode used to call text in battle is 93 LoadString opcode as it is the one used to pull the "Attack while its tail's up" text during guard scorpion battle (scene 82).  The argument following the opcode is the text to display (in Scene Edit anyway).
 
Windows XP Media Centre Edition Service Pack 2

Intel Pentium D Dual Core @3.2GHz
512mb RAM (Terrible I know)
ATI Radeon 9600 Series (Also terribly old... it does what I want it to... except anti-aliasing in FF7 *sniff*)


Also since the first post I booted from my other OS on my other drive which is Vista Ultimate and everything worked without a hitch on there too!
 
Status
Not open for further replies.
Back
Top