Noobie linux user here trying to get this app to work with bottles/lutris/whatever but the same error pops up that I can't figure out. Any help please?
I've tried running it from different drives, in and out of the Bottles created folders, but the same error pops up no matter what gets changed:
Unhandled Exception: System.TypeLoadException: Could not load type of field 'Ginger.SpellChecker:s_Hunspell' (0) due to: Could not load file or assembly 'NHunspell, Version=1.2.5554.16953, Culture=neutral, PublicKeyToken=1ac793ea843b4366' or one of its dependencies
I've also tried running the msi from the github and get the same error, with these extra lines:
02ac:err:msi:execute_script Execution of script 0 halted; action L"_3754A388_689E_46DF_B53A_3A872C23A5F5" returned 1627
02ac:err:msi:ITERATE_Actions Execution halted, action L"InstallExecute" returned 1627
02ac:err:msi:ITERATE_Actions Execution halted, action L"ExecuteAction" returned 1627
The zip file comes with the NHunspell.dll in a folder in the same directory, but i've got no idea how to point the programs at it. And I've gotten other programs running, but not this one. Hoping the solution is obvious and I just am too new to figure it out. Thanks in advance.
*Turns out putting the files in the same folder did the trick. After getting Wine Mono installed, it all works (well enough, at least).
Haven't done much with Windows for a long time, but IIRC Windows looks in the current directory for DLLs by default, and it has it in subdirectories. IIRC, there's some way to make an app search relative directories in the exe and maybe the Ginger guys dicked that up? WINE seems to run it if I move the DLLs into the base directory.
And then it works.
EDIT: Hmm. I was thinking that Windows might have something like -rpath to search relative paths for DLLs, but it sounds like it doesn't:
https://ibob.bg/blog/2018/12/16/windows-rpath/
So it sounds like copying DLLs a la what I did above isn't an unheard-of approach...