It is currently March 29th, 2024, 1:06 pm

Mistake in "Advanced .rmskin Options"

Report bugs with the Rainmeter application and suggest features.
User avatar
Cariboudjan
Posts: 264
Joined: May 12th, 2019, 8:55 am

Mistake in "Advanced .rmskin Options"

Post by Cariboudjan »

https://docs.rainmeter.net/tips/advanced-rmskin-options/
Screenshot 2021-02-14 152855.png
Also while I'm here, using the most recent beta version of Rainmeter, I'm not sure if this information is correct. Variables files values are not being preserved in a Variables files + Merge scenario. The old value is replaced by the new value.

My understanding is that if in the current "MySuite" folder, an INC file exists called "MyINC.inc" containing:

Code: Select all

[Variables]
SomeVariable=1
And in the RMSKIN, a file exists called "MyINC.inc" containing:

Code: Select all

[Variables]
SomeVariable=0
After installing, if MyINC.inc is included in the Variables Files section of the RMSKIN packager and Merge=1, then SomeVariable will still equal 1 after installing the RMSKIN package.

This is not working. The variable equals 0 after install.
You do not have the required permissions to view the files attached to this post.
User avatar
Cariboudjan
Posts: 264
Joined: May 12th, 2019, 8:55 am

Re: Mistake in "Advanced .rmskin Options"

Post by Cariboudjan »

Here is an RMSKIN.

Variables files = BugTest\@Resources\MyINC.inc
Merge=1
SomeVariable=0




1. Install the RMSKIN
2. Change the value of SomeVariable to 1
3. Reinstall the RMSKIN

SomeVariable should stay as 1. It reverts to 0.
You do not have the required permissions to view the files attached to this post.
User avatar
Brian
Developer
Posts: 2674
Joined: November 24th, 2011, 1:42 am
Location: Utah

Re: Mistake in "Advanced .rmskin Options"

Post by Brian »

We just had another thread about this a couple of weeks ago.
https://forum.rainmeter.net/viewtopic.php?f=14&t=36289&p=187428#p187428

We are still evaluating whether this can be fixed or not.

I am going to lock this thread since we have had several threads (and github issues) about this very topic.

-Brian

PS - In the meantime, a change to the docs will be in soon.
User avatar
Brian
Developer
Posts: 2674
Joined: November 24th, 2011, 1:42 am
Location: Utah

Re: Mistake in "Advanced .rmskin Options"

Post by Brian »

The docs have been updated to address this for the moment. If these options become compatible in the future, we will update the docs accordingly.

https://docs.rainmeter.net/manual/distributing-skins/#VariablesFiles
https://docs.rainmeter.net/manual/distributing-skins/#MergeSkins
https://docs.rainmeter.net/tips/advanced-rmskin-options/

-Brian