Skip to content

Instantly share code, notes, and snippets.

@DanTheMan827
Last active July 14, 2022 16:39
Show Gist options
  • Save DanTheMan827/a63cf2eeb9c5decebcc419cefdfb4494 to your computer and use it in GitHub Desktop.
Save DanTheMan827/a63cf2eeb9c5decebcc419cefdfb4494 to your computer and use it in GitHub Desktop.
How to inject custom songs into Amplitude.

Injecting a custom Amplitude track

There are two ways to add custom tracks to amplitude, the easiest would be using Modulation, a free and open source GUI app based around Modulate by Adam Clixby.

Both methods assume you have the game files for Amplitude on your computer, obtaining the files from a real system is beyond the scope of the document, but if using RPCS3 they can be found in the dev_hdd0\game\NPUB31810\USRDIR folder of the emulator.

Modulation (Easiest Method)

Download Modulation from the GitHub releases page, you may also need the .NET 6.0 Desktop Runtime.

Open modulation, and then it will ask you to locate either the main_ps3.hdr, or main_ps4.hdr file depending on the version of the game you’re working with, select that and the application will proceed to unpack the files to a temporary folder on your computer.

Upon extracting, you’ll see a screen similar to the following:

image

To import the song, simply drag the archive file onto the window, and you’ll see it appear in the list.

image

To save and repack the game files, close the window and choose yes when asked to save.

image

Using Modulate via command line

Prerequisites

You’ll need to download Modulate.exe from GitHub, as of creation of this document there is no release available, so you’ll have to download it from a workflow run.

All you need to do is click on the newest successful run and within it will be an artifact with modulate.exe inside.

image

Instructions

For the purposes of these instructions, it will be assumed that the song name is slimenest, this will differ depending on the track you’re injecting.

It's recommended to keep a backup copy of the main_ps3.hdr and the .ark files in case you should need them.

  1. Copy Modulate.exe into the game directory, for RPCS3 this is dev_hdd0\game\NPUB31810\USRDIR
  2. Open a command prompt in that directory (Hint: type cmd in the windows explorer address bar)
  3. Run mkdir unpacked_dir && mkdir packed
  4. Run modulate -ps3 -unpack unpacked_dir
  5. Extract the slimenest folder to unpacked_dir\ps3\songs\
  6. Run modulate -ps3 -autoadd unpacked_dir
  7. Run modulate -ps3 -pack_add unpacked_dir packed_dir
  8. Delete the unpacked_dir folder
  9. Move the contents inside the packed_dir folder outside of the folder while replacing the existing files.

You can now delete the unpacked_dir folder on your computer.

Play the Game!

If done properly, your custom song should now be available to play in the game list.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment