Old 10-11-2012, 01:26 PM   #1
nfpotter
Human being with feelings
 
Join Date: Feb 2009
Location: Portland, OR, USA
Posts: 1,057
Default Help with theme creation

I have a lot of free time at work (being on hold on the phone), so I decided to try my hand at creating a Reaper theme. I'm using Inkscape.

Using the Default 3 theme, I made a copy of it, renamed it, and then created a PNG to replace tcp_bg. However, my graphic is not showing up in Reaper. What could the problem be?
__________________
"A fly was very close to being called a land, 'cause that's what they do half the time."

-Mitch Hedberg
nfpotter is offline   Reply With Quote
Old 10-12-2012, 11:38 AM   #2
nfpotter
Human being with feelings
 
Join Date: Feb 2009
Location: Portland, OR, USA
Posts: 1,057
Default

Boy, this place has changed. Used to be that you'd usually get some replies within a couple hours, or even minutes.
__________________
"A fly was very close to being called a land, 'cause that's what they do half the time."

-Mitch Hedberg
nfpotter is offline   Reply With Quote
Old 10-12-2012, 11:55 AM   #3
Seventh
Human being with feelings
 
Seventh's Avatar
 
Join Date: Sep 2010
Location: Finland
Posts: 776
Default

Wrong directory? Wrong filename? Wrong format? You ask a question which is pretty hard to answer without having access to your hard drive
Seventh is offline   Reply With Quote
Old 10-12-2012, 12:25 PM   #4
nfpotter
Human being with feelings
 
Join Date: Feb 2009
Location: Portland, OR, USA
Posts: 1,057
Default

Quote:
Originally Posted by Seventh View Post
Wrong directory? Wrong filename? Wrong format? You ask a question which is pretty hard to answer without having access to your hard drive
Lol, yes, I'm aware. However, I'm trying to stimulate some conversation, to maybe GET TO an answer.

The file is named "tcp_bg", just like the original. It's a PNG file, just like the original, and with exactly the same dimensions.

I'm stumped...
__________________
"A fly was very close to being called a land, 'cause that's what they do half the time."

-Mitch Hedberg
nfpotter is offline   Reply With Quote
Old 10-12-2012, 12:47 PM   #5
J3FFR3Y2692
Human being with feelings
 
J3FFR3Y2692's Avatar
 
Join Date: Dec 2010
Posts: 333
Default

Did you make sure to overwrite the original "tcp_bg" file with your new one in the theme zip file? Once you do that you have to drag the new updated theme file into reaper for the update to go through.
J3FFR3Y2692 is offline   Reply With Quote
Old 10-12-2012, 12:57 PM   #6
nfpotter
Human being with feelings
 
Join Date: Feb 2009
Location: Portland, OR, USA
Posts: 1,057
Default

Quote:
Originally Posted by J3FFR3Y2692 View Post
Did you make sure to overwrite the original "tcp_bg" file with your new one in the theme zip file? Once you do that you have to drag the new updated theme file into reaper for the update to go through.
Yes, the new (replacement) file is in the ZIP file, and the ZIP file is in the proper resource directory (checked through Reaper - show resource path).
__________________
"A fly was very close to being called a land, 'cause that's what they do half the time."

-Mitch Hedberg
nfpotter is offline   Reply With Quote
Old 10-12-2012, 03:05 PM   #7
hopi
Human being with feelings
 
hopi's Avatar
 
Join Date: Oct 2008
Location: Right Hear
Posts: 15,618
Default

look through the png's and folders in the theme... is tcp_bg.png found anywhere else?

also... when doing what you are doing, it's good give it a diff name... even just a ver. number added to the name...

and then also in the reaper pref's, themes, see what it being used in both those top fields...

let's say you call your mod... ModXXX.ReaperThemeZip... you want that in both those filds....

my guess is reaper is using the original one for it's images
__________________
...should be fixed for the next build... http://tinyurl.com/cr7o7yl
https://soundcloud.com/hopikiva
hopi is offline   Reply With Quote
Old 10-13-2012, 12:28 AM   #8
rothchild
Human being with feelings
 
Join Date: Oct 2007
Posts: 784
Default

Did you make reaper reload the theme after you'd made your changes? (Ctrl pgUp/Dn)
rothchild is offline   Reply With Quote
Old 10-16-2012, 01:53 PM   #9
nfpotter
Human being with feelings
 
Join Date: Feb 2009
Location: Portland, OR, USA
Posts: 1,057
Default

@ Hopi: yes, all is correct, as you've ask.

@ rothchild: I haven't changed anything while Reaper had the theme open.


All:

I'm still stuck on this. Attached is the PNG I made. Shouldn't it work for tcp_bg?
Attached Images
File Type: png tcp_bg.png (4.4 KB, 232 views)
__________________
"A fly was very close to being called a land, 'cause that's what they do half the time."

-Mitch Hedberg
nfpotter is offline   Reply With Quote
Old 10-17-2012, 09:27 AM   #10
Win Conway
Human being with feelings
 
Join Date: Dec 2010
Posts: 3,826
Default

1st unpack the zip file and delete it (You dont want to be dragging into zips and stuff while you create a theme
2nd rename the extracted folder and theme file
3rd go to themes in Reaper and change to the newly named theme file
4th open prefs in reaper and go to appearance/theme editor and change the image resource folder for that theme to the newly created folder

That should get you started
__________________
Stop posting huge images, smaller images or thumbnail, it's not rocket science!
Win Conway is offline   Reply With Quote
Old 10-17-2012, 11:46 AM   #11
nfpotter
Human being with feelings
 
Join Date: Feb 2009
Location: Portland, OR, USA
Posts: 1,057
Default

Quote:
Originally Posted by gpunk_w View Post
1st unpack the zip file and delete it (You dont want to be dragging into zips and stuff while you create a theme
2nd rename the extracted folder and theme file
3rd go to themes in Reaper and change to the newly named theme file
4th open prefs in reaper and go to appearance/theme editor and change the image resource folder for that theme to the newly created folder

That should get you started
Thanks, but I've already done all of that, and it's still not working.

Did you look at my PNG?
__________________
"A fly was very close to being called a land, 'cause that's what they do half the time."

-Mitch Hedberg
nfpotter is offline   Reply With Quote
Old 10-17-2012, 06:25 PM   #12
Win Conway
Human being with feelings
 
Join Date: Dec 2010
Posts: 3,826
Default



yes i looked at your png, i even loaded it on my theme, it doesn't work properly obviously, but it loads
__________________
Stop posting huge images, smaller images or thumbnail, it's not rocket science!
Win Conway is offline   Reply With Quote
Old 10-17-2012, 08:18 PM   #13
Win Conway
Human being with feelings
 
Join Date: Dec 2010
Posts: 3,826
Default



your pink was wrong, i fixed it, was the wrong shade of pink
Now it works

__________________
Stop posting huge images, smaller images or thumbnail, it's not rocket science!
Win Conway is offline   Reply With Quote
Old 10-18-2012, 10:26 AM   #14
nfpotter
Human being with feelings
 
Join Date: Feb 2009
Location: Portland, OR, USA
Posts: 1,057
Default

How was the pink wrong? I set it at 255, 0, 255.
__________________
"A fly was very close to being called a land, 'cause that's what they do half the time."

-Mitch Hedberg
nfpotter is offline   Reply With Quote
Old 10-18-2012, 06:23 PM   #15
Win Conway
Human being with feelings
 
Join Date: Dec 2010
Posts: 3,826
Default

no idea
i just repainted the pink and it worked
__________________
Stop posting huge images, smaller images or thumbnail, it's not rocket science!
Win Conway is offline   Reply With Quote
Old 10-18-2012, 06:31 PM   #16
karbomusic
Human being with feelings
 
karbomusic's Avatar
 
Join Date: May 2009
Posts: 29,269
Default

Quote:
Originally Posted by nfpotter View Post
How was the pink wrong? I set it at 255, 0, 255.
Do PNGs use an alpha channel? If so, that channel would need to be 255 as well, even 254 would likely render it illegal as true magenta. Magenta is a very popular transparency key color but it does need to be exact to work because code uses the precise color numbers to decide whether to paint that pixel IIRC.
karbomusic is offline   Reply With Quote
Old 10-18-2012, 10:41 PM   #17
Win Conway
Human being with feelings
 
Join Date: Dec 2010
Posts: 3,826
Default

They use an alpha but on that particular theme image the alpha is ignored
__________________
Stop posting huge images, smaller images or thumbnail, it's not rocket science!
Win Conway is offline   Reply With Quote
Old 10-19-2012, 03:09 AM   #18
gofer
-blänk-
 
gofer's Avatar
 
Join Date: Jun 2008
Posts: 11,359
Default

That's pretty weird . All pink pixels seem to be proper pink by the number but yet something must be wrong. I replaced the upper left pixel with a new 255,0,255 and changing that single pixel cured the entire png (edit: nope, the stretch-safe on the left side was still off). Replacing various other pixels (but leaving the upper left corner as is) left the png broken.

Last edited by gofer; 10-19-2012 at 03:15 AM.
gofer is offline   Reply With Quote
Old 10-19-2012, 08:04 AM   #19
nfpotter
Human being with feelings
 
Join Date: Feb 2009
Location: Portland, OR, USA
Posts: 1,057
Default

Yup, pretty weird indeed. As well, I tried a new one yesterday with no pink at all, but still doesn't work.
__________________
"A fly was very close to being called a land, 'cause that's what they do half the time."

-Mitch Hedberg
nfpotter is offline   Reply With Quote
Old 10-19-2012, 08:16 AM   #20
hwhalen
Human being with feelings
 
hwhalen's Avatar
 
Join Date: Jan 2010
Location: Canada
Posts: 1,034
Default

You need to be very careful with the pink lines.
Sometimes a single pixel (depending on editor zoom) may have been altered.
Transparency was the culprit in my case.
It occurred as I added some text to a image.
I could not see the affected pixel.
I solved the issue by; cutting the entire pink zone and then refilling it once again.
__________________
My Music
Noise From My Head
On The Links
hwhalen is offline   Reply With Quote
Old 10-19-2012, 08:42 AM   #21
nfpotter
Human being with feelings
 
Join Date: Feb 2009
Location: Portland, OR, USA
Posts: 1,057
Default

Quote:
Originally Posted by hwhalen View Post
You need to be very careful with the pink lines.
Sometimes a single pixel (depending on editor zoom) may have been altered.
Transparency was the culprit in my case.
It occurred as I added some text to a image.
I could not see the affected pixel.
I solved the issue by; cutting the entire pink zone and then refilling it once again.
Yes, but as I stated above, I made one yesterday with NO pink, and it still won't show up. There MUST be something I'm doing wrong.
__________________
"A fly was very close to being called a land, 'cause that's what they do half the time."

-Mitch Hedberg
nfpotter is offline   Reply With Quote
Old 10-19-2012, 09:06 AM   #22
bradleyfilms
Human being with feelings
 
bradleyfilms's Avatar
 
Join Date: Aug 2008
Location: Cumbria, UK
Posts: 2,255
Default

You could try building your theme piecemeal.
1. Open the theme you're going to use as a base, and call its folder something you'll remember.
Don't use the original file as it will get overwritten whenever you update it.
2. Go to Preferences->Theme editor and point "theme uses image resources from" to the folder you've just created. Call this file something you'll remember, and save it.
Use this new file as your theme.
Put any changed graphics into its folder (created in step 1.)
Watch out for the alpha channel of your graphics (this was your problem with tcp_bg.png up in the top left) it is used and does alter the colours.
For now this should work, but you will need to learn Walter at some stage.
Steve
__________________
Meto ergo psallentes est
bradleyfilms is offline   Reply With Quote
Old 10-19-2012, 09:56 AM   #23
nfpotter
Human being with feelings
 
Join Date: Feb 2009
Location: Portland, OR, USA
Posts: 1,057
Default

Quote:
Originally Posted by bradleyfilms View Post
You could try building your theme piecemeal.
1. Open the theme you're going to use as a base, and call its folder something you'll remember.
Don't use the original file as it will get overwritten whenever you update it.
2. Go to Preferences->Theme editor and point "theme uses image resources from" to the folder you've just created. Call this file something you'll remember, and save it.
Use this new file as your theme.
Put any changed graphics into its folder (created in step 1.)
Watch out for the alpha channel of your graphics (this was your problem with tcp_bg.png up in the top left) it is used and does alter the colours.
For now this should work, but you will need to learn Walter at some stage.
Steve
That's exactly what I've done. It's not working.
__________________
"A fly was very close to being called a land, 'cause that's what they do half the time."

-Mitch Hedberg
nfpotter is offline   Reply With Quote
Old 10-19-2012, 10:56 AM   #24
bradleyfilms
Human being with feelings
 
bradleyfilms's Avatar
 
Join Date: Aug 2008
Location: Cumbria, UK
Posts: 2,255
Default

Quote:
Originally Posted by nfpotter View Post
That's exactly what I've done.
This can't be true. If, where you think the changes you make, and where Reaper thinks the changes are, are the same place then the changes would be made!
Sadly I can't look over your shoulder, or look inside your version of Reaper to see what's happening.
Quote:
It's not working.
Then you're doing something wrong, and it's up to us to work out what it is.
Could you post the file you think is right and let us have a look at it?
Steve
__________________
Meto ergo psallentes est
bradleyfilms is offline   Reply With Quote
Old 10-19-2012, 11:44 AM   #25
nfpotter
Human being with feelings
 
Join Date: Feb 2009
Location: Portland, OR, USA
Posts: 1,057
Default

Quote:
Originally Posted by bradleyfilms View Post
This can't be true. If, where you think the changes you make, and where Reaper thinks the changes are, are the same place then the changes would be made!
Sadly I can't look over your shoulder, or look inside your version of Reaper to see what's happening.
Then you're doing something wrong, and it's up to us to work out what it is.
Could you post the file you think is right and let us have a look at it?
Steve
Sure. Here's another one, minus all pink.
Attached Images
File Type: png tcp_bg.png (4.7 KB, 256 views)
__________________
"A fly was very close to being called a land, 'cause that's what they do half the time."

-Mitch Hedberg
nfpotter is offline   Reply With Quote
Old 10-19-2012, 01:40 PM   #26
hwhalen
Human being with feelings
 
hwhalen's Avatar
 
Join Date: Jan 2010
Location: Canada
Posts: 1,034
Default

OK, took the plunge downloaded the image.
Replaced my image with yours, worked as expected.

IMO, you are either not placing the image in the right place or you are not specifying correctly where to find your images.

I think someone may have mentioned this earlier.

Good luck.
__________________
My Music
Noise From My Head
On The Links
hwhalen is offline   Reply With Quote
Old 10-19-2012, 03:14 PM   #27
bradleyfilms
Human being with feelings
 
bradleyfilms's Avatar
 
Join Date: Aug 2008
Location: Cumbria, UK
Posts: 2,255
Default

Quote:
Originally Posted by nfpotter View Post
Sure. Here's another one, minus all pink.
Excellent, try this, it's yours with the alpha channel removed http://forum.cockos.com/attachment.p...1&d=1350683701.
If you aren't sure what I've done try this one, again the alpha channel has been removed http://forum.cockos.com/attachment.p...1&d=1350684611
Steve
__________________
Meto ergo psallentes est

Last edited by bradleyfilms; 03-28-2013 at 04:51 PM.
bradleyfilms is offline   Reply With Quote
Old 10-23-2012, 10:37 AM   #28
nfpotter
Human being with feelings
 
Join Date: Feb 2009
Location: Portland, OR, USA
Posts: 1,057
Default

Quote:
Originally Posted by bradleyfilms View Post
Excellent, try this, it's yours with the alpha channel removed http://forum.cockos.com/attachment.p...1&d=1350683701.
If you aren't sure what I've done try this one, again the alpha channel has been removed http://forum.cockos.com/attachment.p...1&d=1350684611
Steve
How did you you remove the alpha channel? I'm struggling to find a way to do that using Inkscape.
__________________
"A fly was very close to being called a land, 'cause that's what they do half the time."

-Mitch Hedberg
nfpotter is offline   Reply With Quote
Old 10-23-2012, 06:00 PM   #29
karbomusic
Human being with feelings
 
karbomusic's Avatar
 
Join Date: May 2009
Posts: 29,269
Default

Quote:
Originally Posted by bradleyfilms View Post
Excellent, try this, it's yours with the alpha channel removed http://forum.cockos.com/attachment.p...1&d=1350683701.
If you aren't sure what I've done try this one, again the alpha channel has been removed http://forum.cockos.com/attachment.p...1&d=1350684611
Steve
So it was the alpha after all.
karbomusic is offline   Reply With Quote
Old 10-24-2012, 09:20 AM   #30
bradleyfilms
Human being with feelings
 
bradleyfilms's Avatar
 
Join Date: Aug 2008
Location: Cumbria, UK
Posts: 2,255
Default

Quote:
Originally Posted by nfpotter View Post
How did you you remove the alpha channel? I'm struggling to find a way to do that using Inkscape.
I created a layer behind all the others and filled it black, its transparency was set to 0%. I wasn't using Inkscape, but the principle will be the same.
Steve
EDIT this answer isn't very useful to you as it's a quick and dirty fix. Put your pink (and yellow) layers at the very top, and make sure there is no transparency assigned to them. When working with transparency I usually create a layer at the very bottom, filled with a contrasting colour (I use a nasty bright green) so I can see which parts of the background will show through.
HTH
__________________
Meto ergo psallentes est

Last edited by bradleyfilms; 10-24-2012 at 10:04 AM. Reason: afterthought
bradleyfilms is offline   Reply With Quote
Old 10-24-2012, 10:50 AM   #31
Win Conway
Human being with feelings
 
Join Date: Dec 2010
Posts: 3,826
Default

Quote:
Originally Posted by karbomusic View Post
So it was the alpha after all.
Actually it can't be the alpha channel, Reaper has no Alpha channel on that image, so if indeed the alpha seems to have caused this, it hasn't, it is a bug in Reaper (Removing the alpha would be a workaround)
__________________
Stop posting huge images, smaller images or thumbnail, it's not rocket science!
Win Conway 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 11:22 PM.


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