• 0

    posted a message on [Help Wanted] Parsing Launch Arguments and Running Game

    Hi there, recently me and some friends have been working on developing a Minecraft launcher and we're currently struggling with parsing out the launch arguments for the game (I will leave a link to the version json as reference). It specifies an array of arguments as strings, with no key/value system whatsoever. The other bit which is confusing besides the fact that there are JVM arguments and actual game arguments to be parsed out is that some of the elements in the list are not just plain strings, but instead an object with a set of rules defining what platform the argument should be used on. In a few of the rules it specifies even more argument flags, which would need to be parsed. I'm just wondering if you guys have any tips or examples we could use to work off of, because everything we've created so far either breaks, or only works on certain versions because the format for certain things varies.
    [Link to argument parsing script]

    [Link to 1.16.4 version json]

    Posted in: Modification Development
  • To post a comment, please .