DavidJCobb

Joined 8 March 2022
1,397 bytes removed ,  20:20, 31 August 2022
m
imported>DavidJCobb
(→‎Injected records: deprecated 00C0BB00; added 00C0BB03)
 
Line 74: Line 74:


== 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 a "reference" to your project so that it pulls from the OBSE library.
*** 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'''
53

edits