<div dir="ltr">Can't - I wont know exactly which files to load until run time (.map files can refer to other .map files, and that information wont be known until the player is in the .map).</div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Sat, Aug 23, 2014 at 3:10 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">
Then just take the second option (load .map files when you just mount<br>
the archive, leave the .png files for after you've mounted<br>
everything).<br>
<br>
2014-08-23 5:33 GMT-03:00, Haydn Harach <<a href="mailto:hharach@gmail.com">hharach@gmail.com</a>>:<br>
<div class="HOEnZb"><div class="h5">> Problem is, I want .png files to be overwritten, but not .map files.  When<br>
> the mod is loaded initially, it's just a big .zip archive, there could be<br>
> .png or .map files within it's sub-directories.<br>
><br>
><br>
> On Sat, Aug 23, 2014 at 2:13 AM, Sik the hedgehog <<br>
> <a href="mailto:sik.the.hedgehog@gmail.com">sik.the.hedgehog@gmail.com</a>> wrote:<br>
><br>
>> 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>
>><br>
><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>
</div></div></blockquote></div><br></div>