ImportImageFromFile3D

A place to post suggestions for new features, new bugs, and comments about the existing code.
Imago
Posts: 1440
Joined: Tue Sep 23, 2003 7:00 am
Location: Minneapolis, MN
Contact:

Post by Imago »

"litter importmdls allover" - isn't that what Dark/Spawn is doing with the "new GUI"?
Image

These bugs haven't been fixed yet because don't have any developers interested in fixing them up. --Tigereye
Imago's stupid-sensor is supersensitive. --RealPandemonium
The art is managing the flow of the drama to achieve the desired results. --Big_Beta_Tester
joeld wrote:But we’ve been amazed at the level to which some of the Allegiance fans have remained hard-core.
SP4WN
Posts: 1634
Joined: Wed Apr 19, 2006 7:00 am
Contact:

Post 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.
Andon
Posts: 5453
Joined: Sun Jun 03, 2007 8:29 pm
Location: Maryland, USA
Contact:

Post 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.
Image
ImageImage
pkk
Posts: 5419
Joined: Tue Jul 01, 2003 7:00 am
Location: Germany, Munich

Post 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:
The Escapist (Justin Emerson) @ Dec 21 2010, 02:33 PM:
The history of open-source Allegiance is paved with the bodies of dead code branches, forum flame wars, and personal vendettas. But a community remains because people still love the game.
Andon
Posts: 5453
Joined: Sun Jun 03, 2007 8:29 pm
Location: Maryland, USA
Contact:

Post by Andon »

There are some files that can't be directly converted to .pngs iirc, but I can't remember the specifics
Image
ImageImage
SP4WN
Posts: 1634
Joined: Wed Apr 19, 2006 7:00 am
Contact:

Post 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.
pkk
Posts: 5419
Joined: Tue Jul 01, 2003 7:00 am
Location: Germany, Munich

Post by pkk »

Just two examples which cased problems:
FindServerDialogbmp.mdl
acs01bmp.mdl
The Escapist (Justin Emerson) @ Dec 21 2010, 02:33 PM:
The history of open-source Allegiance is paved with the bodies of dead code branches, forum flame wars, and personal vendettas. But a community remains because people still love the game.
SP4WN
Posts: 1634
Joined: Wed Apr 19, 2006 7:00 am
Contact:

Post 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.
Post Reply