Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Cross-Platform Development => Topic started by: Fractux on August 07, 2005, 03:01:35 pm
-
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!
-
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
-
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.
-
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.
-
Yeah, it's VERY incomplete. I probably should've mentioned that when I was talking with you.
-
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!
-
Well, noone's working on it right now, and it requires some kind of resource tool to make dialogs, but it's there.
-
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
-
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.
-
No worries, just let me know when/where the source is & i'll test the crap out of it :D
-
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
-
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
-
DialogBlocks is what we've been using.
-
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...
-
A GUI can be easier to use to design a GUI.
-
A GUI can be easier to use to design a GUI.
Don't look at me, i'm a cli guy ;)
-
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.
-
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....
-
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.
-
For those who could need it...
Here's a little bash-script to make starting FRED2 easier... ;)
#!/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...