Windows 10 and the Empty4 platform

heart1010
Trader
Posts: 54
Joined: Wed Mar 30, 2016 8:33 pm

Windows 10 and the Empty4 platform

Post by heart1010 »

Thanks drunka, you pointed me to the solution.

Important, you have to use the latest git version from winetricks (not from apt repository)

Code: Select all

$ wget http://winetricks.org/winetricks -O ~/bin/winetricks
$ winetricks winhttp
$ wine globalprimemt4setup.exe
Then copy a valid wingding.ttf to /usr/share/wine/wine/fonts/* (yes, double wine folder here on debian!)

Now it works :good:

Only problem I have found until now is I can't use templates. Do you also have that problem?
drunka
Trader
Posts: 86
Joined: Thu Dec 11, 2014 8:05 pm

Windows 10 and the Empty4 platform

Post by drunka »

heart1010 » Yesterday, 23:08 wrote:Thanks drunka, you pointed me to the solution.

Important, you have to use the latest git version from winetricks (not from apt repository)

Code: Select all

$ wget http://winetricks.org/winetricks -O ~/bin/winetricks
$ winetricks winhttp
$ wine globalprimemt4setup.exe
Then copy a valid wingding.ttf to /usr/share/wine/wine/fonts/* (yes, double wine folder here on debian!)

Now it works :good:

Only problem I have found until now is I can't use templates. Do you also have that problem?
:good:
In wine configurations try to set the Windows-Version to XP or if that's not working give the other versions a try
Cheers
heart1010
Trader
Posts: 54
Joined: Wed Mar 30, 2016 8:33 pm

Windows 10 and the Empty4 platform

Post by heart1010 »

drunka » Thu Apr 07, 2016 8:45 am wrote:
heart1010 » Yesterday, 23:08 wrote:Only problem I have found until now is I can't use templates. Do you also have that problem?
In wine configurations try to set the Windows-Version to XP or if that's not working give the other versions a try
Cheers
I've tried XP, Win7,... but applying a template to a chart wasn't possible :|

Do this work on your wine Empty4?
drunka
Trader
Posts: 86
Joined: Thu Dec 11, 2014 8:05 pm

Windows 10 and the Empty4 platform

Post by drunka »

heart1010 » Yesterday, 08:50 wrote: I've tried XP, Win7,... but applying a template to a chart wasn't possible :|

Do this work on your wine Empty4?
Yes I have no problems with Empty4. Running it in wine 1.8 before I had not problems in 1.6.2 either. You could try another wine version via playonlinux.
Just tested the GP Empty4 version and loading and saving templates works without problems. You could also try to reinstall Empty4 or try a version installed in windows and see the problem still occurs.
heart1010
Trader
Posts: 54
Joined: Wed Mar 30, 2016 8:33 pm

Windows 10 and the Empty4 platform

Post by heart1010 »

drunka » Fri Apr 08, 2016 2:55 pm wrote:
heart1010 » Yesterday, 08:50 wrote: I've tried XP, Win7,... but applying a template to a chart wasn't possible :|

Do this work on your wine Empty4?
Yes I have no problems with Empty4. Running it in wine 1.8 before I had not problems in 1.6.2 either. You could try another wine version via playonlinux.
Just tested the GP Empty4 version and loading and saving templates works without problems. You could also try to reinstall Empty4 or try a version installed in windows and see the problem still occurs.
Ok, then I think it must be some additional (winetricks) package(s) I may miss... :| (like winhttp you mentioned)

Can you show me your output of

Code: Select all

 winetricks list-installed
or/and

Code: Select all

winetricks settings list
drunka
Trader
Posts: 86
Joined: Thu Dec 11, 2014 8:05 pm

Windows 10 and the Empty4 platform

Post by drunka »

heart1010 » 42 minutes ago wrote: Ok, then I think it must be some additional (winetricks) package(s) I may miss... :| (like winhttp you mentioned)

Can you show me your output of

Code: Select all

 winetricks list-installed
or/and

Code: Select all

winetricks settings list
here you go

Code: Select all

------------------------------------------------------
You are using a 64-bit WINEPREFIX. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
fontxplorer
msls31
opensymbol
riched20
riched30
winhttp
wininet

Code: Select all

------------------------------------------------------
You are using a 64-bit WINEPREFIX. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
alldlls=builtin          Override most common DLLs to builtin 
alldlls=default          Remove all DLL overrides 
ao=disabled              Disable AlwaysOffscreen (default) 
ao=enabled               Enable AlwaysOffscreen 
ddr=gdi                  Set DirectDrawRenderer to gdi 
ddr=opengl               Set DirectDrawRenderer to opengl 
fontsmooth=bgr           Enable subpixel font smoothing for BGR LCDs 
fontsmooth=disable       Disable font smoothing 
fontsmooth=gray          Enable subpixel font smoothing 
fontsmooth=rgb           Enable subpixel font smoothing for RGB LCDs 
forcemono                Force using mono instead of .Net (for debugging) 
glsl=disabled            Disable glsl shaders, use arb shaders (faster, but sometimes breaks) 
glsl=enabled             Enable glsl shaders (default) 
grabfullscreen=n         Disable cursor clipping for full-screen windows (default) 
grabfullscreen=y         Force cursor clipping for full-screen windows (needed by some games) 
heapcheck                Enable heap checking with GlobalFlag 
hosts                    Add empty C:\windows\system32\drivers\etc\{hosts,services} files 
macdriver=mac            Enable the Mac native Quartz driver (default) 
macdriver=x11            Disable the Mac native Quartz driver, use X11 instead 
multisampling=disabled   Disable Direct3D multisampling 
multisampling=enabled    Enable Direct3D multisampling 
mwo=disable              Set DirectInput MouseWarpOverride to disable 
mwo=enabled              Set DirectInput MouseWarpOverride to enabled (default) 
mwo=force                Set DirectInput MouseWarpOverride to force (needed by some games) 
native_mdac              Override odbc32, odbccp32 and oledb32 
native_oleaut32          Override oleaut32 
nocrashdialog            Disable crash dialog 
npm=repack               Set NonPower2Mode to repack 
nt40                     Set windows version to Windows NT 4.0 
orm=backbuffer           Set OffscreenRenderingMode=backbuffer 
orm=fbo                  Set OffscreenRenderingMode=fbo (default) 
psm=disabled             Set PixelShaderMode to disabled 
psm=enabled              Set PixelShaderMode to enabled 
remove_mono              Remove builtin wine-mono 
rtlm=auto                Set RenderTargetLockMode to auto (default) 
rtlm=disabled            Set RenderTargetLockMode to disabled 
rtlm=readdraw            Set RenderTargetLockMode to readdraw 
rtlm=readtex             Set RenderTargetLockMode to readtex 
rtlm=texdraw             Set RenderTargetLockMode to texdraw 
rtlm=textex              Set RenderTargetLockMode to textex 
sandbox                  Sandbox the wineprefix - remove links to /home/planb 
sound=alsa               Set sound driver to ALSA 
sound=coreaudio          Set sound driver to Mac CoreAudio 
sound=disabled           Set sound driver to disabled 
sound=oss                Set sound driver to OSS 
strictdrawordering=disabled Disable StrictDrawOrdering (default) 
strictdrawordering=enabled Enable StrictDrawOrdering 
vd=1024x768              Enable virtual desktop, set size to 1024x768 
vd=1280x1024             Enable virtual desktop, set size to 1280x1024 
vd=1440x900              Enable virtual desktop, set size to 1440x900 
vd=640x480               Enable virtual desktop, set size to 640x480 
vd=800x600               Enable virtual desktop, set size to 800x600 
vd=off                   Disable virtual desktop 
videomemorysize=1024     Tell Wine your video card has 1024MB RAM 
videomemorysize=2048     Tell Wine your video card has 2048MB RAM 
videomemorysize=512      Tell Wine your video card has 512MB RAM 
videomemorysize=default  Let Wine detect amount of video card memory 
vista                    Set windows version to Windows Vista 
vsm=hardware             Set VertexShaderMode to hardware 
win2k                    Set windows version to Windows 2000 
win2k3                   Set windows version to Windows 2003 
win31                    Set windows version to Windows 3.1 
win7                     Set windows version to Windows 7 
win95                    Set windows version to Windows 95 
win98                    Set windows version to Windows 98 
windowmanagerdecorated=n Prevent the window manager from decorating windows 
windowmanagerdecorated=y Allow the window manager to decorate windows (default) 
windowmanagermanaged=n   Prevent the window manager from controling windows 
windowmanagermanaged=y   Allow the window manager to control windows (default) 
winver=                  Set windows version to default (winxp) 
winxp                    Set windows version to Windows XP 
heart1010
Trader
Posts: 54
Joined: Wed Mar 30, 2016 8:33 pm

Linux and the Empty4 platform

Post by heart1010 »

Ok, I managed to fix the last problem on linux running Empty4 with wine :clap:

Summary:

Important, you have to use the latest git version from winetricks (not from apt repository)

Code: Select all

$ wget http://winetricks.org/winetricks -O ~/bin/winetricks
$ winetricks winhttp
$ wine globalprimemt4setup.exe
Then copy a valid wingding.ttf to /usr/share/wine/wine/fonts/* (yes, double wine folder here on debian!)

Problem I had after that was I can't use/apply/save templates (*.tpl).

I've found that
Loading and saving issues are because Empty4 requires commdlg32.dll version 6.0.0. You must install dot net 3.5 using winetricks. However, this will only work on a 32-bit wine prefix. Before installing Empty4, make sure you are installing it to a 32-bit wine prefix. You can install dot net 3.5 later, you just won't be able to load and save presets, save templates, etc. until you do.
So after doing

Code: Select all

$ winetricks dotnet35
(which installs a bunch of packages on the fly) I now can select/open/apply/save templates in Empty4 8-)

Also a good hint I found...
Wine needs to be slightly configured for this to run perfectly.
Go to Wine > Configure Wine > Graphics.
Once in Graphics, uncheck 'Allow the window manager to decorate the windows'. Then it runs flawlessly.
P.S.: Thread title should also contain "Linux" beside "Windows 10" ;)
User avatar
SteveHopwood
Owner
Posts: 9754
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Linux and the Empty4 platform

Post by SteveHopwood »

heart1010 » Fri Apr 08, 2016 8:05 pm wrote:P.S.: Thread title should also contain "Linux" beside "Windows 10" ;)
I do not mind, but would it help you guys to have a separate Linux forum? Let me know.

:xm:
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. [email protected] is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
heart1010
Trader
Posts: 54
Joined: Wed Mar 30, 2016 8:33 pm

Linux and the Empty4 platform

Post by heart1010 »

SteveHopwood » Sat Apr 09, 2016 7:28 pm wrote:
heart1010 » Fri Apr 08, 2016 8:05 pm wrote:P.S.: Thread title should also contain "Linux" beside "Windows 10" ;)
I do not mind, but would it help you guys to have a separate Linux forum? Let me know.

:xm:
Thanks... but I don't think we need an extra forum for linux here at the moment. Everything a linux user need to run Empty4 on his plattform is in this thread already :good:

(Linux still don't have the scope on desktop so not too much topics would go into this subforum)
User avatar
RisklessPips
Trader
Posts: 246
Joined: Mon May 09, 2016 2:24 pm
Location: Nairobi, Kenya

Linux and the Empty4 platform

Post by RisklessPips »

heart1010 » Sat Apr 09, 2016 10:21 pm wrote: Thanks... but I don't think we need an extra forum for linux here at the moment. Everything a linux user need to run Empty4 on his plattform is in this thread already :good:

(Linux still don't have the scope on desktop so not too much topics would go into this subforum)
I've finally made the leap from windoze to Ubuntu. Been meaning to do this for some time and the corruption of doze 7 which led to corruption of my GP Empty4 was the final straw.

Ubuntu up and running, wine up and running, Empty4 up and running - looking sweet.
Trading is a mind game - good job I have a brain
Post Reply

Return to “Know your MT4 platform”