You are viewing a potentially older version of this package. View all versions.
WeatherElectric-VoidSpeaker-2.4.0 icon

VoidSpeaker

A music player for BONELAB

Date uploaded 7 months ago
Version 2.4.0
Download link WeatherElectric-VoidSpeaker-2.4.0.zip
Downloads 1976
Dependency string WeatherElectric-VoidSpeaker-2.4.0

This mod requires the following mods to function

TrevTV-AudioImportLib-1.3.0 icon
TrevTV-AudioImportLib

A simple mod library that allows mod creators to import audio files as AudioClips.

Preferred version: 1.3.0
bonelib-BoneLib-3.1.3 icon
bonelib-BoneLib

A BONELAB mod for making life easier for other mod creators.

Preferred version: 3.1.3
WNP78-FieldInjector-2.0.400 icon
WNP78-FieldInjector

A utility for other mods to inject monobehaviour fields into the IL2CPP domain.

Preferred version: 2.0.400
WeatherElectric-OneLastLibPt2-1.0.0 icon
WeatherElectric-OneLastLibPt2

Core mod for my mods to reduce code duplication.

Preferred version: 1.0.0
LavaGang-MelonLoader-0.7.1 icon
LavaGang-MelonLoader

The World's First Universal Mod Loader for Unity Games compatible with both Il2Cpp and Mono

Preferred version: 0.7.1

README

VoidSpeaker

The successor to Media Player, VoidSpeaker is an immensely improved version.

Less bugs, better UI.

What's Different From Media Player?

  • Uses Bonemenu rather than a physical object
  • No more spatial audio, it was annoying
  • Refreshing files in runtime, if you add a new song to the folder and hit "Refresh", it will add it
  • Heavily improved performance with TagLib. Trust me, it sucked before. It wouldn't destroy Texture2Ds when no longer used. Memory leaks.
  • Can be shuffled in runtime
  • Can be paused
  • MP3 files do not need to be edited anymore, it resizes their images itself now, way easier to use
  • SDK script that allows you to get the current song's metadata

IMPORTANT!

  • DEPENDING ON HOW MANY MP3 FILES YOU PUT IN THE FOLDER, THE GAME MAY TAKE LONGER TO START UP!
  • THIS IS INEVITABLE! PUTTING IT ON ANOTHER THREAD CRASHES THE GAME, AND IF IT WERE ASYNC IT MAY NOT BE FULLY LOADED BY THE TIME YOU SPAWN ONE IN, CAUSING PROBLEMS!
  • THERE WILL ALSO BE A SLIGHT LAG SPIKE WHEN LOADING INTO THE MAIN MENU! THIS ONLY HAPPENS ONCE, NEVER AGAIN!

Setup

Mod

Installation

  • Place TagLibSharp.dll in the UserLibs folder
  • Place VoidSpeaker.dll in the Mods folder and run the game once

Preferences

  • In WeatherElectric.cfg, all preferences for the mod are in the VoidSpeaker category
  • You can also edit them in game through BoneMenu.

Custom Audio

Installation

  • Place your MP3 files into UserData/Weather Electric/Void Speaker

Unity Integration

  • Import VoidSpeaker.unitypackage into your project
  • Add MetadataListener to an object
  • Example Setup:
  • Example Setup

CHANGELOG

v2.4.0

  • Moved a ton of methods over to OneLastLibPt.2 for better code reuse across mods
  • Fixed bug with recursive file searching only working on initial load, not refresh
  • Fixed bug with refreshing files that caused duplicates to be loaded

v2.3.0

  • Added recursive search for music files allowing for more organized music folders
  • Prevented issue where the mod would try to load files that aren't audio files

v2.2.0

  • Added MetadataListener

v2.1.1

  • Recompiled for Bonelib 3.1.0

v2.1.0

  • Move settings button
  • Add warning to refresh music button
  • Remove unused code
  • Namespace changes

v2.0.1

  • Upload correct build

v2.0.0

  • Patch 5 Support

v1.0.1

  • Added handling for if there's no tags on the file, probably should have done this in v1.0.0

v1.0.0

  • Initial Release