1

I had Minecraft 1.7.4 there were ogg files of all music (including records like cat.ogg calm.ogg) But when I uninstalled 1.7.4 and installed 1.8 those files disappeared . 1.8 has those music because when I play the game put music disc in jukebox I can hear the music. but where are the ogg files ?

In 1.7.4 they were in assets folder

2

How to find a sound file

  1. Open \.minecraft\assets\indexes\<version>.json. <version> can be 1.7.10, 1.8, 14w25b, etc.
  2. In the index file, you can find a organized list of assets and some informations(hash and size) about them. cave9.ogg for example,

    "minecraft/sounds/ambient/cave/cave9.ogg": {
    "hash": "b463fa47816fe9a5dfe508093150e647403e4db6",
    "size": 27096
    }

    has a hash value of b463fa47…. Remember first 2 digits(in this case b4).

  3. The actual sound file is located at .minecraft\assets\objects\<first 2 digits>\ with a filename being a <hash> without any extension. For example, cave9.ogg is located at .minecraft\assets\objects\b4\ with a filename b463fa47816fe9a5dfe508093150e647403e4db6 without extension.
  • Yes i saw many n number of files without extension. Will renaming them to proper name will give me the ogg file? – Fennekin Jan 5 '15 at 15:49
  • 1
    Just in case, I recommend that you make a copy of that file and rename it. The content of the file is already proper ogg bitstream but some music players don't play them properly when extension is not specified. – QbsidianH20 Jan 5 '15 at 15:53
  • Yeah!! It worked. At last my favourite cat.ogg is playing. thanks – Fennekin Jan 5 '15 at 15:55

protected by Community Jan 1 '16 at 10:37

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.