NEW: fs2open - source port of FreeSpace 2 space sim

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

NEW: fs2open - source port of FreeSpace 2 space sim

Thomas Frohwein
Hi,

Attached is a port of fs2open. fs2open is the portable version of the FreeSpace
2 game engine which was released to the public by creator Volition in ~2002.
FreeSpace 2 is a space-fighting game in the vein of the Wing Commander series
and is by many regarded as the last great game of the "golden age" of the genre
(which was declared dead after abyssmal sales of FreeSpace 2 despite stellar
reviews).

This port is set up to require the original game files to be installed to
~/.local/share/fs2port. These can be obtained from original game CDs or digital
distributors like gog.com.

Please note the following aspects of the port:

- The license is rather a "non-license" - see the prior discussion here:
  https://marc.info/?l=openbsd-ports&m=150922734910790&w=2. Therefore, I
  deactivated all 3 PERMIT_*
- I worked around the git submodules situation following the example of
  emulators/ppsspp.
- Upstream generally expects the binary to go into the base directory of the
  FreeSpace2 game files and I was not able to configure the binary to look in
  ~/.local/share/fs2open, so I went with a wrapper script solution for this.

Incorporated input from bcallah@ on openbsd-wip (github). landry@ and espie@
helped me figure out a portcheck issue (on my end).

fs2open.tgz (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: NEW: fs2open - source port of FreeSpace 2 space sim

Kaashif Hymabaccus-2
Great game, thanks for porting it!

The wrapper script installed at /usr/local/bin/fs2open has this line:

    /usr/local/bin/fs2open $*

I think this is a mistake, it should call the binary at
/usr/local/share/fs2open/fs2open. It's already installed with
SUBST_CMD, so this will work:

--- files/fs2open.orig Sat Jan 13 21:58:51 2018
+++ files/fs2open Sat Jan 13 22:03:35 2018
@@ -8,4 +8,4 @@
  print 'could not find directory ~/.local/share/fs2open'
  exit 1
 fi
-/usr/local/bin/fs2open $*
+${LOCALBASE}/share/fs2open/fs2open $*

Reply | Threaded
Open this post in threaded view
|

Re: NEW: fs2open - source port of FreeSpace 2 space sim

Thomas Frohwein
In reply to this post by Thomas Frohwein
Updated port attached with fixed wrapper script and removed dependency on
doxygen after discussion with rsadowski@

By the way, game runs well, played through 3 missions, also mods. Joystick
(in my case a Sidewinder Precision 2) works.

fs2open.tgz (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: NEW: fs2open - source port of FreeSpace 2 space sim

Thomas Frohwein
Updated port attached using exec and ${TRUEPREFIX} after feedback from sthen@.

fs2open.tgz (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: NEW: fs2open - source port of FreeSpace 2 space sim

Thomas Frohwein
New tarball, streamlining version handling and removing a few hardcoded
"-O2" flags after feedback from bcallah@ - thanks! (tested and it still
builds and runs as before)

fs2open.tgz (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: NEW: fs2open - source port of FreeSpace 2 space sim

Thomas Frohwein
ping

On Sun, Jan 14, 2018 at 02:37:20PM -0800, Thomas Frohwein wrote:
> New tarball, streamlining version handling and removing a few hardcoded
> "-O2" flags after feedback from bcallah@ - thanks! (tested and it still
> builds and runs as before)



fs2open.tgz (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: NEW: fs2open - source port of FreeSpace 2 space sim

Thomas Frohwein
ping - anyone wanting to import this?

On Wed, Jan 24, 2018 at 10:14:11AM -0800, Thomas Frohwein wrote:
> ping
>
> On Sun, Jan 14, 2018 at 02:37:20PM -0800, Thomas Frohwein wrote:
> > New tarball, streamlining version handling and removing a few hardcoded
> > "-O2" flags after feedback from bcallah@ - thanks! (tested and it still
> > builds and runs as before)
>
>


Reply | Threaded
Open this post in threaded view
|

Re: NEW: fs2open - source port of FreeSpace 2 space sim

Thomas Frohwein
forgot attachment, sorry

On Mon, Feb 12, 2018 at 08:15:10AM -0800, Thomas Frohwein wrote:

> ping - anyone wanting to import this?
>
> On Wed, Jan 24, 2018 at 10:14:11AM -0800, Thomas Frohwein wrote:
> > ping
> >
> > On Sun, Jan 14, 2018 at 02:37:20PM -0800, Thomas Frohwein wrote:
> > > New tarball, streamlining version handling and removing a few hardcoded
> > > "-O2" flags after feedback from bcallah@ - thanks! (tested and it still
> > > builds and runs as before)
> >
> >
>
>

fs2open.tgz (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: NEW: fs2open - source port of FreeSpace 2 space sim

Thomas Frohwein
Makefile adjusted s/lua5.1/${MODLUA_WANTLIB}/ and made COMMENT more concise
Thanks for feedback from sthen@

Any takers?

fs2open.tgz (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: NEW: fs2open - source port of FreeSpace 2 space sim

Stuart Henderson-6
On 2018/02/13 09:10, Thomas Frohwein wrote:
> Makefile adjusted s/lua5.1/${MODLUA_WANTLIB}/ and made COMMENT more concise
> Thanks for feedback from sthen@
>
> Any takers?

Thanks, looks good ports-wise to me, I can't test but I'm OK with importing
it if someone can test and do that.