5
zemaitis
50d

I have 1.2gb of files, they are textures (client side for my gameserver players). By using winrar I managed to archive it to 550MB. Do you guys know more efficient way of shrinking large sizes of files?

Comments
  • 6
    Megatexturing? Procedural textures, also.
  • 0
    @SortOfTested I'm not that advanced. All I have is .ukx, .utx, .u, .int, .dat and dll files (game is based on unreal engine) and want to shrink them in an archive that would take as less as possible :/
  • 11
    Shift+del
  • 5
    @zemaitis
    For just basic compression, you should tar the file, then compress it. Using something like brotli with that technique will get you slightly better compression, but until you cross the barrier where the data can get generated by the runtime process, you'll be limited in terms of what you can do.
  • 2
    you can try different archive tools using different compression algos, see what works best for the kind of data you have, maybe you can shave off another 10-50-100 megs.
  • 4
    I'm curious to see if 7zip would return better results with its file format
  • 6
    Other compression algorithms/software might achieve slightly better results, but keep in mind that there's a limit to how much you can compress data. The closer it is to random noise, the closer you are to that limit.

    Going from 1.2GB to 550MB of compiled code and game assets is a pretty good result imo, so unless you're concerned about squeezing every last MB out of the final result (even at the cost of longer decompression times) I say you don't need to worry too much about it.
  • 4
    I've heard good things about "rm".
  • 3
    @Fast-Nop especially when paired with -rf ;)
  • 1
    @ScribeOfGoD Sure, that's the "really fewest" compression level. ^^
  • 1
    Xz can be Good sometimes
  • 1
    tar+xz is always a good start for massive space savings. Occasionally 7z comes close, but not often. RAR is just... meh.
  • 3
    I'm kinda curious if here's any tool that runs data samples vs various algos to see what compression to use?
  • 0
    @molaram waiting for answer to this lol
  • 0
    Lowering texture res. is effective. Maybe use color pallets
  • 0
    Since we're discussing game textures, here's a link to the latest Unreal Engine 5 presentation:

    https://m.youtube.com/watch/...

    PS: I don't they they worry to much about the total size, though
Add Comment