Posted October 15, 201213 yr 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?
October 15, 201213 yr 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
October 15, 201213 yr Author OK. That Forge version file will certainly help. I'll dig out the rest from mod class files
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.