Player Saving Mod

v1.1.0·Updated 2021-06-17

This mod allows you to save your players data when pushing Leave Game. It is then automatically loaded upon starting a new world.

About this mod Author’s original text

Version 1.1 of my Saving mod for Muck

This version currently only saves the player, no world objects, npcs etc yet, as well as no unlocks for now.

What this saves exactly

Inventory, including armor and arrows

Powerups

Stats

Worldseed

----The save file will be located at the same place the game stores it's log file-----

---C:\Users\YOURCOMPUTERSUSERNAME\AppData\LocalLow\Dani\Muck----

How it works

Upon loading in the first time if there is no save file already it will create a "Dummy" file for convenience in code and as a guide/reference for anyone looking at the file. If a save already exists it will load everything from it and do what is needed to setup the player accordingly.

Upon pausing and pushing the "Leave Game" button it will save all the currntly saved info to a new player file. It will take the existing save file, which will be the blank "Dummy" file if you have never saved before, and it will add "Backup" to the file name.

If for some reason you corrupt your save you can rename the backup.

---CHANGELOG---

---1.1.0---

--Major bug fixes, slight code cleanup--

-Fixed bug with item amounts often not loading properly if you have multiple of the same item.

-Fixed armor not actually equipping upon load.

-Cleaned up some code slighty by using Tuples in preperation for world object data. (Thanks for the suggestion Flarfo!)

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_Muck

File & checksum

Filename
Player_Saving_Mod-1.1.0.zip
File size
110.1 KiB