Jump to content

  • Curse Sites
Become a Premium Member! Help
Latest News Article

Music Disk Renaming

music disk renaming 1.6.1 gein resource packs help

  • Please log in to reply
10 replies to this topic

#1

Gein
    Gein

    Tree Puncher

  • Members
  • 33 posts

Posted 09 July 2013 - 11:48 PM

I was making a resource pack and I wanted to rename the name of the music that the disk plays. If someone could tell me how to rename the music that the music disks play, it would be most appreciated. Thanks.
click here! Posted Image
Click to support! ---> https://www.paypal.c...G.gif:NonHosted

Register or log in to remove.

#2

Blaziken584
    Blaziken584

    Waker of the Winds

  • Sectional Moderator
  • Curse Premium
  • 2601 posts
  • Location: Sakuragaoka High Light Music Clubroom
  • Minecraft: Blaziken584

Posted 10 July 2013 - 12:05 AM

Go to your .jar file and copy out the folder located in - assets > lang > en_US.lang (or whatever language file you want to include with your resource pack)

After this, open it with a more advanced editor than notepad.  Use an editor like TextWrangler, Sublime Text 2, Notepad++, your choice Posted Image

Once you open the file, you should see the text for everything in the game, so just do a search for the music you want to change, and that's it!  Just save it, place it in your resource pack in the assets > lang folder and you are good to go!


EDIT*  Well, I checked just to verify, and I couldn't actually find the names of the songs, it's possible that it gets the names from the music itself, and in that case I don't think you could change them without a mod. But possibly if you change the names of the songs and try playing them it might work?
Posted Image  Wind Waker Texture Pack and for Pocket Edition! ~ Texture Pack Central - Large directory of Texture Packs!

#3

DiostraMech
  • Location: Pensacola, Florida
  • Minecraft: DiostraMech

Posted 12 July 2013 - 09:29 PM

I've been trying to find the same thing. I don't really think there is a way to do it other than going strait into the code of minecraft itself. If someone does find a way though it would be nice if they could say how to change how it appears in-game (not like in the lang file but when it pops up in rainbow colors saying C418 - Cat).

#4

Wulf_Oman
    Wulf_Oman

    Lapis Lazuli Collector

  • Members
  • 1030 posts
  • Location: Lost in an Abandoned Mineshaft
  • Minecraft: Wulf_Oman

Posted 16 July 2013 - 08:46 AM

My solution do this was making an "hd" texture for the discs with the name of the song playing on them

#5

monkeytoad11

Posted 03 August 2013 - 03:19 PM

Yea I think you have to go strait to the code. Posted Image

#6

halfreal
    halfreal

    Tree Puncher

  • Members
  • 33 posts

Posted 27 August 2013 - 06:12 AM

*sigh* ...I'd really like to know this too. It would be a tremendous pain to attempt to remember all the modded music discs by their ORIGINAL name. It's not just for me either. I'm producing a resource pack and its receiving some notable attention, only it can't go much further if there is a failure to implement the music properly. Don't get me wrong, C418's music is somewhat pleasant but I am having some serious hopes in adding some mad jams from none other than Koji Kondo himself for my recent resource pack, SNEScraft. With a desire to integrate some high-quality music, hopefully while providing thorough credit, I'm diligently planning to put this into full motion, granted that I am not stopped by the music disc naming incompatibility.

#7

Piano_Creeper
  • Minecraft: Piano_Creeper

Posted 28 August 2013 - 07:54 PM

View PostGein, on 09 July 2013 - 11:48 PM, said:

I was making a resource pack and I wanted to rename the name of the music that the disk plays. If someone could tell me how to rename the music that the music disks play, it would be most appreciated. Thanks.
I believe my reply should do it

View PostBlaziken584, on 10 July 2013 - 12:05 AM, said:

--SNIP--
It's possible that it gets the names from the music itself, and in that case I don't think you could change them without a mod. But possibly if you change the names of the songs and try playing them it might work?
These titles are coded in a certain class, changing the name of the songs will make them unplayable since minecraft won't recognize them anymore...

View PostDiostraMech, on 12 July 2013 - 09:29 PM, said:

I've been trying to find the same thing. I don't really think there is a way to do it other than going strait into the code of minecraft itself. If someone does find a way though it would be nice if they could say how to change how it appears in-game (not like in the lang file but when it pops up in rainbow colors saying C418 - Cat).

View PostWulf_Oman, on 16 July 2013 - 08:46 AM, said:

My solution do this was making an "hd" texture for the discs with the name of the song playing on them
I'll offer you a non-HD version that works even better Posted Image

View Postmonkeytoad11, on 03 August 2013 - 03:19 PM, said:

Yea I think you have to go strait to the code. Posted Image
Code yes, but it isn't hard.

View Posthalfreal, on 27 August 2013 - 06:12 AM, said:

--SNIP--
C418's music is somewhat pleasant but I am having some serious hopes in adding some mad jams from none other than Koji Kondo himself for my recent resource pack, SNEScraft. With a desire to integrate some high-quality music, hopefully while providing thorough credit, I'm diligently planning to put this into full motion, granted that I am not stopped by the music disc naming incompatibility.

I had the same problem for my resource pack, and haven't found it in the language files, so I asked a good friend.
He came up with a little tweak that modifies the yk.class, the decompiled source can be found here:
https://www.dropbox....decompiled.java
The lines 85 - 108 are interesting, these are the custom record titles (adapted to my pack)
I don't consider THIS as mod, it's more of a tweak (you only need to change these parts and send it to somebody to recompile it Posted Image)

Since many guys needed that reply, feel free to pin it (@moderators)...
Upvote that reply if it helped you helpful, It's bad If I need to post this reply multiple times (like I already did)
Best wishes
~Piano

#8

halfreal
    halfreal

    Tree Puncher

  • Members
  • 33 posts

Posted 29 August 2013 - 04:47 PM

View PostPiano_Creeper, on 28 August 2013 - 07:54 PM, said:

I believe my reply should do it

These titles are coded in a certain class, changing the name of the songs will make them unplayable since minecraft won't recognize them anymore...


I'll offer you a non-HD version that works even better Posted Image

Code yes, but it isn't hard.


I had the same problem for my resource pack, and haven't found it in the language files, so I asked a good friend.
He came up with a little tweak that modifies the yk.class, the decompiled source can be found here:
https://www.dropbox....decompiled.java
The lines 85 - 108 are interesting, these are the custom record titles (adapted to my pack)
I don't consider THIS as mod, it's more of a tweak (you only need to change these parts and send it to sb to recompile it Posted Image)

Since many guys needed that reply, feel free to pin it (@moderators)...
Upvote that reply if it helped you helpful, It's bad If I need to post this reply multiple times (like I already did)
Best wishes
~Piano

Interesting solution, Piano_Creeper. I feel that you have brought a light upon my ever most dreary perception on solving this issue. I downloaded the decompiled code sequence, I will attempt to look into. However, I am currently unfamiliar with this terminology that you present to me, such as "sb".

I'm glad that you posted this, and I'm surprised that this isn't so well-known. I also up'd your comment. LOL, lovely selection of music you added there, BTW.

#9

Piano_Creeper
  • Minecraft: Piano_Creeper

Posted 29 August 2013 - 05:35 PM

View Posthalfreal, on 29 August 2013 - 04:47 PM, said:

Interesting solution, Piano_Creeper. I feel that you have brought a light upon my ever most dreary perception on solving this issue. I downloaded the decompiled code sequence, I will attempt to look into. However, I am currently unfamiliar with this terminology that you present to me, such as "sb".

I'm glad that you posted this, and I'm surprised that this isn't so well-known. I also up'd your comment. LOL, lovely selection of music you added there, BTW.

I was surprised too, but I answered the same question for the 5th time here... and I fixed the terminology as good as possible...
The music... I'll change that soon in my personal pack to own records (of me playing the piano)
I could get in slight troubles due to copyright infringements otherwise.

#10

MaxMelanson

Posted 02 September 2013 - 09:52 PM

View PostPiano_Creeper, on 29 August 2013 - 05:35 PM, said:

I was surprised too, but I answered the same question for the 5th time here... and I fixed the terminology as good as possible...
The music... I'll change that soon in my personal pack to own records (of me playing the piano)
I could get in slight troubles due to copyright infringements otherwise.
When i download the drop box file what do I do with it to change the disk names, drag it into the en_US.LANG file in my resource pack? sorry for being a noob ):

#11

Piano_Creeper
  • Minecraft: Piano_Creeper

Posted 02 September 2013 - 10:06 PM

as said in my first post - that's the source code of the yk.class in the minecraft.jar
You edit that section with the tracks to fit your needs, then you recompile it using Eclipse (or send it to a friend who is able to mod Java to let it recompile).
You'll get a "new" yk.class which you can put in your minecraft.jar (like a mod)