I see no reason to choose

Code:
/// YOUR MAIN C

// #define FINAL_PUBLISH  // COMMENT OUT TILL FINAL PUBLISH
#include xxxxx

function main(){
... BLA BLA
}
//////////

// Modified script
#ifndef FINAL_PUBLISH
STRING* sc_deferredLighting_sBRDFLUT = "shadec/tex/sc_deferredLighting_LUT.dds";
#else
STRING* sc_deferredLighting_sBRDFLUT = "sc_deferredLighting_LUT.dds";
#endif



Nothing more should be needed.
EDIT - So you publish once and it will place the file in the publish folder. Then uncomment the #define and publish again to same folder. Should work fine. No need to hand move the map file.

Last edited by Malice; 07/04/16 16:26.