Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Render Krazy Rain songs to .wav file.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 KrazyRenderer.cpp
Octocat-spinner-32 README.md
README.md

KrazyRenderer

There are a lot of good songs from a rhythm online game Krazy Rain, but all of these songs are only playable in the game, and there are no OSTs released. One may try to record directly from the game, but they must press the buttons very precisely for the results to sound nice. Press one note offbeat, the whole recording fails. Even the autoplay can still get some sounds off (you can hear some gaps between two sounds).

I would like to have some songs in my library, so I have to made this app to convert them.

It reads in the note data from the notes files (.xne and .xnt) and all samples (.wav) and creates a wave file (.wav) that sounds like the in-game version, but it plays the notes very precisely to the sample.

It works similarly to BMX2WAV that converts .BME or .BMS files to .WAV file or OpenSPC that converts songs ripped from games in SNES.

Usage

To convert a Krazy Rain song to a wave file:

  • You need to extract the song file first. There is already a tool to do this, so this app won't do it for you.
  • Convert all samples to .wav file. Once you unpack the song file, you will get a bunch of XNE and XNT files and a hell lot of OGG files. There is a tool to convert .OGG files to .WAV files, so this app won't do it for you.
  • Use KrazyRenderer to convert .xnt file to .wav file.

Converting Samples to .wav Files

If you have installed vorbis-tools, you can use oggdec to convert them. On my Mac and on Linux you could do:

for I in *.ogg; do oggdec "$I"; done

and on Windows you would do

for %i in (*.ogg) do c:\oggdec.exe "%i"

or use a GUI frontend to convert them. But you need to convert them into 16bit PCM 44,100hz only! Or KrazyRenderer won't work.

Using KrazyRenderer

It is a command line application. All you have to do it pass a .xnt file to it. Note that the corresponding .xne file must be present! Or KrazyRenderer won't work.

You can also pass a filename as the second argument to have it output to a different file name.

Usage: krazyrenderer <filename.xnt> [<output.wav>]
Something went wrong with that request. Please try again.