Conflicting files in binary_path

The place to post your WML questions and answers.

Moderator: Forum Moderators

Forum rules
  • Please use [code] BBCode tags in your posts for embedding WML snippets.
  • To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Post Reply
User avatar
Atreides
Posts: 1059
Joined: March 30th, 2019, 10:38 pm
Location: On the 2nd story of the centre village of Merwuerdigliebe turning the lights on and off

Conflicting files in binary_path

Post by Atreides »

I've recently managed to get my wesnoths to output their logs (that was harder than it should have been especially for the flatpak version) and have been looking through them and I often see this one. It always applies to files with the same name but oddly they are not always identical bit for bit.

So what I was wondering is

Does the warning matter?
If yes then what exactly causes it?
User avatar
Pentarctagon
Project Manager
Posts: 5527
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Conflicting files in binary_path

Post by Pentarctagon »

It means that a file was referenced in a way that isn't unique, so the file used might not be the intended one.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
User avatar
octalot
General Code Maintainer
Posts: 783
Joined: July 17th, 2010, 7:40 pm
Location: Austria

Re: Conflicting files in binary_path

Post by octalot »

Suppose two add-ons contain an "images/units/blue-mage.png", and both have a unit that uses that image. The warning means that one of the images is going to be used for both units, and the other image will be ignored.
User avatar
Atreides
Posts: 1059
Joined: March 30th, 2019, 10:38 pm
Location: On the 2nd story of the centre village of Merwuerdigliebe turning the lights on and off

Re: Conflicting files in binary_path

Post by Atreides »

Thanks, I've seen the effect now. Amazed that an add-on attack icon over-rode a mainline one, wouldn't have thought it possible.
Post Reply