分享到新浪微博 分享到QQ空间 打印

[其他] 向你的Pokemon Rom添加音乐(译ed)

向你的Pokemon Rom添加音乐(译ed)

中文部分PTB roywillow 原创,转载注明


Hello my friends, I'm Magnius and I'm going to teach you today how to insert ANY song you like, into the GBA Pokemon games. For this particular tutorial we will be using Pokemon Fire Red, but it can be done on almost any Pokemon GBA game. However, before we start you're going to need a few things...

大家好啊~~~我是XXX(不翻译了)。这里我要教大家如何向GBA口袋妖怪中添加任何你喜欢的音乐。在这个教程中,我们将使用火红版本,但这个教程几乎何以在所有GBA口袋妖怪游戏中应用。但是,在我们开始之前我们需要一些东西……

- 2 Pokemon Fire Red Roms(Don't ask me where to get the roms).
- An emulator to play the rom on(I use VisualBoyAdvance myself).
- Sappy and mid2agb which you can both get here.
- A midi that you want to insert into the game.
- A backup of the Pokemon Fire Red rom incase anything goes wrong.

—两份Pokemon火红Rom(不要问我到哪里去得到)
—模拟器(我个人用VBA)
—Sappy和mid2agb,你可以在这里得到
    
—你想向Rom中插入的midi音乐
—一份火红备份,以防出现意外


Got all that stuff downloaded? Good. Once everything is downloaded make sure to extract everything into the same folder, trust me, it'll make things much easier later on. Now let's move on to the tutorial.

下载到所有的需要的了吗?好的。一旦下载下来后,确保将所有文件将压缩到同一文件夹下,相信我,这会在接下来让事情变得简单。现在我们开始教程。

Step 1 - Convert your midi to a ".s" file
In this first step we're going to use Mid2Agb to convert our midi file that we want to insert into the game, to an ".s" file. Before we move on, make sure your midi is in the same folder as Mid2Agb. Once you've made sure of that, open up the folder that Mid2Agb is in and click on your midi. After you've clicked on your midi drag it over to the Mid2Agb file and Mid2Agb will automatically convert the midi into a ".s" file. There is another way to convert the midi using the command prompt, but that just makes the whole process harder than it has to be.

第一步——将你的midi音乐转换成“.s”文件
在第一步中,我们将使用mid2agb把我们想插入的midi音乐文件转换成“.s”文件。开始之前,确保你的midi文件同mid2agb在同一文件夹下。这样之后,打开mid2agb所在文件夹,点击你的midi文件。点击之后,将你的midi文件拖拽到mid2agb文件然后mid2agb将自动将midi文件转换成“.s”文件。还有另一种方法,这需要使用命令提示符,但这只会将整个过程变得复杂起来。


Step 2 - Assemble the song using Sappy
Alright, now that you've got your ".s" file, we're going to put it to use in Sappy. So first, open up Sappy. After you've opened up Sappy, go to file and then click on "Open". Now find your first Pokemon Fire Red rom and open it. Now once you've opened your rom in Sappy you'll notice that in the upper left corner of the program a dropdown box will appear with a song name in it. Click that dropdown box and you'll see a list that you can scroll, of songs from the game. The song you click will be the song you'll be modifying in game. You can change any song, but for this tutorial find a song on the list called "Pokemon Theme", since it's one of the first songs you hear when you turn on the game. After you find that, click on "Assemble song" which is in the left part of the program. After that a box will pop up that says "Assemble .S file" at the top. Click the button next to the first box and then to open your ".S" file. The second box, is where you'll write your base offset, but don't worry about that too much now. For now just type the offset "0xEB0B20" in the base offset box. Third is the Voicegroup offset box which will already be filled in. Now click on "Assemble that ugly thing!" and wait for the program to finish assembling the song. Congrats, you've assembled the file. If the song plays already in the game by now, then congratulations, you're done, but if it doesn't, don't fret, move on to Step 3.

第二步——使用Sappy替换音乐
好啦,既然我们已经得到“.s”文件,我们将在Sappy中把它加入。因此首先,打开Sappy。打开Sappy之后,点击“File”中的“Open”。打开第一个火红Rom。打开之后你会注意到在程序的左上角(好像是右上角)会出现一个下拉列表,其中有一些音乐名。你所选择的音乐就是你将要替换的音乐。你可以替换任何音乐,但是在这个教程中,选择“Pokemon Theme”,因为这是你打开游戏后首先听到的音乐之一。找到这个音乐后,点击程序左边的“Assemble Song”。然后会出现一个标有“Assemble .S file”的窗口。点击在第一个文本框后面的按钮然后打开你的“.s”文件。第二个文本框,是用来输入base地址的(大概就是输入初始地址),但是现在没必要太担心。现在只要输入地址“0xEB0B20”。第三个是Voicegroup(声音组?)地址框,它是自动填好的。点击“Assemble that ugly thing!”(“换掉那个恶心的东西!”汗……似乎有时候换晚会更恶心……因为声音似乎会受损)然后等程序完成替换音乐。祝贺一下,你已经成功地替换了文件。如果现在音乐已经在游戏中正常播放,那么就再祝贺一下你完成了~~~~但是如果不是,不要急,到第三步。


Step 3 - Getting the file to work in game
So now you've assembled the file and it plays in Sappy, but you see that it doesn't play in game. Well slow down there guy, there's still a ways to go before we can get the file playing in game. Now that you've assembled the file we're going to export the tracks. In order to do this, go to "Export Tracks". You'll then see a bunch of unchecked boxes which are basically the offsets of the tracks, check all of them. In the 2nd box, you can either put $T or $P, don't know worry too much about what they mean, for this tutorials sake just type in "$T". After that click on "Ok". The songs tracks will now be dumped to your folder and since you picked "$T" the tracks will be numbers like one tracks file name will be 0, the next tracks file name will 1, it's pretty simple. So after that close out Sappy and reopen it. Now that you've reopened Sappy, open the unmodified Pokemon Fire Red rom and find the song you modified in other rom, which should be "Pokemon Theme" in the case of this tutorial. Now go to "import tracks" and check all the "numbered" files, which are basically the tracks we dumped earlier. Next to the "First track" box basically type in an offset where there's a lot of free space, for the sake of this tutorial just put "0xEB0B20" there. Then press OK. Now open up your emulator, open up the rom you just modified and you'll see that the song works in game. Congratulations, you've done your first successful music hack.

第三步——让你的文件成功在游戏中播放
现在你已经替换完音乐并且在Sappy可以播放,但是你会发现在游戏中不是这样。那么,不要急那里的小伙子(……),在我们让它在游戏中播放还有一段路呢。你已经将音乐替换,我们现在需要将音轨导出。为了做到这一步,点击“Export Tracks”。你会看到一列没有打上钩的基本上是音轨地址的框框,将它们全部打上钩。在第二个文本框内,你可以输入$T和$P二者之一,不用太担心它们的意思,在这个教程中,只要输入“$T”。接下来点击“OK”。这样音轨就会在你的文件夹“堆积”起来(暂且这么直译吧)。由于你输入的是“$T”,音轨就会从0依次命名。接下来关闭Sappy再重新打开。打开未修改的火红Rom,找到你刚刚要修改的音乐,即“Pokemon Theme”。现在点击“Import tracks”然后将所有编好号的文件打上钩,那基本上是我们刚刚导出的。接下来到“First track”文本框,输入一个有很多空位的地址,对于这篇教程只要输入“0xEB0B20”。然后点击“OK”。现在打开模拟器,读入你刚刚修改的Rom,你会发现那首音乐在游戏中正常播放。祝贺祝贺,你成功地完成了你第一个音乐修改。


And yep, that's how you insert music into the GBA Pokemon games. But I know some of you are asking, what if I want to import music from one Pokemon GBA game to another? Well, I'll explain that in this extra step.

上面的这些是教你如何将音乐插入一个GBA Pokemon游戏。但是我知道一些人会问,如果我想将一个Pokemon游戏的音乐插入到另一个中呢?我会在这额外的一步中告诉你。

Importing Music from one Pokemon GBA game to another
Importing music from one Pokemon GBA game to another is easy. First open the Pokemon GBA game you want music from like for instance, if I wanted to take music from Ruby and put it in Fire Red, I would open Ruby. Then I'd simply select the song I want to put into the other game and go to export tracks. Once you're in the export tracks window, check all the tracks, type "$T" in the second box and all your tracks will be exported to numbered files(1, 2, 3, 4, 5 you get the point). After that, open the game you want to insert the music into and find the track you want to replace. After that choose import tracks and import the numbered tracks you dumped and press okay. Congrats, you've successfully taken music from one GBA Pokemon and inserted it into another.

从一个Pokemon游戏向另一个中添加音乐
从一个Pokemon游戏向另一个中添加音乐很简单。首先打开你想要音乐的Rom。如果我想将红宝石音乐放到火红中,就要打开红宝石。然后很简单的选择想往别的Rom中添加的音乐,点击“Export tracks”。导出音轨的窗口出现后,将所有音轨打上钩,在第二个文本框中输入“$T”,然后所有音轨都会输出成依次编好号的文件。然后,打开你想插入音乐的Rom,找到你想替换的音轨。然后点击“Import tracks”导入刚刚输出的音轨,点击“OK”。祝贺祝贺,你已经成功地将音乐从一个Rom插入到另一个之中了。



PS:我之所以翻译成中英对照是因为我怕有的地方理解有偏差或者不容易让人理解,好到英文中对照。
再PS:似乎有人说导入的音乐不能循环……我倒是没发现,因为我没等音乐放完就把Rom关掉了……关于如何Loop的问题,在另一篇文章里有讲解,但是翻译起来有点难度……再一次但是……W说要翻译……参考
http://poketb.com/bbs/viewthread ... e=1&extra=#pid50447


中文部分PTB roywillow 原创,转载注明

[ 本帖最后由 海洋之囧 于 2009-1-20 12:25 编辑 ]
附件: 您所在的用户组无法下载或查看附件
本帖最近评分记录
  • victorlee129 积分 +10 很经典,但翻译不能+精 2008-3-21 19:03
  • victorlee129 PT币 +20 很经典,但翻译不能+精 2008-3-21 19:03

TOP

译得很好,不过没必要完全按照原文的来,有时候外国人的话不见得在中国人看来合适,比如“恶心的东西”——你会觉得PM的音乐难听吗?


想死你们了!

TOP

……语文、英语考试影响太大……要求逐字翻译最好……
原程序感觉原音乐恶心……我没感觉到阿……那该怎么翻译……
PS:第二楼……我还打算发别的……关于loop的……

TOP

引用:
原帖由 liuyanghejerry 于 2008-2-10 16:09 发表
译得很好,不过没必要完全按照原文的来,有时候外国人的话不见得在中国人看来合适,比如“恶心的东西”——你会觉得PM的音乐难听吗?
确实大部分都不怎么样

但是金版的黄金城,金版关东地图的某市也一样。



………………
谁不怀念苏联,谁就没有良心;谁想回到苏联,谁就没有头脑.

Woodu.ME--从零开始的博客生活

TOP

我来炝行了……

Importing Music from one Pokemon GBA game to another
Importing music from one Pokemon GBA game to another is easy. First open the Pokemon GBA game you want music from like for instance, if I wanted to take music from Ruby and put it in Fire Red, I would open Ruby. Then I'd simply select the song I want to put into the other game and go to export tracks. Once you're in the export tracks window, check all the tracks, type "$T" in the second box and all your tracks will be exported to numbered files(1, 2, 3, 4, 5 you get the point). After that, open the game you want to insert the music into and find the track you want to replace. After that choose import tracks and import the numbered tracks you dumped and press okay. Congrats, you've successfully taken music from one GBA Pokemon and inserted it into another.
从一个口袋GBA ROM中导入音乐到另一个中
从一个口袋GBA ROM中导入音乐到另一个中其实挺容易的。首先打开那个你想要音乐口袋GBA ROM游戏。例如,我想将红宝石版中的音乐导入到火红版里,在这里我应该打开红宝石版。然后应该(单项)选择并导出想导入到其他游戏的音轨。当你打开导出音轨窗口后,选择所有音轨。在第二个文本框中输入
复制内容到剪贴板
代码:
$T
,这样的话所有的音轨文件就会按照顺序导出(1,2,3,4,5这样的顺序)
完成后,打开你想插入音乐的游戏,然后找下你想替换的音轨。恩~很好。然后呢,选择导入音轨并且导入你刚刚导出的编好序号的音轨,然后单击OK。祝贺你!你已经成功的将一个口袋GBA ROM中的音乐导入到了另一个中。
谁不怀念苏联,谁就没有良心;谁想回到苏联,谁就没有头脑.

Woodu.ME--从零开始的博客生活

TOP

那样的话所有的音轨就会被按照序列而导出(1, 2, 3, 4, 5……你知道数的^ ^(这里不太好翻译= ||))。

括号里的东西根本没必要原样翻译,太别扭,这样写:这样的话所有的音轨文件就会按照顺序导出(1,2,3,4,5这样的顺序)


想死你们了!

TOP

好,谢拉~
谁不怀念苏联,谁就没有良心;谁想回到苏联,谁就没有头脑.

Woodu.ME--从零开始的博客生活

TOP

咱直接翻译成“依次编好号的文件”。简洁阿

TOP

那篇文章翻译完毕
谁不怀念苏联,谁就没有良心;谁想回到苏联,谁就没有头脑.

Woodu.ME--从零开始的博客生活

TOP

是中文的音乐吗

TOP