PDA

View Full Version : Compressing a .package File?


Arialonomus
11th Apr 2009, 12:01 AM
I'm making four default skintones (to replace EAxis' S1-S4), using Ren's SelfMakeup skintones.

See It works fine, but the major issue: each one comes out to be about 30MB

All the images I used were .png's but still the package came out GIGANTIC

Does anyone know how to compress each package to a more manageable size, EG: 7-10MB?

If you could help that'd be wonderful.

Karybdis
22nd Apr 2009, 04:39 PM
The game stores in its own format though TXTR, not as png's. So your png files are going to be decompressed to their full size which is apparently 30 megs

HystericalParoxysm
22nd Apr 2009, 04:42 PM
You can always try running the files through the Compressorizer: http://forum.jfade.com/viewtopic.php?f=11&t=170 ... it usually helps a lot with big textures.

HugeLunatic
22nd Apr 2009, 05:20 PM
If you do use the compressorizor, as a Mac user it would helpful if you post that you did compress them if you upload. I always keep files compressed separate since they only work half the time for me, then tend to crash my game.

You can also compress in SimPE with no loss. Select the resource tab, highlight your image and choose yes in the dropdown box.

HystericalParoxysm
22nd Apr 2009, 06:12 PM
The Compressorizer does the same thing that SimPE's compression does, just in a batch format. Some files cannot be compressorized (like hacks) but it's a heck of a lot faster and easier to do on a file with a lot of stuff to compress (like default skins)

tunaisafish
23rd Apr 2009, 01:04 AM
Hacks can be compressorized too, thought they are so small usually that it is not worth it.

ie. a 2k hack will take up a whole 4k(typical) sector on the hard disk.
If you compress it the filesize gets smaller, but it will still take up the same HD space.
So you are just adding extra work to make TS2 uncompress it without any gains.

My rule of thumb. If a package is greater than 4k, compressorize it.

HystericalParoxysm
23rd Apr 2009, 11:00 AM
Hmm. Okay. I saw something about hacks - that you're not supposed to compress them because it can mess them up - more of a "shouldn't" rather than "is impossible" but I certainly could be wrong - I've never tried.

J. M. Pescado
23rd Apr 2009, 12:54 PM
Some hacks mess up when compressed because they were already messed up to begin with. These files are technically defective to begin with and the people who make them should fix them or be beaten.

niol
30th Jun 2009, 05:59 AM
I'm making four default skintones (to replace EAxis' S1-S4), using Ren's SelfMakeup skintones.

See It works fine, but the major issue: each one comes out to be about 30MB

All the images I used were .png's but still the package came out GIGANTIC

Does anyone know how to compress each package to a more manageable size, EG: 7-10MB?

If you could help that'd be wonderful.


If your skintone defaults have redundant txtr files (which means they share the same graphics), you may just re-reference the same txtr file to those references linked to the same graphic but different txtr file names.

This is a repository way to save package resource tremendously when appropriate.

I've seen some default replacements are huge simply because of that.


Yet, this may not work with neighbourhood terrain default replacement and terrain paint when one is using LIFO for such kind of repository method.

Hope this may be useful to anyone.