Unity3D-Wine-Support / Unity3D-on-Wine

Scripts for making Unity3D run on Wine.
GNU General Public License v2.0
102 stars 59 forks source link

Unity doesn't work in a 64 bit Wineprefix #21

Closed jurf closed 9 years ago

jurf commented 10 years ago

Tested in a fresh, clean 64 bit wineprefix.

Only other commands were the registry fix & the mkdir -p thing.

Crashes with "Couldn't initialize license system".

We should fix this before Unity 5.

Pendrokar commented 10 years ago

The license issue was resolve specifically by adding that specific registry key. Perhaps it needs to be placed elsewhere for 64bit wineprefixes.

WineHQ registered bug I posted(in my phonetically real name) - http://bugs.winehq.org/show_bug.cgi?id=36964

Go ahead and confirm this bug, while adding that the workaround does not work for 64 bit prefixes.

jurf commented 10 years ago

Okay.

Hello WineHQ. You have a lot of unconfirmed bugs. Let me fix it.

Pendrokar commented 10 years ago

Well I did notice someone posting that he is unable to run Internet Explorer 3, he/she turns up every year to say it still doesn't work on the new version of Wine. So if someone really wants to run old software, they should be the ones fixing it.

You may receive better support if you are a client of Crossover though. http://www.codeweavers.com/about/support_wine/

jurf commented 10 years ago

Eh?

Pendrokar commented 10 years ago

Added link to previous post. At least I'd expect them to fix Wine bugs and not just act as a payed version of PlayOnLinux. This may offer an answer: http://www.codeweavers.com/services/faq/wine/ "What is CodeWeavers' role in the Wine Project?"

jurf commented 10 years ago

I still don't know what the hell are you talking about.

What old software? Unity is new.

Pendrokar commented 10 years ago

I am responding to your seemingly sarcastic comment of: "Hello WineHQ. You have a lot of unconfirmed bugs. Let me fix it."

In that Wine developers are not eager to fix problems. But if you pay developers that work with Wine, you may receive some support. So I brought up CodeWeavers, CrossOver.

jurf commented 10 years ago

Oh. I'm sorry. I don't know why, but I'm sometimes rubbish at understanding what other people mean. Sorry again.

Anyway, I didn't manage to install Unity on my system yet. I'll write when I do,

Pendrokar commented 10 years ago

@DoctorJellyface, I actually just tried installing Unity on a fresh 64bit wineprefix and the fix from #13 still worked for me.

Check if you really have created the registry key. At first I tried to copy the Key from "Windows/" to "Windows NT/", that worked. Then I also tried the command line option, which also worked.

My Wine version was 1.7.24, I created and launched everything with "wine64" command, which might be the same as just "wine", as "wine32" says "wine32: could not locate the Wine build tree".

jurf commented 10 years ago

Maybe it's the 1.7.24 that fixed it. Gonna try it the next time I have 1.5 hours to spare.

jurf commented 10 years ago

Got stuck on d3dx9_36. Although that might be because:

1: I didn't clean the cache. 2: I used wine instead of wine64

Pendrokar commented 10 years ago

Emm you are not reproducing the bug as you did the first time:

Tested in a fresh, clean 64 bit wineprefix.

I tried on an entirely fresh wineprefix, without even Tahoma installed.

jurf commented 10 years ago

Right y'are. I'll use the Vanilla script next time.

Pendrokar commented 10 years ago

Right y'are. I'll use the Vanilla script next time. That is not a good way. Testing the same bug with a different way of reproduction? The result doesn't really matter, you still have to see if the bug occurs in the original way of its reproduction.

I posted a patch that adds the registry key to new wineprefixes, not sure if "updating wineprefix" will add the key. @DoctorJellyface remember to comment on Bugzilla if you are unable to reproduce this bug.

Pendrokar commented 9 years ago

Closing as the bug could not be reproduced.

winetricks is not made to be compatible with 64bit Wine prefixes.

jurf commented 9 years ago

As of Wine 1.7.35, Unity correctly launches in a 64 bit wineprefix. Test it yourself with the unity3d_minimal script.

Pendrokar commented 9 years ago

"correctly" or "currently"? If it is the former, it should do so only for Unity 5.

jurf commented 9 years ago

Correctly. I tested Unity 4.6.1, works without problems, only thing that went wrong is that it printed this message into the console:

Your 64 bit Windows installation is missing an important service pack patch. Please apply http://support.microsoft.com/kb/976038 to ensure stability.

I don't have a Pro license, so I can't test Unity 5 Beta.

Gooberpatrol66 commented 9 years ago

Are you planning on updating unity3d_minimal to v5? The full script still contains things that crash under 64bit.

cupcakecool commented 9 years ago

i need help i got unity from POL but if i try to open it it says error initializing license system i have tried installing it 5 times im on linux mint 17.1 so rebecca what do i do thats wrong have other people had this and fixed it? pls help

Pendrokar commented 9 years ago

@cupcakecool Try installing Unity in the normal way using the latest official Wine version. So you are saying that you receive an error, not a crash? The license crash issue is #13

cupcakecool commented 9 years ago

but which is the up todate wine? is it the top cause i got that one i have too right now the one i came with one do i delete the older one?

cupcakecool commented 9 years ago

its says wine mono installer?