Kitutz / rainmeter

Automatically exported from code.google.com/p/rainmeter
0 stars 0 forks source link

Shared Images #56

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Rainmeter currently requires images to be used by a skin to be in the same
directory as the ini. I propose that we should be able to give a path for
images, and Rainmeter should check the path and the ini directory.

This will allow us to have many configs that use the same images, without
needing multiple copies of the images. It will keep the file size down.

We can already do this with sounds, images is a logical step.

Original issue reported on code.google.com by JMHarris...@gmail.com on 6 May 2009 at 1:20

GoogleCodeExporter commented 8 years ago
Your understanding seems to be wrong. 
You can refer to this skin.
http://customize.org/rainmeter/skins/52686

Original comment by kenz0.sa...@gmail.com on 6 May 2009 at 2:37

GoogleCodeExporter commented 8 years ago
Once again kenz0 you are correct. I thought I had tried every ..\ I could, but I
wasn't thinking about my directory tree correctly. I was only going up one 
level and
needed two. ..\..\ My apologies.

This should work out just lovely now.

Kenz0 would you mind if we talked sometime about some ideas I have. You may be 
able
to tell me what I am not seeing.

Original comment by JMHarris...@gmail.com on 6 May 2009 at 4:57

GoogleCodeExporter commented 8 years ago
Ok,

This is new. I just direct a path to my Image folder with a line to check a sub
directory.
Sanad0-san is correct (as usual :) 
The following is an excerpt from the HUD Vision's Image skin

;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[Variables]
;!!!!!! Define Image Path !!!!!!! path needs a backslash "\" at the end.
ImagePath=C:\Users\Magis Esse\Pictures\
; Define Subfolders (1 = Yes, 0 = NO)
subF=1
; FileFilter
fFilter=*.jpg;*.jpeg;*.png;*.bmp
; Monitor Resolution, example 1280x800 defined "-resize 1280 0"
MonitorResolution=-ratio -rtype lanczos -resize 1280 0
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

; path is define HUD.Vision directory
rainmeter_dir=C:\Program Files\Rainmeter
dir=C:\Program Files\Rainmeter\Skins\HUD.Vision\White

Granted the upper code has already had ImagePath directly to my Images folder
(Pictures), Mepu also kindly added the code to implement subfolder searching 
and viewing

Original comment by evmckay on 6 May 2009 at 5:01

GoogleCodeExporter commented 8 years ago
Yes, he is correct. The problem was, since I am writing with portability in 
mind,
that I didn't have the correct relative path worked out. I guess working late 
into
the night when I should be sleeping is probably to blame.

Original comment by JMHarris...@gmail.com on 6 May 2009 at 5:06

GoogleCodeExporter commented 8 years ago
The reason for a lot of problem such as not working skin is related to the path
specifing. so it is necessary to understand path correctly for the skin maker.
I wrote the article related to it before and you can refer it though the page is
Japanese.
http://www.google.com/translate?js=n&prev=_t&hl=en&ie=UTF-8&u=http%3A%2F%2Fkenz0
.s201.xrea.com%2Fportfolio%2Ftips%2Fpost_11.html&sl=ja&tl=en&history_state0=

Original comment by kenz0.sa...@gmail.com on 7 May 2009 at 11:17