2014-09-14 18:58:16 -05:00
|
|
|
Recommended Practices when theming for StepMania
|
|
|
|
|
------------------------------------------------
|
|
|
|
|
1) Use the --theme= command line parameter to load StepMania with a specific theme.
|
2011-03-17 01:47:30 -04:00
|
|
|
This way, you don't have to deal with the theme switch and all the possible
|
|
|
|
|
nonsense errors that might come up (due to you having a different amount of
|
|
|
|
|
song group colors, timer warning states, etc.), and you can quickly switch
|
|
|
|
|
themes if you work on many of them at once.
|
|
|
|
|
|
2014-09-14 18:58:16 -05:00
|
|
|
2) When dealing with frame size errors or theme code errors, don't just hide the
|
2011-03-17 01:47:30 -04:00
|
|
|
dialog and pretend they don't exist. Good themers fix these problems instead of
|
|
|
|
|
releasing the theme and saying "oh, just play it in fullscreen mode".
|
|
|
|
|
|
|
|
|
|
If you have hidden the error dialogs, you'll need to modify Preferences.ini.
|
|
|
|
|
Find the IgnoredDialogs= line and remove everything after the = sign. You will
|
|
|
|
|
now recieve the error messages in windowed mode again.
|
|
|
|
|
|
2014-09-14 18:58:16 -05:00
|
|
|
3) While this is not required, having a themeInfo file set up in your theme's
|
|
|
|
|
Scripts directory is a good way to store information about the theme (e.g.
|
|
|
|
|
version number, date, product code, etc.)
|
2011-03-17 01:47:30 -04:00
|
|
|
|
|
|
|
|
An example of a themeInfo script:
|
|
|
|
|
[code]
|
|
|
|
|
themeInfo = {
|
2014-09-14 18:58:16 -05:00
|
|
|
Name = "Theme Name",
|
2011-03-17 01:47:30 -04:00
|
|
|
Version = "v1.0", -- typically a float or string. floats are easier to compare.
|
2014-09-14 18:58:16 -05:00
|
|
|
Date = "20140914 1902",
|
2011-03-17 01:47:30 -04:00
|
|
|
};
|
2010-04-26 11:19:13 -05:00
|
|
|
[/code]
|