.:( Guide: How to make your theme OTS2 compatible Thread last updated on 2003-11-13 16:07:36

Posted by member 182 on 2003-11-13 09:35:23

First off, that this isn't meant to be a step-by-step guide on how to theme, merely an outline of extra things to look for when coming from OTS1 theming to OTS2.
I recommend using this as a compliment to mojomonkee's tutorial [ http://www.pixelhated.org/ ]

:: Unless your theme absolutely needs a specific module, it's suggested that you use
*NetLoadModule in place of all LoadModule lines.
e.g:
*NetLoadModule popup2-2.1.4

instead of
LoadModule $modulesdir$popup2.dll


:: Be sure to check http://www.shellfront.org/modules to get the correct module name and version of what you want to use.
Then it's merely a matter of copying&pasting the url, cropping out the domain/directory, and removing the file extension.

Be aware that $ModulesDir$ is defined in the root litestep step.rc, so if you *do* choose to include modules with your theme, you'll need to use your own evar ($thememodules$ perhaps)

:: Don't forget to include these lines in your theme.

OTSMajorVersion 2
OTSMinorVersion 0

That denotes that the theme adheres to version 2.0 of the OTS standard.
Currently there is no 2.1 or 1.5 version, but this leaves things open to development.

:: Remember that the theme's .rc should be called theme.rc, and not step.rc as in OTS1.

:: Be sure to look in personal.rc and check what settings you have defined
for lsxCommand and the VWM modules. This will save you trying to set features in your
theme which won't show up on other people's systems.

:: Lastly, instead of a .zip file, the theme should be distributed in a .lsz (renamed zip file) to enable easy installing.

Hope this helps.
Let me know if i've missed anything :)



For the complete outline of the OTS2, check out [ http://o-t-s.sourceforge.net/specification.html ]

Posted by member 1316 on 2003-11-13 13:09:17 link

"Unless your theme absolutely needs a specific module, it's suggested that you use *NetLoadModule in place of all LoadModule lines" You can (and, to be OTS2 compliant, need to) use nlm to load a specific module, and a specific version. you even showed how. just specify the correct version, and you're set.

Posted by member 7223 on 2003-11-13 16:07:36 link

There's an OTS2 minimal theme (popup2 and taskbar; no gfx) here:
http://www.litestep.net/index.php?section=2&action=details&id=343