Modding Help How do I create / use a .modinfo file?

Discussion in 'Starbound Modding' started by NeoRedDog, Feb 16, 2014.

  1. NeoRedDog

    NeoRedDog Yeah, You!

    Hello, sorry in advanced if this question has been answered elsewhere. If I has please be quick to send me a link to the relevant post instead of screaming at me to use the search function, because I have searched :D

    Apart from that note I would like help in making a .modinfo file. At the moment I have been repacking all my unpacked assets into a packed.pak file but I have been told that is a bad thing to do and you can save a lot of time by using a .modinfo, if anyone could link a tutorial or answer these questions, they would be a timesaver!:

    How do I use it?
    What is it for?
    What do I put inside the .modinfo?
    How do I use it to make my mod easy to distribute?

    I have looked at this tutorial and most questions have been answered thanks to someone messaging me, if this could be locked I will put a link to the tutorial: http://community.playstarbound.com/index.php?resources/starbound-mod-manager.160/

    Thanks in advanced,
    Neo
     
    Last edited: Feb 16, 2014
  2. intervencion

    intervencion Existential Complex

    Create a .txt and rename it a "modname".modinfo

    No .modinfo, no mod.
     
    The | Suit likes this.
  3. NeoRedDog

    NeoRedDog Yeah, You!

    Do you know what I now do with this "modname".modinfo?
     
  4. intervencion

    intervencion Existential Complex

    How to Make Your Mods Compatible:

    Making mods work with this mod manager is a piece of cake, even more so now that Offended Koala has standardized mod loading.

    First, create a folder and call it whatever you want. Generally, this is better without spaces.

    Second, inside that folder create a file called "<foldername>.modinfo", then open it up in a text editor.

    Inside that file, write the following, but fill out the information for your mod instead of my example:
    Code:
    {
    "name" : "testmod",
    "version" : "Beta v. Offended Koala",
    "path" : ".",
    "metadata" : {
    "displayName" : "A Test Mod",
    "author" : "Some Krazy Guy",
    "description" : "This is another test mod. Use it wisely.",
    "support_url" : "forum-link",
    "version" : "1.0"
    }
    }
    
    Make sure that the name of your folder, .modinfo, and "name" data are all the same.

    Source: http://community.playstarbound.com/index.php?resources/starbound-mod-manager.160/
     
    The | Suit likes this.
  5. NeoRedDog

    NeoRedDog Yeah, You!



    Thanks very much! Your help was very helpful (it wouldnt really be help if it wasnt helpful...)
    I have got it sorted and now my Mod is working wonderfully! Thank you again!
     
  6. AlphaKara1

    AlphaKara1 Void-Bound Voyager

    How do I make a .modinfo file?
     
  7. Literally 2 posts above you.
     
    BitHorizon and intervencion like this.
  8. Oddbrother

    Oddbrother Cosmic Narwhal

    What's 'displayName' used for anyway?

    As far as I'm aware, I haven't seen any utility or program make use of it. Not even Starbound Mod Manager. I've just been using 'name' to display the mod's title in it.
     
    Last edited: Jul 22, 2014
  9. The | Suit

    The | Suit Agent S. Forum Moderator

    The example given - contains irrelevant information.
    All starbound uses is
    Code:
    {
      "name" : "testmod",
      "version" : "Beta v. Offended Koala",
      "path" : ".",
      "dependency" : []
    }
     
    Grox100 and Oddbrother like this.
  10. Tridenttri

    Tridenttri Intergalactic Tourist

     

Share This Page