Help:Savegame

From Mud and Blood official Wiki
Revision as of 14:56, 10 July 2014 by Bersimon (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

For all titles in the MNB Series, the savegame, also known as your profile, is a file stored locally in your computer (it is not stored online in a server). The savegame contains your profile data, achievements, statistics and progress information. It is important that you learn to take care of it, for its safety is entirely in your hands!

How It Works

The MnB games were created with Adobe Flash (a powerful web authoring application) and as such they utilize its file storage system. When you first load up MnB, your profile will be created in your computer as a file with a .sol extension. Such files are known as Local Shared Objects, or more simply as Flash cookies.

The profile may fail to save, however, if Flash is not configured to allow for enough storage space in your computer. This configuration is done on a per-website basis, with the default being 100 KiB per website, which should be well enough for games such as MnB2 which typically use 1-2 KiB only. However, if you are playing on a games portal such as Kongregate or MochiGames, this space may have already been taken by all the other games that you play on that portal.

You can check your Flash configuration by right-clicking the game, choosing Settings and going to the Local Storage tab. There, you can adjust the disk space slider as needed.

Once saved in your computer, your profile will be loaded every time you play the game, but only when you are playing from the same computer and on the same user account. If you don't know, a user account is that login that you have to perform shortly after turning your computer on in order to gain access to the Operating System (e.g. Windows, Linux, Mac OS X, etc.). If there is no such thing in your system, then you don't have to worry as you only have a single default user account. Please note that, since Flash is a cross-browser application, it doesn't matter which one you play the game on (e.g. Internet Explorer, Firefox, Chrome, Safari, Opera, etc.), you will still be playing with the same profile.

It does matter, however, which website you play from. Remember that thing about Flash's configuration being on a per-site basis? This also applies to how savegames are stored in your computer, which is in a folder with the name of the website you're playing on. Play it on another website and the game will not find your previous profile; rather, it will save a new profile on a different folder. This system protects websites from acessing data from other unrelated websites (which would be a form of theft and a major security breach), but it also causes your savegame to not be automatically available from website to website.

This brings us to learning where exactly are these files being stored and how to transfer them from one website to another.


Location

The exact location varies according to your operating system and website you're playing the game from. Follow the three steps below to find the right folder. After that, you will see a file called mnb21.sol, which is your savegame.

You can make copies of it to have a safe backup of your achievements. Just make sure to keep the copies in a place outside of any of these folders, otherwise anything that happens to delete your profile might delete your copies as well!

You can also transfer your profile from one website to another or even from one computer to another. In this case, at least create a fresh profile on the target website/computer prior to the transfer so that the right directory structure is created.

Ok, it's time to look for that rascal!

1) Locate your system's app data folder

First of all, if you don't know what Operating System is running in your computer, this website here should be able to tell you!

Now, if you don't find any of the folders below, it could be due to the fact that, by default, the OS is configured to hide away its own files and folders. Head over here for a guide on how to change that.

TIP: On Windows systems, you can simply type %appdata% on the address bar and hit enter. This is a system variable that points to the app data folder. On Linux, Mac OS and Unix, you can type a single tilde sign ~ to access your user account's home folder.

Windows 7 / 8 / Vista
C:\Users\[your_username]\AppData\Roaming\
Windows XP
C:\Documents and Settings\[your_username]\Application Data\
Linux / Unix
Users/[your_username]/.
Mac OS
Users/[your_username]/Library/Preferences/


NOTE: For Google Chrome users, the path is entirely different. Use the directions below to get to the settings folder instead of app data:


Chrome on Windows 7 / 8 / Vista
C:\Users\[your_username]\AppData\Local\Google\Chrome\User Data\
Chrome on Windows XP
C:\Documents and Settings\[your_username]\Local Settings\Google\Chrome\User Data\
Chrome on Linux / Unix
Users/[your_username]/.config/chromium/
Chrome on Mac OS
Users/[your_username]/Library/Application Support/Google/Chrome/


2) Locate the Flash storage folder

It will be
Macromedia\Flash Player\#SharedObjects\[unique_key]\
or
Macromedia\Flash Player\macromedia.com\support\flashplayer\sys\
or even
Adobe\Flash Player\#SharedObjects\[unique_key]\
except for Google Chrome users, where it's
Default\Pepper Data\Shockwave Flash\WritableRoot\#SharedObjects\[unique_key]\


NOTE: On systems other than Windows, use forward slashes / instead.


3) Locate the website-specific folder

Mud and Blood 2

mudandblood.net
www.mudandblood.net\mudandblood2.swf\
MochiGames and most other websites (their service has been discontinued, but your old profile will still be here)
games.mochiads.com\c\g\mud-and-blood-2\mudandblood2.swf\
Kongregate
chat.kongregatecom\gamez\0002\1802\live\mudandblood2.swf\
Newgrounds
uploads.ungrounded.net\457000\457810_mudandblood2.swf\
Downloadable (Patch 2.2.3r up to the latest Patch 2.2.7)
localhost\FromMemory\[unique_key]\100\[unique_key].swf\
Downloadable (Patch 2.2.2c)
localhost\
Downloadable (Patch 2.2.1o)
localhost\[path_to_executable]\


Troubleshooting

While for many of us, we have been playing the game for years and never had to worry about our savegames, this is not so for a lot of people. The nature of the Flash storage system itself makes it vulnerable to changes in your computer.

Additionally, because of lax default settings, privacy concerns and the abuse of this facility by many ad networks and websites, Flash cookies have become the target of most current-day system cleanup and privacy guarding utilities (such as CCleaner). They are routinely deleted by anti-malware/anti-spyware packages and even by your browser if you tell it to clear the cache and history.

For this reason, it is important that you keep up-to-date backups of your profile, preferably after each playing session. Nevertheless, the bad happens to all of us, so read below for further help, although in most cases, if your profile has already been deleted, it will be gone for good.

Frequently Asked Questions

My profile is gone / has been deleted / has resetted / is missing! What happened to it?
In all likelyhood, it has really been deleted and the culprit must've been a privacy/cleanup/anti-spyware utility that got rid of it along with a bunch of tracking cookies and temporary files that other websites stored in your system through Flash.
Another possibility is that you yourself have cleared your browser's cache and/or history, which also causes Flash cookies to be deleted. Some browsers or extensions may also give you the option of performing an automatic cleanup on exit. Oh, and you haven't just gone and formatted your PC, have you?
A third possibility is that you've started to play on a different website, which creates a fresh profile. If you go back to playing where you used to, you will find your profile there intact. The same goes for playing on different computers, different system user accounts or switching between the online and download versions of the game. In this case, see the section above for instructions on how to transfer your profile.
Switching browsers generally gives no problems, unless one of them is Google Chrome. Due to the fact that Flash comes prepackaged with it, the folder structure it utilizes is different from the plugin version of other browsers. You will have to manually transfer your savegame between the two locations.
A final, but less likely possibility, is that a recent update to your browser, Flash, your anti-virus/anti-spyware or your OS caused the purging of all cached Internet files. Generally, updates to the game itself do not cause profile loss.
Is it gone for good or can I recover it somehow?
Perhaps you can, although the chances are slim. As soon as possible, try using an undelete utility (such as Recuva, from the makers of CCleaner) to search for lost .sol files.
If you have recently switched computers, began playing on a different website or switched to/from Google Chrome, then all you need to do is go back to where you used to play, or follow the instructions above to transfer your profile to the new location.
How do I prevent this from happening in the future?
First of all, it's worth mentioning that no matter how well you keep your computer, how knowledgeable you are and how precisely tuned are your configurations, there is always the random error or misbehaving update to throw you off. You should always keep backups to make sure you have the last word no matter what happens.
Secondly, you can try configuring your privacy/cleanup/anti-spyware/anti-virus software to whitelist the location where the savegame is kept to prevent it from being deleted. Stop using your browser's clear cache/history function. Instead, use a program such as CCleaner to do so, because aside from being more thorough, it allows the aforementioned whitelisting of specific files.
The screen was black with a Brandenburg message, then I was prompted for a new name. What is this?
This message is displayed when the game detects (or suspects) some form of tampering or cheating. This can be from messing around with the savegame or simply from changing your computer's clock for more than a few hour's time. Your profile is then forcefully reset.
If your computer has recurring timekeeping problems, then try to make sure the clock is always adjusted right before loading up the game.
My game count / statistics / latest ribbons are not saving!
There currently are several individual ribbons which are bugged and thus are not awarded / displayed / functioning properly. Some game stats are also not saved correctly, while others are functioning just fine but in a way you probably don't expect (e.g. waves and experience).
If you quit your games by closing the browser tab, they will be recorded as 0-wave games with no other stats or ribbons awarded. Remember to always use the surrender order to quit a game. Also, finish submitting your score and only close the game tab when you are on the main menu. You can use Bersimon's MnB Util to prevent you from closing the tab or navigating away accidentally.
If the issue extends to your whole profile, it can be the consequence of not having enough storage space, but it can also be from your profile becoming corrupt somehow (likely due bugs in the stat storage). This is an issue that needs closer technical investigation. If your profile is constantly suffering from this, please send a copy of it to us.
I'm switching to a new browser, is there something I should do?
If Google Chrome is not involved, then no, your profile will load the same in both browsers. If it is, then please refer to the savegame locations to transfer your profile between browsers.
I want to format my system / buy a new computer, what do I do?
Follow the instructions above to make a backup of your profile in a place where it won't be accidentally erased, such as a pendrive or an Internet location—after all, you are going to format your hard drive / stop using it entirely. Load up the game on your freshy installed system, create a new profile then close the game. Go ahead and restore your backup to the proper place and you're done.
The game refuses to load my transferred profile!
Make sure the game is closed while you're replacing profiles. Once you load it again, try doing a hard refresh by clicking outside the game area and pressing CTRL+F5. Also try restarting your browser or even your system.
If your profile was from a different game version or website, there is a tiny chance that it won't be compatible. There isn't a definite solution to this, you will simply have to fiddle around or try sending your savegame to us for analysis.

Setting up an automatic backup

Using the information given, you can now auto-backup your save file to a safe location, such as an external USB stick, or just to another folder. Here's how you do it:

  1. Download Everyday Auto Backup from this link and install it. This program doesn't use up very many system resources: in our tests, it ran at ~5,000 K, which isn't much.
  2. Open it up.
  3. Click the blue Add button in the Projects tab. Name it something suitable.
  4. Using the locations given in this article, locate the folder where your .sol file is kept and set that as your Source directory.
  5. Choose where you want to back it up as your Destination directory.
  6. Schedule the backup to take place every hour.
  7. Leave the Overwrite option to only overwrite new files.
  8. Done! Just minimise this, and it'll back up your .sol every hour for as long as you keep it installed.

That should give you all freedom of mind that no matter how much your computer dies, you have a copy of your profile to retrieve. If you're really paranoid, you could even back it up to a folder which then gets backed-up online with a utility such as Dropbox, so you've got even more security.

Alternatively, you can try the Portable Auto-Backup Utility (beta). Please head over to this forum thread for instructions.

Personal tools