Compress texture as they are loaded

Game load don't seems any different and it let me load a large set of mod that would crash the game before the compression started.

It use a cache to not process the same texture twice.