Skip to content

About

Universal Mod Manager

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

136 Commits

Folders and files

Repository files navigation

Universal Mod Manager

One day, I was installing a mod by replacing a DLL and thought: why can't a mod manager do this for me? I brought this up to my friend Claude, and soon we had UMM.

UMM's Mods tab: a game's load order, with each mod turned on or off and where it came from

Goals

"Like r2modman, but works with everything."

  • Mods applied with UMM are always fully reversible, even patches and installers
  • Handle as many types of mods, launchers, and engines as possible
  • Browse and install mods from Thunderstore, Nexus Mods, GameBanana, and Steam Workshop
  • Detect mod deployment location automatically
  • Manage dependencies and conflicts gracefully
  • Multiple mod profiles
  • Config editor
  • Safe (written in Rust)

How it works

Mods live in UMM's own data folder, never in the game folder. When you press Launch, UMM puts the profile's mods in place, starts the game, waits for it to close, and puts the game folder back exactly as it was. Every change is written to a journal first, so a crash, a power cut or a closed window is undone the next time UMM starts. Uninstalling or reinstalling a game loses nothing: its mods and profiles stay in UMM.

Pressing Launch: UMM deploys the mods and starts the game, then restores the game folder when it exits

Mod loaders that can be pointed at another folder (BepInEx, MelonLoader, SMAPI and most others) keep their mods and settings in a folder for each profile, outside the game, so only a proxy DLL or two ever goes into the game folder.

Features

The Thunderstore tab: packages to install with their dependencies, and an update for one already installed The config editor: a BepInEx mod's settings, each with an input for its type, its range and its default

  • Any game. Add games from Steam, GOG Galaxy or the Epic Games Launcher, or any folder by hand. UMM recognises the engine (Unity, Unreal, GameMaker, Gamebryo/Creation) and drafts a game definition with install rules, which you can edit.
  • Mod sources
    • Thunderstore: browse, install with dependencies, update, pin versions, and share profiles as r2modman-compatible codes and .r2z files.
    • Nexus Mods: browse and download, updates by file group, collections as a checklist, FOMOD installers, nxm:// links.
    • GameBanana: browse, install (checked against GameBanana's checksums) and update.
    • Steam Workshop: browse and subscribe, and turn your subscriptions on or off per profile. Items you add to a profile in UMM are subscribed to only while you play it, and your subscriptions are as they were once the game closes.
    • Files: drop in a zip, 7z, rar or folder. UMM suggests where its files go from what the game folder holds, and you can change it.
  • Mod loaders: BepInEx 5 and 6 (Mono and IL2CPP), MelonLoader, Unity Mod Manager, Shimloader (UE4SS), Lovely, GDWeave, Godot Mod Loader, Return of Modding, Northstar, MIO Mod Loader, Rivet, BepisLoader, SMAPI and me3 (Mod Engine 3, for Elden Ring, Nightreign, Dark Souls III, Sekiro and Armored Core VI, which runs mods made for Mod Engine 2 too). Standalone UE4SS and Interpose work as mods for Unreal games. REFramework works as a mod for Capcom's RE Engine games (Resident Evil, Monster Hunter Rise and Wilds, Devil May Cry 5, Street Fighter 6, Dragon's Dogma 2), with Lua scripts and Fluffy Mod Manager-style natives/ mods. Terraria runs with tModLoader or without it (resource packs only), switchable in the Actions tab, with both Workshops in reach.
  • Games' own mod lists, written while mods are deployed and put back afterwards: Bethesda plugin lists (Morrowind to Starfield), Paradox launchers, Baldur's Gate 3 and Divinity: Original Sin 2, Bannerlord, XCOM 2, Factorio, tModLoader, RimWorld, Oxygen Not Included, Kenshi, Left 4 Dead and Left 4 Dead 2.
  • Loose files where the game reads them: Unreal paks, Cyberpunk 2077 archives and scripts, The Witcher 3 mod and DLC folders, and more.
  • Patches: xdelta, G3M patches and UndertaleModTool scripts for GameMaker games (merged when two mods patch the same file), patcher programs, and WeiDU mods for the Infinity Engine games.
  • Profiles: as many as you like, each with its own mods, load order and launch options.
  • Conflicts: which mod wins each file, before you launch.
  • Protected game files: mods don't replace a game's exe by accident. For a patch that ships a rebuilt one, Allow... in the Files tab (or umm allow-replace) lets that mod replace it; the original comes back when the game closes.
  • Health checks, a config editor for mods' settings, and installer buttons on mod sites.
  • Mods' settings per profile: an .ini, .cfg or .json a mod puts in the game folder is kept for each profile and shows in the Configs tab. Changes the game makes to it while you play are kept for next time.
  • Updates: UMM checks for new versions of itself when it starts and, on Windows, installs them; pre-releases too if you choose.
  • Settings: light or dark theme, a compact density, updates, install buttons on mod sites, and the data folder.
  • Linux: Windows games that Steam runs through Proton.
  • A command-line tool, umm, with the same engine as the app.

Getting started

  1. Download the installer from the releases and run it.
  2. In UMM, + Add from launcher... lists the games Steam, GOG Galaxy and the Epic Games Launcher have installed, a tab for each; pick some. + Add manually... takes any game folder.
  3. Pick a game. Install mods from the Thunderstore, Nexus Mods or GameBanana tabs, or drop files on the window.
  4. Turn mods on or off and drag them to set their order in the Mods tab.
  5. Press Launch. Play. When the game closes, the game folder is clean again.

For a game whose mods need a loader, the Actions tab sets it up: from Thunderstore, with your own BepInEx pack, or the loader the game is known to use (SMAPI for Stardew Valley, me3 for FromSoftware's games, which you install from its releases).

Command line

umm games                         # the games UMM knows, and whether each was found
umm steam add <app id>            # add a Steam game
umm stores                        # games from GOG Galaxy and the Epic Games Launcher
umm game add <folder>             # add any game by its folder
umm import <game> <file or folder>
umm profile show <game>
umm plan <game>                   # what a deploy would do, without doing it
umm launch <game>                 # deploy, play, revert
umm revert <game>                 # put the game folder back
umm doctor <game>
umm self-update [--download]

umm help <command> explains each one.

Where things are

  • Data: %APPDATA%\umm on Windows, ~/.local/share/umm on Linux, or the folder UMM_DATA names. Each game's definition, mods, profiles and runtime folders are in games/<game>/. Settings › Data folder in the app (or umm move-data <folder>) moves it: keep it on the drive your games are on, where mods are linked into the game folder rather than copied at every launch.
  • Game definitions are TOML (games/<game>/game.toml), commented and meant to be edited.
  • Upgrades: a newer UMM upgrades an older data folder when it opens it, after copying its records to migration-backups/. An older UMM refuses a newer folder rather than misread it.

Linux

UMM runs on Linux for Windows games that Steam runs through Proton. Plugin lists, ini settings and user folders are the ones in the game's Proton prefix. The game always starts through Steam. Some things need a step in Steam: a loader that replaces a Windows DLL needs WINEDLLOVERRIDES in the game's launch options, and SMAPI needs Steam to start it. me3 starts FromSoftware's games through Proton itself. UMM's session log says exactly what to add. Native Linux games are not supported yet, nor are games run through Heroic or Lutris.

Not yet checked on real games

These work in tests and with copies of game folders, but haven't been tried for real:

  • SMAPI with Stardew Valley.
  • Cyberpunk 2077 and The Witcher 3 mods in the real games.
  • REFramework and its mods in the real RE Engine games.
  • me3 with the real FromSoftware games, on Windows and Linux.
  • Games added from the Epic Games Launcher (GOG was checked).
  • The mod lists of Baldur's Gate 3, Divinity: Original Sin 2, Oxygen Not Included, Kenshi, Bannerlord, XCOM 2 and Left 4 Dead 2.
  • Bethesda plugin lists in a real Bethesda game.
  • Linux and Proton on a real Linux PC or Steam Deck.

If you try one, please open an issue and say how it went. Copy diagnostics in a game's Health tab copies what helps: UMM's version, the game's definition and health, and the end of UMM's log (logs/umm.log in the data folder).

Building

Rust (stable) is all it takes: the app's interface is plain HTML, CSS and JavaScript, with no npm step.

cargo build --release -p umm-cli      # the umm command
cargo build --release -p umm-app      # the app
cargo test --workspace

A development build (a debug build, or one run from Cargo's target folder) never checks for or installs updates. Run it with UMM_DATA set to a folder of its own, so it doesn't share an installed UMM's data: a newer installed UMM may upgrade that folder past what the development build can read.

Installers come from Tauri's bundler (cargo install tauri-cli, then cargo tauri build in crates/umm-app). On Linux the app needs WebKitGTK (libwebkit2gtk-4.1-dev and friends, as for any Tauri app).

The pictures in this README are of the interface with sample data. node crates/umm-app/ui-preview/readme-images.mjs takes them again, into docs/images (it needs Node 22, Edge or Chrome, and ImageMagick).

About

Universal Mod Manager

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages