If I remove Minecraft sound files from .minecraft/assets/objects, will Minecraft be unable to play them?











up vote
1
down vote

favorite












This question was originally asked by Asadefa and for some reason deleted by the asker after I answered it. But it was a good question, so I'm copying it into a new post. Here is the old one for 10K+ users.




In Minecraft, there are a lot of cool sounds. I decided to find there location and move them to my desktop. I have Ubuntu, and if when I remove them from that folder will Minecraft be unable to play them or is it smart enough to figure out that they are gone and download them again. Before minecraft was installed, it had to download the files. I even moved my favorite song (creative 6) from the sounds. The sounds are not labeled and have seemingly random names like b0b12118a97ddd733a50e9382e91a21652568641 and how will I know what to call them that will be recognized without digging through the index if Minecraft fails to download them? Or do I not have to worry because it will download them again upon launch?



Note: Why does it not label them and call them random names?











share|improve this question


























    up vote
    1
    down vote

    favorite












    This question was originally asked by Asadefa and for some reason deleted by the asker after I answered it. But it was a good question, so I'm copying it into a new post. Here is the old one for 10K+ users.




    In Minecraft, there are a lot of cool sounds. I decided to find there location and move them to my desktop. I have Ubuntu, and if when I remove them from that folder will Minecraft be unable to play them or is it smart enough to figure out that they are gone and download them again. Before minecraft was installed, it had to download the files. I even moved my favorite song (creative 6) from the sounds. The sounds are not labeled and have seemingly random names like b0b12118a97ddd733a50e9382e91a21652568641 and how will I know what to call them that will be recognized without digging through the index if Minecraft fails to download them? Or do I not have to worry because it will download them again upon launch?



    Note: Why does it not label them and call them random names?











    share|improve this question
























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      This question was originally asked by Asadefa and for some reason deleted by the asker after I answered it. But it was a good question, so I'm copying it into a new post. Here is the old one for 10K+ users.




      In Minecraft, there are a lot of cool sounds. I decided to find there location and move them to my desktop. I have Ubuntu, and if when I remove them from that folder will Minecraft be unable to play them or is it smart enough to figure out that they are gone and download them again. Before minecraft was installed, it had to download the files. I even moved my favorite song (creative 6) from the sounds. The sounds are not labeled and have seemingly random names like b0b12118a97ddd733a50e9382e91a21652568641 and how will I know what to call them that will be recognized without digging through the index if Minecraft fails to download them? Or do I not have to worry because it will download them again upon launch?



      Note: Why does it not label them and call them random names?











      share|improve this question













      This question was originally asked by Asadefa and for some reason deleted by the asker after I answered it. But it was a good question, so I'm copying it into a new post. Here is the old one for 10K+ users.




      In Minecraft, there are a lot of cool sounds. I decided to find there location and move them to my desktop. I have Ubuntu, and if when I remove them from that folder will Minecraft be unable to play them or is it smart enough to figure out that they are gone and download them again. Before minecraft was installed, it had to download the files. I even moved my favorite song (creative 6) from the sounds. The sounds are not labeled and have seemingly random names like b0b12118a97ddd733a50e9382e91a21652568641 and how will I know what to call them that will be recognized without digging through the index if Minecraft fails to download them? Or do I not have to worry because it will download them again upon launch?



      Note: Why does it not label them and call them random names?








      minecraft






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 15 mins ago









      Fabian Röling

      4,98931235




      4,98931235






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote













          There are three things that can happen if you delete a sound file from the assets folder, depending on when you do it:




          1. Before you start Minecraft: The launcher will download the missing file again and everything will behave normally.

          2. While Minecraft is running and after hearing that sound at least once: The sound is likely in RAM already and will be used from there. If you run out of RAM, it might be cleared, it might not.

          3. While Minecraft is running and before hearing the sound for the first time: It will likely not be in RAM, so Minecraft will actually try to access the missing file. What happens then? It freezes. Not really what you want.


          What to do?



          You likely want to mute a sound. You can do that by creating a resource pack (archive) that replaces the sound with a silent sound file. Since it's surprisingly difficult to get one of those, I made one a long time ago: silent.ogg*



          Why the weird names?



          I don't know exactly why these files are named how they are (which is hexadecimal), it might have something to do with reading speed. But if you want to get the proper names, there is an index in .minecraft/assets/indexes/<version>.json.

          It uses the syntax: "<proper_filename>":{"hash":"<hexadecimal_filename>","size":"<file_size>"}
          <hexadecimal_filename> is the filename as it appears in .minecraft/assets/objects, <proper_filename> is a humanly readable file name.

          Note that only files in .minecraft/assets/objects are listed here, other assets, for example textures, are contained in the .jar files in .minecraft/versions. They have proper filenames themselves.





          (*That file is on my Google Drive. It should stay there, but if it's ever not available anymore, send me a mail, it will be in my October 2018 backup.)






          share|improve this answer





















            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "41"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            noCode: true, onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgaming.stackexchange.com%2fquestions%2f342242%2fif-i-remove-minecraft-sound-files-from-minecraft-assets-objects-will-minecraft%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            1
            down vote













            There are three things that can happen if you delete a sound file from the assets folder, depending on when you do it:




            1. Before you start Minecraft: The launcher will download the missing file again and everything will behave normally.

            2. While Minecraft is running and after hearing that sound at least once: The sound is likely in RAM already and will be used from there. If you run out of RAM, it might be cleared, it might not.

            3. While Minecraft is running and before hearing the sound for the first time: It will likely not be in RAM, so Minecraft will actually try to access the missing file. What happens then? It freezes. Not really what you want.


            What to do?



            You likely want to mute a sound. You can do that by creating a resource pack (archive) that replaces the sound with a silent sound file. Since it's surprisingly difficult to get one of those, I made one a long time ago: silent.ogg*



            Why the weird names?



            I don't know exactly why these files are named how they are (which is hexadecimal), it might have something to do with reading speed. But if you want to get the proper names, there is an index in .minecraft/assets/indexes/<version>.json.

            It uses the syntax: "<proper_filename>":{"hash":"<hexadecimal_filename>","size":"<file_size>"}
            <hexadecimal_filename> is the filename as it appears in .minecraft/assets/objects, <proper_filename> is a humanly readable file name.

            Note that only files in .minecraft/assets/objects are listed here, other assets, for example textures, are contained in the .jar files in .minecraft/versions. They have proper filenames themselves.





            (*That file is on my Google Drive. It should stay there, but if it's ever not available anymore, send me a mail, it will be in my October 2018 backup.)






            share|improve this answer

























              up vote
              1
              down vote













              There are three things that can happen if you delete a sound file from the assets folder, depending on when you do it:




              1. Before you start Minecraft: The launcher will download the missing file again and everything will behave normally.

              2. While Minecraft is running and after hearing that sound at least once: The sound is likely in RAM already and will be used from there. If you run out of RAM, it might be cleared, it might not.

              3. While Minecraft is running and before hearing the sound for the first time: It will likely not be in RAM, so Minecraft will actually try to access the missing file. What happens then? It freezes. Not really what you want.


              What to do?



              You likely want to mute a sound. You can do that by creating a resource pack (archive) that replaces the sound with a silent sound file. Since it's surprisingly difficult to get one of those, I made one a long time ago: silent.ogg*



              Why the weird names?



              I don't know exactly why these files are named how they are (which is hexadecimal), it might have something to do with reading speed. But if you want to get the proper names, there is an index in .minecraft/assets/indexes/<version>.json.

              It uses the syntax: "<proper_filename>":{"hash":"<hexadecimal_filename>","size":"<file_size>"}
              <hexadecimal_filename> is the filename as it appears in .minecraft/assets/objects, <proper_filename> is a humanly readable file name.

              Note that only files in .minecraft/assets/objects are listed here, other assets, for example textures, are contained in the .jar files in .minecraft/versions. They have proper filenames themselves.





              (*That file is on my Google Drive. It should stay there, but if it's ever not available anymore, send me a mail, it will be in my October 2018 backup.)






              share|improve this answer























                up vote
                1
                down vote










                up vote
                1
                down vote









                There are three things that can happen if you delete a sound file from the assets folder, depending on when you do it:




                1. Before you start Minecraft: The launcher will download the missing file again and everything will behave normally.

                2. While Minecraft is running and after hearing that sound at least once: The sound is likely in RAM already and will be used from there. If you run out of RAM, it might be cleared, it might not.

                3. While Minecraft is running and before hearing the sound for the first time: It will likely not be in RAM, so Minecraft will actually try to access the missing file. What happens then? It freezes. Not really what you want.


                What to do?



                You likely want to mute a sound. You can do that by creating a resource pack (archive) that replaces the sound with a silent sound file. Since it's surprisingly difficult to get one of those, I made one a long time ago: silent.ogg*



                Why the weird names?



                I don't know exactly why these files are named how they are (which is hexadecimal), it might have something to do with reading speed. But if you want to get the proper names, there is an index in .minecraft/assets/indexes/<version>.json.

                It uses the syntax: "<proper_filename>":{"hash":"<hexadecimal_filename>","size":"<file_size>"}
                <hexadecimal_filename> is the filename as it appears in .minecraft/assets/objects, <proper_filename> is a humanly readable file name.

                Note that only files in .minecraft/assets/objects are listed here, other assets, for example textures, are contained in the .jar files in .minecraft/versions. They have proper filenames themselves.





                (*That file is on my Google Drive. It should stay there, but if it's ever not available anymore, send me a mail, it will be in my October 2018 backup.)






                share|improve this answer












                There are three things that can happen if you delete a sound file from the assets folder, depending on when you do it:




                1. Before you start Minecraft: The launcher will download the missing file again and everything will behave normally.

                2. While Minecraft is running and after hearing that sound at least once: The sound is likely in RAM already and will be used from there. If you run out of RAM, it might be cleared, it might not.

                3. While Minecraft is running and before hearing the sound for the first time: It will likely not be in RAM, so Minecraft will actually try to access the missing file. What happens then? It freezes. Not really what you want.


                What to do?



                You likely want to mute a sound. You can do that by creating a resource pack (archive) that replaces the sound with a silent sound file. Since it's surprisingly difficult to get one of those, I made one a long time ago: silent.ogg*



                Why the weird names?



                I don't know exactly why these files are named how they are (which is hexadecimal), it might have something to do with reading speed. But if you want to get the proper names, there is an index in .minecraft/assets/indexes/<version>.json.

                It uses the syntax: "<proper_filename>":{"hash":"<hexadecimal_filename>","size":"<file_size>"}
                <hexadecimal_filename> is the filename as it appears in .minecraft/assets/objects, <proper_filename> is a humanly readable file name.

                Note that only files in .minecraft/assets/objects are listed here, other assets, for example textures, are contained in the .jar files in .minecraft/versions. They have proper filenames themselves.





                (*That file is on my Google Drive. It should stay there, but if it's ever not available anymore, send me a mail, it will be in my October 2018 backup.)







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 15 mins ago









                Fabian Röling

                4,98931235




                4,98931235






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Arqade!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgaming.stackexchange.com%2fquestions%2f342242%2fif-i-remove-minecraft-sound-files-from-minecraft-assets-objects-will-minecraft%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Михайлов, Христо

                    Гороховецкий артиллерийский полигон

                    Центральная группа войск