|
|
#1 |
|
Major Dude
(Reviewer) Join Date: Aug 2002
Location: South Florida
Posts: 1,387
|
Hello skinners, it seems I have come across a way to color theme fonts, both bitmap and TTF. It's not easy though, and Winamp might have this fixed in the next public build, so it's up to you to decide if you want to go through the hassle.
The key element here is the "General" gammagroup. ThePlague pointed out this group to me. This gammagroup will color EVERYTHING, including all fonts, with the values you specify. To start, create the gammagroup "General" with the value you want for the fonts: code: Then to get everything else back to it's normal color, you have to cancel out the values in "General" with opposite values: code: You have to do this for every gammagroup, including system ones (search for "gammagroup" in *.xml files in the WACS folder to find all of the system gammagroups). You then use the cancelled values as your starting point to get the color you actually want. Following the example above, let's say you actually wanted the gammagroup "player.metal" to have a value of "1000, -500, 2000", it would come out like this: code: The only side effect I've found so far is that this method colors EVERY font throughout the skin. You cannot specify a specific font color for a specific font. Hope this helps some of you out!
|
|
|
|
|
|
#2 |
|
Major Dude
|
heres a pretty good list of the system's gammagroups i just threw together, so i might have missed some:
Titlebar Font Button Fonts Display Fonts Backgrounds Display Backgrounds Tree Color Scrollbar Backgrounds Scrollbar Buttons Buttons Checkboxes and Radio Buttons Menus Titlebars Sliders Backgrounds Text Published: OvalAmp | Scythe | Simple Amp(code) | PAD(code) | Classix10k | LayerONE (code) WIP: Aeschere | Manta | Winamp 5 SingleGUI Need some help? How to write a MAKI script | Custom Vis Script | Add a Notifier to Your Skin |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Feb 2003
Location: canada, eh?
Posts: 296
|
wow! i never even knew such a bug existed
i'll keep this tip in mind
|
|
|
|
|
|
#4 |
|
Forum King
Join Date: Aug 2001
Location: Perth, Australia MSN: mcbriar@ii.net Posts: All your posts are belong to me!!!!
Posts: 2,607
|
maybe this should have been posted in the tips & tricks thread?
![]() |
|
|
|
|
|
#5 |
|
Major Dude
(Reviewer) Join Date: Aug 2002
Location: South Florida
Posts: 1,387
|
That would have been the smart thing to do, huh?
![]() I'll go put it there... |
|
|
|
|
|
#6 |
|
Major Dude
(Reviewer) Join Date: Aug 2002
Location: South Florida
Posts: 1,387
|
I found 1 additional side effect. The method above will of course color theme elements defined without a gammagroup. If you have maps you use for regioning and they don't have a gammagroup defined, it WILL color it and mess up your MAKI.
It's easy to fix though, just put your map type images in a gammagroup and cancel out the "General" values to get them back to the original colors. |
|
|
|
|
|
#7 |
|
f(caffeine){
return wasabi; } (Forum King) Join Date: Jul 2001
Location: Sweden
Posts: 3,960
|
hehe, cool side effect...
![]() this method is a pain in the ass but atleast it's working and the already created themes (using this method) will still work when Nullsoft finally fixes this most annoying bug. So no old themes will have to be re-created but new themes can then easilly be created the "normal" way.. It's sorta a win-win situation ![]() -Plague Winique work-in-progress (download) | Stargate:Winamp - SG1 Edition | D-Reliction | wasabi.player skin Opal Redemption | X-Slant | wa2skin.wac | Wasabi Wiki | WASD | /j #wasabi | Breed 011101110110000101110011011000010110001001101001 |
|
|
|
|
|
#8 |
|
Major Dude
(Reviewer) Join Date: Aug 2002
Location: South Florida
Posts: 1,387
|
For those interested in the technique I described above to color themes fonts, I've whipped together a tool to help automate the necessary calculations. You can use it here:
http://www.rpeterclark.com/Projects/...eGenerator.asp |
|
|
|
|
|
#9 |
|
f(caffeine){
return wasabi; } (Forum King) Join Date: Jul 2001
Location: Sweden
Posts: 3,960
|
cool!
That's a great tool you have there! Now it shouldn't be any problem to make those themes. -Plague Winique work-in-progress (download) | Stargate:Winamp - SG1 Edition | D-Reliction | wasabi.player skin Opal Redemption | X-Slant | wa2skin.wac | Wasabi Wiki | WASD | /j #wasabi | Breed 011101110110000101110011011000010110001001101001 |
|
|
|
|
|
#10 |
|
Senior Member
Join Date: Feb 2003
Location: canada, eh?
Posts: 296
|
wow, that is uber useful. you should add that to your projects section when its finished
|
|
|
|
|
|
#11 |
|
f(caffeine){
return wasabi; } (Forum King) Join Date: Jul 2001
Location: Sweden
Posts: 3,960
|
it's in his Tools section incase you missed it..
![]() -Plague Winique work-in-progress (download) | Stargate:Winamp - SG1 Edition | D-Reliction | wasabi.player skin Opal Redemption | X-Slant | wa2skin.wac | Wasabi Wiki | WASD | /j #wasabi | Breed 011101110110000101110011011000010110001001101001 |
|
|
|
|
|
#12 |
|
Senior Member
Join Date: Feb 2003
Location: canada, eh?
Posts: 296
|
oh, sorry, my bad
|
|
|
|
|
|
#13 |
|
Major Dude
Join Date: Jun 2002
Posts: 850
|
Hey cool! This is a crazy workaround, but if it works, I can't knock it. Good find indeed. And thanks for the list iPlay and for the generator rpc.
And careful there eh?one, one more mistake like that and we have to add you to our "tools" section... ![]() ~FrisbeeMonkey My Skins Skinning References: MAKI Scripts - GUIDs & Button Actions - Skinner's FAQ Skin Help: MAKI Cheats - Component Skinning - Skinning Tutorial |
|
|
|
|
|
#14 |
|
Senior Member
Join Date: Feb 2003
Location: canada, eh?
Posts: 296
|
lmao
|
|
|
|
|
|
#15 |
|
f(caffeine){
return wasabi; } (Forum King) Join Date: Jul 2001
Location: Sweden
Posts: 3,960
|
can't someone make this a sticky..?
Until Nullsoft fix this very very very annoying bug, this is uber useful. -Plague Winique work-in-progress (download) | Stargate:Winamp - SG1 Edition | D-Reliction | wasabi.player skin Opal Redemption | X-Slant | wa2skin.wac | Wasabi Wiki | WASD | /j #wasabi | Breed 011101110110000101110011011000010110001001101001 |
|
|
|
|
|
#16 |
|
Major Dude
|
he put it in the tips and tricks thread...kinda redundant to stickify this, isnt it?
Published: OvalAmp | Scythe | Simple Amp(code) | PAD(code) | Classix10k | LayerONE (code) WIP: Aeschere | Manta | Winamp 5 SingleGUI Need some help? How to write a MAKI script | Custom Vis Script | Add a Notifier to Your Skin |
|
|
|
|
|
#17 |
|
f(caffeine){
return wasabi; } (Forum King) Join Date: Jul 2001
Location: Sweden
Posts: 3,960
|
oh.. hmm, guess you're right...
my mistake.. -Plague Winique work-in-progress (download) | Stargate:Winamp - SG1 Edition | D-Reliction | wasabi.player skin Opal Redemption | X-Slant | wa2skin.wac | Wasabi Wiki | WASD | /j #wasabi | Breed 011101110110000101110011011000010110001001101001 |
|
|
|
|
|
#18 | |
|
Major Dude
|
Re: Automate bitmap and TTF gammagroup calculations
Quote:
http://ryan-gfx.deviantart.com - gallery |
|
|
|
|
|
|
#19 | |
|
Major Dude
(Reviewer) Join Date: Aug 2002
Location: South Florida
Posts: 1,387
|
Re: Re: Automate bitmap and TTF gammagroup calculations
Quote:
![]() Yeah, I put this in the T&T thrtead, so hopefully people will be able to find it. |
|
|
|
|
|
|
#20 |
|
Major Dude
|
man I wish I could code. Pfft.. like that's ever gonna happen right?
http://ryan-gfx.deviantart.com - gallery |
|
|
|
|
|
#21 |
|
Senior Member
|
Ditto here RLF
- the only difference is that YOU should have all the time you need learning that - you're 13 and got all the time in the world ![]() Super cool as always Pete! |
|
|
|
|
|
#23 | |
|
Major Dude
Join Date: Jan 2002
Posts: 1,778
|
Quote:
If your serious about learning coding, I would suggest going down to your library and getting out some books on the basics of HTML and a few things like javascript. A basic understanding of these should give you more than you need to start looking at XML and MAKI. A good place to start on XML, I fond anyway, is here, it's in the nsdn devlopers section. Frisbeemonkey's tutorials should be useful, although I've only skim read them. If you become serious about HTML, javascript and java, there may be a course you you can do though your school. At your age I thought I'd never be able to code ether. I'm not that good at coding myself, but thats cos I'm lazy. Anyway, enough de-railing of this thread. ¯¯¯¯Joe Bloggs____ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ |
|
|
|
|
|
|
#24 | |
|
The Shark
(Forum King) |
Quote:
|
|
|
|
|
|
|
#25 |
|
Major Dude
|
Oh I understand the basics of HTML fully (ie- tables, images, text, and misc. tags, etc.) through a nice little site www.lissaexplains.com . This site is a great reference to learning HTML, java, and building a web site.
XML seems easy enough to learn, I may try to learn hwo to make a skin from scratch some day
http://ryan-gfx.deviantart.com - gallery |
|
|
|
|
|
#26 |
|
f(caffeine){
return wasabi; } (Forum King) Join Date: Jul 2001
Location: Sweden
Posts: 3,960
|
XML is easy as hell to learn, especially if you know HTML already..
They are very similar.. If you know C/C++/VB/Delphi/Java/etc... Maki should be no match either.. -Plague Winique work-in-progress (download) | Stargate:Winamp - SG1 Edition | D-Reliction | wasabi.player skin Opal Redemption | X-Slant | wa2skin.wac | Wasabi Wiki | WASD | /j #wasabi | Breed 011101110110000101110011011000010110001001101001 |
|
|
|
|
|
#28 |
|
f(caffeine){
return wasabi; } (Forum King) Join Date: Jul 2001
Location: Sweden
Posts: 3,960
|
hard, maybe, it depends..
A lot of work, yep.. C++ is HUGE, it's not something you learn in one day.. But on the other hand, when you know a little C++, it get's easier and easier to learn more... -Plague Winique work-in-progress (download) | Stargate:Winamp - SG1 Edition | D-Reliction | wasabi.player skin Opal Redemption | X-Slant | wa2skin.wac | Wasabi Wiki | WASD | /j #wasabi | Breed 011101110110000101110011011000010110001001101001 |
|
|
|
|
|
#30 |
|
f(caffeine){
return wasabi; } (Forum King) Join Date: Jul 2001
Location: Sweden
Posts: 3,960
|
no, there's no language I recommend before C++..
If you want to learn C++, just go right on it.. Read a book about it, that's probably the easiest way.. I learned it through Trial & Error though, but that takes alot longer time, I'm just too lazy to read a book.. ![]() I'm gonna have to sooner or later though, in order to learn the more advanced stuff -Plague Winique work-in-progress (download) | Stargate:Winamp - SG1 Edition | D-Reliction | wasabi.player skin Opal Redemption | X-Slant | wa2skin.wac | Wasabi Wiki | WASD | /j #wasabi | Breed 011101110110000101110011011000010110001001101001 |
|
|
|
|
|
#31 | |
|
Major Dude
Join Date: Oct 2001
Location: At my house in a city in Canada
Posts: 1,336
|
Quote:
![]() I wish my school taught C/C++ instead of Turing/Java.....Java sucks.
|
|
|
|
|
|
|
#32 |
|
f(caffeine){
return wasabi; } (Forum King) Join Date: Jul 2001
Location: Sweden
Posts: 3,960
|
heh yea, don't you think I know about that irony? And I still can't pick up the book and read..
![]() My previous school taught Delphi instead of C/C++, cos they believed, believe it or not, that C/C++ is a dying language and that Delphi will be the king of the hill soon! Stupid morons ![]() My current school knows better though ![]() -Plague Winique work-in-progress (download) | Stargate:Winamp - SG1 Edition | D-Reliction | wasabi.player skin Opal Redemption | X-Slant | wa2skin.wac | Wasabi Wiki | WASD | /j #wasabi | Breed 011101110110000101110011011000010110001001101001 |
|
|
|
|
|
#34 |
|
f(caffeine){
return wasabi; } (Forum King) Join Date: Jul 2001
Location: Sweden
Posts: 3,960
|
there's a learning process in everything.. if you know c++ it helps, but you still gotta learn the wasabi sdk...
-Plague Winique work-in-progress (download) | Stargate:Winamp - SG1 Edition | D-Reliction | wasabi.player skin Opal Redemption | X-Slant | wa2skin.wac | Wasabi Wiki | WASD | /j #wasabi | Breed 011101110110000101110011011000010110001001101001 |
|
|
|
|
|
#35 |
|
Senior Member
|
yea, didn't want to start a new thread so i hope it's aright here...
with winamp5 it's obvious that you can now use color themes for fonts...would anyone like to explain how?
|
|
|
|
|
|
#36 |
|
f(caffeine){
return wasabi; } (Forum King) Join Date: Jul 2001
Location: Sweden
Posts: 3,960
|
sure.
althought this works fine in winamp3 aswell, it's just not been known.. ![]() for bitmap fonts: PHP Code:
PHP Code:
![]() -Plague Winique work-in-progress (download) | Stargate:Winamp - SG1 Edition | D-Reliction | wasabi.player skin Opal Redemption | X-Slant | wa2skin.wac | Wasabi Wiki | WASD | /j #wasabi | Breed 011101110110000101110011011000010110001001101001 |
|
|
|
|
|
#37 |
|
Senior Member
|
cool, thanks. just checkin ahead right now, probably won't get to coding the skin i'm workin on right now for a few more weeks, so I'll mess with it then and tell ya how it goes. thanks again.
|
|
|
|
|
|
#38 |
|
Senior Member
|
pl Plague, so would this work...
<bitmap id="bitmapfont.player.charfont" file="player/charfont.png" gammagroup="Fonts"/> <bitmapfont id="player.charfont" file="bitmapfont.player.charfont" charwidth="9" charheight="8" hspacing="0" vspacing="1"/> |
|
|
|
|
|
#39 |
|
f(caffeine){
return wasabi; } (Forum King) Join Date: Jul 2001
Location: Sweden
Posts: 3,960
|
yes
Winique work-in-progress (download) | Stargate:Winamp - SG1 Edition | D-Reliction | wasabi.player skin Opal Redemption | X-Slant | wa2skin.wac | Wasabi Wiki | WASD | /j #wasabi | Breed 011101110110000101110011011000010110001001101001 |
|
|
|
|
|
#40 | |
|
Senior Member
Join Date: Oct 2002
Location: UK
Posts: 363
|
Quote:
Here's my elements: PHP Code:
PHP Code:
WIP: NSX-999 |
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|