Arx Libertatis Bug Tracker
star_faded.png
Please log in to bookmark issues
feature_request_small.png
OPEN  Feature request #1004  -  Add support for patching resources instead of replacing them entirely
Posted May 16, 2017 - updated May 17, 2017   Shortlink: http://arx.vg/1004
action_vote_minus_faded.png
1
Votes
action_vote_plus_faded.png
Issue details
  • Type of issue
    Feature request
  • Status
     
    New
  • Assigned to
    Not assigned to anyone
  • Progress
       
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
     Daniel Scharrer
  • Owned by
    Not owned by anyone
  • Estimated time
    Not estimated
  • Category
    Not determined
  • Priority
    Not determined
  • Targetted for
    icon_milestones.png Not determined
  • OS
    icon_customdatatype.png Not determined
  • Architecture
    icon_customdatatype.png Not determined
  • Fixed in
    icon_customdatatype.png Not determined
Issue description
We need this to avoid licensing issues for asset bug fixes and mods.

Simple binary patches should work for most resources but multiple mods can (in general) not patch the same file without conflicting.

For others (.ini files like the localization), just appending data could also work.

We may need to support loading different patches depending on the version of the original resource (full game / demo / language). A crc32 or md5 checksum could be used to select the appropriate patch. For our own needs it may be enough to load different patch archives depending on the data version, but that is less reasonable for mods.

Scripts may need a different (additional) solution to allow multiple mods to modify the same entity without conflicting: Feature request 1005 - Add support for wrapping script events