Forums » General

New Skin Problems/Questions

«1234
Aug 19, 2006 mr_spuck link
that sucks.

About the missing layer. I got that too once or twice no idea how to replicate it. Adding a transparent layer on top or below before running the script should work though.

Did your images have an alpha channel? if not try menu->colors->"color to alpha" and chose black. Then run the script. "Color to alpha" might be under filters in older versions.

if that doesn't help .. *shrug* it works for me
Aug 20, 2006 Priapus link
Oh. All hell's broken loose again, then?
Aug 20, 2006 moldyman link
Indeed
Aug 20, 2006 raybondo link
Ok, I made a pngutil for windows (currently) that you can send your non-premultiplied png files through and it will convert them to premultiplied pngs.
You can drag a png icon onto the exe icon and windows will run pngconvert on the file and pngconvert will REPLACE your file with a premultiplied png.
If you want to have it not replace the file, you will have to run pngconvert with command-line args.

Here is the exe:
http://www.ratelis.com/pngconvert.exe

usage: pngconvert [-s] [-o outfilename.png] [-a|p alphaimage.png] file.png
where:
-s Only strip file of comments.
-o filename.png Save output to filename instead of overwriting
the input file.
-a filename.png Merge alpha channel of filename to color channels
of input file without premultiplying.
-p filename.png Merge alpha channel of filename to color channels
of input file and premultiply color.

The s, a, p options are mutually exclusive. -s takes precidence , then -p and then -a if you put them all in the same line. However, the last filename of -a or -p will be used.
All output files are stripped of comments.
'pngconvert -s file.png' is equivalent to 'pngconvert -a file.png file.png'
'pngconvert file.png' is equivalent to 'pngconvert -p file.png file.png'
Aug 20, 2006 Snax_28 link
Could you also not just make a duplicate of the file?
Aug 21, 2006 raybondo link
i could make it do that.
Aug 21, 2006 Snax_28 link
No I meant, couldn't whomever was about to apply your script to their file simply make a duplicate if they didn't want the script to write over the original. Instead of lifting up the skirt of Windoze (I hear it's none to clean under there).

I was just trying to be cheeky.
Aug 21, 2006 raybondo link
Oh right, that's what I did for testing. I made a copy of my file and then dragged the copy over the icon of pngconvert.
Aug 21, 2006 RelayeR link
Ray: is there a pngutil coming for Macs?
Aug 22, 2006 raybondo link
oh heh sure. I'll make one tuesday.
Aug 23, 2006 raybondo link
ok, ppc mac version on http://www.ratelis.com/pngconvert_ppc.zip
There are 2 files in there. a console app that can take arguments and a .app where you can drop a png file onto and it will be converted in-place.
Aug 27, 2006 RelayeR link
pngconvert_ppc works like a charm, Ray.

Thanks!
Aug 30, 2006 jexkerome link
I see Ray has finally updated the skin.zip file to 1.6.14.2, which is cool, but I've found another problem. There's a highlight done to the ADDONS and GROUPS button on the EQUIPMENT>MANAGE>PORT CONFIG screen that I seem unable to handle. Here's a piccie:



It's a square image directly behind the selected button (pointed out by the arrow); you can see the sharp corners protruding around the rounded corners of the button. It bugs me because I'd prefer not to highlight anything but the button; in other words, those highlighted pointy corners irk me. The oddest thing is that it's the same color as the rest of the skin, but after testing all solid blocks of color (bgs and full-borders and such) it seems to be none of these; my guess is that it is some kind of "screen" effect and not really an image at all. If someone can tell me if I can actually mess with this thing or not, so I can quit trying, I'd be most grateful.
Aug 30, 2006 RelayeR link
jex, Ray has changed some of the file sizes... most notably the sub_sub_sub_tab files which end with a 2. Make sure your file sizes match to clear up that tab problem.

[edit] actually, I think those files are the ones that *don't* end in 2. Haven't tested it yet though, just got some of them myself.
Aug 30, 2006 jexkerome link
That file retains its 16x8 size. However, I can see it gets dragged up; I'll have to fiddle with it until I get it to work like I want to.
Aug 30, 2006 raybondo link
If your screenshot wasn't filtered, it'd probably be easier to see what's going on. I think it's pulling up the top texel(s) of the seltab.
Aug 31, 2006 jexkerome link
Yeah, that's what it was doing. I managed to fix it now, thanks.