Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    I have a problem

    Help wanted · · · – – – · · ·
    2
    5
    263
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Marko Jelić
      Marko Jelić last edited by

      When i try to edit mod for minecraft there is a bunch of strange text and not the regular code, idk if it is a bug or me not having the right tools

      here is a sample of the text/code:
      5"=ézʱćzj;•ˆµä‰´[Ňné ¬ąň—®rek›ĺ¤ű4¬¸÷ńHO&ô„žL=

      1 Reply Last reply Reply Quote 0
      • PeterJones
        PeterJones last edited by

        Generally, if you see strange characters like that, you are trying to edit a binary file.

        As to whether the Minecraft file you are trying to mod is supposed to be binary file, or supposed-to-be-but-not a plaintext source file (like a config file or source code) – that is something we cannot know, because you didn’t even tell us the name of the file you’re trying to look at.

        In general, Notepad++ is a text editor. If you are trying to edit a text-based file (.txt, .html, .json, .xml, .md, .ini, .cfg are all often plaintext), you should see what you expect and are using the right tool. If you are trying to edit a binary file (.exe, .com, .dll, .so, .a, .docx, .doc, .xls, .xlsx, … ∞), you won’t see what you hope to, and won’t be able to edit it, and are using the wrong tool. If you are trying to edit source code (.c, .cpp, .java, … ∞), you should generally be able to read it (but you will need a compiler to make changes if it’s through source code, rather than through a config file).

        1 Reply Last reply Reply Quote 2
        • Marko Jelić
          Marko Jelić last edited by

          this is my first time trying to edit mods and files of any kind so idk a lot of the stuff, but under file type it says that it is “executable jar file”, and i have no idea what that means

          PeterJones 1 Reply Last reply Reply Quote 0
          • PeterJones
            PeterJones @Marko Jelić last edited by

            @Marko-Jelić said in I have a problem:

            this is my first time trying to edit mods and files of any kind so idk a lot of the stuff, but under file type it says that it is “executable jar file”, and i have no idea what that means

            An “executable jar file” is a binary file produced by a java compiler. To edit that, you either need access to the original .java code (which is plaintext source code), and then compile it; or you need to use a hex editor and really know what you’re doing.

            You might want to find a forum or community devoted to Minecraft modding, and look for a tutorial on how to really do what it is you’re trying to do.

            Marko Jelić 1 Reply Last reply Reply Quote 1
            • Marko Jelić
              Marko Jelić @PeterJones last edited by

              @PeterJones tnx, you gave me more info than 2 days of searching on the internet, have a nice day :).

              1 Reply Last reply Reply Quote 1
              • First post
                Last post
              Copyright © 2014 NodeBB Forums | Contributors