Hi,
Unfortunately, this did not work. Alternatively, where is the lib directory? Figured I'd just create a "lib" directory, and put the files there, but that didn't work either.
Edit: Hmm. So my set_error_output log created the following log. I'm not sure what it's saying the Ilogical Operation is.
Engine error from function: bool screen_reader_set_library_path(int, const string&in)
Error: Illogical operation.
Call stack size: 2
File: C:\bgtstuff\firstshift\speech_manager.bgt
Line: 34 (1)
Function: void speech_manager::init(string, string = "")
File: C:\bgtstuff\firstshift\Firstshift.bgt
Line: 16 (1)
Function: void main()
Engine error from function: bool screen_reader_set_library_path(int, const string&in)
Error: File not found.
Call stack size: 2
File: C:\bgtstuff\firstshift\speech_manager.bgt
Line: 35 (1)
Function: void speech_manager::init(string, string = "")
File: C:\bgtstuff\firstshift\Firstshift.bgt
Line: 16 (1)
Function: void main()
edit2: Okay, so
something happened with the init call, because now even with jaws it's not working, and it worked earlier.
Here's my current code. I left the init call to initialize speech manager exactly the same, so is it the order I put all the other stuff in?
#include "dynamic_menu.bgt"
#include "speech_manager.bgt"
//The main menu, speech and other things.
speech_manager speech;
sound music;
void main()
{
music.stream("sounds/music/mainmenu.ogg");
music.volume = -10;
show_game_window("Test");
dynamic_menu menu;
set_error_output("error.log");
music.play_looped();
speech.init("Config", "Encrypttest");
int result;
menu.set_speech_mode(speech.mode);
menu.set_tts_object(speech.sapi);
menu.add_item_tts("start");
menu.add_item_tts("exit");
result=menu.run("Please choose an option.", true);
}