Table of Contents

How to use custom music during cutscenes (US/EU)

This tutorial will explain to you how to use custom music in your game. For a bit of background the first example of music in-game is some prototype with the sound engine. However, here, I'll show how to use an alternative sound engine (that can be used alongside the original, so the base game music still work). The first apparition of this kind of sound is by Irdkwia, in a secret part of his hack ( see the video – spoiler warning – here : https://www.youtube.com/watch?v=hnN0lAobADc ). The second use of this one is by techticks (with the same sound engine) in his City of Light hacks. Please note that this engine isn't perfect, and have the following issue that I'm aware of :

All of those point (in particular the last 2) could possibly be fixed with enhancement of the patch (I may try to take a look at that, but I'm not really good when it comes to audio processing).

The actual how-to part

So, first, you will need to make sure you know the basic of using the command line (powershell on windows, whatever shell you use on Linux (it's usually Bash by default), or whatever is MacOS's default (I think it's bash, but seeing how MacOS is hard to set-up in a VM, I won't test on it)). You will need to make sure you know :

Quick and Ugly mini shell tutorial

A shell (sometimes called console or terminal) allow you to execute command by typing lines (and a bit more, but that's out of scope). You communicate with the shell by writing a line of command, then pressing enter to validate (like when you discuss with a bot in Discord/IRC/whatever. Or minecraft command.).

One important notion with shells is the Current Directory. Your shell have a folder it is in, like a file explorer have a displayed folder. This is then used for deciding which file to modify if you specify a path that don't start with ``C:/`` (or similar), ``/`` or whatever is used on MacOS. For example, if you are in the Directory ``C:/Users/marius/something``, specifying the file ``hello`` will use the file at ``C:/Users/marius/something/hello``.
Keep in mind that space is what separate the different part of a command. If you have a space in your file name, you need to put an \ before the space and an ``“``, so that ``file with space”.txt`` is typed as ``file\ with\ space\“.txt``.
You can :