<div dir="ltr">Problem is, I want .png files to be overwritten, but not .map files.  When the mod is loaded initially, it's just a big .zip archive, there could be .png or .map files within it's sub-directories.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Aug 23, 2014 at 2:13 AM, Sik the hedgehog <span dir="ltr"><<a href="mailto:sik.the.hedgehog@gmail.com" target="_blank">sik.the.hedgehog@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Two options:<br>
<br>
- Mount them in separate directories and just deal with the fact (I<br>
ended up doing this to prevent mods in my game from overwriting<br>
configuration and savegame files).<br>
<br>
- If the data is going to permanently stay in memory (i.e. you won't<br>
need to read the files after initially mounted), then load the files<br>
the moment you mount them (before mounting the subsequent archives).<br>
The obvious upshot is that if you want you can unmount them after<br>
loading (since the data is in RAM already).<br>
_______________________________________________<br>
physfs mailing list<br>
<a href="mailto:physfs@icculus.org">physfs@icculus.org</a><br>
<a href="http://icculus.org/mailman/listinfo/physfs" target="_blank">http://icculus.org/mailman/listinfo/physfs</a><br>
</blockquote></div><br></div>