Darkstar InitModulEx() error Thread last updated on 2003-11-25 04:29:08

Posted by member 84036 on 2003-11-18 15:26:06

Ok, whenever I load the darkstar theme, I get this error:

C:\LiteStep\modules\rainmeter-0.6.dll

Error: Could not find InitModuleEx().

Please confirm that the dll is a Litestep module,
and check with the author for updates.

It's not such a big deal, it still works, but whenever I play a game, it screws up and litestep crashes. Anyone know how I can fix this?

Posted by member 1 on 2003-11-18 16:08:59 link

put rainmeter-0.6 in your C:\LiteStep\modules folder. How much more descriptive could the error be?

Posted by member 99 on 2003-11-19 16:44:26 link

As for the error message, try entering these into the lsxcommand box:
!NetUninstallModule rainmeter-0.6
!NetInstallModule rainmeter-0.6 load rainmeter.dll
!Recycle
It looks like you chose the wrong dll for rainmeter (which you shouldn't have to worry about if the theme is written correctly), and the dll it is trying to load isn't really a litestep module.

For crashing in games, you might try putting a ; at the beginning of the line in theme.rc that says "DesktopOnDisplayChange !Recycle"

Posted by member 182 on 2003-11-19 22:59:13 link

seriously, who the hell wants their theme to recycle on display change o_O

Posted by member 45783 on 2003-11-20 11:30:03 link

Most of the time you have to recycle anyway, because the screen components are at least semi-static, but I'd guess recycling on every rez change would bring problems most of the time. At least if windows are rearranged on recycle (which some themes do to fit the windows automatically on the new-sized desktop), trying to start up Starcraft creates an infinite loop. The game forces a recycle and gives focus to Litestep, which in turn forces a recyle and gives focus to Starcraft, round we go.

I could hear my monitor scream that day. :)

Posted by member 265 on 2003-11-22 08:15:24 link

It shouldn't be possible for a theme to cause a recycle on res. change, not via jDesk anyway.

The default personal.rc specifies
jDeskRecycleOnRezChange false


Thus only users who actually desire this behaviour can specify it, everyone else is spared. :P

Posted by member 265 on 2003-11-22 08:19:33 link

Oh, I wasn't aware of 'DesktopOnDisplayChange' for desktop2.dll. That bites... :|

I wonder, if I added
DesktopOnDisplayChange !none

to personal.rc, would that prevent themes from using this, or are multiple definitions of 'DesktopOnDisplayChange' allowed?

Guess I'll have to try that when I get a chance. :P

Posted by member 7 on 2003-11-23 06:13:35 link

People should !refresh on resolution change, not !recycle.

Posted by member 182 on 2003-11-23 09:28:07 link

ilmcuts: i just tried that, and lsxcommand doesn't move - nor does taskbar change size relative to the new resolution :(

Posted by member 7 on 2003-11-24 05:56:43 link

I suppose those modules need a better !refresh support then. :p Or just wait for *OnRefresh. ;)

Posted by member 37809 on 2003-11-24 07:25:59 link

both ;)

Posted by member 1402 on 2003-11-25 04:29:08 link

Hey, just stumbled by.

Sorry about this, It has cropped up before and I want to fix it. Is it possible to automatically hide everything when playing a game but still keep everything on top the rest of the time. Or should I just ditch the "on top" altogether. What are your preferences.

BTW I've changed the !recycle to !refresh for future releases.

--edit--

I just added !ToggleModules as a hotkey, it's all good now...
I had to change back to !recycle as the theme has to redraw and rearrange the various elements. !refresh either doesn't rearrange or causes an endless loop,so it's back to plan A.