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

editing music, hopefully improved guide.

bbbybx

Registered User
editing music. The ultimate guide

*Been editing music recently in we7I(jap), I thought I may help newbies like myself by giving a tutorial on how to edit music in the game. (hopefully it is easy to follow)
*It is a convergence of Colder’s guide previously put on this forum, and also adds bits of other tutorials like that of quique101 on iss extreme forum(hope it is ok to do this).
*I have also added a guide on how to add larger music files to the BGM files.

(Sorry if this post is long but I thought it was worth it)

1. First you will need these tools (search forums)
nero wave editor,
CDmage1-02-B5 ,
AFS Explorer 2.0 ,
Adxencd.

2. Open up your desired .bin file in cdmag and Extract the file data file (DATA_F.AFS)- (right click and extract to desktop, so easily accessable) leave cd mage open.


(you will find all of the main BGM files which hold all of the music. When you open the DATA_F.AFS in AFSExplorer in step 10.

BGM01 >main menu<47 sec. 150pl.afs> 150pl_auto.afs> BGM_01.bin

BGM02 >league+cup menu<42 sec. 150pl.afs> 150pl_auto.afs> BGM_02.bin

BGM03 >training menu<_? sec. 110training.afs> BGM_03.bin

BGM04 >ML-menu<48 sec. 150pl.afs> 150pl_auto.afs> BGM_04.bin

BGM05 >ceremony after winning a cup etc.<__87 sec. 170demo.afs> 170demo_ending.afs> BGM_05.bin

BGM21 >Highlights<82 sec. 160game.afs> BGM_21.bin

BGM22 >ceremony(ML)<79 sec. 170demo.afs> 170demo_ending.afs> BGM_22.bin

BGM23 >entering the pitch<64 sec. 170demo_enter.afs> BGM_23.bin)

3. next you need your desired tune/music. Enter Nero wave editor and open/load the music you want to put into the game. You will need to edit the song so it fits to the seconds that the actual file is (underlined above).

(if you want to put in a longer piece of music, I have come up with a way, see after this guide ****)

4. Now go to menu bar at the top, go to Edit and then convert sample format, change to 24000hz (type it into box) and choose whether to check the box that says stereo (if unchecked it goes into mono mode, which allows a longer piece of music to be stored in the same amount of space).

5. Now the easiest way to use this file is to save it as the same name as the file you want to replace in the DATA_F.AFS. So if you wanted to replace the main menu music call your new music BGM_01.wav (instead of .bin at end put .wav).

6. Now you need to make a directory for example, music on your root dir C:\ (right click - new – Folder). Then place your edited BMG_01.wav and the adxencd files in this directory.

7. Then go to Start bar on your computer --> Run and type in cmd. (now type everything exactly how it is written here)

cd C:\music (hit enter)

type adxencd BGM_01.wav (hit enter)

This text should appear

Input sound data file: 'BGM_01.wav'
ADX Compressed data file : 'BGM_01.adx'
Sampling frequency : 24000 Hz = Input sound data
No. of channels : 1
Input audio sample : ****** smpl = 23.0 sec <24000 Hz>
ADX output sample : ****** smpl(Blk:****** smpl) = 23.0 sec <24000 Hz>

Then note down the number at the bottom (where I have put the ******). The seconds will also vary depending on how long the file is (should match the amount of space allocated to your BGM, i.e for BGM_01 should be 47sec or below)

8. Now you need to make your music looped so type in:

adxencd BGM_01.wav -lps0 -lpe"******" (hit enter)

Need to place number noted earlier and put it in quotation marks after –Ipe. (quotation marks are very important, so don’t leave out). The next set of text should come up:

Input sound data file: 'BGM_01.wav'
ADX Compressed data file : 'BGM_01.adx'
Sampling frequency : 24000 Hz = Input sound data
No. of channels : 1
Loop Start Pos : 0 smpl Offset = 2048 byte
End Pos : 565906 smpl Offset = 320378 byte
Input audio sample : ****** smpl = 23.0 sec <24000 Hz>
ADX output sample : ****** smpl(Blk:****** smpl) = 23.0 sec <24000 Hz>

Remember the amount of bytes in loop start pos and end pos may differ from above. (also so will seconds)

If the loop start pos and end pos do not come up your music will not be looped in the game.

now you have new file BMG_01.adx. It has been changed into .adx format and is looped.

9. Now open AFSExplorer and go to file and then configuration. Then go to external hex editer path and browse for the DATA_F.AFS you extracted on the desktop. Check the box Ignore descriptor’s length and press OK.

10.Then go to import file and choose DATA_F.AFS file. Click on AFS file in right box and all the files should be shown. Just choose right file i.e for BGM_01.bin you need to open 150pl.afs/ then 150pl_auto.afs/. Then find BGM_01.bin right click and import file, choose your new BGM_01.adx file.

If your file is under the max. size it will import the file successfully (may say something like ‘add zero’s’ this is fine click ok)

11. If you have AFSexplorer 2.0 the .adx file should change automatically to .bin when imported, if not just change manually to .bin.

12. Now to test that the new music has been installed correctly, right click on BGM file and press play sound, your music should be on there.

13. Now you need to import the new DATA_F.AFS file back to main .bin file by using cdmage (which should have been left open from earlier). Right click on DATA_F.AFS in cdmage and then import, find your edited DATA_F.AFS file on your desktop and import (this will take a few minutes, until it has said you are succesfull)

14. Then scan for corruption and regenerate, rebuild if needed.

15. Burn with whatever burning software you choose.


**** I mentioned earlier that you could add music that did go over the max. size of selected bin file, so you can add a whole song if wanted.

I made the whole of ‘HEY YA’ by Outcast fit in the highlights of the game.

1. When you get to the point of importing your music into the desired BGM_**.bin file in AFSExplorer. If it is bigger than max. Size it will not import.

2. to put your large music file in, While in AFSExplorer go to advanced then modify reserve space.

3. In the next box that appears find your file that you want to increase and click once on it, this should then highlight the file.

4. In the top right there should be a box that says bytes reserved for file, use up arrow to increase the size to desired level.

5. Then in top left hand corner press Regenerate AFS! It will ask you to save file. It will not let you save over DATA.F.AFS so you will have to call it something different (I called it DATA.R.AFS- because my name begins with ‘R’ crazy heh). Save it to desktop (so easy to find).

It will then take a while to make file, but when it is finished you should have new file on desktop i.e DATA_R.AFS.

6. You then import this new file (DATA_R.AFS) onto the DATA_F.AFS in cd mage (step 13 in previous guide). (It may say something about ‘truncation’ this is fine press OK.)

When completed the file will still be called DATA_F.AFS but the DATA_R.AFS has been imported.

7.Then continue with steps 14 and 15 in previous guide.

I have only tried this with one music file not sure how much you can tweak the reserve space for more than one music file. It may mess up the file, but in theory it should work as it worked for me (with one file).

Hope this helps people, thought I would add something to these forums instead of take take take.
 

bbbybx

Registered User
Have had a go at inserting long pieces of music for each BGM and when I tried to play game it crashed before I could go into formation screen before playing a match.

I have only tried this once, I am going to try again as I tried it quickly and could have been another reason why it didnt work (hopefully).

Will try it again after this month as I have a dissertation to write and exams to do, hopefully someone else could try putting in songs and tell us if it works.

I was trying a theme tune PES3, I had the superman music for title menu which was sweet. but thats the only one I got to hear. Others were the Imperial march from star wars when they enter the pitch (would be great) also the indiana Jones theme when sorting out formation. The Cherry on the cake was the A-Team theme when you win the cup.

I am going to get these tunes to work if it kills me,

C ya, bbbybx.
 

bbbybx

Registered User
I extended the music files too much and the reserve space went out of control. So on my one initial attempt I would say that there is a limit that you can increase the reserve space before the game is screwed.

But this is just an initial perception, I will work on it fully next month.

The main title music was the only one to work as the game crashed after I chose the teams.

But I put music on all the main BGM's like entering the pitch, winning cup etc etc.
 

GFK

Registered User
Really handy guide. It was a time ago since I imported music in a WE game, but with this guide i wanted to try it agian. it went all perfect. So Thank you!

I succesfully imported a 7.819.264 bytes music file as main intro!! :eek: :D
But you dont mention in your guide, that you should update your data_x before importing and after regenerating you should create a new size_X.afs otherwise your game wont boot up. So include this in you guide and it will be perfect!

CYA
 

saint

Registered User
bbbybx said:
Have had a go at inserting long pieces of music for each BGM and when I tried to play game it crashed before I could go into formation screen before playing a match.

I have only tried this once, I am going to try again as I tried it quickly and could have been another reason why it didnt work (hopefully).

Will try it again after this month as I have a dissertation to write and exams to do, hopefully someone else could try putting in songs and tell us if it works.

I was trying a theme tune PES3, I had the superman music for title menu which was sweet. but thats the only one I got to hear. Others were the Imperial march from star wars when they enter the pitch (would be great) also the indiana Jones theme when sorting out formation. The Cherry on the cake was the A-Team theme when you win the cup.

I am going to get these tunes to work if it kills me,

C ya, bbbybx.
 

GFK

Registered User
In the latest versions of AFSexplorer, you will have the abiltiy to create a new Size_x.afs
Look in the ''Overview of Important Threads'' for a guide how to regenerate.

CYA
 

GFK

Registered User
Well I imported full music into WE7I not PES3, but that shouldnt be much of a difference.
Did you updated your DATA_E.AFS before you regenerate??
If not you arent doing much wrong I guess. It all seems correct to me.
Maybe ''Import file is larger than file in the image. Import file will be truncated. Continue?'' shouldt be given. But I thought that message couldnt hurt. Hmm..
 

GFK

Registered User
Look, its in the ''Guide how to regenerate''' to :

-I recommend to make a backup of DATA_X before trying this.

-Open the program and go to FILE / CONFIGURATION. Make sure you have the 3 "afs loading options" enabled.

-Then, load DATA_X.AFS into the program and next choose FILE / UPDATE. The program ask to a file location. Go into the directory of DATA_X and select it.
 

GFK

Registered User
Yes then the problem is easily found, your regenerated data_x shouldnt be bigger then the original data_x. I said there was something wrong about trunctated eh! :)
Try again and remember regenerated data_x.afs shouldnt be bigger then the original data_x.afs

Cheers
 

larsson

Administrator
stoneman said:
What do you mean by update your DATA_E.AFS befo you regenerate? And I've got no idea if the truncation is a good thing or bad thing. As far as I know, truncation is usually sumthin to do wit rounding off?

Of course a truncation is a bad thing, actually your game won´t load if any edited file is truncated.
Data.afs MUST NOT be bigger than the default one, otherwise it gets truncated.
The regeneration process is necessary if you want import larger files than the existing ones, if you do that you have to save the same amount of space on another files in order to keep the new data.afs in the same size (or even smaller) than the default one. If you regenerate and import some bigger files you need to create a new size.afs with the filesize plugin. That´s it. It´s a bit offtopic but I thought a clearing up would be ok ;)
 

GFK

Registered User
stoneman said:
But dont that defy the whole concept of importing full length music in PES3, WE7, WE7i? What ure sayin to me is that my regenerated DATA_E.AFS has to be 542 Mb just as the original file is yes?

To me that means that you cant import full length music as the reserve space needs to be extended so that full length songs can be imported which is what i did. Every time u modify the reserve space of a BGM, it also increases the filesize of the DATA_E.AFS once u regenerate it. Thas wot keeps happening to me anyway.

Why did u say that it was possible to import full length music in PES3, WE7, WE7i, when clearly (by wot u said above), its looking impossible? And what was the point in generating a new SIZE_E.AFS, as I thought this file identifies the bytes and reserve spaces in the DATA_E.AFS (thus making it a valid AFS file)?

In case u want to know, i tried the extra steps u told me to do earlier and still the same result.

Of course its possible to import full length music. I did it to! But you must always be aware that your regenerated shouldnt be bigger then the orignal one. And as Larsson mentioned you can size other things down a lot. If you look in the regenerate menu you see that a lot of files can be made smaller in size! So when you exceed the maximum size just size down some other things. Maybe I should implent this to in my guide...
 

luszpynskyj

Registered User
So, if the data_x file is bigger than the original, but you have used the filesize plugin then it should be alll right ,yeah?
 

GFK

Registered User
luszpynskyj said:
So, if the data_x file is bigger than the original, but you have used the filesize plugin then it should be alll right ,yeah?

No!!! Look what Larsson said:

''If you regenerate and import some bigger files you need to create a new size.afs with the filesize plugin''

Import bigger files in the data_x.afs he meant not importing a bigger data_x.afs in CDMage.

*I updated the guide now, thanks Stoneman.
 

GFK

Registered User
Thats correct what you are saying. No need to worry. If you resize it it will alwyas be one byte below the file Length thats ok. Just regenerate and tell me the results.
 

GFK

Registered User
A filesize of 619 Mb??!! How did you do that??
Well I have no clue what to now. But just read this by Tato:

''If you have used Filesize plug-in, be sure you've set "31" as the padding character.''
 

gattuso

New Member
edit mode

i would like to know how i can change the music in the edit mode. i can find it in the data... afs but i changed the music like the other music which works good and in the afs file the BGM_69.bin it is the new (my own) but not in the game. what is wrong with this?
thanks
 

GFK

Registered User
The Edit mode music is another big mystery of Konami. The Edit Mode music is split in 2 unknown chunks. So its very very hard to edit.
 
Top