It seems that if you have two files from different mods with the same name (path?) only one will be available. Is it possible to avoid files from dependency mods being overwritten?
To illustrate it in an example, imagine you have mod A which has mods B and C as dependency. Now if both mod B and mod C had a file called "modpicture.png" (in the root folder) only one of those files will be available. Is there any way to get both of these files?
Files from dependency mods being overwritten
Moderator: Moderators
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: Files from dependency mods being overwritten
The last file in the list takes precedence.
The dep system is old and pretty wonky, and seriously needs a bit of a facelift, but in it's hayday it helped quite a bit.
AA was a very intricate web of dependencies designed to keep update download sizes to a minimum.
The dep system is old and pretty wonky, and seriously needs a bit of a facelift, but in it's hayday it helped quite a bit.
AA was a very intricate web of dependencies designed to keep update download sizes to a minimum.
- Funkencool
- Posts: 542
- Joined: 02 Dec 2011, 22:31
Re: Files from dependency mods being overwritten
I noticed this when one of my widgets was showing credits.txt from a maps root rather than the games root. I guess in my case renaming the file has no drawbacks but it would still be nice to have a better solution if one exists.
- Silentwings
- Posts: 3720
- Joined: 25 Oct 2008, 00:23
Re: Files from dependency mods being overwritten
I have never tried to do it but I have wondered if it was possible by changing the VFS mode (http://springrts.com/wiki/Lua_VFS), although the "unimplemented" comment on the wiki suggests someone once planned to write it but that its not been done.