Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
ShipMusic
Spatial ship music while someone is at the helm. Separate tracks for Raft, Karve, Longship and Drakkar; live volume configuration.
By Fenikonir
| Date uploaded | 3 weeks ago |
| Version | 0.4.0 |
| Download link | Fenikonir-ShipMusic-0.4.0.zip |
| Downloads | 25 |
| Dependency string | Fenikonir-ShipMusic-0.4.0 |
This mod requires the following mods to function
denikson-BepInExPack_Valheim
BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.
Preferred version: 5.4.2350README
Ship Music 0.4.0
Музыка звучит из лодки, пока кто-нибудь держит руль. Отпустил руль — музыка останавливается. До 10 метров слышна с выбранной громкостью, к 40 метрам затихает.
Установка через r2modman
- Выберите Valheim и нужный профиль.
- Откройте Settings → Profile → Import local mod.
- Выберите ZIP целиком. Если требуется автор, укажите
fenikonir. - Проверьте наличие включённого BepInExPack_Valheim и запускайте Start modded.
Зависимость в manifest: denikson-BepInExPack_Valheim-5.4.2350.
Если локальный импорт вашей версии менеджера не установил зависимость,
установите BepInExPack_Valheim через Online.
Если раньше DLL копировалась вручную в BepInEx/plugins/ShipMusic, перед
импортом перенесите эту старую папку за пределы BepInEx/plugins, чтобы
не оставить две копии одного плагина. При обновлении импортированного мода
используйте тот же авторский идентификатор fenikonir.
Четыре трека
В этот локальный пакет включены файлы из профиля автора:
| Лодка | Файл |
|---|---|
| Плот | raft.ogg |
| Карви | karve.ogg |
| Длинный корабль | longship.ogg |
| Драккар | drakkar.ogg |
Для замены используйте OGG Vorbis, положите файл рядом с DLL и перезапустите игру. Отсутствующий трек отключает музыку только для соответствующего типа лодки.
Громкость
После первого запуска: Config editor → fenikonir.shipmusic.cfg → Audio → Volume. Диапазон 0–100, по умолчанию 50. Сохранение применяется во время игры через FileSystemWatcher. F8 не используется.
Другие игроки
Каждому слушателю нужны мод и треки. Используется состояние руля самой игры; отдельных сетевых сообщений мод не отправляет. Позиция песни между клиентами не синхронизирована. Громкость каждый настраивает у себя.
CHANGELOG
0.7.0
- Added live internet radio using the free Radio Browser API, enabled by default without an API key or account.
- Random station selection across Viking, Nordic folk, folk metal and pagan metal tags. F8 at the helm selects another station; broadcasters choose songs within their live programs.
- Nearby listeners resolve the captain's station ID and connect directly to the broadcaster. One nearest radio ship per listener, existing spatial volume and 10–40 m attenuation; stream connections stop beyond 50 m or when the helm is released.
- Added bounded MP3 streaming with NLayer 3.0.0 (MIT), background network/decoding work, two-second startup buffering, ICY metadata handling and reconnect backoff. Radio audio stays in memory and is not sent through Valheim RPCs.
- Added live Radio.Enabled and Radio.Tags settings; disable radio to restore local OGG/F8 playlists and optional file sharing. Local boat music plays during buffering or outages when available.
- MP3 streams only in this release; AAC/HLS stations are excluded. Clients may hear different delays or broadcaster advertisements; playback is not sample synchronized.
- Verified radio lifecycle and buffer tests plus actual API discovery and decoding of CeltCast and Radio Skald streams. In-game audio and two-client validation remain manual checks.
0.6.1
- Removed the 150 ms pause between chunks; up to 16 chunk requests stay in flight.
- Added bounded upload queues, alternating listeners and out-of-order reception with missing-chunk retries.
- Added live UploadLimitKBps configuration (64–4096 KiB/s), defaulting to 1024 KiB/s across all listeners.
- Downloads time out after 22 seconds without progress; selection changes and disabling sharing discard pending work.
- Kept the v1 wire format and existing disk cache; update both captain and listeners to benefit fully.
- Verified 4 MiB in approximately 4.1 seconds at simulated 100 ms RTT, plus loss, reordering, two listeners and live rate changes. Real multiplayer speed is not yet measured.
0.6.0
- Opt-in sharing of the captain's actual OGG recording through addressed routed RPCs.
- Separate send/receive settings, compressed file limit and bounded disk cache.
- Chunked downloads, SHA-256 integrity verification, timeout and stale-selection cancellation.
- Cached recordings are reused and playback starts at an approximate shared position.
- Local music remains the fallback when sharing is off or unavailable.
- Verified with protocol and simulated transport tests; real two-client gameplay validation is still required.
0.5.0
- Added a custom OGG Vorbis playlist in the tracks folder next to the DLL.
- F8 at the helm cycles extra tracks by filename, then returns to the boat default.
- Releasing and retaking the helm resets the selected track.
- The captain's selection is shared through player ZDO state; audio files and playback timestamps are not transmitted.
- Listeners missing a selected track fall back to their boat's default song.
0.4.1
- Added full Russian and English documentation, installation instructions and troubleshooting.
- Documented custom tracks, multiplayer limitations and music rights disclaimer.
- Added the published mod page to package metadata.
- Playback behavior is unchanged from 0.4.0.
0.4.0
- Separate tracks for Raft, Karve, Longship and Drakkar.
- Spatial playback while a ship's helm is occupied.
- Live volume configuration.