HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Removing mipmaps from icons + mac question.

10-08-2008, 12:17 AM#1
_wiewior
Hi,
i wanted to just plain remove (without converting to palleted) mipmaps from all icons in dota. From my tests it was good (leaving only 1 and second for low texture quality), but when i posted thath to Ice he send me that some mac users had fatal error while using these modified icons. (since i dont have mac i cant test it)

The way i do that is copying only first two mipmaps, and all other (if exist) mipmaps points at second one.

Is my method wrong?
Did anyone had similar problems with "corrupted" icons on mac?
Is this at least possible to do, by some other way (sth like : [firts mipmap][second mipmap][one byte for 3rd][one byte for 4th] etc? i mean each one having separate byte, instead of pointing at the same)
10-09-2008, 01:53 AM#2
Tide-Arc Ephemera
PM me the icons or any test icons and I'll see if I can verify.
10-12-2008, 12:45 AM#3
_wiewior
We tried few possibilities with blp-jpg + reduced mipmap on mac, and for the moment all of them failed:

* jpeg with redirected mipmaps (from 3 till last) to second one

* jpeg with redirected mipmaps (from 3 till last) to first one
just out of curiosity

* jpeg with all mipmaps offset
two existing mipmaps, but all (from 3 till 16) mipmap offsets and size redirected.

* jpeg with nullified mipmaps (from 3 till last)
instead of redirecting, offset&size set to 0.

* jpeg with lied mipmaps
why this failed i cant get - mipmap data was sth like this:
[first mipmap jpg] [second mipmap jpg] [third mipmap EndOfImage] [fourth mipmap EndOfImage] etc. till 16. (instead of whole image, just ending markers for each mipmaps, so more or less they should be valid entries)

I attached testmaps&icons used, if You would want to check, but since they fail on mac war3, work on everything else tested (win war3, few blp tools (what ain't hard, as most of them reads first mipmap and dont care about anything)), then there is probably no sense.

Of course there could be more bruteforce tests (like from 7/8, 6/8, 5/8 actual mipmaps, some weird flags/picturetypes) but I'm not sure would they be any usefull. (and since I had to ask Tide-Arc for all of those tests (because i dont have mac), then i won't send him like 32000 of maps...)
And since there ain't any detailed error logs with dump (from what i heard) then i can't really tell what makes fatal.

If anyone have some other idea (about blp-jpg, not blp-palleted), then pls tell, i'm stucked at the moment.
Attached Files
File type: rartestpack.rar (108.9 KB)