#1
|
|||
|
Gina under Linux
Introduction
Over time I saw a few people use a software called Gina that does Audio trigger and text trigger/timer. I never looked at it since I had my bash script that does pretty much the same and I am quite happy with it. In the past weeks I saw a few reference to people saying that Gina just don't work or install under Linux and I was curious to checkout why. Long story short, I went on to try and see if it can be made to work and if I could in the process share my findinds so that maybe other can benefit from it. Much like I benefit from the work of others. Installing/Running Gina under Linux
What works
What does not work (maybe just for now)
Research With the installation done and the application running, when you add your character log file there is a voice setting and it's blank. Nothing in the drop down menu. What I did is install a Windows Virtual machine because I wanted to see what would appear in that field. Under a fresh Windows 10 2 options appear in that voice drop down.
A quick search made me learn a bit more about Zira and David : https://www.thewindowsclub.com/micro...vid-hazel-zira It seems that under Windows10/11 Zira/David/Hazel are the default voice for US english at least. But I only have Zira and David under Gina. I went and started the settings for the "change voice narrator" In there I see quite a few voice
No Hazel, he must not be installed from a language pack or something. BUT Gina is not showing the other 3 either. Test1 Be carefull with the following You will mess your wine prefix. If you do so just delete the prefix folder and repeat the installation process I learned that using winetricks you can install the SAPI5.1 SpeechSDK to get the older voice from prior Vista. The SDK is available for download and can be quickly installed using winetricks
But in doing so. It set the windows version to windowsXP(from windows7 prior). Because the speechSDK don't work on anything else. If you now try to start Gina. It just crash. If you then use winecfg to set the windows version back to windows 7. Gina still crash. Delete the prefix and restart Test2 I learned that using winetricks you can install SAPI, which seems to be the other available option under winetricks for speech api : https://github.com/Winetricks/winetr...src/winetricks
Doing the base install plus installation sapi changes nothing once you start Gina. Still no voice options. At least the prefix did not get messed up it seems. Test3 So then I went on to try and see if I could get an application in the wine prefix to test the TTS (Text to Speech)
Using these I was able to get a software to run inside the wine prefix but much like Gina it does not see any voice to use for TTS. After some research I found that you have to install additionnal elements. Some of which are, it seems, installed by default with a windows installation.
Now the software sees the voice and is able to do TTS. Which I think it awesome! You can install more voice from : https://www.microsoft.com/en-us/down....aspx?id=27224 If I then start Gina. There is still no voice under the option. My thinking is now as follow. I think that Gina may be hardcoded to "only" see
The Zira voice I installed seems to be refered to as ZiraPro and not Zira Desktop. They sound exactly the same. Ending This is where I stand for now. If I have more time later I will try to see if I can somehow find a way to download or extract the Microsoft Zira Desktop voice to bring over under my wine prefix. For now I will think on this and leave it here. I hope this is helpfull to someone who may not need the Text to Speech. | ||
#2
|
|||
|
For Reference, I just did an install of Kubuntu22.04 in a virtual machine.
There was a slight difference vs my previous instruction, it is not related to Gina. When I did the dotnet462 install, wine complained about a possible bug with a reference to a bug page on winehq webpage. I added a --force and the rest completed with success. Kubuntu22.04 From a fresh install into a first boot
Now to install and run Gina
| ||
#3
|
|||
|
For what its worth, I was just going through this with GINA on Mac using some newer crossover builds. I had to use SAPI winetricks, used dotnet 4.8, and installed the voices from http://espeak.sourceforge.net/ and they were working. The issue I have however is that it doesn't look like my log file is actively parsed, so no triggers ever fire, although I can search the logs fine and it shows it should trigger.
| ||
#4
|
|||
|
Oh, I also installed d3d, d3d_compile42/46/47 as well.
| ||
#5
|
|||
|
After more testing on my side, turns out mono-complete is not needed at all. So just skip that part. And it works fine. I tested under many ubuntu/debian variant as well as opensuse tumbleweed and Gina works great. If you also do as Freezzo said
You will also have text to speech available. | ||
#6
|
|||
|
Yea, I think i disabled mono on mine. Only issue I have is the actual log reading in realtime. I have yet to figure that out. It doesn't appear to be related to wine though because I can't even get a windows VM version to read from the mac shared drive either, also Windows to Windows shared drive does work.
| ||
#7
|
|||
|
I once, in the past, tried a windows VM to read the log from a shared drive and I had the same result it did not work at all.
I have not had that issue using the steps I described. I don't have experience on mac to be helpfull as to why your wine setup would act differently than mine. | ||
#8
|
|||
|
I also have to install sapi and espeak or setup.exe wont run. I installed dxvk to get it to stop flickering. I think its a permissions thing from one wine running eq and another wine running GINA.
| ||
#9
|
|||
|
Interesting.
On my side using dotnet462 there is no flicker at all and I dont have to install anything more than what I wrote. I tried to do it again using dotnet48. Without the d3d_compile it never works. If I add in the d3d_compile it work like 1 time out of 10. So it's not smooth at all. When it does install Gina. It flickers and it's not working smooth. | ||
#10
|
||||
|
Quote:
| |||
|
|