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
- Include patch file origin paths in patch logging messages by @flakywanderer in #89
- feat: add {{lovely:mod_dir}} interpolation by @ethangreen-dev in #95
- fix: replace flawed tolstring impl with tostring lua call by @ethangreen-dev in #96
- updated version of #66 by @asquared31415 in #102
- Add extended patch target support by @ethangreen-dev in #103
- Add a proper window title, fix --disable-mods arg (Windows) by @ethangreen-dev in #104
- feat: log panics in unix by @WilsontheWolf in #112
- Add strict patch file ordering to fix edge-case panics on Unix platforms by @ethangreen-dev in #113
- Add strict patch application order to pattern and regex patches by @ethangreen-dev in #114
- Update README.md path for Steam Deck by @drgrib in #93
- Fix bad file ordering on Windows + Unix by @ethangreen-dev in #117
- chore: bump crate versions to 0.7.0 by @ethangreen-dev in #119
- fix: bad workflow caused by lovely-mac name change by @ethangreen-dev in #120
- fix: change patch dir interp to be backwards compat by @ethangreen-dev in #121
New Contributors
- @asquared31415 made their first contribution in #102
- @drgrib made their first contribution in #93
Full Changelog: v0.6.0...v0.7.0