furnace/README.md

125 lines
2.6 KiB
Markdown
Raw Normal View History

2021-05-13 04:22:57 -04:00
# Furnace
2021-12-19 03:36:42 -05:00
![screenshot](papers/screenshot.png)
2022-01-11 03:52:26 -05:00
this is a work-in-progress chiptune tracker compatible with DefleMask modules (.dmf).
2021-05-28 15:15:27 -04:00
## features
2021-12-09 03:37:31 -05:00
- supports Sega Genesis, Master System, Game Boy, PC Engine, NES, C64, YM2151/PCM and Neo Geo!
2022-01-11 03:52:26 -05:00
- multiple sound chips in a single song!
2021-05-28 15:15:27 -04:00
- clean-room design (zero reverse-engineered code and zero decompilation; using official DMF specs, guesswork and ABX tests only)
- bug/quirk implementation for increased playback accuracy
2021-12-11 04:55:31 -05:00
- accurate emulation cores whether possible (Nuked, MAME, SameBoy, Mednafen PCE, puNES, reSID and ymfm)
2022-01-11 04:55:52 -05:00
- additional features on top:
2022-01-11 03:52:26 -05:00
- SSG envelopes in Neo Geo
- full duty/cutoff range in C64
2021-05-28 15:15:27 -04:00
- open-source. GPLv2.
2021-12-19 13:05:09 -05:00
## downloads
check out the Releases page. available for Windows, macOS and Linux (AppImage).
2021-12-19 13:05:09 -05:00
# developer info
2021-05-28 15:15:27 -04:00
## dependencies
2021-05-28 16:31:35 -04:00
- CMake
- SDL2
- zlib
2021-06-09 04:33:03 -04:00
- JACK (optional)
2021-05-28 16:31:35 -04:00
2021-12-14 14:33:24 -05:00
SDL2 and zlib are included as submodules.
2021-05-28 15:15:27 -04:00
## compilation
your typical CMake project. clone (including submodules) and:
2021-05-28 15:15:27 -04:00
2021-05-28 16:31:35 -04:00
### Windows using MSVC
2021-12-19 03:37:42 -05:00
**no longer tested!** as of now tildearrow uses MinGW for Windows builds...
2021-05-28 16:31:35 -04:00
from the developer tools command prompt:
```
mkdir build
cd build
cmake ..
msbuild ALL_BUILD.vcxproj
```
### macOS and Linux
2021-05-28 15:15:27 -04:00
```
mkdir build
cd build
cmake ..
make
```
## usage
```
2021-12-19 13:05:09 -05:00
./furnace
2021-05-28 15:15:27 -04:00
```
2021-12-19 13:05:09 -05:00
this opens the program.
2021-12-07 13:08:48 -05:00
```
2021-12-19 13:05:09 -05:00
./furnace -console <file>
2021-12-07 13:08:48 -05:00
```
2021-12-19 13:05:09 -05:00
this will play a .dmf file.
2021-12-07 13:08:48 -05:00
```
2021-12-19 13:05:09 -05:00
./furnace -console -view commands <file>
2021-12-07 13:08:48 -05:00
```
2021-12-19 13:05:09 -05:00
this will play a .dmf file and enable the commands view.
2021-12-07 13:08:48 -05:00
```
./furnace -output audio.wav <file>
```
this will render a .dmf file to .wav.
2021-12-11 13:30:06 -05:00
# notes
2022-01-11 03:52:26 -05:00
> how do I use Neo Geo SSG envelopes?
the following effects are provided:
- `22xy`: set envelope mode.
- `x` sets the envelope shape, which may be one of the following:
- `0: \___` decay
- `4: /___` attack once
- `8: \\\\` saw
- `9: \___` decay
- `A: \/\/` inverse obelisco
- `B: \¯¯¯` decay once
- `C: ////` inverse saw
- `D: /¯¯¯` attack
- `E: /\/\` obelisco
- `F: /___` attack once
- if `y` is 1 then the envelope will affect this channel.
- `23xx`: set envelope period low byte.
- `24xx`: set envelope period high byte.
- `25xx`: slide envelope period up.
- `26xx`: slide envelope period down.
2022-01-11 03:52:26 -05:00
a lower envelope period will make the envelope run faster.
2021-12-11 13:30:06 -05:00
> my song sounds very odd at a certain point
file a bug report. use the Issues page.
it's probably another playback inaccuracy.
2021-12-11 13:41:37 -05:00
2021-12-19 13:05:09 -05:00
> my song sounds correct, but it doesn't in DefleMask
2021-12-11 13:41:37 -05:00
2021-12-19 13:05:09 -05:00
file a bug report **here**. it still is a playback inaccuracy.
2022-01-11 03:52:26 -05:00
> my C64 song sounds terrible after saving as .dmf!
that's a limitation of the DefleMask format. save in Furnace song format instead (.fur).