Add openmpt inst, fix/add links

ABelliqueux 2021-10-29 14:26:57 +02:00
parent 45c7ea4871
commit 6e8c7fc3e0

11
MOD.md

@ -14,12 +14,15 @@ ffmpeg -i input.wav -ar 11025 -ac 1 output.wav
## Adding sound effects (samples) to a mod file
Use [OpenMpt](https://openmpt.org/) to edit an existing mod file or create a new one
Use [OpenMpt](https://openmpt.org/) to edit an existing mod file or create a new one.
1. Select 'MOD (ProTracker) 4 channels' as file format.
2. In the left panel, double click the sample of your choice to open it.
3. In the right panel, navigate to the 'Samples' tab, then click the folder icon to import a mono, 11025Hz WAV file.
4. After importing your samples, you can save the MOD file and proceed to convert it to HIT.
![OpenMPT Add sample](https://wiki.arthus.net/assets/openmpt_add_samples.gif)
Then save your mod file.
## MOD > HIT conversion
Use `MODCONV.EXE`, available in hitmen's [hit-hitmod15.zip](http://hitmen.c02.at/files/releases/psx/hit-hitmod15.zip), with dosbox.
@ -56,4 +59,4 @@ MOD_PlayNote( voiceID, sampleID, note, volume);
MODs use 4 channels, which are mapped to the four first voices of the SPU by default. When calling `MOD_PlayNote()`, you should use voices > 4.
See [here](https://github.com/ABelliqueux/nolibgs_hello_worlds/hello_mod) for a complete example.
See [here](https://github.com/ABelliqueux/nolibgs_hello_worlds/tree/main/hello_mod) for a complete example.