How to play the shutdown song (and change it)

Discussion in 'Alice (Minecraft)' started by justin97530, 23 October 2014.

  1. justin97530

    justin97530 The guy who uses all materials, <3

    Joined:
    25 September 2014
    Messages:
    11
    Likes Received:
    2
    Alright, so xCromy was trolling me this day by putting jukeboxes with 1-Direction songs in my base, so I decided to "dig into" how he got those records. It so happens that it's from "SKCraft Shenanigans".

    *Prepare for wall of text*

    In this tutorial, I'm going to show you how to listen to the SKCraft Shenanigans tunes (with the shutdown song being probably the most popular), and how to change them.

    First off, the sound files are in .ogg format, so if you don't have an .ogg player, then you'll need one.

    Second, we're going to decompile "SKCraft Shenanigans" (which may or may not be legal, so don't try to share them). For that, you'll need a java decompiler, I suggest JD-GUI. (No links, go look it up, don't be lazy)

    Now, let's get to the actual steps:

    1) Go into your SKCraft alice 1.7 mods folder (It's in ~/.skcraftlauncher/instances/Alice 1.7/minecraft/mods/ on Mac)

    [​IMG]

    2) Locate the SKCraft Shenanigans mod.

    [​IMG]

    3) Open the mod jar file in JD-GUI, or whichever java decompiler you prefer, but for the sake of this tutorial, I'll stick with JD-GUI.

    [​IMG]

    4) In JD-GUI, click "File", then "Save all sources", call them and place them whatever and wherever you want.

    5) Unzip the source files and open the folder.

    6) In the folder, open "assets", "skcraftshenanigans", "sounds", then "records". Et voila ("There you go"), the sound files for all the SKCraft Shenanigan songs.

    There you go!

    Optional: How to change the sound. [UNTESTED]

    1) Change the .ogg file. (REMEMBER, YOU CANNOT JUST CHANGE THE EXTENSION.)

    2) Import the source folder

    3) Resolve dependencies

    4) Compile jar

    5) Replace old jar with modded one

    DONE!
     
    DeeeezNutz likes this.
  2. ianthenoob

    ianthenoob Active Member

    Joined:
    23 September 2012
    Messages:
    104
    Likes Received:
    51
    Why would you ever wanna change it :p
     
  3. Pathaleon

    Pathaleon Forum & Server Administrator
    Staff Member

    Joined:
    3 July 2012
    Messages:
    1.014
    Likes Received:
    670
    .jar is just a container like .zip just open it with winrar.
     
  4. justin97530

    justin97530 The guy who uses all materials, <3

    Joined:
    25 September 2014
    Messages:
    11
    Likes Received:
    2

    Because you wub dudu.
     
  5. Talons1337

    Talons1337 I am a build team

    Joined:
    21 December 2011
    Messages:
    491
    Likes Received:
    129
    Just open the jar with archive utility, when you're done changing stuff, go and select everything that is inside the jar (not the jar itself), zip it up again, and then drag it out, delete or backup the unpacked jar(s), and rename the zipped skc shenanigans back to .jar
     
  6. Penagwin

    Penagwin Linux Servers are better then windows!

    Joined:
    10 February 2013
    Messages:
    114
    Likes Received:
    45
    You realize that the program you are using is for decompiling class files right? If you wanted the source code there you go.
     
  7. justin97530

    justin97530 The guy who uses all materials, <3

    Joined:
    25 September 2014
    Messages:
    11
    Likes Received:
    2

    Yeah, I do. It's been 2 years since I've edited a jar file using Archive Utilities, so I decided to just stick with JD-GUI, so I can edit the code too.
     
  8. Penagwin

    Penagwin Linux Servers are better then windows!

    Joined:
    10 February 2013
    Messages:
    114
    Likes Received:
    45
    Ohhhhh. That makes much more sense!

    Edit: Thats what is wrong with this generation. Forge made everyone lazy. Now they don't even know how to open jar files. Such laziness, just use a 555 timer! *sarcasm
     
    DeeeezNutz likes this.
  9. justin97530

    justin97530 The guy who uses all materials, <3

    Joined:
    25 September 2014
    Messages:
    11
    Likes Received:
    2

    Yes, I do know how to open jar files. I just find it much more convenient to right click, and open with JD-GUI instead of renaming to zip, extracting, editing, then zipping it back.
     
  10. LordXyroz

    LordXyroz *insert ridiculously long title here*

    Joined:
    25 February 2014
    Messages:
    213
    Likes Received:
    30
    You can play .ogg files just fine with vlc, windows mediaplayer is crap, and don't ask me about other OS' :p
     
    DeeeezNutz likes this.
  11. Talons1337

    Talons1337 I am a build team

    Joined:
    21 December 2011
    Messages:
    491
    Likes Received:
    129
    .ogg is a nonstandard sound file, neither windows nor OSX support it. I wouldn't at all be surprised if linux did, though.
     
  12. Penagwin

    Penagwin Linux Servers are better then windows!

    Joined:
    10 February 2013
    Messages:
    114
    Likes Received:
    45
    Erm linux is a kernel... It doesn't recognize anything...

    Ok, ok, a linux os, fine. Depends on the installed programs. Default Ubuntu should no problem. Of course I'm an Arch user, so I'm used to complete flexibility over what programs I use.

    Edit: Sorry, I've been a smart alec today.
     
  13. Pathaleon

    Pathaleon Forum & Server Administrator
    Staff Member

    Joined:
    3 July 2012
    Messages:
    1.014
    Likes Received:
    670
    nice smartassery!