Test(var/F as file)
fcopy_rsc(F)
Would this be the way to do it? What if I have the icon file defined as 'icons/projectiles.dmi' and I upload projetiles.dmi would it replace 'icons/projectiles.dmi'?
I want to update a single icon file in the .rsc without completely reuploading the host files. How can one achieve this?
Test(var/F as file) Would this be the way to do it? What if I have the icon file defined as 'icons/projectiles.dmi' and I upload projetiles.dmi would it replace 'icons/projectiles.dmi'? |
fcopy_rsc() will put it in the dynamic rsc, not the game's rsc file. It won't over-ride any of the existing icons, unless you build a system into your game to swap the icons at runtime.
It's been a while since I've looked at the RSC format, but if only a small portion of it changes when you compile, you could use something like an rsync command or Remote Differential Compression to transfer it over to your server quickly. |
Yes thats the way
Not quite sure.. but it could replace it.