It is currently March 28th, 2024, 9:34 pm

[SOLVED] Monstercat-Visualizer green background

Get help with creating, editing & fixing problems with skins
Freakmeister
Posts: 2
Joined: March 14th, 2017, 5:24 pm

[SOLVED] Monstercat-Visualizer green background

Post by Freakmeister »

I use Monstercat-Visualizer for streaming (this thing).

Image

But I have to use green wallpaper for my desktop now to be abble to add this thing into OBS. Is there a way to change background of Monstercat-Visualizer to green? Here's how default visualizer.ini looks like:

Code: Select all

[Rainmeter]
Group=Spectrum
Update=10

; = IMPORTANT =
; = For configuring the rainmeter skin, right-click the visualizer and click on "Open variables".
; = You can also open the variables.ini file located in:
; = "My Documents\Rainmeter\Skins\Monstercat Visualizer\@Resources"

; Small context menu when you right-click the skin
ContextTitle=" Open settings"
ContextAction=[!ActivateConfig "#ROOTCONFIG#\Settings" "general.ini"]
ContextTitle2=" Toggle background"
ContextAction2=[!ToggleConfig "#ROOTCONFIG#\Background" "Background.ini"]

[Metadata]
Name=Monstercat Visualizer for Rainmeter
Author=marcopixel
Version=1.5.3
License=MIT License
Information=An realtime audio visualizer for Rainmeter similar to the ones used in the Monstercat videos.

[Variables]
; Includes the variables/styles used for the skin.
@include=#@#variables.ini
; Include MeasureGenre and Chameleon for dynamic colors.
@include2=#@#include\Measure#MPMode#.inc
@include3=#@#include\MeasureStyling.inc

[MeasureAudio]
Measure=Plugin
Plugin=AudioLevel
Port=Output
FFTSize=#FFTSize#
FFTOverlap=(#FFTSize#/2)
FFTAttack=#FFTAttack#
FFTDecay=#FFTDecay#
Bands=#BarCountCalc#
FreqMin=#FreqMin#
FreqMax=#FreqMax#
Sensitivity=#Sensitivity#
; Script Factory - generates the bars for the visualizer
[ScriptFactoryBars]
Measure=Script
ScriptFile=#@#scripts\Factory.lua
IncFile=#@#include\MeterBars.inc
Number=#BarCount#
SectionName=MeterBar%%
Option0=Meter
Value0=BAR
Option1=Group
Value1=GroupBarColor
Option2=MeasureName
Value2=MeasureAudioSmoothed{%%}
Option3=X
Value3=(#BarGap#*#ScaleVisualizer#)R
Option4=Y
Value4=(10*#ScaleVisualizer#)
Option5=W
Value5=(#BarWidth#*#ScaleVisualizer#)
Option6=H
Value6=#BarHeight#
Option7=BarOrientation
Value7=Vertical
Option8=Flip
Value8=#FlipVisualizer#
UpdateDivider=-1
; Script Refresher - refreshes the code to apply the changes from the factory
[ScriptRefresher]
Measure=Script
ScriptFile=#@#scripts\Refresher.lua
UpdateDivider=-1
Refreshed=0

; Include the BandMeasures with raw data
@include5=#@#include\MeasureBands.inc

; Include the BandMeasures with smoothed data
@include6=#@#include\MeasureBandsSmoothed.inc

; Include the band meters
@include7=#@#include\MeterBars.inc

[MeterProgressBar]
Meter=Bar
MeasureName=MeasureProgress
BarOrientation=Horizontal
X=(#BarGap#*#ScaleVisualizer#)
Y=(5*#ScaleVisualizer#)R
W=(#CURRENTCONFIGWIDTH#-(#BarGap#*#ScaleVisualizer#)+1)
H=(5*#ScaleVisualizer#)
DynamicVariables=1
SolidColor=0,0,0,55
Group=GroupBarColor
Hidden=#HideProgressBar#
Last edited by Freakmeister on March 14th, 2017, 6:20 pm, edited 1 time in total.
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Monstercat-Visualizer green background

Post by balala »

Freakmeister wrote:But I have to use green wallpaper for my desktop now to be abble to add this thing into OBS. Is there a way to change background of Monstercat-Visualizer to green? Here's how default visualizer.ini looks like:
You probably will have to add to the [Rainmeter] section of your code, the following options:

Code: Select all

[Rainmeter]
...
BackgroundMode=2
SolidColor=4,81,37,150
Don't remove the existing options, just add these new ones. Obviously you can change the color code used into the SolidColor option to get the desired color.
Also because the size of a visualizer skin is always changing, you probably will want to add a SkinWidth and a SkinHeight option to the same [Rainmeter] section. I don't know what values would be the best ones, this will be your job to find out (I can't try the posted code, without knowing the used variables, lua code and needed images or other resources, which you didn't post), but these options will be needed.
Freakmeister
Posts: 2
Joined: March 14th, 2017, 5:24 pm

Re: Monstercat-Visualizer green background

Post by Freakmeister »

Yes! It works. Thank you.
I tried to add this options before, but I guess I added them in wrong section.
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Monstercat-Visualizer green background

Post by balala »

Freakmeister wrote:Yes! It works. Thank you.
I tried to add this options before, but I guess I added them in wrong section.
Yeah, all those options belong to the [Rainmeter] section, can't be added nowhere else.