Project 1999

Go Back   Project 1999 > General Community > Technical Discussion

Reply
 
Thread Tools Display Modes
  #1  
Old 08-22-2022, 08:27 AM
Nokio Nokio is offline
Aviak


Join Date: Jan 2010
Location: Canada/Quebec
Posts: 76
Default 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
  • WINEPREFIX="$HOME/Gina" WINEARCH=win32 wine wineboot
  • WINEPREFIX="$HOME/Gina" winetricks -q dotnet462
  • wget https://eq.gimasoft.com/GINA/setup.exe -P "$HOME/Gina/"
  • WINEPREFIX="$HOME/Gina" wine $HOME/Gina/setup.exe

What works
  • Adding your many character log files
  • Creating/running triggers
  • Sharing, I was able to import a basic bundle
  • Overlays work and can be moved around to your liking
  • All in all, I don't know much about what people achieve to do with the tool but it seems to all work, beside one thing

What does not work (maybe just for now)
  • Text to Speech

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.
  • Microsoft Zira Desktop
  • Microsoft David Desktop

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
  • Microsoft David
  • Microsoft Zira
  • Microsoft Mark
  • Microsoft Zira Desktop
  • Microsoft David Desktop

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
  • WINEPREFIX="$HOME/Gina" winetricks -q speechsdk

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
  • WINEPREFIX="$HOME/Gina" winetricks -q sapi

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)
  • From a freshly installed prefix
  • cd "$HOME/Gina/drive_c/Program Files/"
  • wget http://balabolka.site/balabolka_portable.zip
  • unzip balabolka_portable.zip
  • WINEPREFIX="$HOME/Gina" wine "$HOME/Gina/drive_c/Program Files/Balabolka/balabolka.exe"

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
  • Microsoft Zira Desktop
  • Microsoft David Desktop

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.
Reply With Quote
  #2  
Old 08-22-2022, 08:31 AM
Nokio Nokio is offline
Aviak


Join Date: Jan 2010
Location: Canada/Quebec
Posts: 76
Default

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
  • WINEPREFIX="$HOME/Gina" WINEARCH=win32 wine wineboot
  • WINEPREFIX="$HOME/Gina" winetricks --force -q dotnet462
  • wget https://eq.gimasoft.com/GINA/setup.exe -P "$HOME/Gina/"
  • WINEPREFIX="$HOME/Gina" wine $HOME/Gina/setup.exe
Reply With Quote
  #3  
Old 08-25-2022, 09:06 AM
freezzo freezzo is offline
Aviak


Join Date: Mar 2010
Posts: 72
Default

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.
Reply With Quote
  #4  
Old 08-25-2022, 09:08 AM
freezzo freezzo is offline
Aviak


Join Date: Mar 2010
Posts: 72
Default

Oh, I also installed d3d, d3d_compile42/46/47 as well.
Reply With Quote
  #5  
Old 08-25-2022, 03:01 PM
Nokio Nokio is offline
Aviak


Join Date: Jan 2010
Location: Canada/Quebec
Posts: 76
Default

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.
Reply With Quote
  #6  
Old 08-25-2022, 03:12 PM
freezzo freezzo is offline
Aviak


Join Date: Mar 2010
Posts: 72
Default

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.
Reply With Quote
  #7  
Old 08-25-2022, 05:08 PM
Nokio Nokio is offline
Aviak


Join Date: Jan 2010
Location: Canada/Quebec
Posts: 76
Default

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.
Reply With Quote
  #8  
Old 08-25-2022, 05:51 PM
freezzo freezzo is offline
Aviak


Join Date: Mar 2010
Posts: 72
Default

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.
Reply With Quote
  #9  
Old 08-26-2022, 07:25 AM
Nokio Nokio is offline
Aviak


Join Date: Jan 2010
Location: Canada/Quebec
Posts: 76
Default

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.
Reply With Quote
  #10  
Old 09-22-2022, 02:03 PM
sharkukri sharkukri is offline
Skeleton


Join Date: Sep 2022
Posts: 18
Default

Quote:
Originally Posted by Nokio [You must be logged in to view images. Log in or Register.]
Introduction
I never looked at it since I had my bash script that does pretty much the same and I am quite happy with it.
As a fellow Linux user, could you please share your script?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:58 PM.


Everquest is a registered trademark of Daybreak Game Company LLC.
Project 1999 is not associated or affiliated in any way with Daybreak Game Company LLC.
Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.