Author Topic: FRED and Winelib  (Read 1996 times)

0 Members and 1 Guest are viewing this topic.

From what I've been told by SCP coders, the reason we don't have Mac/Linux versions of FRED is that it relies on MFC and so porting it would simply entail too much restructuring. However, Winelib (the open-source, cross-platform implementation of the Win32 API that Wine uses) does apparently incorporate MFC support; could this practically be used to port FRED?
The good Christian should beware of mathematicians, and all those who make empty prophecies. The danger already exists that the mathematicians have made a covenant with the devil to darken the spirit and to confine man in the bonds of Hell.

 

Offline niffiwan

  • 211
  • Eluder Class
From my reading of the legals page, to compile wineFRED you'd need to buy MVSC Pro anyway.  And I don't know if a port to MFC+winelib would be any easier than a port to wxWidgets (maybe z64555 can comment further).
Creating a fs2_open.log | Red Alert Bug = Hex Edit | MediaVPs 2014: Bigger HUD gauges | 32bit libs for 64bit Ubuntu
----
Debian Packages (testing/unstable): Freespace2 | wxLauncher
----
m|m: I think I'm suffering from Stockholm syndrome. Bmpman is starting to make sense and it's actually written reasonably well...

 

Offline z64555

  • 210
  • Self-proclaimed controls expert
    • Steam
Even if the SCP were to use WineLib, developers would still need to have the MFC in order to compile. It may be possible for a few SCP developers to compile a lib and then distribute it along with the essential MFC headers, but only if that doesn't break any of the legal rules of the MFC package they're using.

I still think that wxWidgets is the way to go, I've already got the majority of the new GUI elements in place and work is underway to get them some function. Unfortunately, I've been preoccupied lately with work, (  :hopping: ) and I'm considering making a GitHub repo so that others may be able to chip in.

But then again, I could perhaps commit my changes so far to the fs2 SVN. I'll need to get my stuff sorted so that it'll play nice with the current build scripts, though.

From my reading of the legals page, to compile wineFRED you'd need to buy MVSC Pro anyway.  And I don't know if a port to MFC+winelib would be any easier than a port to wxWidgets (maybe z64555 can comment further).

It might be more difficult to port to Winelib due to the face that *someone* would still need the MFC.
Secure the Source, Contain the Code, Protect the Project
chief1983

------------
funtapaz: Hunchon University biologists prove mankind is evolving to new, higher form of life, known as Homopithecus Juche.
z64555: s/J/Do
BotenAlfred: <funtapaz> Hunchon University biologists prove mankind is evolving to new, higher form of life, known as Homopithecus Douche.

 

Offline niffiwan

  • 211
  • Eluder Class
I'm considering making a GitHub repo so that others may be able to chip in.

But then again, I could perhaps commit my changes so far to the fs2 SVN. I'll need to get my stuff sorted so that it'll play nice with the current build scripts, though.

Sounds good to me.  If wxFRED will remain tied to the rest of the FSO codebase (like FRED) then it'd probably make most sense to put it in SVN.
Creating a fs2_open.log | Red Alert Bug = Hex Edit | MediaVPs 2014: Bigger HUD gauges | 32bit libs for 64bit Ubuntu
----
Debian Packages (testing/unstable): Freespace2 | wxLauncher
----
m|m: I think I'm suffering from Stockholm syndrome. Bmpman is starting to make sense and it's actually written reasonably well...

  

Offline z64555

  • 210
  • Self-proclaimed controls expert
    • Steam
wxFred changes uploaded to SVN.
Secure the Source, Contain the Code, Protect the Project
chief1983

------------
funtapaz: Hunchon University biologists prove mankind is evolving to new, higher form of life, known as Homopithecus Juche.
z64555: s/J/Do
BotenAlfred: <funtapaz> Hunchon University biologists prove mankind is evolving to new, higher form of life, known as Homopithecus Douche.