122 Commits
Author SHA1 Message Date
Chris Bessent e381391ecf Update translations 2021-11-23 20:57:05 -07:00
Chris Djali 0c7de3c2db Merge pull request #5 from AnyOldName3/no-default-log
Ensure default OMODFramework log isn't created
2021-07-12 19:11:45 +01:00
AnyOldName3 916f3a812a Ensure default OMODFramework log isn't created
The default location is in the same directory as the OMODFramework DLL.
That doesn't work when MO2 is installed to Program Files.
2021-06-05 23:28:47 +01:00
Mikaël Capelle de2e2c5b52 Merge pull request #4 from ModOrganizer2/2.2.1-bump
Bump OMODFramework to 2.2.1 to fix a crash
2021-05-20 20:23:09 +02:00
Mikaël Capelle 9eaddc213f Merge pull request #3 from ModOrganizer2/constructor-catch
Catch and rethrow .NET exceptions in OMODFrameworkWrapper constructor
2021-05-20 20:22:58 +02:00
Chris Djali 810f8cbf99 Bump OMODFramework to 2.2.1 to fix a crash
BSAs with zero-length folder names (I'm presuming where there are consecutive backslashes in a path) caused a negative-length read from a file. Now they don't.
2021-05-04 21:11:11 +01:00
Chris Djali 391bea155c Catch and rethrow .NET exceptions in OMODFrameworkWrapper constructor
Otherwise things like trying to load OMODFramework DLLs with a zone identifier (e.g. because I've asked someone to try something with a modified version to debug an issue) will generate a .NET exception and crash MO2, producing an undebuggable crash dump. Mixed mode and native see only external code, and managed insists the crash is in native code without preserving the exception that native code threw.
2021-05-04 00:07:24 +01:00
Mikaël Capelle 2a48b325cf Merge pull request #2 from AnyOldName3/horse-extraction
Make OMODFramework aware of active BSAs
2021-03-05 19:16:10 +01:00
AnyOldName3 152abce06f Make OMODFramework aware of active BSAs
At least one OMOD needs to extract files from existing BSAs. Thankfully,
basically everything needed for that was already in OMODFramework, and
it just needed telling which BSAs were active at the time of mod
installtion. Annoyingly, it took them as a HashSet, so I needed to
change to an ordered collection, hence the version bump. Also, MO2 won't
tell plugins which BSAs are actually active, so this has to reconstruct
the list. It assumes archive invalidation is active in some form or
other, but MO2 has that built-in, and presumably no one's ever turned it
off.

This doesn't actually fix the problematic mod as it then packs a new BSA
which OMODFramework can't handle yet.
2021-03-03 02:14:44 +00:00
Al 078c6851fe Merge pull request #1 from Holt59/iplugin-requirements
Return shared pointers in requirements().
2020-11-28 06:41:11 -08:00
AnyOldName3 52df980981 Remove PDB install for PDBs that don't exist in their package
Also add a comment explaining how to actually get those PDBs
2020-11-21 16:02:21 +00:00
AnyOldName3 6fba2e7b25 Bump OMODFramework some more 2020-11-21 00:27:58 +00:00
AnyOldName3 b95f5b6a8e Revert "Work around https://github.com/erri120/OMODFramework/issues/31"
This reverts commit add15c1eed.

.ts file has been manually regenerated.
2020-11-20 19:09:48 +00:00
AnyOldName3 a7f7514dd6 Bump OMODFramework version 2020-11-20 18:52:52 +00:00
Mikaël Capelle f502dab4ea Return shared pointers in requirements(). 2020-11-19 21:26:54 +01:00
Chris Djali 9a7104aa22 Merge pull request #14 from Holt59/iplugin-isactive-refactoring
IPlugin::isActive refactoring
2020-11-18 17:05:32 +00:00
AnyOldName3 9bb89f4c56 Fix script extender detection
As well as checking for the non-Steam-friendly obse_loader.exe, this now
checks the force loaded libraries for any OBSE files, too.

It also converts from FileVersionInfo to Version via ints rather than a
string as it turns out the string format isn't compatible. Version wants
a.b.c.d but FileVersionInfo gives a, b, c, d. I think this changed at
some point as I think I copied the previous code from OBMM.
2020-11-17 18:04:16 +00:00
Mikaël Capelle e242410df5 Update following removal of IPlugin::isActive(). 2020-11-11 22:12:29 +01:00
AnyOldName3 139602ed11 Use C++17 range declarations for std::map 2020-10-21 16:11:55 +01:00
AnyOldName3 ac3de9b51e Clean OMODFramework default temp dir 2020-10-21 01:06:35 +01:00
AnyOldName3 a3917f6812 Allow shader edits to overwrite existing ones when merging 2020-10-21 01:06:14 +01:00
AnyOldName3 9a27a81f34 Remove outdated warning message 2020-10-21 01:05:39 +01:00
AnyOldName3 dc6e5509dd Make OMOD shader edits visible in-game 2020-10-21 00:52:55 +01:00
AnyOldName3 bc952b9594 Partially install shader edits
Also document other unused data
2020-10-20 00:58:46 +01:00
AnyOldName3 b03beecd59 Don't nag when user rejects nagging 2020-10-19 23:52:57 +01:00