|
From: Robin R. <el...@ta...> - 2006-06-15 16:41:05
|
On Thu, Jun 15, 2006 at 08:13:48AM +0200, Wim Villerius wrote: > Hi, > > I noticed (quite a while ago) that even the slightest modification > (using cfjavaeditor) in a map file results in incredible big output when > creating a diff against the original. > > This suggests that there either is no standard or that there are several > standards to write maps. > Is there a preferred style? And so, which is the preferred style? And is > it easy to convert to the preferred style? And which editor uses the > 'correct' style? (etc. etc.) Hi! The 'correct' style is, as some developers said, the style that the server uses. We wrote a script that 'normalizes' maps into this format, so that diffs contain mostly only the changed parts. The new map editor we wrote (named GCE, see http://cf.schmorp.de/editor.shtml) uses the same format as the normalizer script. The script can be found in the Crossfire perl module source: http://cvs.schmorp.de/browse/cf.schmorp.de/Crossfire/ The script: http://cvs.schmorp.de/browse/cf.schmorp.de/Crossfire/bin/cfmap-normalize?rev=1.1&view=auto greetings, Robin (member of crossfire+ development team) -- el...@ta... / ro...@ne... / r.r...@gm... http://cf.schmorp.de/ Robin Redeker |