A ResoniteModLoader mod for Resonite that provides a userspace dialog for bulk replacement of references. Find and replace all references pointing to one element with references to another element within a slot hierarchy, with analysis preview and undo support.
Launch the tool via Create New > Editor > Reference Replacement (Mod) in the Dev Create menu.
Reference discovery traverses nested sync members, lists, dictionaries, slot components, and child slots while avoiding duplicate visits. Matches with an incompatible target type are reported but never replaced.
- Install ResoniteModLoader.
- Download the latest
ReferenceReplacement.dllfrom this repo’s Releases page and place it in therml_modsfolder inside your Resonite install (e.g.,C:\Program Files (x86)\Steam\steamapps\common\Resonite\rml_mods). Create the folder if it does not exist. - Launch Resonite and confirm the mod loads via the in-game logs if desired.
- Install the .NET 10 SDK.
dotnet build ReferenceReplacement.slnauto-detects the Resonite install next to this repo, the default Steam Windows path, then the default Steam Linux path. If the game lives elsewhere, pass-p:ResonitePath="/absolute/path/to/Resonite"so the build can findFrooxEngine.dll,Elements.Core.dll,Libraries/ResoniteModLoader.dll, andrml_libs/0Harmony.dll.- Set
CopyToMods=truewhen invokingdotnet buildto copy the compiled DLL into$(ResonitePath)/rml_modsafter each build. - Drop
ResoniteHotReloadLib.dll(andResoniteHotReloadLibCore.dll) into$(ResonitePath)/rml_libsand build with-p:EnableResoniteHotReloadLib=trueif you want the Dev Tool’s Hot Reload Mods panel to reload this mod without restarting Resonite. Leave the property unset on machines without the DLL.
CI provisions the current Resonite assembly set with setup-resonite-env, then runs restore, formatting, build, and tests against those runtime assemblies before publishing a tagged release.