Topics
Forum Topics not found
Replies
capoeira
13 Jun 2015, 00:42
( Updated at: 21 Dec 2023, 09:20 )
RE:
cTrader works under Wine. Sort of. Here is the screenshot.
Note that there are problems with bars.Some lines are not drawn. If I move the graphs back and forth, the bars are overdrawn without clearing the scrolled out content first and the graph becomes a mess. The popup windows (menus in menu bar, dropdowns) are very slow to appear.
Steps to reproduce this screenshot. I was using a virtual machine in VMware Workstation 10.0.3 for Linux. The host OS was Xubuntu 14.04(.1) LTS amd64.
- Install Xubuntu 14.04.1 x86 from iso into a vm. I allocated 2 CPU cores and 3GiB of memory.
- apt-get update && apt-get dist-upgrade -y
- apt-get install wine -y
- From winetricks install vcrun6, msxml6 and dotnet4. I am not sure if vcrun6 or msxml6 are required, I just kind of followed bellong's steps. Windows Installer was not required. I did not change windows version, it stayed at Windows XP.
- Then install cTrader from your broker using Open with "Wine Windows Program Loader" context menu item from GUI (or wine command from the shell). Obviously I used my own broker, Romanov Capital.
- Use find ~/.wine -iname ctrader.exe -print0 | xargs -0 wine command to run cTrader again.
I have not yet tested cAlgo.
At first I tried to use x64 version of Xubuntu for the virtual machine. msxml6 refused to install due to .wine directory being configured for x64. I deleted the .wine directory and recreated it with WINEARCH=WIN32 winecfg command for x86. msxml6 installed correctly. The next problem was in cTrader installer (.exe) that failed to parse machine.config from .Net installation directory with some obscure exception that XML was invalid and the inner exception was NotImplemented. After that I tried x86 version of Xubuntu and it worked with minimal steps
Next steps to try.
- Run installed cTrader/cAlgo under Mono. Mono's website states that WPF is not yet implemented, but some versions of Silverlight are. Silverlight is a subset of WPF and there is a rather small probability that required WPF functionaly for cTrader/cAlgo is covered.
- Run installer under Mono. The Mono's website states that ClickOnce APIs are not yet implemented, so this is likely to fail.
- Register handler for .appref-ms to run ClickOnce application from the GUI. On Windows it is registered as rundll32.exe dfshim.dll,ShOpenVerbShortcut %1|%2
- Try some graphical tweaks to get rid of the glitches and slowness. My vm was running with 3D acceleratoion off and that was a vm after all.
not working here with latest wine stable:
@capoeira
capoeira
13 Jun 2015, 00:43 ( Updated at: 21 Dec 2023, 09:20 )
RE: RE:
capoeira said:
sorry. I see no option to edit my message
here is the link to the shot: https://ctrader.com/extrasource.php?url=http://postimg.org/image/p96q1l9z9/
@capoeira