Author Topic: Speech under non-VC6 builds  (Read 1820 times)

0 Members and 1 Guest are viewing this topic.

Speech under non-VC6 builds
Hi folks,

With a simple change to speech.cpp, and renaming the speech folder speech_pleasedontusethis (a random filename NOT on the path), I've got the TTS working under a VC2008 build.

To enable:
Define FS2_SPEECH in the preprocessor options of Freespace2 and code
Make sure you have the Vista 6.0A or 6.1 SDKs

Enjoy!

portej05
STRONGTEA. Why can't the x86 be sane?

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Re: Speech under non-VC6 builds
Make sure you have the Vista 6.0A or 6.1 SDKs
No love for XP?

 
Re: Speech under non-VC6 builds
Just define _WINVER to 0x502 if you want the XP loving
STRONGTEA. Why can't the x86 be sane?

 
Re: Speech under non-VC6 builds
Defining FS2_VOICER doesn't cause any errors for me either.
STRONGTEA. Why can't the x86 be sane?

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Minecraft
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: Speech under non-VC6 builds
Also, that's just the SDK version, you can use the Vista/Server08 SDKs and still compile XP-compatible code.  No point really in using such an old PSDK now, they've all been superceded by the Server 2008 PSDK.  Is anyone still running FS on Windows 2000?  That's one of the only reasons I could think to use an older one, but I think the Vista one works, if not then the Server 2003 one will.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

  
Re: Speech under non-VC6 builds
Also, that's just the SDK version, you can use the Vista/Server08 SDKs and still compile XP-compatible code.

That _WINVER def (and there's a whole pile like it - just start an MFC project in VC2008 to see what I mean) makes sure that you can only use XP compatible APIs.
STRONGTEA. Why can't the x86 be sane?