Page 2 of 2

Posted: Thu Dec 30, 2010 3:39 am
by Imago
"litter importmdls allover" - isn't that what Dark/Spawn is doing with the "new GUI"?

Posted: Thu Dec 30, 2010 10:54 am
by SP4WN
Imago wrote:QUOTE (Imago @ Dec 30 2010, 03:39 AM) "litter importmdls allover" - isn't that what Dark/Spawn is doing with the "new GUI"?
I believe I wouldnt consider converting all GUI elements to textmdl's "littering", not only will it allow us to create sub structures for the folder system(ie /Artwork/GUI, /Artwork/HUD, Artwork/Textures) making development of the image/mdl system faster and easier for Dev's. It will also mean Devs dont have to $#@! around converting bmp.mdl's to .bmp's and back everytime they want to make the slightest edit to the system, they can just go to the specific folder, open the Image in their own image editor, edit and save.

I had discussed converting the current GUI with you long ago Image and you agreed it was a good idea, there is even a ticket on the Trac regarding the conversion. However if people believe that it is a hinderance converting all the files to bmp.mdl when I am finished is not a large effort.

Lastly I am not technically creating or littering anymore MDLs than there already is, all I am adding is a lot more image files to the directory, in total it really doesnt affect the filesize that much.

Posted: Thu Dec 30, 2010 5:42 pm
by Andon
Fromexperience with text mdl files and .png files, the total filesize is about 1/4 that of a bmp.mdl, at most. It's a much better way because of this and the benefots that Sp4wn mentioned about folder structure.

Posted: Thu Dec 30, 2010 5:59 pm
by pkk
Andon wrote:QUOTE (Andon @ Dec 30 2010, 06:42 PM) Fromexperience with text mdl files and .png files, the total filesize is about 1/4 that of a bmp.mdl, at most. It's a much better way because of this and the benefots that Sp4wn mentioned about folder structure.
I've converted and optimized all bmp.mdl files which were larger than 16 KB (of current installer + AU) and ended up with 51 MB against the current 259 MB.

But Allegiance didn't like some of the files and crashed... :glare:

Posted: Thu Dec 30, 2010 6:04 pm
by Andon
There are some files that can't be directly converted to .pngs iirc, but I can't remember the specifics

Posted: Thu Dec 30, 2010 6:54 pm
by SP4WN
Andon wrote:QUOTE (Andon @ Dec 30 2010, 05:42 PM) Fromexperience with text mdl files and .png files, the total filesize is about 1/4 that of a bmp.mdl, at most. It's a much better way because of this and the benefots that Sp4wn mentioned about folder structure.
Good to know. There is an issue with converting some of the files as Andon stated, also the fact that its case sensitive throws off the text MDL after conversion reading some files.

Posted: Thu Dec 30, 2010 7:03 pm
by pkk
Just two examples which cased problems:
FindServerDialogbmp.mdl
acs01bmp.mdl

Posted: Thu Dec 30, 2010 7:24 pm
by SP4WN
pkk wrote:QUOTE (pkk @ Dec 30 2010, 07:03 PM) Just two examples which cased problems:
FindServerDialogbmp.mdl
acs01bmp.mdl
FindServerDialogbmp.mdl is one in the long list that break due to case sensitivity. Rename the .png to findserverdialog.png, then convert the file. This will give the file pointer lowercase as you know, then copy the two files to the artwork, now if your on 7 or Vista then you wont see a change in the filenames case since, well actually I dont know why you wont but whatever. Boot up Allegiance and enjoy.

acs01bmp.mdl, I have no idea about since I havent dealt with that file yet. Il do some research.