LCUndefeatableNutcrackerMod

v1.0.1·Updated 2025-01-11

Replace the Nutcracker's music with Undefeatable from Sonic Frontiers!

About this mod Author’s original text

COMPANY-MANDATED MESSAGE:

Pleasant day, employees.

We hope this message finds you well, as we feel the need to deliver it with as forced of a smile as possible. You see, the so-called "Nutcrackers", which have infested the more expensive moons in our catalogue, seem to have changed their approach to psychological warfare. Instead of their usual jolly marching drum music, they have, instead, opted for some sort of hard-rock-metal-thingy.

This is supposedly meant for intimidation, and we must say that the sheer... presence, of the song is indeed quite formidable. So, handle with care, or run. We have a feeling running really fast is a great course of action in this context.

That is all for this message. We hope you stay a great, great asset to the Company.

The Mod

Introduction:

Get ready to beef up your encounters with Nutcrackers, as this rocking Sonic Frontiers song will pile on the pressure!

*Nutcrackers not actually undefeatable.

Creation:

  • Made this to get a bit of practice with smaller C#-only projects again, as well as trying to learn about patching individual methods using Harmony, fixing ambiguous method calls, and not needing to make an entire asset bundle for a single song.
  • I also tweaked some other variables and functionality:
  • The song won't have a doppler effect
  • It can be heard from farther away than usual
  • It will not reset itself upon every shot
  • I did not do these things using Harmony Transpilers (which is probably the more performant solution) as I don't know how they work yet, and want to save learning about them for another project (as well as not wanting to mess with the literal vanilla code too much), so it's all just one Postfix and one bool Prefix right now.
  • I really didn't put much thought into this otherwise (as evidenced by the mod's icon), so there's no configurable customization options yet and likely won't be for a while.

Credits:

  • The song Undefeatable and the game Sonic Frontiers belong to Sega and Sonic Team (probably).
  • Code for loading individual sound files using UnityWebRequests pretty much copied from MoskauNutcracker, as well as the mod being heavily inspired by it.
  • Thanks to this stackoverflow Q&A for helping figure out how to fix the HarmonyLib ambiguous method calls.
  • And thank you for checking out or even downloading this mod!

Install & use Install: BepInEx plugin

  1. The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
  2. Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
  3. Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
  4. Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.

Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.

Dependencies

Install these first, or the mod will not work:

BepInEx-BepInExPack

File & checksum

Filename
LCUndefeatableNutcrackerMod-1.0.1.zip
File size
3.2 MiB