[Crossfire-wiki] [Crossfire DokuWiki] page added: dev_todo:mapdiff

no-reply_wiki at metalforge.org no-reply_wiki at metalforge.org
Thu Sep 28 13:22:01 CDT 2006


A page in your DokuWiki was added or changed. Here are the details:



Date        : 2006/09/28 13:22

Browser     : Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 
2.0.50727)

IP-Address  : 192.139.27.18

Hostname    : host18.cbe.ab.ca

Old Revision: none

New Revision: http://wiki.metalforge.net/doku.php/dev_todo:mapdiff

Edit Summary: created (rednaxela, not from home)

User        : 



====== Diff/Patch for Crossfire maps ======

===== Reason =====

Currently diff does a reasonable job at creating patches for maps, however
 these patches are not reliable imperfect patching. This is because for im
perfect patching relies on the context in the patch containing sufficent i
nformation to find where the change should happen. This situation is even 
worse for objects in inventories, where there will be no x or y coords in 
the context.

===== Proposed system =====

  * Make a diff varient which for the context on each side of the changes,
 instead of being a fixed amount, will be from the start of the object til
l the end of the object. This will make the standard GNU patch do much mor
e accurate imperfect patching from these diff files.

  * Insert extra metadata in the diff file, and create a custom patch vari
ent, which would allow the custom patch varient to do an even better job.

    * Include data such as, when the object is in another object, what it'
s container object is.

===== Issues with the proposed system =====

  * Handling patches that change the layering of objects.











-- 

This mail was generated by DokuWiki at

http://wiki.metalforge.net/





More information about the crossfire-wiki mailing list