Difference between revisions of "User:DavidJCobb"

Jump to navigation Jump to search
1,319 bytes added ,  19:34, 20 September 2017
→‎Scratchpad: OBSE info since I've nowhere else to put it
imported>DavidJCobb
(fancy layout for subpages, and moved them into a section (saving a page with links involves wading through a captcha barrage; maybe isolating things will help?))
imported>DavidJCobb
(→‎Scratchpad: OBSE info since I've nowhere else to put it)
Line 39: Line 39:


== Scratchpad ==
== Scratchpad ==
*'''OBSE Plugins'''
** The official source is broken. Use [https://github.com/llde/Oblivion-Script-Extender this repo] instead.
** Llde's repo builds OBSE as "version 22." The latest official build is "version 21." Be sure to check for 21 in your plugin's Query function, not just ''OBSE_VERSION_INTEGER''.
** Llde's repo is... still broken, actually. You can compile the sample plugin, but about half of OBSE's codebase will trigger bullcrap linker errors (LNK2001) if used. You need to restructure the solution to resemble SKSE:
*** Open the "plugin example" solution.
*** Add an existing project: the "obse" project.
*** If necessary, tamper with the plugin-example project's XML so that it doesn't include OBSE files manually. No, there's no UI for this in Visual Studio, because why would an IDE let you choose how you organize your code?
*** Set the "obse" project to build a Static Library (.lib).
*** Add the following preprocessor directives to the "plugin example" and "obse" projects per llde's instructions: ''_CRT_NO_VA_START_VALIDATION'' and ''_SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS''. Note that the latter directive silences a fatal error about a deprecated class: it's possible that future versions of VS just won't be able to build OBSE or its resources at all.
** That should be about everything?


*'''SkyUI MCM'''
*'''SkyUI MCM'''
Anonymous user

Navigation menu