- C# 98.8%
- Shell 1.2%
| .forgejo | ||
| .vscode | ||
| ContactNotes | ||
| FingergunsPhoto | ||
| LatestLog | ||
| PrivacyShield | ||
| UriStorage | ||
| .editorconfig | ||
| .gitignore | ||
| Directory.Build.props | ||
| Directory.Build.targets | ||
| forgejo-publish.sh | ||
| global.json | ||
| LICENSE.md | ||
| Logo.png | ||
| README.md | ||
| Resonite-Mods.csproj | ||
Resonite-Mods
This repository contains some of my mods for Resonite using MonkeyLoader.
Note that the license is AGPL, meaning you might be obligated to provide the source code (with any modifications you've made) for these mods if someone asks you when you're using them. This is meant to stop people from creating private malicious clients. I may choose to change the license in the future to a more permissive one.
Warning
No warranty is provided for these mods, and they're provided as-is. Please have a look at the source code & build from source for maximal safety. I also recommend mirroring this git repository if you want to make sure you always have access to the source code.
Mod list
If you want the feature enough to get the mod for it, you should probably also go give a thumbs up on the issue tracker if there is one.
- Latest Log (upstream issue not found)
- Privacy Shield (upstream issue not found, closest found: #224)
Latest Log
Creates a symbolic link in the Resonite & MonkeyLoader log folders named Latest.log to the latest log file that was created on launch.
So you can keep following the file (with tail -F Latest.log on linux for example) without needing to constantly change the filename and such.
Also has an option to delete old log files automatically.
Privacy Shield
A few attempts at improving privacy slightly.
The main feature is making all requests (excluding local:// and resdb://) require you granting permission to it, instead of just logix ones. It uses the same domain allowlist/blocklist as the normal logix requests. So no more tracking pixels!
The other semi-sensible feature is spoofing the local timezone. It's disabled by default, and any changes will require a restart.
Also includes a slightly questionable feature, FPS spoofing. Questionable as it might also just break some things, doesn't really protect you, and can be summarized as:
Your scientists were so preoccupied with whether or not they could, they didn't stop to think if they should.
The FPS spoofing allows sensible values (so pick like between 30-60), and disables with anything else (so -1 for example). It doesn't spoof anything other than the Local User's FPS (so dT or the PerformanceMetrics component will leak your real FPS). But it does at least currently provide some privacy from some session user manager type of UIs. I'd kindly ask you to not to try to work around this if you're making tools, at least if your tool isn't opt-in. Since I think that this is a somewhat decent way to opt-out of FPS tracking.
Contact Notes
A proper fleshing out of the initial ContactNotes RML POC mod. Now with:
- proper styling
- changing of where to save, using Uri Storage
- possibility to have datetime in saved filenames.
Fingerguns Photo
Replaces Resonite's janky quick photo capture gesture with one where you make fingerguns picture frame to trigger the camera. Point your index fingers at each other close by, with one thumb facing up and one down, forming a square "frame". Then just pull your hands apart to widen the frame, pressing one of the triggers to take the picture. If you want to cancel, invalidate some of the other fingers or break the "frame" by pointing your hands away from the pose.
Uri Storage
A library mod that allows consumer mods to store files in filesystem/webdav/resrec, using just standard URIs. Basically just an unified interface to allow users to choose how they want to store their things.
For developers
Getting started
The projects use the Remora.Resonite.Sdk, see it's README for docs.
Use the dotnet build command to build.
For example: dotnet build FingergunsPhoto/FingergunsPhoto.csproj to build a single mod in development mode,
or dotnet build -c Release Resonite-Mods.csproj to build all the mods in release mode.
Alternatively you can try to open the folder in Visual Studio, but I cannot provide help for using that. If you do want to improve the situation, do feel free to contribute!
Contacting & contributing
Contact me on the FrooxEngine Modding discord server, elsewhere, and/or possibly send me git patches if you've already written any code that you'd like to get merged.
Also if anyone from the Resonite team is reading this, do feel free to get in touch!
Publishing
dotnet build -c Release Resonite-Mods.csproj
To publish those to a NuGet feed, run something along the lines of:
dotnet nuget push 'bin/Release/*.nupkg' --source lj-resonite
To make a draft Forgejo release with the packages and checksums attached, run:
./forgejo-publish.sh
It uses the Forgejo CLI (fj), which has to be
logged in to the host that origin points at. The tag is the current date, or the argument given.
