Skip to content

Releases

PatchLib 1.1.2

Choose a tag to compare

@Lukas22041 Lukas22041 released this 14 Nov 10:40
  • Adjusted the stacktrace patch appending to only show when a specific patched method is part of the trace.

PatchLib 1.1.1

Choose a tag to compare

@Lukas22041 Lukas22041 released this 13 Nov 18:21
5e89524
  • Janino loaded classes can now also be patched with redirect patches.
  • Fixed a performance problem that caused some patched classes to not be C1 compiled.
  • Slightly changed the wording of the stack trace appending error message.

PatchLib 1.1.0

Choose a tag to compare

@Lukas22041 Lukas22041 released this 11 Nov 20:53
  • Updated to 0.98.5a
  • Added a debug menu that can be opened with CTRL+P in the title and campaign.
  • Very slightly improved the performance of context reflection utils, context.getData() and context.isMostDerivedCall().
  • Deprecated the name based reflection methods, they will continue to function, but are recommended against use mostly for performance.

PatchLib 1.0.3

Choose a tag to compare

@Lukas22041 Lukas22041 released this 27 Oct 18:55
  • Fixed an issue where ashes jar replacement broke most patches after anything tries to patch the "BaseIndustry" class.
    -> The "BaseIndustry" issue itself is not fixed, and likely wont be until the starsector update, but should have far less consequences

PatchLib 1.0.2

Choose a tag to compare

@Lukas22041 Lukas22041 released this 25 Oct 20:57
  • Added a warning for subtype matches on janino loaded classes that themself extend from janino loaded classes.
  • Improved the crash message when crashing due to using an old version of FR (0.6.8 and older)

PatchLib 1.0.1

Choose a tag to compare

@Lukas22041 Lukas22041 released this 23 Oct 23:44
  • The "TogglePatch" command now allows toggling multiple patches at once
  • Made a specific crash provide a better error message.

PatchLib 1.0.0

Choose a tag to compare

@Lukas22041 Lukas22041 released this 22 Oct 17:17
  • Mod release

PatchLib 0.6.0

Choose a tag to compare

@Lukas22041 Lukas22041 released this 18 Oct 12:31
  • Added methods for enabling/disabling patches in the "PatchLib" class, i.e PatchLib.setEnabled(), ...
  • Added the "TogglePatch" console command.
    --> Toggled patches are only toggled for the current session, the state is not saved.
  • Added improved logging for exceptions that shows which classes involved in the stack trace are patched.
  • Added version checker changelog support.

PatchLib 0.5.0

Choose a tag to compare

@Lukas22041 Lukas22041 released this 15 Oct 19:09
  • Added an additional fallback for self-attach, which should work even within Starsector 0.98a.
  • Reworked class scanning, now returns just a List of classes instead of its own data object, no longer holds unused data active after game load.
  • Implemented slight performance improvements, mostly to Hooks, but also slight improvements to redirects.
  • Final API renames in places they were inconsistent before things are locked down. Make sure to clear your intellij caches.

PatchLib 0.4.0

Choose a tag to compare

@Lukas22041 Lukas22041 released this 15 Oct 13:36

[This is a late release of a version that has existed for a while, it is only posted for archive reasons]

  • The mod now uses self-attach, and no longer comes with an installer.
  • Full internal rewrite of the agent side code
  • Added PatchLib.scan(), a new util for scanning for classes within the games and mods jars.
  • Refactored the "_Query" classes with additional methods and variants for Class & Annotation targets
  • The API jar now includes sources, which should display javadocs when you check its classes and methods in your IDE.
  • Implemented some loading time improvements
  • Renamed RedirectNew to RedirectConstructorCall and renamed RedirectCall to RedirectMethodCall
  • Renamed "priority" to "order" on patches.
  • Removed the debug UI for now, will be reimplemented at a later point.
  • Added the MIT License.