Hey everyone,
I finished my goals and work with op2ext. Attached are current release compilations of op2ext and the TestModule (for testing the external DLL interface of op2ext). The PDB file for op2ext is too large to attach to the forums (it is just over 2MBs compressed). If you are interested in this PDB, message me and we will arrange other distribution methods.)
At this point, I'm freezing my own work in the modules except for implementing suggestions/problems that others find. Please feel free to review the source code for improvements, security holes, compatibility with existing mods, etc. I'm not looking to add major new features though.
I'm calling this op2ext release 2.0.0 since there are changes to source code compatibility. It shouldn't affect already compiled DLLs though (unless they are attempting to change the value of the sectionName passed by the exported function InitMod.)
Thank you to both Arklon and Hooman for the assistance and expertise they provided through the update.
op2ext Version 2.0.0 * Add ability to load vol files with any name into Outpost 2 from the root directory.
* Deprecated function GetGameDir(char* buffer).
* Change public callable function InitMod to have a const char* variable - void InitMod(const char* iniSectionName)
* Allow retrieving data from Outpost2.ini that is greater in size than 1024 characters.
* Fix bug in SetSerialNumber function.
* Improve error messages when Outpost 2 has difficulty loading a module or vol files.
* Add an ini module sample.
* Fix errors in console switch module sample.
* Move external callable functions from public.h to op2ext.h.
* Write a TestModule that is included with the project.
* Introduce C++11/14 practices into code base.
Source Code:
https://github.com/OutpostUniverse/op2extBackground Thread for changes:
https://forum.outpost2.net/index.php/topic,6045.0.htmlThanks,
-Brett