home home

downloads files

forum forum

docs docs

wiki wiki

faq faq

Cube & Cube 2 FORUM


Justice Edition - .png support for menu icons?

by K1P57A on 08/03/2010 13:26, 9 messages, last message: 08/04/2010 01:46, 1231 views, last view: 05/01/2024 02:09

Hi Folks,


As the title already states I'd like to know if Justice Edition supports .png files for the menu icons (or still only .jpg), and if so, which .cfg or lines of code will have to be altered so that I could use .png graphics?

Thanks for all answers in advance!


Curiously,

K1P57A

   Board Index   

#1: Nope...

by Q009 on 08/03/2010 13:42

It still uses jpg only...
but however you can rename .jpg to .png and it will work (even alpha channel)

reply to this message

#2: ..

by K1P57A on 08/03/2010 13:59

Sweet! Thank you for the quick reply! :D

reply to this message

#3: Re: ..

by K1P57A on 08/03/2010 14:04, refers to #2

Mhhh... I actually just tried renaming, as well as completely creating new content in .png mode, however I then only get a texture error and the icon is no longer correctly linked...

Any ideas to why that is?

reply to this message

#4: Re: ..

by Q009 on 08/03/2010 14:17, refers to #3

Make sure youre renaming extension not just adding .jpg to the file name...

reply to this message

#5: ..

by K1P57A on 08/03/2010 16:10

Yeah, what I meant was that I tried two ways, 1. I changed the files extention name from .jpg to .png and then edited the file, with no success.

I also created an entirely new .png file and saved it under the icons name, then deleted the .jpg with the same name. Also with no success...

Any further ideas?

reply to this message

#6: Re: ..

by Nixot on 08/03/2010 16:10, refers to #4

You can't just rename things from png to jpg and expect them to work! Pngs and jpegs are decoded by two seperate libraries, using two completely different algorithms! It's like saying a nut is a banana and expecting someone who's allergic to nuts to eat it!

reply to this message

#7: Re: ..

by Q009 on 08/03/2010 16:28, refers to #6

yes it does work :P
even razgriz did that in his gui rework :P
or at least it worked in trooper edition

reply to this message

#8: ..

by Razgriz on 08/03/2010 20:16

its simple. make a png icon, save as png. then rename the extension to jpg without modifying anything else.

reply to this message

#9: ..

by K1P57A on 08/04/2010 01:46

Hehe dammn, wrong way around ;) I tried converting a .jpg into a png, not a -png into a .jpg... Works just fine now, thank you all! :D

reply to this message

   Board Index   


Unvalidated accounts can only reply to the 'Permanent Threads' section!


content by Aardappel & eihrul © 2001-2024
website by SleepwalkR © 2001-2024
53863374 visitors requested 71638486 pages
page created in 0.031 seconds using 10 queries
hosted by Boost Digital