Need help with defining IconsDir, I am a noob Thread last updated on 2006-01-12 03:44:45

Posted by member 298016 on 2006-01-11 23:57:03

Hi, I've successfully installed newest release candidate of Litestep. It was running fine.
So I installed a few new themes from the "Themes" section of this site by downloading the zipped themes and installing them using the LSthemeinstaller (probably not spelled correctly).

And after the installtion of the themes (I had to download a few modules, and yes, I ended up with duplicate modules of different versions), I start getting errors about the variable "IconsDir" being not defined. It was always the same error, but in different expressions and places (of a config file, I assumed).

The error comes up as a LiteStep::Error and it happens whenever a theme/litestep gets loaded/reloaded.

I've just been ignoring the error for the past few days... but right now, I am experiencing Litestep crashing repeatedly... even right after I re-executed the litestep.exe. But I haven't rebooted yet, I am currently working on something important and I would rather not reboot yet.... but I think the crashes will not reoccure after a reboot.

Right now, I would like to know how I can redefine IconsDir var... I don't know where it is... I can't do a text substring search on the *.rc using explorer.

Thanks for your advice.

Posted by member 298016 on 2006-01-11 23:59:30 link

Oh, also, I should note that the IconsDir var is not define in expressions that contain "*Popup .icon =" ... so I should be suspecting the popup module configs right? I can't edit .rc directly.. they are locked (usually when litestep is being ran).
I think I remmeber seeing multiple modules that contains the words popup or xpopup.

Posted by member 298016 on 2006-01-12 00:05:48 link

Nevermind the crashing, winamp was causing it to crash (a set of shoutcast server went offline and winamp rotates kept on going through the list of offline servers and it usually causes trouble in windows when that happens).

Posted by member 212670 on 2006-01-12 00:25:28 link

Litestep doesn't lock RC files, and they can be edited any time.

In the theme that's causing the variable error, stick this in the theme.rc:

IconDir "$LitestepDir$setup\icons"

Also, there is a final 0.24.7, not just an release candidate.

Posted by member 298016 on 2006-01-12 02:34:02 link

You are right, the rc files are not locked, I was just opening them incorrectly (rlght clicking and choosing edit was incorrect... I had to specify to open it with Notepad)

Adding IconDir "$LitestepDir$setup\icons" in austerity's (my current and default theme) theme.rc didn't work. Neither does adding that line of code in step.rc

Posted by member 212670 on 2006-01-12 02:46:43 link

The "s" is missing in "IconsDir"

My mistake. Should be:
IconsDir "$LitestepDir$setup\icons"

I'm surprised Austerity is doing that, though.

Posted by member 298016 on 2006-01-12 03:16:30 link

Thanks for checking on this again. Adding IconsDir "$LitestepDir$setup\icons" to theme.rc didn't help. But I added that line to step.rc removed all but two undefined IconsDir var errors.

I don't think there is anything wrong with austerity's theme.rc. It came with Litestep, and was working before I started installing all the other themes.

Posted by member 298016 on 2006-01-12 03:19:58 link

wait.. scratch that.. adding the IconsDir "$LitestepDir$setup\icons" line in step.rc fixed all undefined IconsDir errors.. but HelpDir is not defined, and neither is popupsdir (yup, spelled all lower case)

Posted by member 212670 on 2006-01-12 03:44:45 link

I think you should just reinstall Litestep, honestly, and be sure to update to the final build. If Austerity is giving you those errors, it's kind of smelling like a poorly made theme may have done things to your personal files that it shouldn't have.