hello how are you guys doing, i have downloaded a skin called GAMEHUB
and i have created a layout and added a horizontal icon meter and i want to put it in the right side of my screen and when i add somthing it adds to the left and not to the right
any tips ?
this is how it looks (when i add an icon it goes to the right of the meter wich will be offscreen, i just want to reverse that)
It is currently April 25th, 2024, 5:42 pm
reversing a skin
-
- Posts: 14
- Joined: January 15th, 2020, 1:33 pm
reversing a skin
Last edited by ibrakad on January 16th, 2020, 8:24 pm, edited 1 time in total.
-
- Rainmeter Sage
- Posts: 16169
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: reversing a skin
Using relative positioning of the meters, is much easier to place the newly added meter on the right side of the last meter. You have to use the a X=0R option.
However not knowing the code it is hard to say something smarter than this, so please post a link of the skin in cause as well as your modified code.
-
- Posts: 14
- Joined: January 15th, 2020, 1:33 pm
Re: reversing a skin
this is the skin link https://www.deviantart.com/not-finch/art/GameHUB-launcher-2-for-Rainmeter-785369648
this is my custom layout
Code: Select all
[Display1]
Layout=vertical.inc
LoadMeter={'spectrum_meter.inc'}
SkinHeight=0.725
SkinX=0.01
SkinY=0.1
List=list_game.inc
Space=5
ColumnSpace=5
Columns=5
ScrollSpeed=0.1
ScrollDivider=8
Transition=5
IconSolid=255,255,255,100
IconTint=0,0,0,155
HighlightColor=0,0,0,80
IconScale=0.7
BannerWidth=(#DisplayWidth#*0.1945)
BannerHeight=(#DisplayHeight#*0.3600)
Update=15
ClickThrough=0
CoverAspectRatio=2
StaticBackground=0
Keyboard=1
Gamepad=1
LaunchAction=[!CommandMeasure Animation "launch_effect()"]
[Display2]
Layout=horizontal.inc
LoadMeter={'icon_meter.inc'}
SkinWidth=0.96
SkinX=0.021
SkinY=0.85
List=list_game.inc
Space=0
RowSpace=0
Rows=1
ScrollSpeed=0.1
ScrollDivider=8
Transition=5
IconSolid=255,255,255,100
IconTint=0,0,0,155
HighlightColor=0,0,0,80
IconScale=0.7
BannerWidth=(#DisplayWidth#*0.04)
BannerHeight=(#DisplayWidth#*0.04)
Update=15
ClickThrough=0
CoverAspectRatio=2
StaticBackground=0
[Background]
Layout=acrylic.inc
List=list_game.inc
SkinX=0
SkinY=0
SkinWidth=1
SkinHeight=1
DynamicBackground=0
Delay=500
ClickThrough=0
Title=1
TitleX=(#DisplayWidth#*0.35)
TitleY=(#DisplayHeight#*0.8)
FontSize=50
FontColor=255,255,255
Font=Source Sans Pro ExtraLight
CloseButton=1
ImageTint=10,10,10
-
- Rainmeter Sage
- Posts: 16169
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: reversing a skin
I have no idea what is this. It doesn't look at all as a Rainmeter layout. A such layout looks something like this:ibrakad wrote: ↑January 15th, 2020, 2:27 pmCode: Select all
[Display1] Layout=vertical.inc LoadMeter={'spectrum_meter.inc'} SkinHeight=0.725 SkinX=0.01 SkinY=0.1 List=list_game.inc Space=5 ColumnSpace=5 Columns=5 ScrollSpeed=0.1 ScrollDivider=8 Transition=5 IconSolid=255,255,255,100 IconTint=0,0,0,155 HighlightColor=0,0,0,80 IconScale=0.7 BannerWidth=(#DisplayWidth#*0.1945) BannerHeight=(#DisplayHeight#*0.3600) Update=15 ClickThrough=0 CoverAspectRatio=2 StaticBackground=0 Keyboard=1 Gamepad=1 LaunchAction=[!CommandMeasure Animation "launch_effect()"] [Display2] Layout=horizontal.inc LoadMeter={'icon_meter.inc'} SkinWidth=0.96 SkinX=0.021 SkinY=0.85 List=list_game.inc Space=0 RowSpace=0 Rows=1 ScrollSpeed=0.1 ScrollDivider=8 Transition=5 IconSolid=255,255,255,100 IconTint=0,0,0,155 HighlightColor=0,0,0,80 IconScale=0.7 BannerWidth=(#DisplayWidth#*0.04) BannerHeight=(#DisplayWidth#*0.04) Update=15 ClickThrough=0 CoverAspectRatio=2 StaticBackground=0 [Background] Layout=acrylic.inc List=list_game.inc SkinX=0 SkinY=0 SkinWidth=1 SkinHeight=1 DynamicBackground=0 Delay=500 ClickThrough=0 Title=1 TitleX=(#DisplayWidth#*0.35) TitleY=(#DisplayHeight#*0.8) FontSize=50 FontColor=255,255,255 Font=Source Sans Pro ExtraLight CloseButton=1 ImageTint=10,10,10
Code: Select all
[MySkin]
Active=1
WindowX=100.00000%
WindowY=209
AnchorX=R
ClickThrough=0
Draggable=1
SnapEdges=1
KeepOnScreen=1
AlwaysOnTop=0
- Active - tells which skin of the config is loaded.
- WindowX and WindowY - establish the location of the skin on the screen.
- ClickThrough, Draggable, SnapEdges, KeepOnScreen, AlwaysOnTop and others as well, which specify some settings of the skin.
So first question: where have you that layout from?
-
- Posts: 14
- Joined: January 15th, 2020, 1:33 pm
Re: reversing a skin
yeah i know that , thats why i did not know how to edit this skin codingbalala wrote: ↑January 15th, 2020, 4:42 pm I have no idea what is this. It doesn't look at all as a Rainmeter layout. A such layout looks something like this:Code: Select all
[MySkin] Active=1 WindowX=100.00000% WindowY=209 AnchorX=R ClickThrough=0 Draggable=1 SnapEdges=1 KeepOnScreen=1 AlwaysOnTop=0
if u download the skin and try to edit one of the layouts the skin creator made you will see its the same as the code of my custom one (i combined 2 of the premade layouts and edited the sizing)
-
- Rainmeter Sage
- Posts: 16169
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: reversing a skin
You don't know how to edit the code of a skin? Have I understood well?
You can edit such a code into any text editor program (Notepad or Notepad++ for instance, but others are same well). Just right click a skin and click Edit skin in the context menu. The code opens into the default text editor, letting you to edit it.
If you're talking about the config.inc files included into most configs (GameHUB 2\Background\config.inc, GameHUB 2\Display1\config.inc and so on), these files are not layouts, but files included into the appropriate skin's code (through the @Include2=config.inc option of the [Variables] section of most .ini files). These config.inc files store a lot of variables, used into the appropriate skins. See that all of them have only one single section named [Variables], which indicates this fact, that those sections are storing variables, used somewhere in the skin. Don't combine these files, doesn't get anything useful. Again, they are no layouts!
The package have no included layouts at all.
-
- Posts: 14
- Joined: January 15th, 2020, 1:33 pm
Re: reversing a skin
i know how to edit a code I meant this skin coding is a bit weird
if you right click anywhere in the skin u can open the layout file (thats what the creator call it)
Last edited by ibrakad on January 15th, 2020, 6:04 pm, edited 1 time in total.
-
- Rainmeter Sage
- Posts: 16169
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: reversing a skin
No, it's not. Me at least don't see anything weird.
What are you opening if you right click the skin (then click Edit skin) is the code of the skin itself. This operation doesn't open the code of a layout. You may open such a layout trough a right click to Rainmeter's icon in the Notification Area, then a click to Edit settings. This is a layout!
How different authors are naming different things is completely up to them, but this definitely isn't a correct terminology, from the point of view of Rainmeter.
-
- Posts: 14
- Joined: January 15th, 2020, 1:33 pm
Re: reversing a skin
sry about that i was meaning the skin code when i was saying layoutbalala wrote: ↑January 15th, 2020, 5:57 pm What are you opening if you right click the skin (then click Edit skin) is the code of the skin itself. This operation doesn't open the code of a layout. You may open such a layout trough a right click to Rainmeter's icon in the Notification Area, then a click to Edit settings. This is a layout!
How different authors are naming different things is completely up to them, but this definitely isn't a correct terminology, from the point of view of Rainmeter.
anywaysibrakad wrote: ↑January 15th, 2020, 2:27 pm this is my custom skin codeCode: Select all
[Display2] Layout=vertical.inc LoadMeter={'spectrum_meter.inc'} SkinHeight=0.725 SkinX=0.01 SkinY=0.1 List=list_game.inc Space=5 ColumnSpace=5 Columns=5 ScrollSpeed=0.1 ScrollDivider=8 Transition=5 IconSolid=255,255,255,100 IconTint=0,0,0,155 HighlightColor=0,0,0,80 IconScale=0.7 BannerWidth=(#DisplayWidth#*0.1945) BannerHeight=(#DisplayHeight#*0.3600) Update=15 ClickThrough=0 CoverAspectRatio=2 StaticBackground=0 Keyboard=1 Gamepad=1 LaunchAction=[!CommandMeasure Animation "launch_effect()"] [Display1] Layout=horizontal.inc LoadMeter={'icon_meter.inc'} SkinWidth=0.96 SkinX=0.021 SkinY=0.85 List=list_game.inc Space=0 RowSpace=0 Rows=1 ScrollSpeed=0.1 ScrollDivider=8 Transition=5 IconSolid=255,255,255,100 IconTint=0,0,0,155 HighlightColor=0,0,0,80 IconScale=0.7 BannerWidth=(#DisplayWidth#*0.04) BannerHeight=(#DisplayWidth#*0.04) Update=15 ClickThrough=0 CoverAspectRatio=2 StaticBackground=0 [Background] Layout=acrylic.inc List=list_game.inc SkinX=0 SkinY=0 SkinWidth=1 SkinHeight=1 DynamicBackground=0 Delay=500 ClickThrough=0 Title=1 TitleX=(#DisplayWidth#*0.35) TitleY=(#DisplayHeight#*0.8) FontSize=50 FontColor=255,255,255 Font=Source Sans Pro ExtraLight CloseButton=1 ImageTint=10,10,10
i just saw them , im only interested in GameHUB 2\Display1 its the icon bar in the skin thats the bar i want to reversebalala wrote: ↑January 15th, 2020, 5:17 pm If you're talking about the config.inc files included into most configs (GameHUB 2\Background\config.inc, GameHUB 2\Display1\config.inc and so on), these files are not layouts, but files included into the appropriate skin's code (through the @Include2=config.inc option of the [Variables] section of most .ini files). These config.inc files store a lot of variables, used into the appropriate skins. See that all of them have only one single section named [Variables], which indicates this fact, that those sections are storing variables, used somewhere in the skin. Don't combine these files, doesn't get anything useful. Again, they are no layouts!
(back to the first post on this topic)
again im sorry about the misunderstanding that happend
-
- Rainmeter Sage
- Posts: 16169
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: reversing a skin
Ok, let's return to the original question now.
I'm not sure I can follow. In the original code there are four icons (Insurgency, ...). You'd like to add further ones? Or what does mean "bar" and what "reverse"?
Don't worry, no problem, it happens many times. Just had to clarify the notions first.