Tweaks and Tricks |
This page contains tweaks and tricks for use with Mr. Matt by the more technically oriented crowd (yes, you!). This is no rocket science, but you should at least have basic knowledge how to use Windows: tasks like copying and renaming files, creating folders, text editing and such. This information, describing features not officially supported, is not available in the Mr. Matt Help file or anywhere else. The new items will be added to this page from time to time, and added at the top. Suggestions are welcome. | |
Adding your own graphic sprites As distributed, Mr. Matt allows you to switch between eight different sets of graphic sprites accessible from the [Options | Graphics] menu. You can, however, add any number of sets of graphics schemes to the program. While Mr. Matt is not running, go to the img\big or img\sml subfolder, depending whether you wish to install new "big" or "small" sprites. Note that the folder you've just entered contains subfolders with names like those of various graphics settings. Create a new folder here, for example, Tofu. For starters, copy (not move!) into this new folder all .bmp files from one of the other folders. Note: the name of the new folder will show up in the Graphics menu, so make it look presentable (for example, with the right capitalization). It will be always shown the way you defined it, i.e., it will not be translated into another language when you switch. Now, using a painting program (e.g., Paint Shop Pro?) modify, or replace, any and all files in your new Tofu folder. This can be done while Mr. Matt is running; to see how the changes look on the program screen, just load (or reload) a game. Here are some rules to follow when designing your own sprites:
If you come up with a set of bitmaps you would like to share with other Mr. Matt addicts, I will gladly post your work on the Mr. Matt Web Page (only if I like it enough!), or post a link to your page containing the graphics. You can add your own sounds to these included with the program or downloaded from the Mr. Matt Goodies page. First, go to the wav folder inside the Mr. Matt one, and create a new folder there for your own sounds. Give it some nice name, preferably a single word starting from a capital letter, like Bubba. Then copy (not move!) all *.wav files from the wav\Classic folder to the one just made. You have created a new sound scheme (named "Bubba" in this example). Run Mr. Matt, you will see Bubba appearing in the [Options | Sound] submenu. At this moment your custom sounds are the same as in the Classic scheme. The next step will be substituting the *.wav files in the new folder with ones of your choice. Double-clicking on any or the *.wav icons will play this sound, giving you an idea of where it is used in the game. If you have a .wav file which you would like to use instead, copy it to the new folder giving it the name of the sound you want to replace. Try to use sounds of approximately the same length as the originals. For example, the sound accompanying a falling stone, mm_ston.wav, should be fairly short, about one-tenth of a second; otherwise the effect will not be right. Don't be afraid to experiment: in the worst case you can just delete the newly created folder and things will be back to normal. There is one limitation: the number of sound schemes cannot exceed sixteen; any more will be just ignored. In Windows 98, ME, or XP, you may find quite a few sound files in the windows\media folder. Thousands are available on the Internet. You can also use the Windows Sound Recorder to make your own sounds, although this may take some effort. A good tool to tweak the sounds (cut, shrink, change the loudness) is the shareware program Cool Edit. |
The speed with which Mr. Matt and some other game elements (stones, bombs) move around the screen can be set from the [Options | Speed] menu to Slow, Normal, Fast, or Booster (in the last settings the game sounds are disabled). This, of course, affects most the fast game replay, and to a lesser extent the "manual" gameplaying. The time delays corresponding to these settings can be changed by modifying the [Speed] section of the mrmatt.ini file. Here is how this section looks: | |
[Speed] | Section name |
Speed=3 | Speed setting, from 1 (Slow) to 4 (Booster) |
Slow=180 | Minimum delay between Mr. Matt moves, in milliseconds, for the Slow setting |
Normal=120 | Same, for Normal |
Fast=60 | Same, for Fast |
Booster=10 | Same, for the Booster setting; may be set to as low as 0 |
Multi=40 | This is (approximately) the minimum delay between multiple sound effects following one another; increase it if the sound seems choppy |
You are free to tweak these values to your heart's desire. If you get lost in the process, just delete the offending line (or the whole [Sound] section); when the program runs again, it will rebuild all missing lines using the defaults. Only for the investigative kind (you do not need to know this to play with the settings): To be more exact, the effect of the settings on gameplay speed is a little more complicated than explained above. Sometimes one Mr. Matt move is followed by one or more sound effects. Depending on that, the effective delay may be due to either the chosen speed setting, or by the Multi setting, whichever is greater. For example, if Mr. Matt just eats an apple in the Fast setting, the delay (with the values as shown above) will be 60 ms (because 60 is greater than 40, needed for the apple sound). If, however, Mr. Matt eats an apple and a stone is falling, the delay will be 80 ms: the greater of 60 (move) and 40+40 (eating sound plus stone sound). Got it? Only for the very investigative kind (i.e., Ippotis): Actually, what I said above is not quite true. The delay between sounds is not just the Multi value, but that increased by 1/4 of the current speed setting. In the example above it will not be 40 but (for Fast) 55 ms. You may need this information only if you want to squeeze all the speed your sound card can afford. Some of the visual elements of the program may have their colors changed by modifying the mrmatt.ini file while the program is not running. Look for the section named [Colors] which may look like this: | |
[Colors] | This is the section name |
Menu=Aqua | Background color for drop-down menus |
MenuFont=Navy | Color of the menu font |
MenuSel=Maroon | Color for selected (highlighted) menu items |
MenuSelFont=Lime | Color of the selected menu font |
List=Aqua | Background color for drop-down lists (like in game selection) |
ListFont=Navy | Font color for drop-down lists |
Grid=Maroon | Background color for table grids (like the Hall of Champions) |
GridFont=Yellow | Font color for table grids |
Now feel free to change color names following the '=' sign. The available English color designations are: Black, Gray, Silver, White, Maroon, Red, Navy, Blue, SkyBlue, Aqua, Green, MoneyGreen, Lime, Olive, Teal, Yellow, Cream, Fuchsia and Purple. Note: on 256-color displays (is anyone still using those?) some of these may be shown dithered, which is very ugly! You may also use BtnFace (the current Windows button face color) and Menu (current Windows menu color). If the color name is not recognized (e.g., mistyped), it just will be ignored, and default used instead. There is no option to change the attributes of selected items in grids and drop-down lists: these are defined by your Windows display settings, and there is no easy way for the program to take over. When you next run the program, the new colors will be in effect. Custom menus: Mr. Matt uses custom menus, where the program (as opposed to Windows) decides how they are drawn. This is why you can choose any menu color, or show menus in a language of your choice, regardless of your Windows language settings (very few programs do this!). If, for any reasons, you prefer to have the standard Windows menus instead of custom ones, change the line CustomMenu=1 in the [Global] section to CustomMenu=0. Remember though, that in this setting you cannot run Mr. Matt in a language which requires a font different from that used by your Windows (for example, in Greek on a U.S. version of Windows). This section may be of use to those who run Mr. Matt on very old computers. You may safely ignore it if your system is less than four years old. Mr. Matt loads its graphics files (picture splashes, window backgrounds) from either .jpg or .bmp files, depending on the display your computer uses. Both types of files are provided in the distribution. If your display has 256 colors, .bmp files will be used, as they were specially adjusted for this color depth (standard palette, dithering) and will usually look better in this mode. If your display uses more colors (16-bit depth or more), .jpg files will be used, as they look better in this setting. The .jpg files, however, are compressed and cause a small delay at loading, noticeable if your computer is very slow (say, below 250MHz clock rate). You may want to force the program to show .bmp files, regardless of your display setting. Or the opposite: you may be happy with the way your display system shows .jpg files regardless of display depth, and you may want to use them. Therefore Mr. Matt allows you to override its default choice; this is done by adding a line JPEG=1 or JPEG=0 in the [Graphics] section of mrmatt.ini. This will force the program to use the .jpg format always or never, respectively. Removing that line from the mrmatt.ini file will restore the default way in program chooses the image format. |
Mr. Matt Home |
About Mr. Matt |
Hall of Champions
|
Home: wrotniak.net | Search this site | Change font size |
Posted 1999/02/14; last updated 2006/04/18 | Copyright © 1999-2006 by J. Andrzej Wrotniak |