Fields of Mistria Modding & Save Editing Guide – A simple guide to creating your mods and editing your save file! ⭐
Fields of Mistria Modding & Save Editing Guide
The first thing you’ll want to do is grab the UndertaleModTool that works on Fields of Mistria since both games are GameMaker games.
Specifically, you want the “IsSingleFile” version of Bleeding Edge, it doesn’t matter if it’s a debug version or not.
You will want to load your data.win file which is located in the same location as Fields of Mistria on your computer.This is currently the only editing tool available that I know of, but this section may be edited later if there is a better tool!
Access the UndertaleModTool
The first thing you’ll want to do is grab the UndertaleModTool on Github that works on Fields of Mistria since both games are GameMaker games.
You specifically want the “IsSingleFile” version of Bleeding Edge, I chose the fake debug version (if that matters.)
You will want to load your data.win file which is located in the same location as Fields of Mistria on your computer. For me it’s located in: C:\Program Files (x86)\Steam\steamapps\common\Fields of Mistria
This is currently the only modification tool available that I know of, but this section may be modified later if there is a better tool!
Sprite Export
For simplicity, you will export all sprites (images) in the game for editing. We will use a script that is already available in the modding tool called ExportAllSprites.
You can find it under Scripts > ResourceUnpackers > ExportAllSprites.csx. The script will take a while to load and then it will ask if you want to keep the padding (you can click no) and if you want it in subdirectories (press no again)
Subdirectories create a folder for each group of related sprites, making navigating them more confusing than necessary. For search purposes, it’s easier to throw all sprites into a single folder.
If you specifically want to export only a few sprites instead of thousands of images, you can simply search for the sprite name by “Filter by Name…” and click Export All Images individually, but if you need to edit many sprites, it may take longer… Most sprites have very obvious names, for example, all March sprites will show up when you search for March.
After all the images are finished exporting, they are usually saved in the same location as the game installation. They will be stored in a folder called Export_Sprites which is right next to your data.win file.
A little tip: If you want to reduce the size of your folder a bit for search purposes, you probably don’t need any images under *shadow* and *highlight*, which strictly put shadows under sprites and add highlight elements to the UI…
Editing sprites ️
For this section, I recommend using only the software you are comfortable with for image editing.
In this tutorial, I will be using Aseprite which is great specifically for pixel art. You can compile Aseprite yourself on GitHub for free if you don’t want to buy it. If you’re not sure how to compile something, search YouTube for tutorials!
The first thing you’ll want to do is get the sprites you’re specifically editing. The bulk exporter exports around 20,000 images, which is too hard to sort through, so you’ll want to grab only the specific images you’re editing and move them to a new folder. I’ll be editing March for this guide, so I’m looking for *March* in the Export_Sprites folder to pull in all the March images. I then select all the March images and move them to a new folder called “Sprites” on the desktop – I’m only using this name because I’m not sure if the importer requires the naming scheme to be the same as the ones saved in-game with GameMaker.
In Aseprite, I specifically open images that start with *0* and can sort the images by their seasonal variety, for example just because you are editing hundreds of images and only want to start with a small piece. You want to open images that start with 0 because Aseprite will read that as the first frame of the image and try to open every single image related to it, which is what we want for bulk edits.
The first time you try to open all your images in Aseprite (drag them all in) you will be prompted to open all related images, click “Do the same for other files” so you don’t have to click the prompt over, and over and then hit “I agree “.
The first step you’ll want to take to quickly change colors is to change the color mode for all the sprites you’re editing. I changed my color mode to “Indexed” so all the colors in the color palette are tied to the image and easy to change.
The reason I’m indexing the color instead of also using color replacement (Shift+R) is that you’ll most likely be changing the color across multiple images and not just one single image, so it’s a bit easier to index all the colors instead.
The color changer will be faster if you only need to change a single image without borders.
While in Aseprite, press the A button to unlock the color palette, or hover over the small lock icon next to the color palette and press it. You want it to look “unlocked”.
Use the eyedropper tool (shortcut: i,) to select the color you want to change on the sprite. I will choose the basic hair color of March. Aseprite will show that you have a color selected, then scroll down to the color selection option and select the actual color you want.
To speed things up, I have all my hex colors ready to put in a notepad nearby. I just quickly insert whatever values are intended for each part of the sprite and then move on to the next sprite. You’ll need to change the color mode on each sprite, and I find it a little faster to put in one hex color at a time and go back and forth between all the sprites I’m editing.
Once you’ve finished editing all your sprites you can change the color mode back if you want, although I don’t think it’s necessary and the game can still read the images/sprites just fine even though the color mode has been changed.
Import Modded Sprites
Now that you’ve hopefully finished customizing your sprites, you’re ready to import them into the game!
First, I remind you again to back up your original data.win file in case you break something and need to go back. Drag a copy of it anywhere else on your computer and keep it, or simply reinstall the game if you forget this step to get the original file back.
You’ll want to hit Scripts > Resource Repackers > ImportGraphics.csx. Wait a moment and you will be prompted to browse the folder. This is when you load the “Sprites” folder where you edited all your images. They will be delivered quickly!
Then just save the changes (Ctrl+S) or go to File > Save.
At this point, everything is done. Go ahead and launch the game to check if your mod works!
Editing resources and tips
GETTING HELP: Of course, there are a lot of other tools available in UndertaleModTool that are not covered in this guide, I would head to places like r/UnderModders on Reddit or just Google how to use other parts of the tool. Chances are you can also ask questions about the tool on this subreddit, it’s a friendly bunch of people!
SERGIO’S DIALOG TIP: A dialog inside a file called localization.json. This file in the game folder: steamapps\common\Fields of Mistria
Fields of Mistria Modding & Save Editing Guide
COLOR TIP: Some sprites use “Lut” files to change the color of the sprite, such as animals or player hair sprites. Changing their color may only require changing the “Lut” image file attached to it, rather than the actual different hair sprites or animal sprites.
SLOW TIME/FREEZE TIME: You can find the Cheat Engine table that does this on FearlessRevolution, just Google: field of mistria cheat engine
MISSING FEATURE REQUEST: UndertaleModTool doesn’t fully support Fields of Mistria yet, so some aspects of it don’t work properly. You may be able to create issues on Github and request missing features for Fields of Mistria if you want, as UndertaleModTool is still actively being worked on and some features have already been fixed for Fields of Mistria only.
Save editing instructions
This is just a copy and paste of a guide I posted a few days ago on FearlessRevolution and Reddit (so I have my own permission to repost it!!)
How to find the player.json file
Press Win+R and paste %localappdata% (which will open your AppData>Local folder), it’s under the FieldsOfMistria>saves folder in your Local folder. If you have a lot of manual saves like I do, I just go with the last one created under Modified Date.
Don’t forget to backup your player.json file in case you break something.
Editing the player.json file (open in notepad or any text editor you like)
You can edit your inventory by searching for “inventory” in the player.json file:
It goes in square brackets [] after members, which is under “inventory” <–search this empty slot:
{“members”:[],”required_tags”:[]} or it goes next to the same item in the same slot, like
{“members”:[{“gold_to_gain”:null,”inner_item”:null,”infusion”:null,”cosmetic”:null,”animal_cosmetic”:null,”item_id”:”ITEMIDHERE”},{“gold_to_gain” :null,”inner_item”:null,”infusion”:null,”cosmetic”:null,”animal_cosmetic”:null,”item_id”:”ITEMIDHERE”},{“gold_to_gain”:null,”inner_item”:null,” infusion”:null,”cosmetic”:null,”animal_cosmetic”:null,”item_id”:”ITEMIDHERE”},{“gold_to_gain”:null,”inner_item”:null,”infusion”:null,”cosmetic”:null ,”animal_cosmetic”:null,”item_id”:”ITEMIDHERE”},{“gold_to_gain”:null,”inner_item”:null,”infusion”:null,”cosmetic”:null,”animal_cosmetic”:null,”item_id” :”ITEMIDHERE”}],”required_tags”:[]}
Example of a default inventory of 10 blocks:
I have one worn sword and one vegetable soup in my inventory, the rest are empty slots.
“inventory”:[{“members”:[{“gold_to_gain”:null,”inner_item”:null,”infusion”:null,”cosmetic”:null,”animal_cosmetic”:null,”item_id”:”sword_worn”} ],”required_tags”:[]},{“members”:[{“gold_to_gain”:null,”inner_item”:null,”infusion”:null,”cosmetic”:null,”animal_cosmetic”:null,”item_id” :”vegetable_soup”}],”required_tags”:[]},{“members”:[],”required_tags”:[]},{“members”:[],”required_tags”:[]},{“members “:[],”required_tags”:[]},{“members”:[],”required_tags”:[]},{“members”:[],”required_tags”:[]},{“members”: [],”required_tags”:[]},{“members”:[],”required_tags”:[]},{“members”:[],”required_tags”:[]}],
Example of modified stacked inventory:
I have one worn sword and 8 vegetable soups in my inventory, I also added an orange tree to the empty slot.
“inventory”:[{“members”:[{“gold_to_gain”:null,”inner_item”:null,”infusion”:null,”cosmetic”:null,”animal_cosmetic”:null,”item_id”:”sword_worn”} ],”required_tags”:[]},{“members”:[{“gold_to_gain”:null,”inner_item”:null,”infusion”:null,”cosmetic”:null,”animal_cosmetic”:null,”item_id” :”vegetable_soup”}],{“gold_to_gain”:null,”inner_item”:null,”infusion”:null,”cosmetic”:null,”animal_cosmetic”:null,”item_id”:”vegetable_soup”},{“gold_to_gain “:null,”inner_item”:null,”infusion”:null,”cosmetic”:null,”animal_cosmetic”:null,”item_id”:”vegetable_soup”},{“gold_to_gain”:null,”inner_item”:null, “infusion”:null,”cosmetic”:null,”animal_cosmetic”:null,”item_id”:”vegetable_soup”},{“gold_to_gain”:null,”inner_item”:null,”infusion”:null,”cosmetic”: null,”animal_cosmetic”:null,”item_id”:”vegetable_soup”},{“gold_to_gain”:null,”inner_item”:null,”infusion”:null,”cosmetic”:null,”animal_cosmetic”:null,”item_id “:”vegetable_soup”},{“gold_to_gain”:null,”inner_item”:null,”infusion”:null,”cosmetic”:null,”animal_cosmetic”:null,”item_id”:”vegetable_soup”},{“gold_to_gain “:null,”inner_item”:null,”infusion”:null,”cosmetic”:null,”animal_cosmetic”:null,”item_id”:”vegetable_soup”},{“gold_to_gain”:null,”inner_item”:null, “infusion”:null,”cosmetic”:null,”animal_cosmetic”:null,”item_id”:”vegetable_soup”},{“gold_to_gain”:null,”inner_item”:null,”infusion”:null,”cosmetic”: null,”animal_cosmetic”:null,”item_id”:”vegetable_soup”},{“gold_to_gain”:null,”inner_item”:null,”infusion”:null,”cosmetic”:null,”animal_cosmetic”:null,”item_id “:”vegetable_soup”}],”required_tags”:[]},{“members”:[{“gold_to_gain”:null,”inner_item”:null,”infusion”:null,”cosmetic”:null,”animal_cosmetic” :null,”item_id”:”sapling_orange”}],”required_tags”:[]},{“members”:[],”required_tags”:[]},{“members”:[],”required_tags”:[ ]},{“members”:[],”required_tags”:[]},{“members”:[],”required_tags”:[]},{“members”:[],”required_tags”:[]} ,{“members”:[],”required_tags”:[]},{“members”:[],”required_tags”:[]}],
I believe the chest inventories can be located in playerhome.json or farm.json depending on where the chest is, and the items are in “inventory” rather than inventory.
If you’re running a Spring Festival event, you can simply spam flowers into your inventory and win easily. The game counts fake flowers as real.
Editing Gold, Essence, Mana:
If you want to edit the gold, it’s under “gold” (look for it with quotes around it) in your player.json.
You can also modify your essence that is nearby if you want skill points. Search for “essence” (again with quotes.)
Mana is probably below “mana_current” and one fully charged mana is 4.0, keep that in mind if you want to quickly regenerate all your mana without sleeping.
If you want infinite stamina, I recommend spamming a powerful food bowl into your inventory and carrying a ton.
Tip from chubby players on FearlessRevolution for buffs:
Go to the clinic and buy all the buffs you want, use them, then go to player.json under your save and edit your status (a completion time of 9999999 worked for me 2 days into the game):
“status_effects”:[null,{“amount”:1.5000000000000001,”finish”:9999999,”start”:120120,”last_update”:120120,”type”:”speedy”},null,null,null,null,null ,null]
You can probably also stack buff potions in your inventory if you don’t want to visit the clinic regularly, unfortunately, you have to adjust the duration once a day or carry the potions with you.
Thanks for reading our post on Fields of Mistria Modding & Save Editing Guide, make sure always to drop comments, and don’t also forget that suggestions are allowed.