Author Topic: FSO works in Wine (OS X) but FRED doesn't?  (Read 3028 times)

0 Members and 1 Guest are viewing this topic.

Offline jg18

  • A very happy zod
  • 210
  • can do more than spellcheck
FSO works in Wine (OS X) but FRED doesn't?
I've gotten FSO (3.6.14 RC7) to work in Wine on OS X 10.6, but for some reason, FRED gets stuck (stops loading) and I have to kill the process (shut down X, to be precise). In case it helps, this is Wine 1.4.1 (latest stable build), installed using MacPorts.

Here are the registry values, according to Wine's regedit:





The 1440x878 value for resolution is 1440x900 minus 22 pixels for OS X's top menu bar.

Logs for FSO and FRED attached, along with a debug_filter.cfg file that I don't remember making :confused: but that I added +OpenGL to, which didn't seem to do anything. For the FSO log, I started the first training mission and then exited it. For both FSO and FRED, I ran them using

Code: [Select]
wine <program_name>
from within the /Applications/FreeSpace2 folder, which is where I store my FS2 data on OS X.

Thanks for any help anyone can provide.

[attachment removed and sold on the black market]

 

Offline The E

  • He's Ebeneezer Goode
  • Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: FSO works in Wine (OS X) but FRED doesn't?
Not exactly sure what kind of help you're looking for here. Fred is a Windows-only application. We do not and can not optimize it for running it in something that is almost but not quite  Windows.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline jg18

  • A very happy zod
  • 210
  • can do more than spellcheck
Re: FSO works in Wine (OS X) but FRED doesn't?
I'm not asking for any changes to be made to FRED. I'm just puzzled because
  • FRED is known to work (for some value of "work") in Wine
  • FSO does work in my current Wine setup, so it's strange that FRED doesn't
so I'm wondering if maybe there's some setting in my Wine setup that isn't correctly set, something of that nature, that's preventing it from working, maybe a folder/file that FRED expects to be there that isn't.
« Last Edit: August 20, 2012, 11:54:00 pm by jg18 »

 

Offline niffiwan

  • 211
  • Eluder Class
Re: FSO works in Wine (OS X) but FRED doesn't?
well - just one example of differences between FSO & FRED is the fact that MSVC Express can compile FSO, but can't compile FRED.  I haven't had much success with FRED under Wine on Linux using the latest 1.5 beta versions.  Last time I tried, most things seemed to work, but saving missions didn't making it a big exercise in frustration   :)  I didn't try changing much within the winecfg app, maybe some different OS values in there may help?  Alternatively, there's people on the wine forums that know the system much better than we do, e.g. when I wrote up a walkthrough for WCS:DD some guy on the wine appDB group figured out how to get the launcher working in no time - I guess it's just experience they have with knowing what sort of wine additions / tweaks / tricks are needed to get various programs running. 
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 jg18

  • A very happy zod
  • 210
  • can do more than spellcheck
Re: FSO works in Wine (OS X) but FRED doesn't?
Oh, well, in that case, it looks like

  • FRED is known to work (for some value of "work") in Wine

isn't actually true. :blah:

I guess I could try this Wineskin wrapper; supposedly, that works. If not, then asking around on the Wine forums is probably my best bet, as you said.

Thanks.

EDIT: Mind you, I can always just boot into Windows and use FRED there. It's just that having to reboot and set aside whatever I was working on in OS X is annoying. :sigh:
« Last Edit: August 21, 2012, 12:32:42 am by jg18 »

 

Offline HAZARDLEADER

  • LOL! A wild derp appears!
  • 27
  • The lurk god.
Re: FSO works in Wine (OS X) but FRED doesn't?
I've had a similar problem with Cross over (which runs on wine) it just gives me a bunch of error messages and then closes out.   :nervous:
...and from the depths of hell I return with gifts;  one-hundred bucks and a bottle of booze.

 

Offline jr2

  • The Mail Man
  • 212
  • It's prounounced jayartoo 0x6A7232
    • Steam
Re: FSO works in Wine (OS X) but FRED doesn't?
Would running a Dependency Walker analysis of FRED running on Windows be helpful?  Perhaps FRED depends on some library in Windows that isn't included by default in Wine, but could be added?

 

Offline chief1983

  • Still lacks a custom title
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Minecraft
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: FSO works in Wine (OS X) but FRED doesn't?
We may not officially support FRED in Wine, but since FRED is only Windows, and there are quite a few *nix users in the broader community, the recommendation has been to run FRED in Wine in the past.  And that has worked fairly well for many users, so if something changed, we can hopefully investigate a bit at least.  We might even have a few devs who could take a shot at running the Wine version just to see.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline mjn.mixael

  • Cutscene Master
  • 212
  • Chopped liver
    • Steam
    • Twitter
Re: FSO works in Wine (OS X) but FRED doesn't?
Or reinvigorate wxFRED development... :nervous:
Cutscene Upgrade Project - Mainhall Remakes - Between the Ashes
Youtube Channel - P3D Model Box
Between the Ashes is looking for committed testers, PM me for details.
Freespace Upgrade Project See what's happening.

 

Offline chief1983

  • Still lacks a custom title
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Minecraft
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: FSO works in Wine (OS X) but FRED doesn't?
That'd be great, but it's the long-term solution, and FRED in Wine has worked before, for anyone willing to put in the effort to get Wine running.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline HAZARDLEADER

  • LOL! A wild derp appears!
  • 27
  • The lurk god.
Re: FSO works in Wine (OS X) but FRED doesn't?
It would still be cool, to run Fredopen so that us Mac people could be supported, if someone could get it to work on wine that would be fine. Although it would be way cooler to open fred with out wine. I have to vote for wxfred.  :nervous:
...and from the depths of hell I return with gifts;  one-hundred bucks and a bottle of booze.

 

Offline jr2

  • The Mail Man
  • 212
  • It's prounounced jayartoo 0x6A7232
    • Steam
Re: FSO works in Wine (OS X) but FRED doesn't?
Right, but meantime, while wxFred is still being coded, back on the Apple farm, there is Fredding to be done...

 

Offline HAZARDLEADER

  • LOL! A wild derp appears!
  • 27
  • The lurk god.
Re: FSO works in Wine (OS X) but FRED doesn't?
Right, but meantime, while wxFred is still being coded, back on the Apple farm, there is Fredding to be done...
Yeah, hope it gets done soon. Running fred2 on crossover is...well you can imagine what hell it puts me through... 
...and from the depths of hell I return with gifts;  one-hundred bucks and a bottle of booze.

  
Re: FSO works in Wine (OS X) but FRED doesn't?
Isn't there a sorta roadmap for FSO cross-platform development? I recall someone mentioning that, it went wx-multiplayer-setup-thingy -> wxLauncher -> wxFred. That's in order of increasing complexiity, which makes a lot of sense to me. So when wxLauncher has reached 1.0 and become the official FSO launcher, we might hear some more on wxFred again :)

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: FSO works in Wine (OS X) but FRED doesn't?
You might be thinking of the plan to port the standalone server to wxWidgets so that we could run standalones on Mac and Unix.

I believe some of the work for that was done but it was never submitted to trunk (it may have never even been posted in fact).
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline jg18

  • A very happy zod
  • 210
  • can do more than spellcheck
Re: FSO works in Wine (OS X) but FRED doesn't?
Would the standalone server be another potentially good project for a new coder? I don't know anything about it, including how difficult or complex it is. If the work that was done is around and usable, that'd help. Admittedly, this is drifting away from the OP a good bit...

 

Offline chief1983

  • Still lacks a custom title
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Minecraft
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: FSO works in Wine (OS X) but FRED doesn't?
Someone has already written a conversion of the standalone to wx.  Nothing has ever happened with it because no team member ever did the rest of the work of reviewing and integrating it into trunk.  I still have the source though I think.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 
Re: FSO works in Wine (OS X) but FRED doesn't?
You might be thinking of the plan to port the standalone server to wxWidgets so that we could run standalones on Mac and Unix.

I believe some of the work for that was done but it was never submitted to trunk (it may have never even been posted in fact).

Aye, that was it. And it was certainly posted, I even found the thread just now.

 

Offline chief1983

  • Still lacks a custom title
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Minecraft
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: FSO works in Wine (OS X) but FRED doesn't?
All the diffs of the code have been purged, but I managed to find one on my laptop, not sure which one, and uploaded it here.  The indicated revision is 5799, which was only committed on Jan 8 2010, so this is probably the most recent version of the patch Spicious uploaded.  Maybe he would like to take another look at this though.

Edit:  I did manage to merge that cleanly into current Antipodes 8 with a couple small tweaks to the diff, you can find the patch here.  Don't know if I can compile it though.

Edit2:  I found an older version of the patch on another computer, which seems to have the files that were missing from the 5799 diff.  Not sure if they're up to date enough to work with the newer patch, but I'll see what I can do.
« Last Edit: August 31, 2012, 10:15:15 am by chief1983 »
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays