Page 3 of 5
Re: XY with WINE on Linux... anybody tried it?
Posted: 16 Jan 2014 23:12
by mwb1100
One of the nice things about Linux and Wine is that: they're free. Another nice thing is that Wine has extensive logging capabilities about what's going on.
Several free programs - VitrualBox, a Linux distribution, and Wine - can be set up so you can run the Wine environment on your Win7 machine. If you think that XY on Wine might be a worthwhile market (I have my doubts; I think most Linux users are reluctant to pay for any software), it might make sense to install those programs to help clean up any small problems that XY has on Wine. It seems like XY already mostly works. And who knows, some of the bugs you find/fix on Wine might turn out to really be latent bugs on Windows.
Re: XY with WINE on Linux... anybody tried it?
Posted: 17 Jan 2014 08:52
by admin
40k wrote:I can probably supple a similar log should the pList@21 error appear. Does that help you any way at all?
1. What version of C:\WINDOWS\system32\SHELL32.dll do you have on your WINE.
2. Yes, it helps. If you have such a listing from the other bug ( pList@21) ...
Re: XY with WINE on Linux... anybody tried it?
Posted: 17 Jan 2014 13:31
by 40k
admin wrote:40k wrote:I can probably supple a similar log should the pList@21 error appear. Does that help you any way at all?
1. What version of C:\WINDOWS\system32\SHELL32.dll do you have on your WINE.
2. Yes, it helps. If you have such a listing from the other bug ( pList@21) ...
Wine allows you to override the default libraries when starting a program. Many issues can be solved this way.
Here are the version of shell32.dll that come with Wine 1.7.10 (one in system32 and one in syswow64)
Had to zip them because the board refuses certain extensions.
shells.zip
I'm currently restoring my previous Wine environment. Check back later today for the pList@21 error log.
edit: Well this is awkward. I've been running the old Wine environment trying anything I can to make XY crash and it won't. Don, your software is too hard to break

Re: XY with WINE on Linux... anybody tried it?
Posted: 19 Jan 2014 10:01
by admin
40k wrote:edit: Well this is awkward. I've been running the old Wine environment trying anything I can to make XY crash and it won't. Don, your software is too hard to break

I should put a warning on the homepage:
Beware, does not crash.
Conc. the shell32: Yours are version 5.00 -- pretty old. I have this version 6.00.2900.6242 (xpsp_sp3_gdr.120608-1638) on XP. Not sure about older Windows. And not sure of those version numbers are really comparable between Windows and WINE.
Re: XY with WINE on Linux... anybody tried it?
Posted: 23 Jan 2014 18:14
by 40k
admin wrote:40k wrote:edit: Well this is awkward. I've been running the old Wine environment trying anything I can to make XY crash and it won't. Don, your software is too hard to break

I should put a warning on the homepage:
Beware, does not crash.
Conc. the shell32: Yours are version 5.00 -- pretty old. I have this version 6.00.2900.6242 (xpsp_sp3_gdr.120608-1638) on XP. Not sure about older Windows. And not sure of those version numbers are really comparable between Windows and WINE.
Since 13.70 Xy won't start in Wine anymore. The error message in the beginning has changed as well, and Xy crashes in Wine before the interface has fully loaded. 13.60 still works fine though!
Re: XY with WINE on Linux... anybody tried it?
Posted: 23 Jan 2014 18:18
by admin
Huh, funny. Luckily not my business.
Re: XY with WINE on Linux... anybody tried it?
Posted: 23 Jan 2014 18:44
by 40k
admin wrote:Huh, funny. Luckily not my business.
Out of interest: in another topic you said you've made a small change to the start-up process. What was that exactly?
Re: XY with WINE on Linux... anybody tried it?
Posted: 23 Jan 2014 18:46
by admin
Programmer's secret, sorry.

(But it was nothing that should affect WINE)
Re: XY with WINE on Linux... anybody tried it?
Posted: 23 Jan 2014 18:56
by 40k
admin wrote:Programmer's secret, sorry.

(But it was nothing that should affect WINE)
Totally get that. Not really a problem for the moment. 13.60 works fine still, and it has more features than anyone would need of Unix for simple file management. I'm going to post this bug upstream at the wine forums and see if someone with the needed knowledge can figure out what is happening. Still think Xy on linux is a cool project, not giving up just yet

Re: XY with WINE on Linux... anybody tried it?
Posted: 23 Jan 2014 19:03
by admin
What error message are you getting now?
Re: XY with WINE on Linux... anybody tried it?
Posted: 23 Jan 2014 21:03
by 40k
admin wrote:What error message are you getting now?
In fact, it's still the same error message. I was mistaken.
Xy loads completely, but when it's finished there are no "close" or "minimize"
buttons, the same that all windows apps have. After that it locks up and I can't
click anything. It must be related to a change you've made into 13.70, because
13.60 runs flawlessly in the same wine environment.
Re: XY with WINE on Linux... anybody tried it?
Posted: 23 Jan 2014 21:07
by admin
Is there any way for XYplorer to know that it is running in WINE now?
Re: XY with WINE on Linux... anybody tried it?
Posted: 23 Jan 2014 21:16
by 40k
admin wrote:Is there any way for XYplorer to know that it is running in WINE now?
http://forum.winehq.org/viewtopic.php?p=25906
It seems there is:
I finded solution, just load kernel32.dll and try to find there function wine_get_unix_file_name()
I ckecked just now on wine 1.1.22 ubuntu 9.04, it works perfectly
There are several solutions in that thread.
Re: XY with WINE on Linux... anybody tried it?
Posted: 23 Jan 2014 21:23
by admin
OK, thanks, but such an extra call is too costy for 99.9999% of my users. I'd rather add a tweak
Wine=1.

Or one could add something to startup.ini or so. But only if some Ubuntu users start knocking at my door waving euro bills...

Re: XY with WINE on Linux... anybody tried it?
Posted: 23 Jan 2014 21:34
by 40k
admin wrote:OK, thanks, but such an extra call is too costy for 99.9999% of my users. I'd rather add a tweak
Wine=1.

Or one could add something to startup.ini or so. But only if some Ubuntu users start knocking at my door waving euro bills...

Hang on, you could just do that though. Xy is a native Windows application so it doesn't need to check for wine anyway. But if the user were to add a custom line into their startup.ini, Xy can go into wine mode. You don't need to baby proof that feature, because anyone who will use it knows what they are doing. But then I don't know much about windows development and have no clue what you need to change in Xy to make that work.