Problems with Wine on Mint 19 [solved]

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
warriorofthelight
Level 1
Level 1
Posts: 18
Joined: Wed Jan 20, 2016 6:04 am

Problems with Wine on Mint 19 [solved]

Post by warriorofthelight » Sun Jul 08, 2018 2:25 pm

Hi all,

I used 17.3 up until recently, and decided to give 19 a try since there were some mess-ups with the 17.3 installation anyway.

I used a program called "TygemGlobal.exe" on 17.3 under Wine. It has its little pitfalls, but I got it to run and it ran perfectly for over a year.

Now under 19, I can't even get it to work at all. I use the latest Wine from WineHQ, but I also already tried the one from the repository. I get the same issue.

Basically, Tygem complains about missing DLLs, but all of them are right there. There are some application-specific ones that it says it cannot load (it seems it can load others, though), but they are right in the installation folder. Also it needs "mfc42.dll", which was a problem under 17.3 as well, but I provided it in several locations (in the system32-dir in the right .wine-folder) and in the application folder (that was enough under 17.3 to get it working), both in uppercase and in lowercase filenames.

Nothing works.
Also, I tried to create a 32bit-WINEPREFIX. I succeded in doing so, but the problems are exactly the same.

Now I read in a thread here that there are known problems with Mint 19 and Wine. Maybe this is due to those problems, whatever they are.

I include the list of errors and the directory listing to show that all DLLs are there. Maybe somebody has an idea. Otherwise I might have to switch back to 17 or 18 (are there known problems with wine and 18?).

Here are the errors:
werner@linuxmint:~/.wine/drive_c/Program Files (x86)/TygemGlobal2.0$ wine TygemGlobal.exe
0031:err:module:import_dll Loading library MFC42.DLL (which is needed by L"C:\\Program Files (x86)\\TygemGlobal2.0\\DanRtp.dll") failed (error c000007b).
0031:err:module:import_dll Library DanRtp.dll (which is needed by L"C:\\Program Files (x86)\\TygemGlobal2.0\\INIMng.dll") not found
0031:err:module:import_dll Loading library MFC42.DLL (which is needed by L"C:\\Program Files (x86)\\TygemGlobal2.0\\INIMng.dll") failed (error c000007b).
0031:err:module:import_dll Library INIMng.dll (which is needed by L"C:\\Program Files (x86)\\TygemGlobal2.0\\TygemGlobal.exe") not found
0031:err:module:attach_dlls Importing dlls for L"C:\\Program Files (x86)\\TygemGlobal2.0\\TygemGlobal.exe" failed, status c0000135

This is the directory:
werner@linuxmint:~/.wine/drive_c/Program Files (x86)/TygemGlobal2.0$ ll
insgesamt 19204
drwxrwxr-x 6 werner werner 4096 Jul 8 18:06 ./
drwxrwxr-x 8 werner werner 4096 Jul 8 17:51 ../
drwxrwxr-x 5 werner werner 4096 Jul 8 17:51 AI/
-rw-rw-r-- 1 werner werner 110592 Dez 19 2017 AodAudio.dll
-rw-rw-r-- 1 werner werner 479232 Dez 19 2017 audiere.dll
-rw-rw-r-- 1 werner werner 180224 Dez 19 2017 AutoGega.dll
drwxrwxr-x 2 werner werner 4096 Jul 8 17:51 character/
-rw-rw-r-- 1 werner werner 35840 Dez 19 2017 ComPressDll.dll
-rw-rw-r-- 1 werner werner 180224 Dez 19 2017 DanAudio.dll
-rw-rw-r-- 1 werner werner 81920 Dez 19 2017 DanCom.dll
-rw-rw-r-- 1 werner werner 28672 Dez 19 2017 DanRtp.dll
-rw-rw-r-- 1 werner werner 18432 Dez 19 2017 dbgtrace.dll
-rw-rw-r-- 1 werner werner 77824 Dez 19 2017 inidvdo.dll
-rw-rw-r-- 1 werner werner 40960 Dez 19 2017 INIMng.dll
-rwxrwxr-x 1 werner werner 959672 Mär 9 08:47 InstallTygem.exe*
-rw-rw-r-- 1 werner werner 1304576 Apr 30 10:31 lb_board.dll
-rw-rw-r-- 1 werner werner 9216 Feb 21 09:54 lb_data.dll
-rw-rw-r-- 1 werner werner 11264 Feb 21 09:54 lb_sound.dll
-rw-rw-r-- 1 werner werner 4446152 Dez 19 2017 mfc110u.dll
-rwxr-xr-x 1 werner werner 1395712 Jul 8 18:02 mfc42.dll*
-rwxr-xr-x 1 werner werner 1395712 Jul 8 18:02 MFC42.DLL*
-rw-rw-r-- 1 werner werner 534480 Dez 19 2017 msvcp110.dll
-rw-rw-r-- 1 werner werner 862664 Dez 19 2017 msvcr110.dll
-rw-rw-r-- 1 werner werner 229376 Mär 27 09:53 OwControl.dll
-rw-rw-r-- 1 werner werner 303104 Dez 19 2017 PBEngine.dll
-rw-rw-r-- 1 werner werner 180224 Dez 19 2017 PrevAutoGega.dll
drwxrwxr-x 2 werner werner 4096 Jul 8 17:51 res/
drwxrwxr-x 2 werner werner 4096 Jul 8 17:52 Temp/
-rw-rw-r-- 1 werner werner 307200 Dez 19 2017 TMoyo.dll
-rw-rw-r-- 1 werner werner 26308 Jul 8 17:52 TygemBaduk.cfg
-rwxrwxr-x 1 werner werner 5147184 Jun 25 13:58 TygemGlobal.exe*
-rw-rw-r-- 1 werner werner 86358 Mär 27 10:07 TygemGlobal.ico
-rw-rw-r-- 1 werner werner 1176576 Mär 27 09:53 VXEngine.dll
Last edited by warriorofthelight on Mon Jul 09, 2018 11:04 am, edited 1 time in total.

User avatar
Flemur
Level 16
Level 16
Posts: 6180
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Problems with Wine on Mint 19

Post by Flemur » Sun Jul 08, 2018 2:51 pm

warriorofthelight wrote:
Sun Jul 08, 2018 2:25 pm
Here are the errors:
werner@linuxmint:~/.wine/drive_c/Program Files (x86)/TygemGlobal2.0$ wine TygemGlobal.exe
0031:err:module:import_dll Loading library MFC42.DLL (which is needed by L"C:\\Program Files (x86)\\TygemGlobal2.0\\DanRtp.dll") failed (error c000007b).
...
-rwxr-xr-x 1 werner werner 1395712 Jul 8 18:02 mfc42.dll*
-rwxr-xr-x 1 werner werner 1395712 Jul 8 18:02 MFC42.DLL*
MFC42.DLL is evil.

This thread might help:
https://ubuntuforums.org/archive/index. ... 90697.html
--> install vcrun6 w/winetricks and look at the wine "app db" for your program.

Edit: what's your "wine --version" say? After I upgraded 18.3 to 19 I had two wine installations, the stable (3.0.2, which I had before, and wanted to keep), and development (3.6?); I uninstalled the devel/3.6 version.

Edit2: is this the same .wine prefix you were using before? 'cuz you can save them and keep using them with new linux and wine versions; mine goes back to wine v1.4, IIRC. If your old (working) .wine is around...copy it back?
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Mint 18.3 Xfce/fluxbox/pulse-less
Xubuntu 17.10/fluxbox/pulse-less

warriorofthelight
Level 1
Level 1
Posts: 18
Joined: Wed Jan 20, 2016 6:04 am

Re: Problems with Wine on Mint 19

Post by warriorofthelight » Sun Jul 08, 2018 3:44 pm

As I said, it all worked fine under 17.3 (I think I used the same 3.02 Wine there). I now use 3.02 from the WineHQ site, but I also tried the 3.01 from the repo. Both have the same problem. Unfortunately, I kicked the old 17.3 installation to make space for 19, but I do have a backup that I might use to get the old Wine-files... good idea.

I just checked the AppDB for wine... it does list Tygem, and it correctly states all the problems I ran into (several app-dlls were also missing at that time, but they are now provided in the lates Tygem-version).

I was just wondering if any of the experts here could confirm that there are problems with Wine that weren't there before. Before it took like 5-10mins to get this up and running. With Mint19 I spent hours and hours to no avail. Maybe it's just not mature yet?

warriorofthelight
Level 1
Level 1
Posts: 18
Joined: Wed Jan 20, 2016 6:04 am

Re: Problems with Wine on Mint 19

Post by warriorofthelight » Mon Jul 09, 2018 11:04 am

So, it seems your suggestion worked. I copied a working install of a .wine prefix including the Tygem-App and it looks good. Strange that a fresh install would not work. Anyway, thanks. I hope that's it. :D

warriorofthelight
Level 1
Level 1
Posts: 18
Joined: Wed Jan 20, 2016 6:04 am

Re: Problems with Wine on Mint 19 [solved]

Post by warriorofthelight » Mon Jul 09, 2018 11:22 am

Two more questions: how do I get back the desktop icons for the wine-programs?
And how do I get the wine-programs listed in the "Open with..." dialog?

xGuy
Level 2
Level 2
Posts: 55
Joined: Fri Jan 29, 2016 3:56 pm

Re: Problems with Wine on Mint 19 [solved]

Post by xGuy » Mon Aug 13, 2018 8:58 am

I have had more problems with WINE (and PlayOnLinux) on Mint19 than everything else put together! But I have had some success so here's my tuppence worth.

I'm very nervous about installing anything outside of the standard Software Manager and I try to stick to that policy unless it becomes impossible.

I installed winestable 3.0-ubuntu1 which automatically installed some additional modules. I then called wine --version in a terminal and received the reply it looks like wine32 is missing - you should install it.

A search led me to this post :-

https://linuxnorth.wordpress.com/2018/0 ... mint-tara/ so I followed the steps exactly and now wine --version returned wine-3.0 (Ubuntu 3.0-1ubuntu1)

I ran wine-cfg and it created the directory ~/.wine. It also displayed a message about being unable to load wine-gecko, I ignored this for the time being. I set the default Windows environment to Windows 7.

I found now that some undemanding programs would install into the Wine environment and run OK - eg Mp3Tag. Also a few programs that didn't have an installer would work directly from a directory in drive_c.

However, quite a few programs would not work properly at all even though they had been fine under Mint 17.3. I found I had to resort to some devious trickery - unfortunately not quite the same for every program. But I will give the example of ImgBurn.

Under Mint 17.3, ImgBurn just installed into the public Wine environment and worked perfectly - well with the odd window sizing issue but perfectly manageable.

Under Mint 19 ImgBurn installed into the public Wine environment OK. But when it was started, instead of displaying the transparent splash screen for a second or so followed by the Main and Log windows, it just hung forever on the splash screen. I tried reinstalling but had to give it up.

I then went back to Mint 17.3 (I have the two Mint versions in separate partitions and am dual booting) and installed ImgBurn into a separate Wine Prefix using PlayOnLinux. I specified Wine version 1.7.25 and Windows version XP. The program worked perfectly.

On Mint 19 I had also installed PlayOnLinux and Wine version 1.7.25 (in addition to the System version 3.0). I physically copied over the entire top directory for the ImgBurn prefix from PlayOnLinux's wineprefix directory on Mint 17.3 to the same place on Mint 19. Then I got PoL to generate a shortcut to the ImgBurn .exe program file and double clicked it. If that hadn't worked I would have just copied the shortcut over separately as all names would be the same.

Well, it was different but ImgBurn still didn't work. A couple of windows opened up but they were just grey.

Then, using PoLconfiguration, I changed the WINE version from 1.7.25 to System. After which ImgBurn worked perfectly.

I would hesitate to call this a "technique" as it is really messy but it does work for me. Another variant which worked with a program called SanseMP3ArtSizer was to get the program working (in PoL) under Wine version 3.0 and then move it over to Mint 19. The odd thing with this was that although the System Wine version on Mint 19 is also v 3.0, PoL insisted on installing a separate copy of v3.0. As I'd spent the best part of two days on it by then I was just relieved to have it working.

Of course the disc space overhead of having a lot of separate Wine prefixes has to be taken into account. I'm hopeful that long term this will get sorted out and I can migrate these programs back into the public Wine environment.

Post Reply

Return to “Software & Applications”