Masked compression is your good friend.
Check this out :
https://fileforums.com/showthread.php?t=97530
Don't read too much, just the bit where its about masked compression.
A game contains files of different formats, so as you said several styles of algorithms are used with desired formats.