I'm going to take a guess and say that your executing this code from the console, while ingame. Honestly, I don't know why, but as far as I can tell, whenever you want to execute anything in a zip folder (or just do it anyway), do "setModPaths(getModPaths());" before executing. I have no idea what side effects (if any) this has. It does cause a 1-2 second lag when doing this. Works client sided and server sided. This does not allow new datablocks to be loaded.