PS3:ATRAC3

From ConsoleMods Wiki
Jump to navigation Jump to search

Sony games use a proprietary audio codec called ATRAC3 (.AT3) which is used for game sounds on the XMB and coldboots. It is possible to create your own custom songs or audio clips to play when viewing apps in the XMB or when your system boots up. This guide will cover creating custom snd0.at3 (ATRAC3) files to replace in your backup games or homebrew. This process works on both PSP and PS3 games.

Required Items

Program Installation

  1. Install GoldWave 5.10.
  2. Install ATRAC3 Codec. If you are on a 64bit version of Windows or Windows 7 and later follow the next section. Otherwise, skip it.

Installing 32bit Codecs on a 64bit machine

  1. Copy the extracted .acm file into \Windows\SysWOW64\
  2. Create a new notepad file and paste the following:
    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Drivers32]
    "msacm.atrac3acm"="atrac3.acm"
    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\drivers.desc]
    "atrac3.acm"="Sony ATRAC3 ACM" 
  3. Save as 'atrac3.reg' and place it in \Windows\SysWOW64\
  4. Run the 'atrac3.reg' file, Windows should accept the registry edit. Restart your computer.

Creating the SND0.AT3 Files

  1. Open GoldWave and open a MP3 you wish to use. You must use the trim function in GoldWave to trim the audio down to around 50-55 seconds, or 8 seconds maximum for a coldboot. Anything longer will likely not work. The Fade Out tool is optional to make it sound better when played.
  2. Go to EFFECT in the toolbar and choose 'Playback Rate'. Assuming your mp3 is a generic 44100Hz, you will need to change the sample rate to 40200Hz. The PS3 uses the sample rate of 48000Hz, so to make your MP3 sound normal when played via the XMB you need to drop the sample rate by the difference of your song and the PS3 sample rate (3900Hz).
    • For PSP, do not change the sample rate
  3. Select File → Save As.
    • Save as Type: Wave (*.wav)
    • Attributes: ATRAC3 132kbps STEREO
      • For PSP, use 66kbps instead

You may get a pop up window warning about the sampling rate, just close it. When saving your file you may get a pop up asking to update the sound window with the new format, choose No.

The file saved is now a .wav. You will need to manually change the file type to .AT3. See here to enable file extensions in Windows.

  1. This step is optional: Looping your newly created ATRAC3 file.
    • Open GWAT3 and select your AT3 file and click Start.
    • GWAT3 will create a looped copy of your song.AT3 in its directory.
  2. Navigate to the root of your PS3 game/homebrew folder and replace the file SND0.AT3. Your new file must be named SND0.AT3 as well.
  3. Load up your game or homebrew in XMB, or your apply your coldboot, and you should hear your song play.

Troubleshooting

  • Song isn't playing:
    • Try trimming your song to a shorter time, resulting in a smaller file size.
  • ATRAC3 is not an option in GoldWave when saving:
    • It should be, this was tested on Creators Update of Windows 10 x64. Newer versions of GoldWave do not support the ATRAC3 codec.
  • I can't get it to work on my PSP
    • Make sure to skip step 4 and don't change the playback rate. Save your file as ATRAC3 66kbps instead.
    • Your file size cannot exceed 500kb. If your PSP game has a .PMF file too, you must take in account of that when creating your file size. Combined, the .AT3 and .PMF must not exceed 500kb.