Well, seems that we can't use physFS to read a archive within a archive.
We also can't tell what is the file for said map pack easily.

I was thinking since we look for *.addon.lev files anyway, we could
also check for map_pack_name.info (or whatever) and then we can use
physFS getRealDir() to find the directory that is in, and use
'map_pack_name', append .wz to it, stick this in some global map
storage array, and then if the game can't find mapname.wz, we look in
the global map storage array for the correct name to use, then we can
send the whole thing that way.

Inside the .info file itself would be all the author's name, and
whatever else info the map pack creator wants to put inside it.  The
game wouldn't ever read the contents of that file though.

Would this be a good way to handle it?
Or do we just not allow map packs at all, and just have mapname.wz as
the only supported map that the game can send?

_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev

Reply via email to