TFT-Overlay icon indicating copy to clipboard operation
TFT-Overlay copied to clipboard

MacOS compatibility

Open Gaborftf opened this issue 6 years ago • 10 comments

Hey everyone,

I love this Overlay. Is it possible to get it run with MacOS?

I would really appreciate.

Thanks a a lot.

Gaborftf avatar Jul 15 '19 05:07 Gaborftf

https://www.mono-project.com/download/stable/#download-mac

izoyo avatar Jul 15 '19 16:07 izoyo

Hello izoyo, thank you for your answer. Unfortunately, I can not do much with this program. I'm not up to date with programming. Can you help me with that?

Gaborftf avatar Jul 16 '19 07:07 Gaborftf

@Gaborftf you should be able to simply install Mono and then run the TFT-Overlay program via a mono TFT-Overlay.exe shell command. (I'm not using Mac OS so that's just from a quick glance at their docs though)

Phoenix616 avatar Jul 26 '19 20:07 Phoenix616

Hey Phoenix616 , thank you for your answer. I tried it and get that error:

mono /Users/user/Desktop/TFT/TFT_Overlay.exe The entry point method could not be loaded due to Could not load file or assembly 'PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3

Can you help me?

Gaborftf avatar Jul 27 '19 20:07 Gaborftf

From a brief view this project is written with WPF for the gui (windows presentation foundation)... To run TFT_Overlay.exe you either need Windows or mono. You can read more on mono and wpf here https://www.mono-project.com/docs/gui/wpf If you are lucky the project only a subset of the wpf api that is compatible with silverlight (I never tried this myself...)

janisdd avatar Jul 31 '19 19:07 janisdd

Hey janisdd , thank you for your answer.

Im sorry but this is too much stuff I really don't unterstand. Isnt it possible to write the add-on also for macOS? Is it much work to do?

Gaborftf avatar Aug 01 '19 05:08 Gaborftf

It's possible but this would be a whole new project itself. One would need to rewrite everything except for the texts and images.

janisdd avatar Aug 01 '19 10:08 janisdd

I have not mac OS but have you tried https://sourceforge.net/projects/darwine/ ? Say us if it's works or no :)

lfaveur avatar Sep 18 '19 18:09 lfaveur

I checked it... Some more information: Darwine is now wine https://en.wikipedia.org/wiki/Darwine How to install wine: https://www.davidbaumgold.com/tutorials/wine-mac/

Result:

The entry point method could not be loaded due to Could not load file or assembly 
'PresentationFramework, Version=4.0.0.0, Culture=neutral, 
PublicKeyToken=31bf3856ad364e35' or one of its dependencies. 
assembly:PresentationFramework, Version=4.0.0.0, Culture=neutral, 
PublicKeyToken=31bf3856ad364e35 type:<unknown type> member:<none>

So it won't start at all... I guess WPF is just too tied to windows :(

janisdd avatar Sep 18 '19 20:09 janisdd

I checked it... Some more information: Darwine is now wine https://en.wikipedia.org/wiki/Darwine How to install wine: https://www.davidbaumgold.com/tutorials/wine-mac/

Result:

The entry point method could not be loaded due to Could not load file or assembly 
'PresentationFramework, Version=4.0.0.0, Culture=neutral, 
PublicKeyToken=31bf3856ad364e35' or one of its dependencies. 
assembly:PresentationFramework, Version=4.0.0.0, Culture=neutral, 
PublicKeyToken=31bf3856ad364e35 type:<unknown type> member:<none>

So it won't start at all... I guess WPF is just too tied to windows :(

I'm having exactly the same issue on my side. I don't really know how to fix that issue, but I'll be happy to let you know once I figured this out.

mattwozniak avatar Nov 20 '19 00:11 mattwozniak