It is currently December 15th, 2019, 6:29 am

#@#@Resources problem

General topics related to Rainmeter.
dvo
Posts: 657
Joined: February 7th, 2016, 6:08 am

#@#@Resources problem

dvo » October 17th, 2019, 9:31 am

problem loading out of #@#Resources\Variables.inc and #ROOTCONFIGPATH#ColorVariables.inc the #@# doesn't seem to work in a new folder ...
just copy any skin to a new folder you will see what i mean.... if i use @Include="@Resources\Variables.inc" it will work again strange but true...
but i have to change all links that read or writes to @Resources\Variables.inc
and log file is full of faults can't write to ......... because of the #@# in it!

old installed skins doesn't have that problem... but if you copy it to a new folder it will.
getting half of a skin not the actions but still the images..

Rainmeter 4.3.1.3321 (64-bit) win10 latest update 1903
Language: Dutch (1043)
Build time: 2019-09-22 7:26:11
Commit Hash: 0ba4dfc4
Windows 10 Home 1903 64-bit (build 18362) - Dutch (1043)
Path: C:\Program Files\Rainmeter\
SkinPath: C:\Users\Dennis\Documents\Rainmeter\Skins\
SettingsPath: C:\Users\Dennis\AppData\Roaming\Rainmeter\
IniFile: C:\Users\Dennis\AppData\Roaming\Rainmeter\Rainmeter.ini
Last edited by dvo on October 17th, 2019, 10:12 am, edited 1 time in total.
User avatar
Brian
Developer
Posts: 1932
Joined: November 24th, 2011, 1:42 am
Location: Utah

Re: #@#@Resources problem

Brian » October 17th, 2019, 10:06 am

dvo wrote:
October 17th, 2019, 9:31 am
problem loading out of #@#@Resources\Variables.inc
The #@# variable expands to the @Resources folder in the root config folder.

#@#@Resources\Variables.inc is not correct, since that would expand to: @Resources\@Resources\Variables.inc

https://docs.rainmeter.net/manual/variables/built-in-variables/#@
https://docs.rainmeter.net/manual/skins/resources-folder/

-Brian
dvo
Posts: 657
Joined: February 7th, 2016, 6:08 am

Re: #@#@Resources problem

dvo » October 17th, 2019, 10:08 am

brian it where all working skins still are just copied from a other location nothing more .... i could make here a typo but that's normal for me...
that's not explaning 3 skins not working at once... 1 i edited found the workaround but not the soluttion ..sorry i'm struggeling with dyslexia..

made a folder called 'All' put there 3 skins in try to load them got this .... and yes they al worked in the other folders just put them 2 getter.
all other maps where in the root of rainmeter... when they worked.... with some sub folders under that in some...
Last edited by dvo on October 17th, 2019, 10:21 am, edited 1 time in total.
User avatar
Brian
Developer
Posts: 1932
Joined: November 24th, 2011, 1:42 am
Location: Utah

Re: #@#@Resources problem

Brian » October 17th, 2019, 10:19 am

Well I guess you could have a folder structure like this: C:\Users\YourName\Documents\Rainmeter\Skins\YourSkin\@Resources\@Resources\, but I doubt that is the case.

I really suspect that if you remove the "@Resources" portion and leave it as #@#Variables.inc, it will work......assuming your "Variables.inc" file is located in the correct folder (something like C:\Users\YourName\Documents\Rainmeter\Skins\YourSkin\@Resources\)

Your @Resources folder should always be in the "root" config folder...not individual "child" folders.

The #@# variable will only point this: C:\Users\YourName\Documents\Rainmeter\Skins\YourSkin\@Resources\
and will not point to this: C:\Users\YourName\Documents\Rainmeter\Skins\YourSkin\SomeOtherFolder\@Resources\

-Brian
dvo
Posts: 657
Joined: February 7th, 2016, 6:08 am

Re: #@#@Resources problem

dvo » October 17th, 2019, 10:22 am

ALL > skinname > skin folders... and ini file and @Resources
Last edited by dvo on October 17th, 2019, 10:25 am, edited 1 time in total.
User avatar
Brian
Developer
Posts: 1932
Joined: November 24th, 2011, 1:42 am
Location: Utah

Re: #@#@Resources problem

Brian » October 17th, 2019, 10:25 am

dvo wrote:
October 17th, 2019, 10:22 am
ALL > skinname > skin folders... and @ resources
So for this skin config (ALL), the appropriate @Resources folder location is: C:\Users\YourName\Documents\Rainmeter\Skins\All\@Resources\ <--- This is what the #@# variable is expanding to.

NOT: C:\Users\YourName\Documents\Rainmeter\Skins\All\SkinName\SomeFolder\@Resources\

-Brian
dvo
Posts: 657
Joined: February 7th, 2016, 6:08 am

Re: #@#@Resources problem

dvo » October 17th, 2019, 10:26 am

so i have to put all @resources of all skins in one? because all has nothing in it only the sub folders of all skins...

ALL = root
then sub folders: aka calander,time ect in there comes :
@resources
Calander
some.inc
Last edited by dvo on October 17th, 2019, 10:32 am, edited 2 times in total.
User avatar
Brian
Developer
Posts: 1932
Joined: November 24th, 2011, 1:42 am
Location: Utah

Re: #@#@Resources problem

Brian » October 17th, 2019, 10:31 am

dvo wrote:
October 17th, 2019, 10:26 am
so i have to put all @resources of all skins in one? because all has nothing in it only the sub folders of all skins...
Yes. The #@# variable always points to the root config folder's @Resources folder.

So the #@# variable will not work for a folder structure like this: ALL\Skin1\@Resources

It would need to be: All\@Resources\

-Brian
dvo
Posts: 657
Joined: February 7th, 2016, 6:08 am

Re: #@#@Resources problem

dvo » October 17th, 2019, 10:33 am

so i have to put all @resources of all skins in one? because all has nothing in it only the sub folders of all skins...

ALL = root
then sub folders: aka calander,time ect in there comes :
@resources
Calander>> in this sits my ini
some.inc

C:\Users\Dennis\Documents\Rainmeter\Skins\All\Time\Calendar
C:\Users\Dennis\Documents\Rainmeter\Skins\All\Weather
C:\Users\Dennis\Documents\Rainmeter\Skins\All\Weather\@Resources
Last edited by dvo on October 17th, 2019, 10:37 am, edited 1 time in total.
User avatar
Brian
Developer
Posts: 1932
Joined: November 24th, 2011, 1:42 am
Location: Utah

Re: #@#@Resources problem

Brian » October 17th, 2019, 10:36 am

dvo wrote:
October 17th, 2019, 10:33 am
so i have to put all @resources of all skins in one? because all has nothing in it only the sub folders of all skins...

ALL = root
then sub folders: aka calander,time ect in there comes :
@resources
Calander
some.inc
Yes.

Root Config: Documents\Rainmeter\Skins\ALL\
@Resources: Documents\Rainmeter\Skins\ALL\@Resources\

Any use of the #@# variable in any skin under the "ALL" folder (even in the sub folders) will point to the above folder.

-Brian