简介:
十年来,我一直在制作资源包,根据我的心情、当前的游玩方式或特定主题/梗来改变游戏的音乐。我一直很困扰的是,从未找到一个易于使用的模板包,以便在我休息时不必去查看 Mojang 修改后的游戏索引,也不必在记事本中逐个搜索哈希代码以确认之前的音乐包是否仍可使用,或者开发者是否完全更改了系统。今天,我花了 3 个小时反复检查并确保创建了一个工作良好的自定义音乐模板包,这样我只需要替换内部空文件并将其打包为 zip 格式,即可生成一个新的资源包。我只能希望 Mojang 不会在即将到来的 1.17 更新中更改该系统,这样我只需向模板中添加一些其他文件即可。
特性:
- 所有文件都位于各自的位置,标明其对应的音乐
- 文件为空,因此预期文件大小很小
- 下载方便
- 替换简单
- 替换完想要使用的音乐后,只需将其压缩即可
2024.07.22 更新!
自 1.18 版本起,微软更改了游戏内的音频工作方式。我还没有时间进行测试,但我认为替换的音乐必须与被替换的音频具有完全相同的时长。例如,wet_hands.ogg 的长度为 1 分 30 秒。你用来替换它的音频必须具有相同的时长,否则将无法正常工作。
别忘了 Minecraft 使用的是 .ogg vorbis 而不是 .ogg opus 文件格式扩展名。它会播放前者(vorbis),但不会播放后者(opus)。
我不做任何保证,但我会尝试研究该模组,添加来自更新的额外音乐文件,并测试微软在音频文件中设置的时长限制。希望能在冬季完成。
更新!(重要!):
许多用户抱怨在使用模板资源包中提供的 .ogg 文件(删除、重命名、移动它们)时,他们的 PC 会冻结或变慢。我在评论中已经强调过这一点,而且许多人似乎不愿阅读我的回复,因此不断向我提出同样的投诉。我将尝试解释 .ogg (vorbis) 文件的问题所在。问题并非由我的模板或我提供的资源包引起。在发布任何数据/资源包之前,我都会进行彻底测试,以确保不上传任何有缺陷的内容。因此,这个资源包本身没有问题。问题并非由我作为占位符提供的空 .ogg vorbis 文件引起。你的 PC 冻结、变慢、崩溃 甚至 在处理 vorbis 文件时毫无反应 的问题在于微软,而非我。十多年来,Windows 在处理 vorbis 文件进行文件操作时一直存在这些问题。不信?请点击下方列出的链接自行验证。尽管我试图通过将空的占位符 .ogg 文件替换为 1 秒的静音(实际音频)来缓解此问题,因此从 1.19.4 版本开始,模板中的 .ogg 文件不再是占位符,而是实际的静音音频文件,如果未使用应不会给任何人带来麻烦……但由于微软未永久修复该问题,处理 vorbis 文件时仍可能出现故障。祝旅途愉快,伙伴!
2024.10.09 更新(可能的 bug 修复?):
- 用户提交 -
不确定你是否已经找到了此问题的修复方法,但如果尚未找到,则需要一个 sounds.json 文件来修复那些已替换音频的音乐唱片不再作为环境世界音乐播放的问题。
你可以从 Minecraft 资产网站获取此 JSON 文件,它应该具有 .cloud 域名。然后只需将音乐部分和音乐唱片部分复制粘贴到各自的文件中,然后将这些文件放入资源包的 sounds 文件夹中。
我自己进行了少量测试,发现已替换的音乐唱片随机作为环境音乐播放的问题已不再出现。它还应防止环境音乐随机中断和重叠。
使用方法:
- 下载 .zip 文件
- 将其解压到一个文件夹中
- 打开 assets 文件夹,然后根据你想更改的内容进入 >minecraft>sounds>music 或 records
- 在 Youtube 上查找它们的名称,例如对于唱片,“Minecraft 11.ogg”,然后你可以收听它是哪首歌(警告!你不能播放此模板资源包中的 .ogg 文件作为音乐文件,因为我不被允许重新分发 Mojang 的音乐,并且如上所述,这些文件是空快捷方式文件。仅用于让你通过名称查看原始包含给定音乐的音频文件。你不能播放和收听它们。别再问和报告说你不能播放了!显然你不能……)
- 下载你想要替换的歌曲,格式为 .ogg(我个人使用 4k video downloader 一次性下载和转换,但也有其他几种工具可用)
- 完成游戏中想要使用的音乐替换后,删除所有你未修改的其他 .ogg 文件(这非常重要。如果你不删除未修改的文件,当资源包激活时,由于它们是空的快捷方式文件,游戏将不会在其中播放任何内容)
- 在你下载的“Custom Music & Recording Hollow Template 1.0.0”目录中修改 pack.mcmeta,填写关于你所修改内容的适当描述,如果需要自定义封面艺术,则修改 pack.png
- 将 assets 文件夹、pack.mcmeta 和 pack.png 压缩为 zip 格式,然后你就可以使用了
恭喜!你已成功制作自定义音乐包/资源包!
如果你希望确保无误,这里有一个更深入的教程视频:
Introduction:
For 10 years I've been making resource packs that change the game's music according to my mood, my current play and game style or for a specific theme/meme. It always bothered me how I never found an easy to use template pack so when I take a break I won't have to look at Mojang's changed game indexes, search the hash codes one by one in notepad to see whether or not my previous music pack is still useable or the devs completely change the system. Today I spent 3 hours just to double check and make sure that I created a well working template pack for custom music thus all I have to do is replace the empty/hollow files inside and zip it to make a new resource pack. I can only hope Mojang won't change the system with the upcoming 1.17 update and all I'll have to do is to add a few other files to the template.
Features:
- Everything is in their respective place signifying what music it is
- The files are hollow thus small file size is expected
- Easy download
- Easy replacement
- Just zip it when you've replaced the music you wish to use
Update 2024.07.22!
Since 1.18 Microsoft changed how audio works in-game. I've not had the time to test it yet but I believe the replacement music has to be the exact same length in time that of the replaced audio. For example wet_hands.ogg is 1 minutes and 30 seconds long. The audio you replace it with has to be the same length or else it won't work.
Don't forget that Minecraft uses .ogg vorbis and not .ogg opus file format extension. It'll play the first one (vorbis), but not the second one (opus). I'm not making any promises but I'll try to look into the mod, add the extra music files from the updates and test out the duration limit in the audio files that Microsoft set. During the winter, hopefully.
Update! (important!):
Many users complained that their PC freezes, slows down when working with the .ogg files (deleting, renaming, moving them) I provided in the template resource pack. I cannot stress this enough in the comments and many of you doesn't feel like reading my replies thus keep coming to me with the same complaints I'll try to explain the issue with the .ogg (vorbis) files. The issue is NOT caused by my template, nor the resource pack I provided. Before publishing any of my data/resource packs I thoroughly test them not to upload anything buggy. Thus there is nothing wrong with this resource pack of mine. The issues are NOT caused by the empty .ogg vorbis files I provided as placeholders. The issues of your PC freezing, slowing down, crashing or not even doing anything when handling vorbis files is on Microsoft, not me. For over a decade now Windows produced these very same issues when doing file operations with vorbis files. Don't believe me? See for yourself in the outlined words that are clickable links. Even though I tried to ease this problem by replacing the empty placeholder .ogg files with 1 seconds of silence (actual audio) so as of 1.19.4 the .ogg files within the template are not placeholders but actual, silent audio files that shouldn't give anyone any trouble to delete if unused... there still could be issues with handling vorbis files thanks to Microsoft not fixing the issue permanently. Happy trails partner!
Update 2024.10.09 (bug fix?):
-Submitted by user-
Not sure if you have already found a fix for this yet but in case you haven't a sounds.json file is needed to fix music discs you have replaced the audio of from playing as ambient world music.
You can get this JSON file from the Minecraft assets site, it should have the .cloud domain. Then just copy and paste the music section along with the music record section into their own file that you can then put into the resource pack where the sound folder is.
I've tested it myself a little bit and I've found no more issues with replaced music disc tracks randomly playing as ambient music anymore. It should also prevent ambient music from randomly cutting out and overlapping as well.
How to use:
- Download the .zip file
- Unzip it into a folder
- Open the assets folder then go to >minecraft>sounds>music or records depending which one you want to change
- Look up their names on Youtube, for example in case of records "Minecraft 11.ogg" then you can listen which song it is (WARNING! You cannot play the .ogg files in this template resource pack as music files for I'm not allowed to redistribute Mojang's music and as I mentioned above these files are empty shortcut files. Mere placeholders for you to see which music file contains the given music originally by name. You cannot play and listen to them. Stop asking and reporting that you can't! Obviously you can't...)
- Download a song you wish to replace it with in .ogg file format (I personally use 4k video downloader to download and convert in one go but there are several other tools as well)
- After you are finished with replacing the music you wish to use in-game, delete all the other .ogg files you haven't modified (This is very important. If you don't delete the files you haven't modified the game won't play anything in their place once the resource pack is active since they're empty shortcut files)
- Modify the pack.mcmeta in your downloaded "Custom Music & Recording Hollow Template 1.0.0" directory with the appropriate description of what you modified and then the pack.png if you want to use custom cover art
- ZIP the assets folder, pack.mcmeta and pack.png then you're good to go
Congrats! You've made a custom music pack/resource pack!
A more in-depth tutorial video if you want to make sure:
下载 Music Resource Pack Template
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Music Resource Pack Template
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Music Resource Pack Template
下载 Music Resource Pack Template
下载 Music Resource Pack Template
下载 Music Resource Pack Template
下载 Music Resource Pack Template
下载 Music Resource Pack Template
下载 Music Resource Pack Template
下载 Music Resource Pack Template
- 更新了 pack.mcmeta
- 添加了 ebb.ogg、memories.ogg、nightly.ogg、shores.ogg 占位符
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
资源包
John Smith Technician's Remix 是原版 John Smith 资源包的变体,专为搭配模组化 Minecraft 使用而设计。
资源包
Golden Days 是一款 Minecraft 资源包,旨在重现早期版本(如 Beta)中的旧纹理、光照、名称和音效。需要启用内置的 Programmer Art 资源包。
资源包
带有独特纹理的功能性方块深色 GUI。80 个模组的深色模式
资源包
《基岩版》风格的极简 GUI 和 HUD
资源包
让你的游戏画面就像宣传片一样!动态动画实体,为你的 Minecraft 体验增添新鲜感。
资源包
放松、沉浸式的天气音效,带来舒适的品质与宁静。
评论 0
登录后参与评分
还没有评论,来抢沙发吧