For the best lawn care in cedar park, please visit our sponsor at lawn service cedar park They are a local lawn care and landscaping company that provide services in such as lawn care, lawn mowing, weeding, and landscape maintenance in Cedar Park, Austin, Round Rock, and Leander area. They are located at:

Lawn Care Service of Cedar Park 100 E Whitestone Blvd Ste 148, #166 Cedar Park, TX 78613 (512) 595-0884

The Ultimate Guide to creating and inserting your own music tracks into PES5

Ko_nami

Registered User
The Ultimate Guide to creating and inserting your own music tracks into the PS2 and PC version of PES5 (by “ko_nami”)

Firstly, you will need the following programs:

DVD Decrypter;
AFS Explorer 3.7;
Apache2;
ADX Tools;
Sony Sound Forge;
CDex.


You can download these programs from the following links:

DVD Decrypter: http://fileforum.betanews.com/detail/DVD_Decrypter/1011845169/1[

AFS Explorer 3.7: http://dte-ng.issextreme.net/scripts/ps2.php

Apache2: http://www.pesinsight.com/showthread.php?t=14662&highlight=apache2

ADX Tools: http://www.megaupload.com/?d=C85IVKRZ

Sony Sound Forge: http://www.sonymediasoftware.com/download/Step2.asp?DID=559

CDex: http://gnuwin.epfl.ch/apps/cdex/en/install/cdex_151.exe

Let me firstly explain what each application is used for and what comes bundled with each program.

You will need DVD Decrypter to rip and burn the PES5 ISO image to and from DVD-ROM. You need Apache2 to extract and replace the AFS files that are required to edit the PES5 in game music tracks.

AFS Explorer is used to export and import each and every ADX music file that you want to edit from the AFS files located in the PES5 DVD image. You can use CDex to rip music tracks from an Audio CD that you own or to convert MP3 format songs to WAV format.

And this is where the advanced stuff starts. You will need Sony Sound Forge or a wave editing application (such as Nero Wave Editor) to cut your songs down in length and convert to 24,000 Hz format. And note that you can also convert to both Stereo and Mono formats and insert your music tracks successfully into PES5.

Both have advantages and disadvantages. Stereo format WAV files have better quality sound (2 channels of sound). Mono format WAV files are of inferior quality (only 1 channel) but this format can allow a longer length of music to be inserted into the AFS file compared to the Stereo format WAV file. Choose which ever standard you prefer.

Ok, so now you’ll need the adxencd program (located in the adxtools zip file) to convert your 24,000 Hz, Stereo or Mono format WAV files to ADX format. And please be aware that you will have to use command prompts to convert to ADX format. Don’t be frightened off by all the funny characters and the black MS-DOS screen. I can help you through this (in this thread) if need be.

You will also need your MP3 or WAV files ready for editing. Either rip your music from an Audio CD (using CDex) or download your music from wherever you like (not that I’m encouraging you to do illegally download music).

Additionally, track locations on the PES5 DVD can be found here:

http://www.megaupload.com/?d=TZ6F08M3

I thought I should let you know now that I’ve already applied the PES-X-PPF patch to my original PES5 DVD and I will be referring to the patched music tracks in this guide.

You can also download this guide as a Word Document from here:

http://www.megaupload.com/?d=MMQYI2MQ

The PES-X-PPF patch can be found here:

http://www.pesinsight.com/showthread.php?t=29589

Ok, so that’s all the preliminary stuff out of the way. We can now start the editing process.

1. You need to make an ISO of the original PES5 DVD.

Make sure your PES5 DVD is in your DVD-ROM or DVD-RW drive. Open up DVD Decrypter and choose “Mode” > “ISO” > “Read” (as shown here). In the tab where it says destination, click on the folder icon to open up a “Save As” dialog box where you can save your ISO image (as shown here). I would call the image “PES5.ISO” and I would choose a location such as the C: drive to save your ISO image.

I wouldn’t choose a folder at this point if I were you as this can lead to problems later on.

Click the “Save” button to acknowledge the changes. Then click on the “DVD > HDD” icon to start the ripping process (as shown here). It should take anywhere from 5 to 40 minutes to rip the DVD (depending on the maximum read speed of your DVD drive) and create the ISO image onto your Hard Drive.

If all goes well, you should see something like this. Close DVD Decrypter.

2. Extract the O_SOUND.AFS and O_TEXT.AFS files from your ISO image.

Ok, so you now have your PES5 ISO image on your hard drive. You’ll now need to extract both the O_SOUND.AFS and O_TEXT.AFS files from your ISO image using Apache2.

Open Apache2; go to the “File” menu and select “Open File”. Browse the C: drive and select your PES5 ISO image (as shown here). Click the “Open” button to open your ISO image.

You should now see a list of files located inside the ISO image. We only need to concern ourselves with the O_SOUND.AFS and O_TEXT.AFS files. Select these 2 files; right click then choose “Extract” (as shown here). You now get another dialog box asking you where to save your selected AFS files (as shown here). Select the C: drive and click the “OK” button. You should see a progress bar at the bottom of the Apache2 main screen (like this). Wait for Apache2 to extract the selected AFS files to your C: drive. You can now close Apache2.

3. Edit/cut your music track using Sony Sound Forge.

By this stage, you should already have gotten hold of your favourite music tracks either by ripping them off an Audio CD (using CDex) or by downloading your tracks (legitimately). And please make sure that you have converted your CD tracks or MP3 tracks to a standard WAV file. You can do this using CDex and also make sure that the WAV file is saved on the C: drive and not in a folder.

I will be using the Kill Bill Main Theme as an example in this tutorial (I own the soundtrack so you don’t need to worry about legitimacy here). I want to insert this particular piece of music into the training situation ADX files. To be specific, I want to overwrite the unknow_00034.adx file located in the O_SOUND.AFS file with an extract from the Kill Bill Main Theme music.

Open up Sony Sound Forge. Go to the “File” menu then; choose “Open”. Browse to your C: drive and select your WAV file (as shown here). As you can see, there’s quite a lot of useful information here but you don’t need to remember any of this so go ahead and click the “Open” button.

Wait for a few seconds and you should see lots of blue lines (like the ones here). We can now start the cutting process.

We already know that the unknow_00034.adx file already contains a 52 second audio clip jut by looking at the PES5 Track Location List. We will do likewise. Let the song play and listen and look at the audio peaks (the blue lines) where you can “break” the music. I’ve found that for this particular track, there is a break at 19 seconds. This is where we can start the edited piece of music which we are going to create.

Use the left and right buttons on your keyboard to move through each audio peak until you reach the beginning of the track that we’re going to create (19 seconds). Now from here, using the mouse; move across the audio peaks so that you reach the 52 second track length (as shown here) or go below the 52 second track length. You can now see the track length and the piece of audio you’ve selected. Press the “Play” button to play the selected audio. If all is good, let’s cut and paste the selected audio into a new WAV file.

Make sure you still have your selected audio piece highlighted then go to the “Edit” menu and click “Cut”. Now click “File”; then select “New”. You should see a window similar to this. Don’t change anything at this point but make sure that the sample rate, the bit-depth and the number of channels matches that of the original WAV file you were just editing. Click on the “OK” button. Then go to the “Edit” menu and select “Paste”.

You now have your selected audio piece ready to convert to 24,000 Hz. You should see something similar to this. Go to the “File” menu and select “Save As”. You should see something similar to this.

There are 2 things you need to do here. Firstly, you need to change the sample rate to 24,000 Hz. You can do this by hitting the “Custom” button. Make sure you type in “24,000” into the “Sample Rate” text box and also make sure you type in “24,000 Hz, 16 Bit, Stereo” into the “Template” text box. Leave the bit-depth to 16 bit. You can choose either Stereo or Mono at this point. Keep in mind that a Mono sound allows you to hold double the track length of a Stereo sound but the file size remains the same. You’ll see something along the lines of this.

Click the save button in the top right hand side of the “Custom Template” window. Ok, so now you have the PES5 music standard saved as a template on your hard drive. This’ll save you time afterwards when you start to edit and cut other music tracks you want to put into PES5. You can now click the “OK” button in the same window.

And finally, type in a meaningful filename for your newly created music track. I would call it the same as the file you are going to replace. In this case; type in “unknow_00034.adx” into the “File Name” text field (as shown here). Finally, click the “Save” button.

We now have our edited music track ready to convert to ADX format. Close your WAV file and exit Sony Sound Forge. And note, you no longer need your original WAV file that you originally opened and edited. So go ahead and delete it.

4. Converting to ADX format.

You will need the program “adxencd.exe” in order to convert to ADX format. This file can be located in the zip file I linked at the top of this guide. Unzip the files and copy the “adxencd.exe” file to an appropriate folder on the C: drive (preferably a folder called “adxencd”) and move the WAV file you created earlier into the same folder.

Open up a command prompt window either by navigating through the Start menu; “Start Menu” > “All Programs” > “Accessories” > “Command Prompt”, or by selecting “Run” from the Start menu and type in “cmd”. Either way, you should see a black screen open up.

Type cd C:\adxencd (exactly as I’ve written it) and press enter. You’ll now notice that the command prompt window now refers to your newly created folder for input and output files. You’ll see something like this.

Now type in adxencd.exe unknow_00034.wav (exactly as I’ve written it) and hit enter. You should see a load of text crop up (as shown here). Take note of the ADX output sample because you’re going to need it when adding the loop. You’ll also notice that in the “adxencd” folder you now have your newly created ADX file. We can now add a loop.

In the same window, now type in: adxencd.exe unknow_00034.wav -lps0 -lpe"1136848 (exactly as I’ve written it). Where the value of -lpe” ” is the ADX output sample in the funny text that appeared earlier. You should see something like this. You’ve now added loop to your created ADX file. The file is now ready to be inserted into the O_SOUND.AFS file.

5. Importing your created music track(s) into the AFS files.

Close down the command prompt window. Open up AFS Explorer. And again, choose “Import AFS File” from the “File” menu and open the O_SOUND.AFS file located on your hard drive.

Then look for the “unknow_00034.adx” file in AFS Explorer. Once you’ve found it, right click and you’ll see 3 options. Choose “Import” (as shown here).

You’ll see an “Open” dialog box appear. Browse to your “adxencd” folder and select the “unknow_00034.adx” file that you created earlier (as shown here). You’ll notice that AFS Explorer imports the file successfully.

You may see a taskbar entitled “Importing File” in the AFS Explorer window but it should disappear after a few seconds.

If you like, you can preview what your imported audio clip sounds like. You can do this by right clicking the imported file and selecting “Open File With” > “Sound Player”. You’ll hear your sound clip playing.

Repeat these steps (from steps 3 through to 5) for every music track you intend to insert into your copy of PES5.

6. Replace your original O_SOUND.AFS file with the new O_SOUND.AFS file (which you edited).

As was explained in step 2, open up Apache2. Open up your ISO image. Highlight the O_SOUND.AFS file, right click it and select “Update Selected File”. Here, you just do the opposite of what you did earlier. You’ll see an “Open” dialog box appear (similar to this). Choose your updated O_SOUND.AFS file. You should now see a progress bar at the bottom of the Apache2 window. Don’t worry if Apache2 “freezes” for a few minutes. This is perfectly normal and incidentally happened to me when I was replacing the old AFS file with the new one. So please be patient and allow Apache2 the time to carry out this task.

If all goes well, you should get a message along the lines of “File Updated Successfully”. Click “OK” and close down Apache2.

And before moving any further, note that you will have to carry out step 6 for both the O_SOUND.AFS and O_TEXT.AFS files. I would import both of them in Apache2 one at a time, but after you have inserted all your created music tracks (into each AFS file) using AFS Explorer.

7. Burn with DVD Decrypter.

Your ISO image now contains the updated AFS files along with the ADX files you created earlier.

The ISO image is now ready to burn to DVD. I would use DVD-R and not DVD+R as this can cause compatibility problems with your PS2. And don’t even try to attempt to use DVD-RW or DVD+RW because that avenue is a dead end.

Before we burn, let me just say; please use good quality blank discs. Any blank DVDs manufactured by Sony, Maxell, TDK or Verbatim are all of excellent quality. And as a rule of thumb, you should be looking at blank DVD media manufactured in Japan or Taiwan as blank discs manufactured in these countries are of superior quality to discs manufactured say in India.

Here is a good guide for blank DVD media:

http://www.digitalfaq.com/media/dvdmedia.htm

And don’t even attempt to use Nero because I think it’s a shite burning program and I’m not going to offer help for anyone who attempts to use it ahead of DVD Decrypter.

Ok, let’s burn.

Insert your blank DVD-R into your DVD Writer/Rewriter. Open up DVD Decrypter and choose “Mode” > “ISO” > “Write”. In the tab where it says “Source”, click on the folder icon. This should open up an “Open” dialog box. Choose your PES5 ISO image and click “Open”. You should see something similar to this.

Choose the slowest speed possible for your DVD Rewriter. My DVD Rewriter is only capable of a minimum speed of 4x. So therefore, select 4x as the write speed. Then click the “Write” button. Wait a few seconds and you should now see a write progress bar as well as buffer progress bars. Wait for DVD Decrypter to burn your image.

And for god’s sake, you shouldn’t be doing anything else with your PC at this moment. So this means that make sure DVD Decrypter is the only program that’s opened at this point and just let it burn your disc.

If all goes well, a message appears along the lines of “Operation Successfully Completed”. It’s done.

Take your disc out of the DVD Rewriter drive and try it in your PS2.

I’ve personally tested this disc with a v3 and v4 Playstation2 with a Slide Card and Swap Magic 2.0. And it worked! :)

So if anybody needs any additional help, please reply in this thread and I will get back to you.
 

Davinche

International Player
Whoa. Lots of detail. great thread. One question tho, is this the same if i wanted to do it for the xbox version
 

Ko_nami

Registered User
djwhitewolf said:
Whoa. Lots of detail. great thread. One question tho, is this the same if i wanted to do it for the xbox version

Actually, I'm not sure.

I wrote this guide for the PS2 version.

It might work for the Xbox and PC version.

You could try yourself but I only have PES5 on PS2 so I can only offer support for the PS2 version of the game.
 

gpax

Registered User
djwhitewolf said:
Whoa. Lots of detail. great thread. One question tho, is this the same if i wanted to do it for the xbox version
Check in the xmas patch download thread for xbox , it has all you need there
 

Kevthedrummer

Alive in the superunknown
good good, now I may actually be able to make that pesinsight music patch that we all seem to have forgotten about
 

kayos

Registered User
hey can someone please help! i have noticed that in nfox most of the music he replaced witht he original are so much shorter ! is it to make the game load faster? or does have a smaller music files differs in the game speed? not the game play.... if does then maybe chnging the chants makes diffrence in the game play!
please anyone reply if he know what m tlaking about
thanks alot for this tutorial its so freaking nice !
p.s: it works for pc version
 

Ko_nami

Registered User
kayos said:
hey can someone please help! i have noticed that in nfox most of the music he replaced witht he original are so much shorter!

If you look carefully at each audio track located in the patched PES5 DVD, you'll notice that what nofx has done is he's modified the reserve space for the bigger audio clips in the original PES5 DVD, shrunk the reserve space and substituted the free reserve space (from the original bigger audio tracks) for another audio track which was shorter and smaller than the original, unpatched file (in terms of both track length and filesize).

For example, in the PES5 Track Location List I uploaded, you'll see that there is a significant difference between the original Credits .adx file and the patched Credits .adx file.

The original, unpatched Credits file has a track length of 1 minute and 8 seconds. Yet, the patched Credits file has a track length of 4 minutes and 28 seconds. That's a big difference in my opinion.

But nofx has only done this for our convenience. It makes it easier for us to put in our own full length music tracks into the game by shortening other less important clips.

kayos said:
thanks alot for this tutorial its so freaking nice !
p.s: it works for pc version

Thanks for your comments. Glad to see some people here appreciate my efforts. :happy:

I'll update my first post so that I can let everyone know that this tutorial also works with the PC version of PES5.
 

eedman2000

Registered User
Am I being very dim here? I've scanned your instructions a hundred times but..

Do I create the image from my original PES 5 (bought) or my PES-X patched version?

If I do the original version, then I don't see how I can get the music into the patched version and if I do the patched version, Apache crashes every time when I try and open the file... As the PES-X patch is PPF, how do you mix the two patching methods?

Cheers for a great guide. Can't wait to get musicking.

Ed
 

Ko_nami

Registered User
eedman2000 said:
Am I being very dim here? I've scanned your instructions a hundred times but..

Do I create the image from my original PES 5 (bought) or my PES-X patched version?

The patched version.

eedman2000 said:
If I do the original version, then I don't see how I can get the music into the patched version and if I do the patched version, Apache crashes every time when I try and open the file... As the PES-X patch is PPF, how do you mix the two patching methods?

I'm not sure what you're trying to say here. Can you be a bit more specific?
 

eedman2000

Registered User
Sorry, I found that I couldn't open the patched version with Apache. I tried several times with 3 different DVDS of the PES-X patch.

However, I managed to do it in a completely half-arsed way. Transferring all the info from the patched DVD to the Hard drive manually (not by making an image) then simply taking the O_sound file out, playing with it, rebuilding the whole thing with CD/DVD-rom Generater 1.5 etc.

Now enjoying replays with the Life of Riley - MOTD's old Goal of the Month music. Love it.

Cheers for the GREAT tutorial. Not that I really followed a lot of it, just bumbled through :D

Ed
 

Ko_nami

Registered User
Chocolatelove said:
Ko_nami how much would one have to pay you to do this for me?

There's a reason why I shared this tutorial with everyone here.

And it wasn't to get rich.

I just thought that everyone in the PES community would like to know how to personalise their game by adding their own music.

You should be able to do this yourself. Take it one step at a time and don't be overwhelmed by the size of this tutorial. It's extremely detailed and it was supposed to help newbies who've never created and inserted their own music into any of the PES games before.

You should be fine if you follow the steps carefully.

If you have any problems, then just post a reply here and I'll get back to you.

eedman2000 said:
Sorry, I found that I couldn't open the patched version with Apache. I tried several times with 3 different DVDS of the PES-X patch.

However, I managed to do it in a completely half-arsed way. Transferring all the info from the patched DVD to the Hard drive manually (not by making an image) then simply taking the O_sound file out, playing with it, rebuilding the whole thing with CD/DVD-rom Generater 1.5 etc.

Now enjoying replays with the Life of Riley - MOTD's old Goal of the Month music. Love it.

Cheers for the GREAT tutorial. Not that I really followed a lot of it, just bumbled through :D

Ed

I didn't have any problems with Apache2 and the patched version of PES5.

Did you try to update the o_sound.afs file after you applied the PES-X patch? Because I didn't do that.

I burned back to dvd first after applying the patch. Then made an ISO of the patched DVD, then updated the o_sound.afs file with Apache2.
 

matthewlennie

Registered User
ive followed the instructions to the utmost precision, but as soon as i get to the adx msdos bit everythhing seems to go arse over tit. It's always when i get to this bit

"Now type in adxencd.exe unknow_00034.wav (exactly as I’ve written it) and hit enter. You should see a load of text crop up (as shown here). Take note of the ADX output sample because you’re going to need it when adding the loop. You’ll also notice that in the “adxencd” folder you now have your newly created ADX file. We can now add a loop."

when my msdos thing tells me it cant find the file. It is there however. Frustrating!
 

Ko_nami

Registered User
matthewlennie said:
ive followed the instructions to the utmost precision, but as soon as i get to the adx msdos bit everythhing seems to go arse over tit. It's always when i get to this bit

"Now type in adxencd.exe unknow_00034.wav (exactly as I’ve written it) and hit enter. You should see a load of text crop up (as shown here). Take note of the ADX output sample because you’re going to need it when adding the loop. You’ll also notice that in the “adxencd” folder you now have your newly created ADX file. We can now add a loop."

when my msdos thing tells me it cant find the file. It is there however. Frustrating!

It could be a spelling mistake.

Check that your file is:

1. named unknow_00034.adx (not unknow_0034.adx) and
2. in the adxencd folder along with the adxencd.exe file.
 

Ko_nami

Registered User
matthewlennie said:
i checked both of them but they were already correct :(

It might be something to do with your hard drive then.

Have you got another partition on your hard drive? For example, a D:\?

You might have to try that or even try working straight from the C:\.
 

mad gee

Registered User
Thanks, the tutorial is excellent. Doing it on the pc (which means you only need steps 3,4,5 & 6). However, I've got one question:

Is there a list anywhere which says when each music file is used?

(i.e. I've sussed unknow_00011.adx is one of the menu tracks.)

Thanks
 
Top