Old 03-27-2020, 02:55 AM   #1
Soulshade
Human being with feelings
 
Soulshade's Avatar
 
Join Date: Aug 2017
Posts: 32
Default Default mcp layout riddle

Hi people!
I'm trying to mod Default 6.0_wt_mod_parts. The code in the mixer section is copied from synkrotron's Simple Six theme and the rest is the original WT's theme.
When i select default layout (or switch from any other theme with the default layout) i get the mess you can see in the image (which is the layout from Simple Six even though there is no such layout in my rtconfig.tx)
.
When i select the layout i created (the only one in my rtconfig.txt) everything gets in position
.
Any idea why this is happening and make my layout the default one?
Attached Images
File Type: png mcp_mess.png (8.1 KB, 393 views)
File Type: png mcp_code.png (11.7 KB, 383 views)
Soulshade is offline   Reply With Quote
Old 03-27-2020, 06:52 AM   #2
White Tie
Pixel Pusher
 
White Tie's Avatar
 
Join Date: Mar 2007
Location: Blighty
Posts: 4,951
Default

Post the rtconfig.txt?
__________________
The House of White Tie
White Tie is offline   Reply With Quote
Old 03-27-2020, 07:47 AM   #3
Soulshade
Human being with feelings
 
Soulshade's Avatar
 
Join Date: Aug 2017
Posts: 32
Default

Quote:
Originally Posted by White Tie View Post
Post the rtconfig.txt?
Sure. Here it is. Mixer section in lines 923 to 971
Attached Files
File Type: txt rtconfig.txt (56.1 KB, 93 views)
Soulshade is offline   Reply With Quote
Old 03-27-2020, 11:33 AM   #4
White Tie
Pixel Pusher
 
White Tie's Avatar
 
Join Date: Mar 2007
Location: Blighty
Posts: 4,951
Default

Remove the lines "Layout "DEFAULT"" and "EndLayout" in there. Layouts are a variation of the base settings, and you don't have any.
__________________
The House of White Tie
White Tie is offline   Reply With Quote
Old 03-27-2020, 12:34 PM   #5
Soulshade
Human being with feelings
 
Soulshade's Avatar
 
Join Date: Aug 2017
Posts: 32
Default

Thank you WT! That did it.
Quote:
Originally Posted by White Tie View Post
Layouts are a variation of the base settings, and you don't have any.
But where does Reaper find the sizes and coordinates of synkrotron's theme? They are not in the rtconfig!

And since you're around ...
Is there a chance that we get an explanation in simple english of every line in the actual rtconfig.txt of v6? Can someone else do this except you?
Soulshade is offline   Reply With Quote
Old 03-28-2020, 05:24 AM   #6
White Tie
Pixel Pusher
 
White Tie's Avatar
 
Join Date: Mar 2007
Location: Blighty
Posts: 4,951
Default

Quote:
Originally Posted by Soulshade View Post
where does Reaper find the sizes and coordinates of synkrotron's theme? They are not in the rtconfig!
That's exactly what all this, the stuff you put in, is:

Code:
set mcp.size				[60 370]
set mcp.extmixer.mode			[0]
set mcp.label				[1 35 58 16 0 0 0 0]
set mcp.label.margin			[0 0 0 0 0.5]
set mcp.label.color			?track_selected [255 255 255] [200 200 200]
set mcp.label.color			?recarm [255 0 0] .
;set mcp.folder				folderstate<0 [58 350 5 5 0 1 0 1] [0 350 5 5 0 1 0 1]
set mcp.fx				[3 18 30 20 0 0 0 0]
set mcp.fxbyp				[34 18 24 20 0 0 0 0]
set mcp.fxlist.margin			[0 0 0 0 0.5]
set mcp.fxin				[24 1 35 16 0 0 0 0]
set mcp.trackidx			[3 1 19 16 0 0 0 0]
set mcp.trackidx.color			?track_selected [255 255 255] [200 200 200]
set mcp.trackidx.font			[6]
set mcp.trackidx.margin			[0 0 0 0 0.5]
set mcp.io				[3 300 23 30 1 1 1 1]
set mcp.recmon				[34 139 21 20 0 0 0 0]
set mcp.mute				[6 116 21 20 0 0 0 0]
set mcp.solo				[34 116 21 20 0 0 0 0]
set mcp.pan				[9 50 45 45 0 0 0 0]
set mcp.pan.color			[0 0 0]
set mcp.pan.fadermode			[1]
set mcp.pan.label			[12 95 39 15 0 0 0 0]
set mcp.pan.label.color			[200 200 200 255]
set mcp.pan.label.font			[2]
set mcp.pan.label.margin		[0 0 0 0 0.5]
set mcp.phase				[6 139 21 20 0 0 0 0]
set mcp.recarm				[29 299 36 24 1 1 1 1]
set mcp.recinput			[4 353 54 14 1 1 1 1]
set mcp.recinput.color			[180 180 180]
set mcp.recinput.font			[1]
set mcp.recinput.margin			[0 0 0 0 0.5]
set mcp.recmode				[4 335 54 16 1 1 1 1]
set mcp.sendlist.margin			[0 0 0 0 0.5]
set mcp.volume.label			[0 165 60 14 0 0 0 0]
set mcp.volume.label.color		[255 255 255]
set mcp.volume.label.font		[-1]
set mcp.volume.label.margin		[0 0 0 0 0.5]
set mcp.volume.fadermode		[-1]
set mcp.volume				[28 180 22 115 0 0 0 1]
set mcp.meter				[10 184 15 83 0 0 0 1]

Quote:
Originally Posted by Soulshade View Post
Is there a chance that we get an explanation in simple english of every line in the actual rtconfig.txt of v6?
The worst way to understand the basics of theming is to start with an existing theme. The very worst way would be to try to do deep edits on the default theme. The Def6 theme is the most complicated theme ever made; script interaction, HiDPI stuff, all layouts using a single set of images, you name it. It makes WALTER look very complicated, which it isn't. WALTER is very simple.

If I were to take the (probably months) of time to do what you're asking, it still wouldn't make sense if you didn't understand all the minutiae of how a theme works in real edge-case situations, and therefore why I'd jumped through all these hoops. These are things the vast majority of themers never worry about, and they make 100% functional themes that their users love.

Trust me, you don't want me to do that. Which is good, 'cause I'm not gonna
__________________
The House of White Tie
White Tie is offline   Reply With Quote
Old 03-28-2020, 05:43 AM   #7
Soulshade
Human being with feelings
 
Soulshade's Avatar
 
Join Date: Aug 2017
Posts: 32
Default

Quote:
Originally Posted by White Tie View Post
That's exactly what all this, the stuff you put in, is:

Code:
.
.
.
I meant where is it getting the messy layout's coordinates. Those are not in the code, neither in the Default 6.0 theme

Quote:
Originally Posted by White Tie View Post
Trust me, you don't want me to do that. Which is good, 'cause I'm not gonna
I do trust you
Soulshade is offline   Reply With Quote
Old 03-28-2020, 05:52 AM   #8
White Tie
Pixel Pusher
 
White Tie's Avatar
 
Join Date: Mar 2007
Location: Blighty
Posts: 4,951
Default

Quote:
Originally Posted by Soulshade View Post
I meant where is it getting the messy layout's coordinates. Those are not in the code, neither in the Default 6.0 theme
This why I tell people to start with a blank text file as their theme, just for an hour or so : Reaper is always there. Everything we do in theming is an adjustment to what Reaper is when naked. Even clear *.* doesn't do what people often expect it to (kill everything), it just kills any changes to what Reaper fundamentally, in the background, always is.

This IS Reaper. Always:

__________________
The House of White Tie
White Tie is offline   Reply With Quote
Old 03-28-2020, 06:08 AM   #9
Soulshade
Human being with feelings
 
Soulshade's Avatar
 
Join Date: Aug 2017
Posts: 32
Default

Thanks for your patience man. And your time!
If i get it right, the answer as to "where" these coordinates are, is that they are hardcoded in Reaper (sorry for the terminology, i'm not a programmer)
Soulshade is offline   Reply With Quote
Old 03-28-2020, 06:20 AM   #10
White Tie
Pixel Pusher
 
White Tie's Avatar
 
Join Date: Mar 2007
Location: Blighty
Posts: 4,951
Default

Its not hardcoded, there is a fallback theme. Do not mess with it.

All these question and more are answered here.
__________________
The House of White Tie
White Tie is offline   Reply With Quote
Old 03-29-2020, 06:58 AM   #11
Soulshade
Human being with feelings
 
Soulshade's Avatar
 
Join Date: Aug 2017
Posts: 32
Default

Ok, now i get it. Thank you for your patience! (and all the other incredible stuff you are creating )
Soulshade 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 07:12 AM.


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