Fed2 Star - the newsletter for the space trading game Federation 2

The weekly newsletter for Fed2
by ibgames

EARTHDATE: October 19, 2014

Fed2 Star index Fed2 Star: Official News page 1 Fed2 Star next page

WORKBENCH SOURCE CODE AVAILABE

by Hazed

Now that the Fed2 Workbench is complete, and all the new versions of the editors have been published for players to use, Alan has made the source code for each of the programs available as well.

We asked him to explain what this means:

Regular readers of this newsletter will know that I recently finished an overhaul of the editing suite for Federation 2. What you may not know is that the code for the suite is open source code, so you can obtain the source code free of charge and alter it as you wish. There are no restrictions on it, other than those in the GNU license version 3, which you can find at http://www.gnu.org/copyleft/gpl.html. What this means is that if you make a changed version of the code you must do the same as I did, and make the source code available free of charge to anyone who wants it.

The source is for Windows, I wrote it for Windows 7, but it should work on other versions. I used Microsoft’s Visual Studio 2010 to build it, and used the Qt4.8.5 libraries. I’ve included the Visual Studio project file with the source code. If you are using a later version for Visual Studio, the project file should be updated the first time you load it. If you are using the free express version of Visual Studio or another compiler, you will need to read up on how to use and configure the Qt pre-processor.

If you have a Mac or a Linux desktop machine you should be able to port the code to your machine with a minimum of hassle. I’ve tried to keep the Windows specific code as small as possible, and Qt provides libraries for both of these operating systems.

The files are located on Bitbucket, and use Git as the source code control. If you haven’t used Git before, then you probably need to read up on it. I’d recommend “Git in Practice” by Mike McQuaid: http://www.manning.com/mcquaid/. Declaration of interest: I was a manuscript reviewer for this book, and you can see a quote from me along the right hand side of the page!

How to get to the files:

Event Editor: https://bitbucket.org/alan_lenton/eveditor
Location Editor: https://bitbucket.org/alan_lenton/loced
Message Editor: https://bitbucket.org/alan_lenton/msgeditor
Object Editor : https://bitbucket.org/alan_lenton/objeditor
Tesla: https://bitbucket.org/alan_lenton/tesla

Fed2 Star index   Fed2 Star next page