wavelength 1.0.0
Loading...
Searching...
No Matches
Tools::DemoSong::DemoSong Class Reference

Adds the song POD_DEMO ("Space" by P.O.D.) to an extracted retail disc, the way Amplitude-Space-Edition does. More...

#include <demosong.h>

Static Public Member Functions

static std::expected< void, Error > add (const Inputs &inputs)
 Add the song.

Detailed Description

Adds the song POD_DEMO ("Space" by P.O.D.) to an extracted retail disc, the way Amplitude-Space-Edition does.

The song's charts, sample banks, movies, and band art come from songs/pod_demo in the demo's archive. Amplitude-Space-Edition provides the recorded streams in its ark and disc trees, which are copied over the archive files and the disc files, and its decompiled gen files, whose POD_DEMO song entry and POD_DEMO_* strings are spliced into the retail compiled files. Every other part of the retail files is written back unchanged. The European release reads its songs from cfg_freq2euro and has a string table per language, and each table gets the English strings.

Member Function Documentation

◆ add()

std::expected< void, Error > Tools::DemoSong::DemoSong::add ( const Inputs & inputs)
static

Add the song.

Parameters
inputsThe inputs and the extracted disc.
Returns
Nothing, or an error when an input lacks a file the song needs, a compiled file does not round-trip unchanged through the writer, or a file cannot be written.

The documentation for this class was generated from the following file: