News:

We've upgraded the forum software.
You may need to log in again or reset your password!

Main Menu

Outpost 2 OPU mod 1.4.x source code

Started by Arklon, February 13, 2021, 07:46:41 PM

Arklon

Source code for Outpost 2 OPU mod version 1.4.x is now available!

New repositories have been added on our GitHub:

  • OPUPatch - Contains the OPU mod Outpost 2 code patches, implementing new features and bugfixes
  • TethysAPI - New Outpost 2 mission/mod SDK with a more modern interface, and with direct access to non-exported internals
  • OPULoaderShim - Injects op2ext into Outpost 2
  • OPULauncher - Convenience launcher for Outpost 2 that activates the OPU mod, and checks for updates

Additionally, op2ext 3.1.0 is published in its own branch, pending pull request to master.

Vagabond

Arklon,

Thank you for posting. Is there a public project you could provide a link to that consumes the new TethysAPI that would make a decent example of how to link to and use it?

Brett

Arklon

#2
I'll get around to making a new mission template and example for TethysAPI soon. Obviously OPUPatch uses it extensively, but that's not going to be a good reference for coding missions. I did start adding Doxygen comments, mostly under the API folder, but I honestly haven't tried actually using Doxygen to generate docs from it yet.

The beauty of TethysAPI being header-only is you don't need to link any libs or anything at all. It's easier to integrate than the old SDK, just drop it in a folder called Tethys.