The swapper

Questions about Wine on Linux
Locked
etwineb
Level 4
Level 4
Posts: 101
Joined: Wed Dec 10, 2008 12:05 pm

The swapper

Post by etwineb »

The swapper.

I tried to execute this game, but it simply hangs. This game needs mscoree.

At the moment I did not try any particular; I just used "winetricks sandbox" and LC_ALL=C

Code: Select all

% wine TheSwapper.exe
err:module:load_builtin_dll failed to load .so lib for builtin L"msxml3.dll": libxml2.so.2: cannot open shared object file: No such file or directory
err:ole:COMPOBJ_DllList_Add couldn't load in-process dll L"C:\\windows\\system32\\msxml3.dll"
err:ole:CoGetClassObject no class object {079aa557-4a18-424a-8eee-e39f0a8d41b9} could be created for context 0x1
err:seh:setup_exception_record stack overflow 1136 bytes in thread 0009 eip 7bc5d5ca esp 00240ec0 stack 0x240000-0x241000-0x340000
What can I try?
oiaohm
Level 8
Level 8
Posts: 1020
Joined: Fri Feb 29, 2008 2:54 am

Re: The swapper

Post by oiaohm »

etwineb libxml2.so.2 this library is missing from the system. This is a Linux library so go to your package manager and find and install libxml2 for 32 bit.

Please include wine --version when reporting bugs.

"err:module:load_builtin_dll failed to load .so lib for builtin L"msxml3.dll": libxml2.so.2: cannot open shared object file: No such file or directory"
Its this failure that cause all the chain of failures there.

Wine pure determination to go forwards even with dependency failures.
etwineb
Level 4
Level 4
Posts: 101
Joined: Wed Dec 10, 2008 12:05 pm

Re: The swapper

Post by etwineb »

About wine version

Code: Select all

% wine --version
wine-1.7.3
I hardly believe the problem is connected to an xml parsing library, but I installed it. Since I am using win32 as WINEARCH, so I added the 32 bit version.

To be safe I also reset the environment and re-installed. The error message disappears, but the behavior is the same.

Code: Select all

% wine TheSwapper.exe
fixme:mscoree:parse_supported_runtime sku=L".NETFramework,Version=v4.0" not implemented
fixme:mscoree:CLRMetaHost_GetRuntime Unrecognized version L"v4.0"
err:seh:setup_exception_record stack overflow 1136 bytes in thread 0009 eip 7bc5d5ca esp 00240ec0 stack 0x240000-0x241000-0x340000
Perhaps the err:seh line can help?
oiaohm
Level 8
Level 8
Posts: 1020
Joined: Fri Feb 29, 2008 2:54 am

Re: The swapper

Post by oiaohm »

etwineb

Code: Select all

fixme:mscoree:parse_supported_runtime sku=L".NETFramework,Version=v4.0" not implemented
This line is the trigger this time. Program wants .NET 4.0

err:seh is most likely the result of no .Net 4.0 runtime.

etwineb basically we have changed roadblocks.
oiaohm
Level 8
Level 8
Posts: 1020
Joined: Fri Feb 29, 2008 2:54 am

Re: The swapper

Post by oiaohm »

Do use the winetricks means of installing .net 4.0 and do read the appdb page about it as well.
etwineb
Level 4
Level 4
Posts: 101
Joined: Wed Dec 10, 2008 12:05 pm

Re: The swapper

Post by etwineb »

That is interesting, I expected that wine installed .net by itself executing wineboot -u, but obviously it is not the case.

Anyhow, executing winetricks -q dotnet40 allows the program to start, but it still crashes with an exception whose text is "Not Implemented." I am afraid I am out of luck as dot net 4.0 is not well supported yet.


About your second suggestion, I am here in the forum because there is no "The swapper" in the appdb.
oiaohm
Level 8
Level 8
Posts: 1020
Joined: Fri Feb 29, 2008 2:54 am

Re: The swapper

Post by oiaohm »

etwineb we depend on users of applications joining the appdb and adding applications to include work around.

WINEDLLOVERRIDES=mscoree=n wine TheSwapper.exe

etwineb try this. mscoree as native form is possible after .net 4.0 is installed. Yes defaulting to builtin is what wine does a lot.

Items recorded only in the forum have the habit of being lost for all time.
etwineb
Level 4
Level 4
Posts: 101
Joined: Wed Dec 10, 2008 12:05 pm

Re: The swapper

Post by etwineb »

winetricks -q dotnet40 already enables mscoree as native, you can check with winecfg.
I actually tried to send a report to appdb, but something went wrong. I will try again later. However, it is not so interesting if I can just say: Garbage rating.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: The swapper

Post by dimesio »

etwineb wrote:I actually tried to send a report to appdb, but something went wrong.
Nothing went wrong; it was in the submission queue. I've approved it.
oiaohm
Level 8
Level 8
Posts: 1020
Joined: Fri Feb 29, 2008 2:54 am

Re: The swapper

Post by oiaohm »

etwineb I mentioned the test with WINEDLLOVERRIDES=mscoree=n wine TheSwapper.exe because I have had a times that winetricks have not set mscoree set.

This case winetricks apparently worked.

--Anyhow, executing winetricks -q dotnet40 allows the program to start, but it still crashes with an exception whose text is "Not Implemented." I am afraid I am out of luck as dot net 4.0 is not well supported yet.--

Found reason.
http://appdb.winehq.org/objectManager.p ... &iId=17886
http://appdb.winehq.org/objectManager.p ... &iId=25478

Yep I needed to read appdb.winehq.org on dotnet 4.0 and 4.5

Turns out dotnet 4.0 and dotnet 4.5 from winetricks does not install mscoree.dll you have to install dotnet 3.5 to have mscoree.dll.

winetricks -q msxml3 dotnet35 dotnet40 was in fact how dotnet4.0 should have been installed. Might work without the msxml3.

I hate invisable package dependancies. etwineb basically we are still slowly getting somewhere.

etwineb basically dotnet is fairly well supported but its highly cross version dependant problem.

Yes you install dotnet 4.5 and you have to provide update to 3.5 so it works same library mscoree.dll.

Yes fully uninstall dotnet 3.5 from windows and all latter versions of dotnet failes completely due to no mscoree.dll same problem you just run into.

Do you also like the fact that 4.5 installed from offline installer does not work under windows unless it can access windows update or that you install the extra update to 3.5.

So etwineb its not that dotnet is not supported it just horrible with a capital H due to dependancies.

That wine built in mscoree.dll does not work with dotnet 4.0 and 4.5 there is a reason to open up a bug report on that. So one day we don't have to install dotnet 3.5. etwineb sorry that I forgot 3.5 would be required as well.
oiaohm
Level 8
Level 8
Posts: 1020
Joined: Fri Feb 29, 2008 2:54 am

Re: The swapper

Post by oiaohm »

mscoree.dll reports have me highly suspect that some point in history wine built in mscoree.dll worked with dotnet 4.0 but does not currently.
etwineb
Level 4
Level 4
Posts: 101
Joined: Wed Dec 10, 2008 12:05 pm

Re: The swapper

Post by etwineb »

I might have got a bug of winetricks:

Code: Select all

WINETRICKS_VERSION=20130707
4f38d7dedb962864c3ab21db8ccaab568a0373fe6106bc1f208dd9a1150d964065a917d2e447c7f1a2dd56aae7265b0f63ea56f8962ef4f91010a60ee21fc477  /usr/bin/winetricks
When I execute winetricks -q dotnet35, after successfully executed winetricks -q msxml3, I get:

Code: Select all

[rest of the log omitted, but it seems fine up to now...]
Executing wine msiexec /i XPSEP XP and Server 2003 32 bit.msi /qb
------------------------------------------------------
Note: command 'wine msiexec /i XPSEP XP and Server 2003 32 bit.msi /qb' returned status 2.  Aborting.
------------------------------------------------------
winetricks -q dotnet35  5.69s user 9.77s system 7% cpu 3:18.06 total
And winetricks returned 1...

I try to ignore the problem and continue with winetricks -q dotnet40, but it does not sounds good.


Edit: no dice. The Swapper gives exactly the same error as before.
oiaohm
Level 8
Level 8
Posts: 1020
Joined: Fri Feb 29, 2008 2:54 am

Re: The swapper

Post by oiaohm »

If .net 3.5 does not install 4.0 does not work.

Yes something did go wrong there with winetricks. winetricks does have it own bug list. But I would recommend getting the latest winetricks before reporting problem.
Locked