Skip to content

Polyfill

Latest release0.13.40
DownloadNexus Mods · Thunderstore · GitHub
RequiresMelonLoader 0.7.3
HelpDiscord · Report a bug

Download: Nexus Mods · Thunderstore · GitHub Releases

Your old mods stopped working after a Schedule I update? Polyfill gets a lot of them running again.

Look them up: polyfill.doomods.com

Over 1,300 mods. Pick your game version and see if a mod runs, which version to use and what players wrote about it.

Still broken? Drop your Latest.log on the mod’s page there.

The game gets an update. Mods made before it stop working. Polyfill patches the game so they run again.

It patches the game, not your mods. Your own files are never changed, and polyfillrestore takes the patch back out.

It cannot save every mod. The index tells you which ones.

Requirements
MelonLoader0.7.3+ - the mod loader
Anything elseNothing
Install
  1. Install MelonLoader 0.7.3 for Schedule I (melonwiki.xyz).
  2. Download Polyfill from Nexus Mods and install it with Vortex. It places both files for you.

Install from the Thunderstore page with r2modman or Gale. It places both files for you.

Download the zip from GitHub Releases and put the files here:

  1. Polyfill.Boot.dll into Plugins/
  2. Polyfill.dll into Mods/

Keep both files installed. The plugin restores compatibility before mods load; the mod runs repairs that need the running game and adds the console commands. MelonLoader ignores the plugin in Mods/.

Needs the developer console enabled in the game’s settings.

polyfill what it found in your mods at startup
polyfilllist every mod, with its verdict
polyfillshow <mod> everything one mod asks for that is missing
polyfillunfixed <mod> only what cannot be pointed at anything
polyfillexport write one file with everything, ready to send
polyfillshare on|off send anonymous reports to the index, or stop
polyfillshare show print exactly what would be sent
polyfillprobe <type> ask the runtime whether a name resolves
polyfillrestore undo every repair, takes effect on the next launch
polyfillregen have MelonLoader build the game's generated assemblies again

After a game update Polyfill notices that MelonLoader rebuilt those assemblies and starts from the new ones. polyfillregen is for the case where it says it cannot find an untouched copy of something: it asks MelonLoader to build the whole set again, which takes a few minutes on the next launch.

The full report is written to UserData/Polyfill/last-run.txt, and the untouched copy of anything it changed sits next to it as <name>.dll.polyfill-orig.

MelonPreferences.cfg, category Polyfill:

  • Enabled - off means nothing is read and nothing is changed
  • DryRun - work out what is missing, write the report, leave the game alone
  • Behaviour behind an unchanged signature. A method that kept its name and now does something else.
  • Reordered enum values used as plain numbers. The compiler erased the type; a 12 is not distinguishable from an array index. It is reported, never rewritten - guessing wrong here writes into your save.
  • A type that moved AND was renamed. .NET type forwarding matches on the name, so it cannot follow ScheduleOne.Weather.X to ScheduleOne.Core.Weather.X.
  • Removed with no successor. A forwarder needs something to point at.
  • Scene and prefab paths. transform.Find("UI/HUD/...") compiles forever and returns null. No rule can find these: they are strings, so nothing reports them and the mod simply does nothing. A named repair for one mod is possible where the old effect is unambiguous - GraphicsMOD’s lighting toggle is one - but that is a hand-written fix per mod, never a rule that keeps paths working.

Everything in that list shows up as a line in the report rather than as a crash.

polyfill.doomods.com lists which mods run on which game version. It is built from reports Polyfill sends, and only if you allow it: Polyfill asks once and sends nothing if you say no.

A report holds your mods with version and author, what was missing and what Polyfill did about it, errors a mod threw and where in its code, and how long you played. Never your name, your save, your folders or the text of an error. The full list: How this works.

Your mod probably has a page on polyfill.doomods.com already:

  • what it is missing on each game version, by name
  • errors from players’ sessions, with the method they came from
  • a live badge for your README or mod page
  • all of it as JSON, no key: API

Want your mod off the list? Ask here.

dotnet build Boot/Polyfill.Boot.csproj -c Release
dotnet build Report/Polyfill.csproj -c Release

Both need DLLs from a Schedule I install that has started once with MelonLoader. Add the two folders to each command:

-p:MelonLoaderPath="<game>/MelonLoader/net6" -p:GameManagedPath="<game>/MelonLoader/Il2CppAssemblies"

The plugin only needs the first one. A build without -p:Version= calls itself 0.0.0-dev.

DooDesch Mods on Discord

Join the DooDesch Mods Discord: update pings, polls on what comes next, and playtests of new mods.

Credits

Schedule I by TVGS. Built on MelonLoader and Mono.Cecil.

This mod is written with help from generative AI tools (Anthropic Claude, OpenAI Codex).