Jump to content

Make mcmod.info mandatory and checked for consistency


Recommended Posts

Posted

Hello.

 

I've been told that mcmod.info files are meant for launchers/mod installers to make it easier to get version and basic mod info. However, in their current form, they don't really serve that purpose - most people don't bother adding them to their mods and even if they are there, the info is not guaranteed to be consistent with what the mod specifies in its annotations.

 

On top of that, forge and minecraft don't include any easily parseable version information (or I haven't found them yet). I've started implementing a class file parser to get at the info and I can get minecraft version this way.

 

Now... I'd love to have a solution for this on the forge side - making mcmod.info files mandatory, checking them for consistency with the annotations on load and adding minecraft and forge version files into the forge package itself. Ideally when forge switches from minecraft 1.3.2 to 1.4 so the change doesn't break existing mods.

 

What are your thoughts on this?

Posted

Im pretty sure that mcmod.info files won't become mandatory, so you're just gunna have to live with the fact that some mods don't have them.

As for Forge shipping a file with the version.. I could of sworn I did, but looks like I didn't so we do now:

https://github.com/MinecraftForge/MinecraftForge/commit/f10073dc457d48e6a6a4fb68b09d6680cdc3c8db

 

As for detecting FML/MC versions, thats been in fmlversion.properties for a while.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.