BoOgieman Posted December 20, 2013 Author Posted December 20, 2013 My install is on J:\Hyperspin\I believe everything is set at default. Where should I be checking for pathways? When I press F4 it repeats the description but pressing f3 for bio on any wheel doesn't do anything. This may sound stupid, but in the ini file, enter the complete path AND filename of the history.dat file. Just placing the path to history.dat doesn't work. e.q.: MAMEHistoryDatPath=F:\Hyperspin\Emulators\MAME\MAME 0.151\history.dat Need to fix that. HyperSpeech - Text-To-Speech Voice Addon for HyperSpin
albert Posted December 20, 2013 Posted December 20, 2013 Hi Albert,Thanks for thinking along. The command below is the correct command, which parses the command output to the clipboard through the piping function. handle.exe -p HyperSpin.exe | findstr "\\Media\\Main Menu\\Video\\" | Clip When using > will created a file called clip and this is not what we do. And if running cmd as an administrator is an issue, turn off UAC in Windows. When I run the command below in a DOS box, it returns a string with the main menu video. F:\Hyperspin\HyperSpeech>handle.exe -p HyperSpin.exe | findstr "\Media\Main Menu\Video\" 6BC: File (R--) F:\Hyperspin\Media\Main Menu\Video\MAME.mp4 when used with | CLIP it will copy the output to the clipboard, HyperSpeech read the clipboard in his turn in the code. (you will notice that while Hyperspin is running with Hyperspeech, you cannot copy paste as usual.) That's it I've checked the handle every 500ms opens a screen Dos and at the end is showing video which is showing in my HyperSpin but it does not copy it to the clipboard and so HyperSpeech can do the rest to be able to speak the name of system here on my Windows 8.1. But if I open my HyperSpin then open cmd as administrator and type the command handle it writes the clip and still speaks in Hyperspin system name that is active in Hyperspin once.
potts43 Posted December 20, 2013 Posted December 20, 2013 This may sound stupid, but in the ini file, enter the complete path AND filename of the history.dat file.Just placing the path to history.dat doesn't work. e.q.: MAMEHistoryDatPath=F:\Hyperspin\Emulators\MAME\MAME 0.151\history.dat Need to fix that. Fantastic now the mame game bios work. That's the kind of tip we NEED to know. Now I need to find out why no system names are spoken on the turning of the main menu wheel Thanks for your help! This addon is great CORRECTION: Only the mame game bios work. Still system bios and system names are not spoken which probably are related. Once a system is chosen it will say that I've chosen a system. But once back on the main menu no system names are spoken. Did anyone solve this?
BoOgieman Posted December 20, 2013 Author Posted December 20, 2013 Fantastic now the mame game bios work. That's the kind of tip we NEED to know. Now I need to find out why no system names are spoken on the turning of the main menu wheel Thanks for your help! This addon is great CORRECTION: Only the mame game bios work. Still system bios and system names are not spoken which probably are related. Once a system is chosen it will say that I've chosen a system. But once back on the main menu no system names are spoken. Did anyone solve this? Step by step.... Are you having these paths ? J:\Hyperspin\HyperSpeech\handle.exe J:\Hyperspin\Media\Main Menu\Video\*.mp4 J:\Hyperspin\Databases\Main Menu\Main Menu.xml perhaps you can send me a directory list export of your Hyperspin folder? HyperSpeech - Text-To-Speech Voice Addon for HyperSpin
potts43 Posted December 20, 2013 Posted December 20, 2013 Step by step....Are you having these paths ? J:\Hyperspin\HyperSpeech\handle.exe J:\Hyperspin\Media\Main Menu\Video\*.mp4 J:\Hyperspin\Databases\Main Menu\Main Menu.xml perhaps you can send me a directory list export of your Hyperspin folder? Thanks for the quick reply. I'm at work now but fairly confident that my setup is as above. I will check later when I finish. I'm sure it is HyperSpin not Hyperspin. Is that ok? What would be the next step if all checks out? Cheers!
BoOgieman Posted December 20, 2013 Author Posted December 20, 2013 I want to know if the command below gives you a likewise result... open a DOS box, and change the DIR to the HyperSpeech folder. Then copy/paste handle.exe -p HyperSpin.exe | findstr "\Media\Main Menu\Video\ to the DOS box, start HyperSpin and run the command. You should get something similar as this: J:\HyperSpin\HyperSpeech>handle.exe -p HyperSpin.exe | findstr "\Media\Main Menu\Video\" J6BC: File (R--) J:\HyperSpin\Media\Main Menu\Video\MAME.mp4 HyperSpeech - Text-To-Speech Voice Addon for HyperSpin
potts43 Posted December 20, 2013 Posted December 20, 2013 I want to know if the command below gives you a likewise result... open a DOS box, and change the DIR to the HyperSpeech folder. Then copy/paste handle.exe -p HyperSpin.exe | findstr "\Media\Main Menu\Video\ to the DOS box, start HyperSpin and run the command. You should get something similar as this: J:\HyperSpin\HyperSpeech>handle.exe -p HyperSpin.exe | findstr "\Media\Main Menu\Video\" J6BC: File (R--) J:\HyperSpin\Media\Main Menu\Video\MAME.mp4 Will do! At work for another 5 hours do I'll try all your suggestions then. Much appreciated
classicradios Posted December 20, 2013 Posted December 20, 2013 Below you'll find the code I use to parse your Main Menu.xml file (need to check if the path is correct, Databases should be in your Hyperspin Root folder.Also there is the code which uses the handle.exe to check which main menu video is playing. it uses the Clip command on Win Vista & Win7, perhaps not on Win8. You need to test that from a command line in your HyperSpeech folder, while Hyperspin is running in the main menu: handle.exe -p HyperSpin.exe | findstr /C:"\\Media\\Main Menu\\Video\\" | Clip Good luck, I'm gonna get a couple of hours sleep before my extra night shift after a hard days work. I'll check back later on. Cheers Thanks for the help Boogie, I haven't had time to work on this, I hope to get some free time this weekend. I'll let you know what happens. Jim
classicradios Posted December 20, 2013 Posted December 20, 2013 Are all your wheels correctly named and have videos? Are your system wheel videos in an alternative path? Try a single one in a small system wheel like say AAE. I have wheel videos and they are located in the same folder as game videos Media\Main Menu\Video. I'll work on this more in a few days and report back. Thanks!
classicradios Posted December 21, 2013 Posted December 21, 2013 ok, While running hyperspin with a system video playing on the wheel I opened up a command prompt. I typed: handle.exe -p HyperSpin.exe | findstr "\Media\Main Menu\Video\ I received 84C: File <R--> C:\HyperSpin\Media\Main Menu\Video\Sega Genesis.mp4 I still don't have any speech on the Main Wheel. The command only worked when I opened command prompt as Administrator. Here's what's in my Main Menu.XML (Located in Databases folder) <menu> <game name="MAME"/> <game name="Atari 2600"/> <game name="Atari 7800"/> <game name="Atari 5200"/> <game name="Nintendo Entertainment System"/> <game name="Super Nintendo Entertainment System"/> <game name="Nintendo 64"/> <game name="Nintendo Game Boy Advance"/> <game name="Sega Genesis"/> <game name="Sega Dreamcast"/> <game name="Sony PlayStation"/> <game name="Daphne"/> </menu> I'm new to this coding stuff so I don't know how to put your parse code and this code together? If I paste your code The voice speaks during startup video (first time I've heard that!) but then gives a black screen error Main Menu.XML is invlaid. I'm almost there but need more help. Thanks! Jim
potts43 Posted December 21, 2013 Posted December 21, 2013 I want to know if the command below gives you a likewise result... open a DOS box, and change the DIR to the HyperSpeech folder. Then copy/paste handle.exe -p HyperSpin.exe | findstr "\Media\Main Menu\Video\ to the DOS box, start HyperSpin and run the command. You should get something similar as this: J:\HyperSpin\HyperSpeech>handle.exe -p HyperSpin.exe | findstr "\Media\Main Menu\Video\" J6BC: File (R--) J:\HyperSpin\Media\Main Menu\Video\MAME.mp4 I ran the command prompt as Admin and I got this 690:File (R--) J:\HyperSpin\Media\Main Menu\Video\Atari 2600.mp4 I typed this in as I couldn't get it to copy and paste All of my paths were right. what does this mean? thanks
BoOgieman Posted December 21, 2013 Author Posted December 21, 2013 I ran the command prompt as Admin and I got this690:File (R--) J:\HyperSpin\Media\Main Menu\Video\Atari 2600.mp4 I typed this in as I couldn't get it to copy and paste All of my paths were right. what does this mean? thanks Means that it does what it is suppose to do. What happens if you turn off UAC and run Hyperspin? HyperSpeech - Text-To-Speech Voice Addon for HyperSpin
potts43 Posted December 21, 2013 Posted December 21, 2013 I had this issue with HS when it went to version 3. I found a way of using some magical Microsoft tool which allowed progs to run with UAC on. However I don't know which exe would be causing the issue with Hyperspeech. It was HLHQ that was the issue before. Do you know which could be the culprit here?
BoOgieman Posted December 21, 2013 Author Posted December 21, 2013 Not sure, could be HyperSpeech.exe which perhaps needs to be run under the administrator context since it call the cmd. I have UAC turned off, did you try to turn it off for a test? HyperSpeech - Text-To-Speech Voice Addon for HyperSpin
potts43 Posted December 21, 2013 Posted December 21, 2013 Once again I'm back at work! Grrr I will defo try it when I get back and I'll let you know. Cheers
potts43 Posted December 21, 2013 Posted December 21, 2013 This was my solution to keeping UAC on and turning it off for some programs. It works! http://www.wintuts.com/Disable-UAC-for-certain-applications I might need to do it for Hyperspeech.exe It took 5 mins
classicradios Posted December 21, 2013 Posted December 21, 2013 This was my solution to keeping UAC on and turning it off for some programs. It works!http://www.wintuts.com/Disable-UAC-for-certain-applications I might need to do it for Hyperspeech.exe It took 5 mins I tried the link and fix but it didn't work for me. If I select/check box "Run as Administrator" in the HyperSpeech.exe properties it kills all speech in hyperspin and leaves hyperspeech.exe running in the taskbar on exit. I created and installed the .sdb file per the link but it didn't work. I've unchecked "Run as Admin" in HyperSpeech.exe and speech is back on Games and Game bios but not on Main Wheel systems. The fix continues.... Jim
classicradios Posted December 21, 2013 Posted December 21, 2013 Whoa!!! wait a minute, I just ran HyperSpin.exe as Administrator and all speech works! The Main Wheel systems, Bios,etc all working. I'll try the .sdb fix and report back. Stay tuned.... Nope, the .sdb doesn't work on HyperSpin.exe either. I still have to right click HyperSpin.exe and "Run as Administrator" to get speech to work on main wheel systems/bios. Maybe it's a Windows 8 thing? Here's the Arcade I've been setting up
potts43 Posted December 22, 2013 Posted December 22, 2013 Seems that UAC maybe our issue. When djvj updated HLHQ a while back nothing would launch from HS. I didn't want to turn off UAC so I tried this fix on HLHQ and it worked on win7 x64. Have you tried turning off UAC & rebooting and seeing if all works without running anything as Admin? If it works then UAC is the issue Again! Let me know. I'm going try it later when I'm off work.
potts43 Posted December 22, 2013 Posted December 22, 2013 classic radios...does it work with UAC on and ticking RAA in HS.exe properties? Ie no right clicking required....
classicradios Posted December 22, 2013 Posted December 22, 2013 classic radios...does it work with UAC on and ticking RAA in HS.exe properties? Ie no right clicking required.... I've tried that...Get the windows permission box when UAC is on. IF I turn UAC off I don't get the warning/permission but still have to right click "RAA" (even though it's ticked in HyperSpin.exe properties) when I launch HyperSpin to get speech on main wheel.
potts43 Posted December 22, 2013 Posted December 22, 2013 Tried with UAC off completely? Need to reboot...
classicradios Posted December 22, 2013 Posted December 22, 2013 Seems that UAC maybe our issue. When djvj updated HLHQ a while back nothing would launch from HS. I didn't want to turn off UAC so I tried this fix on HLHQ and it worked on win7 x64. Have you tried turning off UAC & rebooting and seeing if all works without running anything as Admin? If it works then UAC is the issue Again!Let me know. I'm going try it later when I'm off work. I've tried turning off UAC and rebooting but get the same problem if I don't "RAA" hyperspin.exe I'm running Windows 8.1
potts43 Posted December 22, 2013 Posted December 22, 2013 Now that's interesting...so still doesn't work with it turned off WTF? If it wasn't a great add on I'd forget it. I'm sure the solution is close
potts43 Posted December 22, 2013 Posted December 22, 2013 Hyperspin.exe Well tried the right click RAA and all works and RAA in properties and all worked on win 7 64bt. Not tried my own fix yet but this will work properly if HS is ran as admin. Thanks for everyone who helped!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.