Jump to content

Mod compatibility check fix


Atrik
 Share

Recommended Posts

This mod allow ignoring the file structure in determining if a mod is compatible or not. 

I'm making this after desperately not understanding what is going wrong with @Emacz mod classical-warefare-aea-main.
With this mod I'm finely able to join his hosts easily.

Anyone making a incompatible mod could use this to make players joining each other easier without having to skip compatibility check.

compatibilitycheckfix.zip

Edited by Atrik
  • Thanks 1
Link to comment
Share on other sites

Isn't it unusual to allow the same mod to have a different file structure for two different users? Couldn't that generate false positives?

Aside from my question, this seems like a rather forced solution aimed at solving a problem that doesn't really exist. Modders should provide a simple way for users to obtain their mods. Besides, it doesn’t seem like a serious issue. It’s just a matter of learning how to properly create a .zip/.pyromod and providing clear instructions to the end user.

Link to comment
Share on other sites

44 minutes ago, guerringuerrin said:

Isn't it unusual to allow the same mod to have a different file structure for two different users?

I've done a mod that change 0AD icon and I'm trying to distribute it.

  1. On my machine
    
    ModImWorkingOn/
    ├─ mod.json
    ├─ fileIgnoredByGitIgnore.@#$%
    └─ art/
       └─ 0ADIcon
    
  2. A user cloning my git

    New0ADIcon/
    ├─ mod.json
    └─ art/
       └─ 0ADIcon
     
  3. A user downloading from my git

    New0ADIcon-master/
    ├─ mod.json
    └─ art/
       └─ 0ADIcon
     
  4. A user downloading from mod.io

    New0ADIcon/
    ├─ mod.json
    └─ New0ADIcon.zip
     
1 hour ago, guerringuerrin said:

Couldn't that generate false positives?

Yes, 1000x harder for the modder to fck up and generate false positive then generating false negative thoughts. Being on the responsibility of the modder rather then the user is also obviously desirable.

I think that also invalidate your remarks about this being a solution for a problem that doesn't exist. Which you would have a high chance of being wrong about since I don't think you ever use incompatible mods (yes you use and distribute compatible ones but they don't have this problem. For now, anyways).
I don't know the original cause of the problem I faced with @Emacz, and others using his mod. But this isn't the first time I'm facing troubles with mods trying to use compatibility check, and this fix would have probably solved past cases.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...