Modules.ini Thread last updated on 2004-05-08 22:01:24

Posted by member 153367 on 2004-05-08 20:33:35

A Quick Simple Question, but the answer to it has eluded me. Is "modules.ini" the old OTS version of "Theme.rc", or is it "theme.ini". I am trying to use a battery wharf module in lsbox and have succesfully been able to create the box, the dll has loaded, but can't seem to get it to read the config file which contains the skin. I've placed the code that the is supposed to be placed in module.ini in the following files:
step.rc
theme.rc (for the running theme)
theme.ini (for the running theme)
bar.bottom.box (for the running theme)

None seem to change the outcome of the meter, this problem is most likely caused by me missing something. but any help would be greatly appreciated.

The installation code appears below:

***************************
* LSBM version 1.0 *
***************************

1. Introduction

What is LSBM? It is a wharf module for Litestep that shows the status of your
laptop battery.

2. Installation

Add LSBM to your wharf using a command similar to the following:
*Wharf "LSBM" .none @C:\litestep\modules\LSBM.dll

No background image is needed.

3. How to use

Add a section to your modules.ini like the following:

[LSBM]
Theme=c:\litestep\modules\lsbm\skin.rc

This is the path to the skin.rc file you want to use. This module comes with 2
skins and has a default skin.
If you do not put this in the modules.ini the module will use its default skin.

A right click will bring up a menu which allows you to put your laptop into
hibernation or shut it down(beware: the shutdown is automatic and does not bring
up the Windows shutdown prompt).
The H-button is also for hibernation and the S-button is for shutdown.

The time left digital readout is in hours and minutes(example: windows will say
1.7 hours left and LSBM will say 1:44, 1 hour 44 minutes).
4. Known Problems

Windows 98 will not show battery time remaining. At least not for me.

5. Bug reports/suggestions

You can email me at crouson@inreach.com with bugs and suggestions or comments.

6. Version History

1.0 - First public release of LSBM.

7. Future Plans

- No plans as of yet, let me know of any ideas you may have.

8. Credits/Thanks

- Thanks to my brother Tom (aka 2toNe) for nagging me until I coded this.

9. Contact

Jeb Crouson (aka TrOgI)
http://home.inreach.com/crouson
email - crouson@inreach.com

Posted by member 1 on 2004-05-08 20:48:54 link

there is a file in your LiteStep Directory called modules.ini. It is an old configuration file that was used long ago. Since then most modules have been moved to the step.rc for their commands, this module just hasn't been updated. Through your settings in there and it should be ok.

Posted by member 153367 on 2004-05-08 20:53:49 link

Thank you, There wasn't a module.ini file but i created it and it works fine. I just assumed that the modules.ini was either phased out or was renamed.

Posted by member 1 on 2004-05-08 22:01:24 link

it was phased out because of how unportable it was for themes.