Showing posts with label adx. Show all posts
Showing posts with label adx. Show all posts

Friday, October 14, 2016

Budokai Tenkaichi 3 Modding: Changing the background music

This tutorial shows you precisely how you can change the background music from the classic PS2 game Dragon Ball Z Budokai Tenkaichi 3.

Back in 2013 I already made a tutorial about this topic here on my blog, but this time I want to go more deeply into it with having more knowledge and experience about it - also with additional video material.

Note: Your PS2 has to be able to run copied games - either with having an integrated chip, using ESR or running the game from the local or external hard disk drive - or via LAN if you like it that way. For testing this whole scenario I would recommend you to have an emulator, but more on that later.


1) Copy the disk to your PC
Select a folder to copy the content of the DVD on your local drive. It contains the folders 'BIN', 'DATA' and 'IRX' plus two files to give the disk an ID (also it looks different depending on the version - EU or US). For the music modding you just need to focus on the folder 'DATA'. 












2) Open the AFS file with '2' in it using DKZ Studio
Within the folder 'Data' you'll find a file named like PZS3US2 (in the US version) or PZS3EU2 (European version). You need to open this file with the tool DKZ Studio, which you can find online.

As you can see then this archive is filled with a huge amount of files from the game, mostly with character voices or noises as adx files. With double-click you can listen to every piece of sound because luckily the software has en adx player included.


With this huge amount of files it's divided in three pages and you'll find the actual background music close to the end of the third pages. The files are named like this: zs3_00_US.adx (again, US version).

3) Changing the background music
So and here's the interesting part: In order to change the music you need to convert your music to the adx format. So you need to go and check for the PES Sound File Converter. With that tool it's pretty easy to do. Click on 'Add' to select the files you want to convert, go 'Next', select the output folder and the process will run. And: Also mark that the song should run in a loop!


Before in terms of the file itself there's only one thing you need to look after: The size. As you can see in the screenshot above all the files are having a size between 3 and 5 MB. The created adx file should have a lower size than the file you want to change it with in order to work without any conflicts or error messages. So you need to shrink your mp3 files to a lower quality. I used the video editing tool Sony Vegas for that, but there are surely better ways to manage that.

So let's say you now have an adx file with a suitable file size, then you need to rename it to the file you are planning to change it with. Then, - in DKZ Studioright-click the music file which is about to change, click 'Import' and select your converted file with the same name. If no error message shows up, the whole process worked out. Now, do the same with other music tracks you are planning to change. You'll also notice on the file icon which files were already changed.

4) Create a patch
With every change done the whole thing should be saved. By using 'File' and 'Save' I sometimes ended up not having the correct size of the afs file which meant lots of files were missing.

So I recommend the following way: Create a patch with all your changes! So go to 'Patch' and select 'New Patch (With Modified)'.

A dkz file will be created. The file includes your music and after double-clicking it you have to select 'Patch' and then 'Apply patch in folder' before choosing the destination folder. So go to the place where you extracted your DVD and select the 'DATA' folder. All changes will be applied. Now check if the file size didn't drop and also the changing date of PZS3US2.afs should be quite up-to-date.

5) Burn it and test it!
I'd recommend to use IMGBurn to create an ISO file with the extracted DVD files including your changed afs file. Confirm the suggested label name and let the process run.

With a completed ISO image you need to find a way to test it. A quick and fast check would be possible with an PS2 emulator like PCSX2. You only need to find a matching BIOS. Of course you can also burn it or copy it to your hard drive directly but it would be good to know if it really works.

If you changed the first file (zs3_00_US.adx called 'The Meteor') you directly notice after the intro video if the process worked.
To check all the background music, go to 'Duel', select two fighters and while selecting the stage you can move to the right to check all the BGM. Have fun to fight with your own music!

And did you notice the screenshots with the new characters? If you want to see more, visit the blog and other channels of Kinnikuchu. A tutorial from my site will follow soon.

Sunday, December 1, 2013

PS2: Replacing the background music of Dragon Ball Z Budokai Tenkaichi 3

In the Japanese edition of Dragon Ball Z Budokai Tenkaichi 3 (in Japan published as Dragon Ball Z: Sparking! METEOR we have the many tracks from the TV series unlike in the US or European version where this soundtrack was substituted with a new music. But now we have the opportunity to exchange the soundtrack with the original soundtrack or anything we want.

Note: You'll find a more up-to-date version with more information about changing the BGM of Tenkaichi 3 here.

The first step is that we of course need the PS2 game to make an ISO-image out of it. Any burning application like IMGBurn should be able to create such a file. This ISO-file you have to extract - recommended with a zipping tool like 7-Zip.

After extracting the output files should look like this:








Then you need this software (Google is your friend):

In the folder 'data' you'll find three afs-files. Most important for replacing the background audio is the file pzs3eu2.afs (the letters 'eu' might be different depending on where you're from).
This file has to be opened by the DKZ Studio. Then you see the archive is divided in three pages - you have to go to the last one (3) and scroll almost to the end.
The PS2 audio files are in the adx-format. The background soundtrack is named like zs3_00_US.adx and so on. In the next step you should convert your favourited music from mp3 to adx. That's why you need the PES Sound File Converter
After selecting the file, click 'next', chose a destination folder and press 'convert'. You may check the first setting for making an adx-file with a complete loop.

Following that you have to rename the output file with the same name like the file to be replaced with (like zs3_00_US.adx). Then you need to use the DKZ Studio again, right-click the adx-file to replace and select 'import'. Then chose the before created adx-file.

The adx-file has now been replaced and you should save the afs-archive (floppy disk icon as usual).
For having a proper ISO-image to use, the original file pzs3eu2.afs has to be exchanged within the ISO-image.
Luckily the DKZ Studio is also able to open ISO-images. Now you only have to do the same with the afs-file like done before with the adx-file. Right-click, replace and save - and know you have a modified ISO.





Ok, I have read in forums that it's also possible to simply create an ISO out of the extracted files. Unfortunately this ISO never really worked in an emulator - the image could never boot.

Yes, an emulator. Before burning it or copying the image to PS2 hard disk it would be better to test the image previously. The PCSX2 is always a good way to find it out if everything works.

If you have chosen the z3_00-adx-file you'll hear the confirmation that it worked directly at the start screen...



So let's go!