Difference between revisions of "OgrePatcher"

From ISXOgre
Jump to: navigation, search
(Client side)
(Client side)
Line 11: Line 11:
 
* File: ./innerspace/extensions/ISXOgrePatcherIgnoreList.xml
 
* File: ./innerspace/extensions/ISXOgrePatcherIgnoreList.xml
 
** Format:
 
** Format:
<?xml version="1.0" ?>
+
<?xml version="1.0" ?>
 
  <Manifest>
 
  <Manifest>
 
     <FileInfo>
 
     <FileInfo>

Revision as of 08:41, 24 October 2013

Ogre Patcher

A patcher created specifically to patch files from ISXOgre. This is a rough idea of various options available. Anything marked 'Server side' is specifically for Kannkor, and you can't have any effect on it. It's merely a place to document.

Server side

  • Create a list of files, designating if the file should be always patch if the file has changed (default) or
  • <donotoverwrite>1</donotoverwrite>
    • Specifies to only patch the file if the file does not exist. This works great for config files, such as eq2chars.inc. This way it would never overwrite an existing file.

Client side

  • The user can create a list of files, designating options which override server side options.
  • File: ./innerspace/extensions/ISXOgrePatcherIgnoreList.xml
    • Format:
<?xml version="1.0" ?>
<Manifest>
   <FileInfo>
       <filename>Logs/placeholder.txt</filename>
     <ignore>1</ignore>
   </FileInfo>
 <FileInfo>
   <filename>Logs/placeholder2.txt</filename>
     <donotoverwrite>1</donotoverwrite>
 </FileInfo>
</Manifest>
  • In the first example above, the patcher will completely ignore Logs/placeholder.txt. Even if the file doesn't exist, the patcher will not download it.
  • In the second example above, the patcher will only patch Logs/placeholder2.txt if the file does not exist. This means you can safey modify the file without it being overwritten. Be warned, when a new version of this file is available, you will NOT download it because you have it set to not overwrite your existing file.
  • More examples to follow