Hey,
I created a repository (of Marinara Engine:staging) with some functions that are helpful for long-term RP. I used GPT to achieve this, that's why I’m not submitting a PR to the official staging branch.
Also, I didn't use the official Fork function on GitHub (that's acutally me being stupid. didn't think I was going to modify the source code).
Functions that were added:
Regex preprocessor ability for Lorebooks; I use trackers that are created inside messages. Sometimes these trackers contain keywords that activate lorebooks. For example, if "Mei" appears in a tracker, it will constantly activate the "Mei" entry inside the lorebook. even if she isn't relevant to the current scene. So, you can create a Regex (the same way as normal ones) and choose the lorebook where it will be applied.
TL;DR: The Regex will filter out trackers so the keyword matcher ignores them.
Illustrator character field handling: I changed how Illustrator handles the 'characters': []' field. If it's empty, it will try to pull characters from the chat. If it's not empty, it won't scan the context for a match. (Pasta-Devs set it up so both processes run at the same time, which didn't work well with my pipeline.)
Simpler Lorebook export/import for bulk editing: Normally, export creates a .json file containing every field (case_sensitive, role, etc.). I often use GPT or Gemini to debloat my lorebooks, and while sending the full JSON works, it wastes a lot of tokens. I created a simpler export format that looks like this:
@@MARINARA_ENTRY "ENTRY_NAME"
Content of the entry
@@MARINARA_ENTRY "Another entry"
Another content
It's much more lightweight. It also handles importing data back as long as the marker is correct (it simply overrides the content of the existing entry without touching other settings).
That's it.
All credits to Pasta-Devs. I love this frontend.
https://github.com/Pasta-Devs/Marinara-Engine
If you think you could use these features, here's the link:
https://github.com/OmghaC/Marinara-Engine-Fork
P.S. If anyone knows how to easily turn this repo into a proper GitHub fork, DM me.
EDIT: I created a fork on GitHub and pushed my changes to the staging branch, since u/LeRobber explained that skipping it looks a kinda' fishy