金钱 ¥
注册时间2002-1-29
- 积分
- 2584
|
一片详细的音乐替换教程
-- TUTORIAL ON HOW TO EDIT PES4 MUSIC --
Written by: elgen / Johan
(Last update: 02nd of November)
Programs you need (some can be downloaded in my HTTP site, marked with *):
- WinRAR (visit this topic for info + download)
- DVD Decrypter *
- Apache2 *
- AFSExplorer *
- ADXencd * (Note: It is suggested that you save this program to a simple location, i.e: C:\PES4-patch so it's easy for you to find the files! You will later on see why I suggested to make it simple...)
- Nero Wave Editor (go to http://www.nero.com or search in Google)
First, use "DVD Decrypter" to make an .iso of your PES4 (visit this topic for help), then apply jonboyo's patch to your newly "DVD Decrypter" created .iso file.
Now, let's get onto the editing...
Note: Just so you know; I use norwegian Windows XP, so don't mind the text that's in norwegian, obviously!
I will use BG_DEMO_HLT_02.adx (one of the 3 tunes that's played during game highlights) as an editing example in this tutorial...
1 - Extracting the 0_SOUND.AFS file from .iso file:
Open "Apache2", go to 'File', choose 'Open File' and find your newly patched pes4.iso file and open it (as shown here). Once opened, right-click on 0_SOUND.AFS, choose Extract (as shown here) and choose a suitable destination on your disk to export it to (i.e C:\PES4-patch). Wait a while and the extraction will be done.
Note: E_SOUND (E = english, S = spanish and so on) are commentary sounds! Just focus on 0_SOUND.AFS for now!
2 - Open 0_SOUND.AFS with AFSExplorer:
Open "AFSExplorer", go to 'File', choose 'Import AFS file...', find the newly extracted 0_SOUND.AFS file and import it. Wait a while and it will be imported to AFSExplorer. Once imported, it looks like this. I've marked BG_DEMO_HLT_02.adx since that is the file I will edit. Leave AFSExplorer open.
Note: The 'Length' shows how big (in bytes) the current .adx file is, while 'Max. Size' shows how big the .adx file can be. Now, since I'm going to edit BG_DEMO_HLT_02.adx, I must make the edited song/.adx file lower/shorter than 1808384 bytes (1808384... that's a tune about 1:30+- long), otherwise the game will crash if you cross that limit! (or something!)
3 - Editing your song/tune with "Nero Wave Editor":
Open "Nero Wave Editor", go to 'File', choose 'Open...', find your tune/song to edit (I've chosen to edit the song 'Laze - Steppin' Out'), load it so it looks something like this.
Find and then mark a suitable section that you want to make a .adx file of. Go to 'Edit', choose 'Crop' and you will see that the section you marked is now available rather than the whole song (note: if you don't need to crop any parts, jump over this and go on to the next step! Edit the song some more by using the 'Edit' -> 'Cut' method to make the song tight! Heh...)
Once you're done with the crop/cutting, go to 'Edit', choose 'Convert Sample Format' (as shown here) and make the preferences look like in this window (note: you must type in 24000 Hz, uncheck the 'Stereo Recording' so the song goes to mono mode, which allows a longer piece of music to be stored in the same amount of space!). Then hit OK.
Now, go to 'File', choose 'Save As...', save (note: it's wise to give the .wav file the same name as the original .adx file. I.e: I am editing the BG_DEMO_HLT_02 file, so I save the .wav file as BG_DEMO_HLT_02) the .wav into the same folder where the "ADXencd.exe" program is located. Keep in mind that you should save it to a location where it's easy for you to find the file, i.e: save the file to, as suggested before, C:\PES4-patch. That way it'll be easy for you find the file + it's not much to type either!
4 - Using "cmd" to convert .wav to .adx:
Hit your Windows key on your keyboard or click on your START button, choose 'Run...', type in cmd (if cmd doesn't work, try typing command, which is the same) and hit ENTER button. A MS-DOS look-a-like window should now pop up. Now, type in the folder location where your edited .wav file + ADXencd program is (as I've done here, don't mind the blue text, it's just a description!). As you see, I must type: cd c:\applications\adxencd\music editing to get to my folder. Yes, you must always type in cd before the path to your folder (it's the key/code to enter any folders).
Note: To check if you are in the correct folder, type dir once in cmd window and it will show you what files are in that folder.
Once you've typed in the correct location to the folder where you have your .wav file + adxencd program, it's time to convert the .wav to .adx. Type in: adxencd BG_DEMO_HLT_02.wav and you should see about the same text as shown in this picture. And there you can see that the inputs you made in the 'Wave Editor' earlier, shows up here:
Input sound data: BG_DEMO_HLT_02.wav
ADX Compressed data file: BG_DEMO_HLT_02.adx
Sampling frequency: 24000 Hz
No. Channels: 1 (which means Mono. Stereo = 2 channels)
Input audio sample: 962880 smpl = 40.0 sec <24000 Hz> (I can tell by the size of the file that my music could be longer than only 40.0 seconds, but it'll just have to stay this way for now!)
ADX output sample: 962880 smpl<Blk:962880 smpl> = 40.0 sec <24000 Hz> (Shows the output for the .adx file)
There you go. The .adx file is now created, BUT... You would also like to add loop to your track, in order to make it work properly in-game...
5 - Adding loop to your .adx file:
Simply type this:
adxencd BG_DEMO_HLT_02.wav -lps0 -lpe"962880" (as shown here) and it should give you about the text shown as shown here. Note: The XX's in -lpsXX is where you type in the loop starting position (0 = loop starts from beginning of the edited song) while the XX's in -lpe"XX" is where you type in the loop ending position (in this case; 962880 = max/ending -lpe""). Note that the number 962880 is the same as the ADX output sample!
A bit complicated this 'cmd' stuff, yes, but it's not hard to learn it, really...
Now you have created yourself a new BG_DEMO_HLT_02.adx file WITH loop in it! You can find the .adx file in the folder where you placed the .wav file (as shown here). Note: Even if the ADX output sample in 'cmd' shows 962880, it's a bit smaller once you look at the .adx file that's in the folder where the .wav is. Also, remember the 'Max. Size' for BG_DEMO_HLT_02.adx? It was something like 1800000+, but my file is only 962880 big, so it'll work just fine, as it's shorter/smaller than 1800000 bytes. And yes, you can exit/close 'cmd' now...
6 - Replace the old BG_DEMO_HLT_02.adx with the new one:
You'd save some time if you left AFSExplorer open earlier, like I told you to do... If you closed it, repeat step 2. If you left it open, go to "AFSExplorer", right-click on BG_DEMO_HLT_02.adx, choose 'Import file' (as shown here), find the new BG_DEMO_HLT_02.adx file and open/import it (as shown here). Wait a while and the new BG_DEMO_HLT_02.adx will be imported/replaced. Note: As shown here, there's no need to worry if your AFSExplorer screen get's "trashed" and/or if your computer lags. Just keep on waiting...
Bang! You've just edited a PES4 song! Now, let's finish the work... (unless you've got some more songs to edit, of course...)
7 - Import 0_SOUND.AFS back to the patched pes4.iso file:
Open the patched pes4.iso in "Apache2" again (explained in step 1), right-click on 0_SOUND.AFS, choose 'Update Selected File', find the 0_SOUND.AFS file with new .adx file and update it. Wait while the new 0_SOUND.AFS is replaced with the old one... As shown here, the screen might "trash" again, but nevermind that. Just wait and it'll be done.
Yay! You're almost done... -_-
8 - Burn the new, edited & patched pes4.iso file:
For further help on the burning process, it is suggested that you view jag87's guide by clicking here. Note: You can also burn with DVD Decrypter...
There you go, you're done!
Go on... have fun... feel it... enjoy it... PLAY IT! :cool:
People other than me (elgen) behind this small tutorial:
- Dazfeeder (for beginner help)
- Zygalski (additional assistance)
- jag87 (for burning tutorial)
Pardon me if I forgot anyone... |
|