Graphic mods file size optimization


(nUllSkillZ) #1

I’ve just made a little experiment.
I’ve taken the recently released USMC skin pack (BTW a very good skin pack in my opinion), deleted not needed files (a thumbs.db and some files that must be from PSP), some not used files and converted the non transparent TGA’s to JPG’s.
And finally repacked it.

Result:

  • [li]original filesize:
    [/li]6.425.803 Bytes = 6,1 MB
    [li]“optimized” filesize:
    [/li]630.165 Bytes = 615,4 KB = 0,6 MB

:o
That’s one tenth (1 / 10) !!!

Biggest saving is the conversion from TGA to JPG (after deleting the not needed/not used files the size was around 5MB).


(kamikazee) #2

True.

However, you must be careful when converting TGA to JPEG as not to lose too much detail. Especially weapon skins and objects to be looked at from a close distance can look lousy when they are compressed in a bad way.


(Shaderman) #3

Transparency (alpha channels) could be lost as well.


(TNR360) #4

he talked about converting only the files that didnt need transperancy


(Shaderman) #5

You’re right, sorry :roll:


(SCDS_reyalP) #6

Even very quality jpeg will generally be a LOT smaller than TGA, and won’t look noticeably worse.


(nUllSkillZ) #7

In that experiment I’ve saved the JPG’s with GIMP’s default settings (the parameter that controls the final size is set to 0.85).
And couldn’t see a difference to the TGA’s.


(mlyn3k*) #8

heh. i always do that - and even if u save jpg with 100% quality it will be still A LOT smaller than tga

dunno why skin makers love tga so much…

and i compress wav files from custom vchats too

well, just check the server: 88.198.55.122:27960
there are a lot of funny things and u have to download only 8-9 mb of files - not damn 20 like on many other servs o0

i squeezed 3 custom v-chats in 3,67 mb file (mine, yurs Monty and Way’s Worms ;o
lol, i even hit that stupid limit and had to remove some originals from .voice scripts

some mod makers just dont pay any attention to weight of their files.

well,

:roll: :roll: :roll: