Skip to content

Releases

samptool 0.1

Choose a tag to compare

@ShrineFox ShrineFox released this 19 Sep 05:21

samptool

A tool for repacking TTYD (GC)'s MusyX ".samp" sound archive format.
Originally created by tge-was-taken in 2016.

Usage

Make sure you have the .NET 8 Runtime installed.

GUI

  1. Run samptoolGUI.exe
  2. Drag the .samp file onto the exe
  3. When you're ready to repack, drag the Out folder onto the .exe (make sure it's still in the same folder as the original .samp and .sdir)

Commandline

Open the command prompt and enter the following comands in the same folder as samptool.exe.

Paper Mario Sample editor v0.1
Created by TGE, partially based on the script created by Nisto.
Please give credit where is due.

Usage:
samptool.exe <sounddir> -<mode> <dir> [<optarg>]

Where:
     <sounddir>  Path to the directory containing the samp and sdir files. (required)
     <mode>      Tool mode. See below. (required)
     <dir>       Path to directory to load from or write to depending on the mode. (required)
     [<optarg>]  Arguments whose usage differs depending on the mode. (optional)

Modes are:
     -x  Extracts the samples to <dir> in DSPADPCM format.
     -u  Updates the sdir and samp files using the dsp files in the folder specified in <dir>
         and saves the new files to the path specified by [<optargs>] if specified, otherwise
         the files are saved to the <sounddir> and the folder name is used as the base file name.

Example usage:
samptool.exe "D:\Sound" -x "D:\Sound\Out"
samptool.exe "D:\Sound" -u "D:\Sound\Dspfiles" "D:\Sound\pmario_new"

Editing sound files

The sound files it extracts are in .dsp format.
You can use this fork of Audacity to export sounds as .dsp.
More info in this GbaTemp thread.
You can probably also use foobar2000 with the vgmstream plugin to listen to the .dsp files, maybe, I don't remember.
If not, then that Audacity fork should do the trick.