LoginSignup
1
0

More than 5 years have passed since last update.

Bemuse server: Images, BGA, music preview

Last updated at Posted at 2017-10-17

This post is for people who runs Bemuse servers.

Bemuse does not support normal BMS image tags. But it supports:

  • Eyecatch image (1280x720 PNG)
  • Background image (1280x720 PNG)
  • Preview music (MP3)
  • BGA (720p WebM/MP4)

Why not support normal BMS tags?

The formats usually used in BMS is not suitable for web consumption.

  • Eyecatch images #STAGEFILE and background images #BACKBMP are usually BMP files.
  • BGA are usually WMV, MPG, and AVI files. These file types are proprietary and not widely supported on web browsers.

Bemuse’s limitations

  • These images, movies and previews are per-song. All BMS files will use the same image.

Let’s customize Bemuse server!

For this example, I am going to use LeaF’s song about flower.

At first, the server looks like this:

Screen Shot 2017-10-17 at 23.36.28.png

Add an eyecatch image

Add a file named eyecatch_image.png.

Screen Shot 2017-10-17 at 23.39.12.png

Bemuse will now display an eyecatch image while loading song.

Screen Shot 2017-10-17 at 23.41.06.png

Add a background image

Add a file named back_image.png.

Screen Shot 2017-10-17 at 23.44.10.png

Bemuse will now display an background image when playing.

Screen Shot 2017-10-17 at 23.45.44 copy.png

Add a BGA

Add a BGA file:

Screen Shot 2017-10-17 at 23.47.32.png

Create a text file called README.md.

Screen Shot 2017-10-17 at 23.55.52.png

And put in:

---
video_file: BGA.mp4
video_offset: 1.268
---
  • video_file is the name of your video file.
  • video_offset is when to start playing the video.

Save the file and run bemuse-tools index again.

Refresh the game (you may have to clear the cache). BGA should work now!

Screen Shot 2017-10-18 at 0.00.22.png

Note: I recommend using the WebM format with size 1280x720 and bitrate of 2000kbps.

Add a preview music

  1. Convert the BMS into a WAV file (don’t forget to normalize to prevent clipping).

  2. Use Audacity with ReplayGain Plugin.

  3. Open the WAV file in Audacity.

  4. EffectReplayGainNormalize with adjusted output of 4 dB.

    Screen Shot 2017-10-18 at 0.11.58.png

  5. Cut the track to 30 seconds.

  6. Apply Fade in at to the first 0.5 seconds.

  7. Apply Fade out at the last 3 seconds.

    Screen Shot 2017-10-18 at 0.15.05.png

  8. Export the file to _bemuse_preview.mp3 with bitrate of 128kbps.

    Screen Shot 2017-10-18 at 0.17.38.png

Now, you should hear the music preview!

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0