I have a problem



  • 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=



  • 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).



  • 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



  • @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.



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


Log in to reply