Skip to content

Releases: ethangreen-dev/lovely-injector

v0.8.0

07 Jun 14:58
aec360b
Compare
Choose a tag to compare

Install guide

OS Download
Windows lovely-x86_64-pc-windows-msvc.zip
Mac (Arm) lovely-aarch64-apple-darwin.tar.gz
Mac (x86) lovely-x86_64-apple-darwin.tar.gz
Linux lovely-x86_64-unknown-linux-gnu.tar.gz

New Contributors

Notable Changes

  • #187 Fixed broken cross-mod patch targeting on Mac.
  • #218 Fixed panic caused by attempting to obtain the extension of a file without one.
  • #188 The mod directory can now be set with the environment variable LOVELY_MOD_DIR.
  • #228 Modules injected via module patches are now always available if load_now is false or otherwise not set. The before field is now optional as it is not used when load_now is false or not set.
  • #228 Modules (including lovely) are now always accessible, even in different threads or when the game is restarted with love.event.restart (unless load_now is true).

Other Notes

  • Gamepass support is unfortunately blocked by my limited availability, but work shall continue soon. I've written up a quick and dirty todo list here: #160 (comment)
  • Mobile support is quickly improving thanks to the hard work of @WilsontheWolf and his liblovely project. This aims to make lovely's core codebase available for use in native contexts like within LuaJIT or Love2d. iOS (jailbroken) and mobile-maker support has experimental implementations, so we're hopeful that this is the silver bullet we need.
  • A million downloads!
  • ... And a lot more boring stuff that you can read about below.

What's Changed

Full Changelog: v0.7.1...v0.8.0

v0.7.1

21 Jan 18:16
Compare
Choose a tag to compare

Install guide

OS Download
Windows lovely-x86_64-pc-windows-msvc.zip
Mac (Arm) lovely-aarch64-apple-darwin.tar.gz
Mac (x86) lovely-x86_64-apple-darwin.tar.gz

What's Changed

Full Changelog: v0.7.0...v0.7.1

v0.7.0

20 Jan 00:53
d08f644
Compare
Choose a tag to compare

Install guide

OS Download
Windows lovely-x86_64-pc-windows-msvc.zip
Mac (Arm) lovely-aarch64-apple-darwin.tar.gz
Mac (x86) lovely-x86_64-apple-darwin.tar.gz

Contributors

A huge thanks goes out to the following contributors:

  • @flakywanderer for improving log messages with patch metadata.
  • @WilsontheWolf for fixing the logging of panics on Unix targets.
  • @drgrib for improving the Steam Deck install guide.
  • @vgskye for completing much of the work on the Lovely Linux target.
  • @asquared31415 for updating the Linux PR.
  • @Rick1029 for writing a guide on running Lovely and Love2D games natively on Linux.

Notable Changes

#103 Expanded patch targets

TL;DR: You can specify more patch targets.

Patches can now target other mods and even love2d itself. Since non-Balatro buffer names can be complex you should use --dump-all and the corresponding .txt file in dump/ to determine the name of your target.

Important

Patching other mods can cause problems if done incorrectly - problems that can be impossible to debug even with a complete dump. Be careful with this tool, communicate your intent with other devs as needed, document what you've done, and remember to have fun!

#114 Strict patch application ordering

TL;DR: Pattern and regex order inconsistencies have been fixed.

Lovely patches have a strict order in which they are applied: module → copy → pattern → regex, however this was not the case in v0.6.0. This version (and all the ones preceding it) merged the pattern and regex patches together such that they were applied in the same step in the order that they were defined within the patch file. This has been resolved by separating and applying these patches sequentially.

#103 Improved debugging via --dump-all

TL;DR: Use --dump-all to dump everything.

Every encountered buffer can be dumped, not just the ones that have been patched. Alongside each is a text file which contains the internal name of the buffer - use this name in the target field of patches.

#121 Hacky patch directory interpolation

TL;DR: Use {{lovely_hack::patch_dir}} in your payloads to access the patch's mod directory.

This variable will be replaced with the parent directory of the patch (either ../lovely.toml or ../../lovely/patch.toml, for example. It's a hacky and temporary solution that WILL be replaced at some point in the future, but it'll work fine for now.

#66 + #102 Linux support

TL;DR: Native Linux support but you must build it yourself (for now).

Follow the guide written by @Rick1029: https://github.com/Rick1029/lovely-injector/

What's Changed

New Contributors

Full Changelog: v0.6.0...v0.7.0

v0.6.0

22 Oct 00:49
1653b40
Compare
Choose a tag to compare

Install guide

OS Download
Windows lovely-x86_64-pc-windows-msvc.zip
Mac (Arm) lovely-aarch64-apple-darwin.tar.gz
Mac (x86) lovely-x86_64-apple-darwin.tar.gz

Bye-bye, beta

What's Changed

New Contributors

Full Changelog: v0.4.0...v0.6.0

v0.5.0-beta7

16 Sep 03:27
ddceeb2
Compare
Choose a tag to compare

Install guide

OS Download
Windows lovely-x86_64-pc-windows-msvc.zip
Mac (Arm) lovely-aarch64-apple-darwin.tar.gz
Mac (x86) lovely-x86_64-apple-darwin.tar.gz

What's Changed

New Contributors

Full Changelog: v0.5.0-beta6...v0.5.0-beta7

v0.5.0-beta6

25 Jun 03:47
e54eb89
Compare
Choose a tag to compare

Install guide

OS Download
Windows lovely-x86_64-pc-windows-msvc.zip
Mac (Arm) lovely-aarch64-apple-darwin.tar.gz
Mac (x86) lovely-x86_64-apple-darwin.tar.gz

What's Changed

Full Changelog: v0.5.0-beta5...v0.5.0-beta6

v0.5.0-beta5

19 May 07:47
1c65e9c
Compare
Choose a tag to compare

Install guide

OS Download
Windows lovely-x86_64-pc-windows-msvc.zip
Mac (Arm) lovely-aarch64-apple-darwin.tar.gz
Mac (x86) lovely-x86_64-apple-darwin.tar.gz

What's Changed

  • Mac: use the name of the enclosing .app for the mod directory by @english5040 in #41

Full Changelog: v0.5.0-beta4...v0.5.0-beta5

v0.5.0-beta4

18 May 17:07
edd3b75
Compare
Choose a tag to compare

Install guide

OS Download
Windows lovely-x86_64-pc-windows-msvc.zip
Mac (Arm) lovely-aarch64-apple-darwin.tar.gz
Mac (x86) lovely-x86_64-apple-darwin.tar.gz

What's Changed

Full Changelog: v0.5.0-beta3...v0.5.0-beta4

v0.5.0-beta3

15 May 20:20
6d0ed95
Compare
Choose a tag to compare

Install guide

OS Download
Windows lovely-x86_64-pc-windows-msvc.zip
Mac (Arm) lovely-aarch64-apple-darwin.tar.gz
Mac (x86) lovely-x86_64-apple-darwin.tar.gz

What's Changed

New Contributors

Full Changelog: v0.5.0-beta2...v0.5.0-beta3

v0.5.0-beta2

24 Apr 14:13
0f97d12
Compare
Choose a tag to compare

What's Changed

  • Fix bad pattern text insert due to Rope byte API use mixup by @ethangreen-dev in #14
    This was causing patch payload insertion offsets to "drift" over time due to the dynamic size of unicode chars. Fixing this entailed replacing a line_to_byte call with line_to_char, which would then be valid for use in subsequent rope mutations.

Full Changelog: v0.5.0-beta1...v0.5.0-beta2