Jump to content
Sign in to follow this  
Itms

Guide for publishing mods on mod.io

Recommended Posts

If you want your mod to be available in the 0 A.D. mod downloader, you need to follow these steps.

1) Prepare your mod as explained in the Modding Guide. You should end up with a .zip file. If you created a .pyromod file, copy it and rename the copy to modname.zip so it can be uploaded on mod.io.

2) Sign up or login on mod.io. Go to Mods > Add Mod, and specify 0 A.D. in the field Game. Add all the information you want to make available for visitors. Complete the submission steps until your mod is shown as waiting for moderator approval.

3) When you are ready, send me a PM here on the forums, or an email. I will get the mod from mod.io, test it and take a look at its code. When I have checked the mod is not dangerous, I will sign the file. I will answer the PM/email with the signature. I can also report bugs in the mod, and mistakes you may have made when uploading the file on mod.io.

Important Notice:
Wildfire Games signs mods in order to mitigate the attacks that can be conducted against file repositories and the clients that download from them. Signing a file does not imply that the mod is official, nor that Wildfire Games participated in its creation in any way. It does not mean that it is exempt of bugs or oversights either. The only guarantee signing brings is that the file you are downloading is exactly the one that the signatory tested.

4) I will put the signature in the metadata of the file on mod.io, then make the mod live. Right after this is done, your mod will appear in the mod downloader!

Happy modding B)

  • Like 10

Share this post


Link to post
Share on other sites

Common Mistakes:

  • name/label confusion in mod.json - for instance https://0ad.mod.io/ja-lang
    • "name" should be a lowercase identifier, it usually matches the URL of your mod on mod.io: for instance "ja-lang"
    • "label" is a human-readable name, it usually matches the title of the mod on mod.io: for instance "Japanese Language Pack"
  • top-level extra directory. Your zip should contain directly mod.json and the rest of the files, it should not contain a sub-directory with the files. The best way to avoid the issue is to use the archive builder. In order to test whether you made the mistake, try opening the mod with 0 A.D. If you land on the mod selection page and your mod was added to the list (appearing in green), things are good.

Share this post


Link to post
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.

Sign in to follow this  

×
×
  • Create New...