Old 09-28-2017, 06:57 AM   #1
quadrifoglio
Human being with feelings
 
quadrifoglio's Avatar
 
Join Date: May 2011
Posts: 42
Default Need help with layout edit...

Hello everyone,

I am editing stock theme, I simply want to add more Fader colors, for example yellow and green, so I made PNG files, then placed them into their folders inside Session folder inside V5 theme, and edited rtconfig.txt to add de and df lines for new colors like this:

Layout "db --- Session Mixer Black Fader" "session/black"
set mcp.volume .
set mcp.volume.color [255 255 255]
EndLayout

Layout "dc --- Session Mixer Red Fader" "session/red"
set mcp.volume .
EndLayout

Layout "dd --- Session Mixer Blue Fader" "session/blue”
set mcp.volume .
EndLayout

Layout "de --- Session Mixer Yellow Fader" "session/yellow”
set mcp.volume .
EndLayout

Layout "df --- Session Mixer Green Fader" "session/green”
set mcp.volume .
EndLayout
EndLayout

But this simply does not work. When I add more lines, de and df for example here, it just does not show them in layout list, and everything just messes up.

How to make this work?
quadrifoglio is offline   Reply With Quote
Old 09-28-2017, 07:16 AM   #2
White Tie
Pixel Pusher
 
White Tie's Avatar
 
Join Date: Mar 2007
Location: Blighty
Posts: 2,820
Default

That all looks fine, I'm fairly sure your problem isn't there.

A screenshot of what 'everything just messes up' looks like would likely help narrow down where the trouble is, it'll be some little thing somewhere, no doubt
__________________
The House of White Tie
White Tie is offline   Reply With Quote
Old 09-28-2017, 07:38 AM   #3
quadrifoglio
Human being with feelings
 
quadrifoglio's Avatar
 
Join Date: May 2011
Posts: 42
Default

Nothing is wrong with the theme when I make those changes, nothing to take screenshot of.

If I add like this everything works fine:

Layout "db --- Session Mixer Black Fader" "session/black"
set mcp.volume .
set mcp.volume.color [255 255 255]
EndLayout

Layout "dc --- Session Mixer Yellow Fader" "session/red"
set mcp.volume .
EndLayout

Layout "dd --- Session Mixer Green Fader" "session/blue"
set mcp.volume .
EndLayout

Layout "de --- Session Mixer Red Fader" "session”
set mcp.volume .
EndLayout

Layout "df --- Session Mixer Blue Fader" "session“
set mcp.volume .
EndLayout
EndLayout

I get new Layout names in the list, and that is good. But, as you can see nothing is happening because I used "session" for Blue and Red in this case, so it shows just the Silver fader.
The problem is when I add "session/red" or "session/blue", then layout names disappear from the list, no matter I have those folders inside theme 'session' folder.

There is no logic in this, but that is what is happening.
quadrifoglio is offline   Reply With Quote
Old 09-28-2017, 09:12 AM   #4
quadrifoglio
Human being with feelings
 
quadrifoglio's Avatar
 
Join Date: May 2011
Posts: 42
Default

Here is screenshot with this setup:



Layout "db --- Session Mixer Black Fader" "session/black"
set mcp.volume .
set mcp.volume.color [255 255 255]
EndLayout

Layout "dc --- Session Mixer Red Fader" "session/red"
set mcp.volume .
EndLayout

Layout "dd --- Session Mixer Blue Fader" "session/blue"
set mcp.volume .
EndLayout

Layout "de --- Session Mixer Green Fader" "session"
set mcp.volume .
EndLayout

Layout "df --- Session Mixer Yellow Fader" "session"
set mcp.volume .
EndLayout
EndLayout


The list is ok, just it does not show yellow and green faders because I did not add "session/folder".
But when I add folder I get this:



Layout "db --- Session Mixer Black Fader" "session/black"
set mcp.volume .
set mcp.volume.color [255 255 255]
EndLayout

Layout "dc --- Session Mixer Red Fader" "session/red"
set mcp.volume .
EndLayout

Layout "dd --- Session Mixer Blue Fader" "session/blue"
set mcp.volume .
EndLayout

Layout "de --- Session Mixer Green Fader" "session/green"
set mcp.volume .
EndLayout

Layout "df --- Session Mixer Yellow Fader" "session/yellow"
set mcp.volume .
EndLayout
EndLayout

Sometimes I also get this:

quadrifoglio is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 12:19 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.