Monday, 23 December 2013

Decode and copy songs from Minecraft

Yesterday I went through the trouble to create an application that reads Minecraft's assets index, deobfuscates then song files, and copies them to a destination folder. You technically could do this on your own, however, it would take a lot of boring copy-and-pasting. Either way, it was more of a learning experience and a way to help me better understand I/O and string parsing.

You can download the jar file here.

To use this simply select the Minecraft assets folder (the text field's tool tip will tell you where this might be on your system), select a destination folder, and click "Extract". Your destination folder will be filled with all the song files in the game (including records) in the ogg format. VLC will play this format, but you may need to convert to mp3 to use in other players. Keep note: these files are yours to enjoy because you bought Minecraft, so please respect C418's terms of use. As for the program, you can do whatever you want with it as long as you don't redistribute/share the download link without a reference to this page.

If you have any suggestions feel free to post them below, and have fun with your music!

No comments:

Post a comment