[SUGGESTION] Filter out non-editable code and data - Printable Version +- Xonotic Forums (https://forums.xonotic.org) +-- Forum: Creating & Contributing (https://forums.xonotic.org/forumdisplay.php?fid=10) +--- Forum: Xonotic - Suggestion Box (https://forums.xonotic.org/forumdisplay.php?fid=20) +--- Thread: [SUGGESTION] Filter out non-editable code and data (/showthread.php?tid=2481) |
Filter out non-editable code and data - misago - 01-01-2012 I am sorry if this was asked before here, but. Can I filter out data and code that comes without source code at all? As an alternative: can I just completely disable downloads? P.S. Yes, I looked into downloaded archives and many of them contain original .map file, but for *progs.dat there is no source provided often. Thanks. RE: License filtering? - Mr. Bougo - 01-01-2012 No license filtering, that would need some archive metadata system so that the server can inform you of the package's status, which we don't have. As for disabling downloads altogether, I think cl_curl_enabled controls that, just set it to 0. Or you could make your dlcache directory read-only. In any case, expect a lot of breakage from missing content. Now, why do you want to do such a thing if I may ask? RE: License filtering? - Spaceman - 01-01-2012 What is "License filtering"? Thanks RE: License filtering? - nilyt - 01-01-2012 csprogs.dat is the client game code. progs.dat you shouldn't get at all from the server. err, if you disable downloading that somehow, don't expect to be able to play on any servers, thats like a computer without OS, unless they have _exactly_ the same version your client has. the qcsource to the progs VM code can be found at the xonotic git repo. RE: License filtering? - misago - 01-02-2012 (01-01-2012, 04:08 PM)Mr. Bougo Wrote: No license filtering, that would need some archive metadata system so that the server can inform you of the package's status, which we don't have. As for disabling downloads altogether, I think cl_curl_enabled controls that, just set it to 0. Or you could make your dlcache directory read-only. In any case, expect a lot of breakage from missing content. Just for sure that the content will be reusable later I often like to edit maps or hack QC code, for learning. Maybe I messed with title, but question is simple: filter out non-editable code and data. RE: Filter out non-editable code and data - asyyy - 01-02-2012 Not related to xonotic. Use your console / filebrowser to filter pk3s (which are zip archives) containing a .map file. RE: Filter out non-editable code and data - divVerent - 01-02-2012 Of Xonotic built-in content, all is editable. For some files, the source data is in the "mediasource" repository on git.xonotic.org that is not downloaded by default. The source of progs.dat is in qcsrc/server/. |