Author Topic: Using Fred2_Open in lnux  (Read 7666 times)

0 Members and 1 Guest are viewing this topic.

Offline Fractux

  • 28
Using Fred2_Open in lnux
I'm just wondering if there's any other way to get Fred2_OGL work in linux without the need to use wine, or if there is another windows emulator that I can try that may not have as many of the graphical anomalies present. Currently using Wine 20050628.

It's fully functional (well, what's I've used so far) other than the menues not being displayed, so It's not really that important, but I was just wondering.

Cheers!
-What exactly gets separated in "mechanically separated chicken" ?

 
Well... ATM wxFred2 is in developement...
But it's in a very early stage of development...
I don't know how far it works, because it won't compile for me :(
But you can try...

./configure --enable-wxfred2
make

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Nope. You could try Cedega, I suppose, but all my efforts with that have ended with it griping that I can't run it from a root directory.
-C

 

Offline Kamikaze

  • A Complacent Wind
  • 29
    • http://www.nodewar.com
Sorry for the thread resurrection, but I just got wxFred2 to compile. Currently it appears to be a bunch of menus and that's about it.
Science alone of all the subjects contains within itself the lesson of the danger of belief in the infallibility of the greatest teachers in the preceding generation . . .Learn from science that you must doubt the experts. As a matter of fact, I can also define science another way: Science is the belief in the ignorance of experts. - Richard Feynman

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Yeah, it's VERY incomplete. I probably should've mentioned that when I was talking with you.
-C

 

Offline Amon_Re

  • 28
    • http://www.kefren.be
Re: Using Fred2_Open in lnux
Well... ATM wxFred2 is in developement...
But it's in a very early stage of development...
I don't know how far it works, because it won't compile for me :(
But you can try...

./configure --enable-wxfred2
make

wxFred2?!
I'm not worthy! I'm not worthy!
Sig? What sig?

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Re: Using Fred2_Open in lnux
Well, noone's working on it right now, and it requires some kind of resource tool to make dialogs, but it's there.
-C

 

Offline Amon_Re

  • 28
    • http://www.kefren.be
Re: Using Fred2_Open in lnux
Well, noone's working on it right now, and it requires some kind of resource tool to make dialogs, but it's there.

Yaay! Thanks for bringing my hopes up & then down again :P j/k :) Great progress here, i'm happy ^^
BTW, is there a launcher for the linux version aswell? didn't see it after compiling the game
Sig? What sig?

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Re: Using Fred2_Open in lnux
BTW, is there a launcher for the linux version aswell? didn't see it after compiling the game
It's in the works.  As I mentioned in the other thread, I'm working on a fully cross-platform launcher for the new code I'm working on, since the old launcher won't work with it.  Given how many people on the OS X side have practically demanded a launcher though I've started with a base code from the new launcher in order to make a new cross-platform one to replace the current launcher until all of my new stuff is complete.  It's going to work much like the curent launcher and won't be as streamlined and the newer one but it will do the job until I can eventually find the time to complete the newer code.  I may have something available for testing next weekend but that only depends on how busy I end up getting with work this week.

 

Offline Amon_Re

  • 28
    • http://www.kefren.be
Re: Using Fred2_Open in lnux
No worries, just let me know when/where the source is & i'll test the crap out of it :D
Sig? What sig?

 
Re: Using Fred2_Open in lnux
Nope. You could try Cedega, I suppose, but all my efforts with that have ended with it griping that I can't run it from a root directory.

I had this problem, too, but I managed to start fred2!
You need a drive-letter for the Partition/Drive where fred2 lies...
I tried to start it then, but I was so blind, that it took me hours to figure out that I need to write Backslashes and to "escape" them...

It's like this:
winelauncher d:\\GAMES\FreeSpace2\\FRED2_Open.exe

 

Offline Amon_Re

  • 28
    • http://www.kefren.be
Re: Using Fred2_Open in lnux
Well, noone's working on it right now, and it requires some kind of resource tool to make dialogs, but it's there.

Didn't ask this before.... what exactly do you mean with resource tool to make dialogs ?
Oh, and how do i compile it? :D
« Last Edit: November 14, 2005, 12:53:51 pm by Amon_Re »
Sig? What sig?

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Re: Using Fred2_Open in lnux
DialogBlocks is what we've been using.

 

Offline Amon_Re

  • 28
    • http://www.kefren.be
Re: Using Fred2_Open in lnux
DialogBlocks is what we've been using.

Not familiar with DialogBlocks, or wxwidgets for that matter, but shouldn't it be possible to write a basic dialog function that takes arguments in the form of a buttonlist, a description, and perhaps some other items...
Sig? What sig?

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Re: Using Fred2_Open in lnux
A GUI can be easier to use to design a GUI.
-C

 

Offline Amon_Re

  • 28
    • http://www.kefren.be
Re: Using Fred2_Open in lnux
A GUI can be easier to use to design a GUI.

Don't look at me, i'm a cli guy ;)
Sig? What sig?

 

Offline CaptJosh

  • 210
Re: Using Fred2_Open in lnux
You might consider using GTK+. gaim, an open source IM client uses it and it's cross-platform with only the need to have gtk+ installed. Then you could program the gui the same way for both the windows and linux. Might save some time and effort in the long run.
CaptJosh

There are only 10 kinds of people in the world;
those who understand binary and those who don't.

 

Offline Amon_Re

  • 28
    • http://www.kefren.be
Re: Using Fred2_Open in lnux
Actually, wxWidgets are cross platform too, but for some reason i can't compile wxfred2, i'll post the compiler errors later, most likely a dependency or version conflict....
Sig? What sig?

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Re: Using Fred2_Open in lnux
The reason why it's wxWidgets is because it can use GTK, or it can use Qt if you like, or whatever.

AFAIK it's not a matter of the tools not being cross-platform (it makes little sense to NOT write a GUI design tool for wxWidgets with wxWidgets). It's that no one has the time to work on it, or are working on other things.

I don't really agree with the decision to require a GUI tool to work on wxFRED, but AFAIK that hasn't definitely stopped anyone from working on it, so it's really a non-issue at this point.
-C

  
Re: Using Fred2_Open in lnux
For those who could need it...
Here's a little bash-script to make starting FRED2 easier... ;)

Code: [Select]
#!/bin/bash

WINE="winelauncher" # The wine-launcher
FRED="FRED2_open_r-Inf20051117.exe" # Name of the FRED2 executable
OPTIONS="-fredhtl -jpgtga -img2dds" # Commandline-Options vor FRED2
DIR="y:\\.fs2_open\\" # y: is my home-dir as drive-letter

EXE="${WINE} ${DIR}${FRED} ${OPTIONS}" # Combine these Variables

$EXE # Start the whole thing ;)
Hope you like it ;)

EDIT: Of course, you need to know / set the wine-drive-letters and directories where your FRED2-Exec lies...