Mod and Map Dev programs - The best?

Mod and Map Dev programs - The best?

Discuss everything related to running Spring on your chosen distribution of Linux.

Moderator: Moderators

Post Reply
User avatar
Slamoid
Posts: 237
Joined: 25 Jan 2005, 19:23

Mod and Map Dev programs - The best?

Post by Slamoid »

I wanted to start a thread to list some good dev programs for Linux.

Once SM3 is done, the Gimp should work great for maps, but till then, has anyone tried MapConv under wine? And how about making a Python mapConv program?

About modding, Wings3D and Blender are fairly good modelers, but texturing and 3DOing might need some help. Anyone have some first-hand experiance at this?
trepan
Former Engine Dev
Posts: 1200
Joined: 17 Nov 2005, 00:52

Post by trepan »

MapConv can be compiled in linux . The last time I checked, it even worked.
I haven't had much luck getting UpSpring to work in wine, but I only put in a
token effort.
User avatar
jcnossen
Former Engine Dev
Posts: 2440
Joined: 05 Jun 2005, 19:13

Post by jcnossen »

There is no makefile, but all of upsprings dependencies are portable (FLTK 2.0 (i use svn versions), glew, devil, lib3ds, zlib).
There are probably quite some problems with compiler differences though, and FileSearch.cpp probably needs adjustments, but its almost portable for someone who knows C++..
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Post by Kloot »

e: outdated, see the Mantis link below
Last edited by Kloot on 16 Dec 2007, 18:32, edited 1 time in total.
User avatar
jcnossen
Former Engine Dev
Posts: 2440
Joined: 05 Jun 2005, 19:13

Post by jcnossen »

Nice

Fl_File_Chooser.H is in FLTK itself: fltk/compat/FL

For the file search stuff, it might be useful to look at springs FindFiles and remove the boost stuff out of it: rts/System/Platform/Linux/UnixFileSystemHandler.cpp ...

I uploaded it to spring svn: spring/tools/Upspring. So if you change anything you can make patches...
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Post by Kloot »

e: outdated, screenshot
Last edited by Kloot on 16 Dec 2007, 18:34, edited 1 time in total.
User avatar
jcnossen
Former Engine Dev
Posts: 2440
Joined: 05 Jun 2005, 19:13

Post by jcnossen »

Nice, can you post a patch for it?
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Post by Kloot »

Linux-ported source is here, I've included a simple script to build it. See also the Mantis patch.
Last edited by Kloot on 16 Dec 2007, 18:37, edited 1 time in total.
User avatar
BrainDamage
Lobby Developer
Posts: 1164
Joined: 25 Sep 2006, 13:56

Post by BrainDamage »

i've tried to compile this 1, but no luck :(

basically my problem is that my version of fltk library has different filenames
& i couldn't find an equivalent name of few files

i saw an empty directory in the prog to store the fltk libs, would you pls include your version of the library?
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Post by Kloot »

UpSpring requires FLTK1 (I picked the most recent non-dev version, 1.1.7) as well as FLTK2, but if you download both and park their sources in the respective empty directories you shouldn't have a problem. Just move the libs (fltk*.a for FLTK1 and fltk2*.a for FLTK2) to /usr/local/lib/ or some other default location after compiling them, since my build-script isn't smart enough to look elsewhere.

(Also don't forget about lib3ds...)
Last edited by Kloot on 16 Dec 2007, 18:39, edited 1 time in total.
User avatar
jcnossen
Former Engine Dev
Posts: 2440
Joined: 05 Jun 2005, 19:13

Post by jcnossen »

The problem is probably that Fl_Native_File_Chooser uses Win32 stuff in windows, but actually uses the regular fltk file chooser for linux. Maybe it's easier to adapt Fl_Native_File_Chooser to use fltk2 stuff, or change FileDialog.cpp to skip Fl_Native_File_Chooser completely on linux.
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Post by Kloot »

Adapting the NFC would indeed probably be the best option, FLTK2 has a FileChooser header so I guess it's mostly just a matter of renaming stuff.
User avatar
Anarchid
Posts: 1384
Joined: 30 Nov 2008, 04:31

Re: Mod and Map Dev programs - The best?

Post by Anarchid »

Ahm, could someone re-up the linux source for Upspring? :P
Post Reply

Return to “Linux”