Barotrauma

Barotrauma

217 ratings
Sunken Tapes
7
4
4
2
2
7
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
176.894 MB
1 Oct, 2021 @ 4:09pm
17 Dec, 2022 @ 7:57am
6 Change Notes ( view )

Subscribe to download
Sunken Tapes

Description
There's a boombox and cassette tapes. Can you find them all?

Features
  • Boombox that you can carry. You can also shoot while blasting music.

  • Walkman for more portability and intimacy.

  • Cassette tapes determine the songs.

  • Play/Stop controls.

  • Boombox and walkman play sound without players needing to hold them.

  • Tapes have durability and a limited number of plays.
  • Tapes can be duplicated and corrected with a blank tape and an FPGA circuit.

  • Energetic music gets you hyped.
  • Mysterious dark music may cause psychosis
  • Buy and sell cassette tapes at traders. Some are available only in certain types of stations.
  • Some cassette tapes are not available at merchants.
  • Inspect cassette cover art.

  • Throw against the wall and smash an annoying tape that your crew-mate keeps playing.

FAQ
Q: How do I add my own music?
A: Use installer for a custom version in the git link below. You need to edit the source/tapes.yaml file and add your own cover sprites and icons. Their names need to be the same as the identifiers for the tapes - see how the original mod is made.

Q: Can I turn off the afflictions?
A: Yes, if you install it with an installer there's a checkbox "buffs" that you can turn off.

Q: I get some error with the installer because not all music files get downloaded.
A: Click on "Deploy" again. The installer skips the files that you already downloaded and tries again with the ones still missing.

Q: How do I play with my friends if we want to use a custom version with our own tapes?
A: You have two options:
  • Make sure that everyone runs the installer with the same settings and source files.
  • Publish your own version on Steam Workshop and let you friends subscribe to it. If you set the visibility to public please use a unique name and also reference the original mod in the description.

Q: What does the installer do?
A: The installer downloads the songs from youtube, does some audio processing with ffmpeg, builds the xml code and arranges the images. It then copies everything to your Barotrauma/Mods directory. It is written in Python, so you can inspect all the code. The embedded version of Python is included in the archive that you download, along with some other programs like 7z. ffmpeg and git are somewhat larger so I don't pack them to lower the traffic to the server where the archive is hosted.

Q: The cassette cover art is distorted.
A: Then you're probably using a screen with some other aspect ratio than 16:9. Use the installer to deploy a version that is suitable for your monitor.

Q: Can I have both an original mod and my custom version mod turned on at once?
A: This won't work because the covers are in style.xml and they would override each other. The functionality with two mods at once should work but the covers of one mod won't be displayed and you will need to use two different boomboxes. Rather just expand the original mod. Update: this will work now, but without the inspection of covers. The installer needs to be updated for the ease of use, but the mod has been restructured that one boombox/walkman can play any tapes that have the correct definition.

Source, options and compatibility with other mods
You can adapt the mod for your own crew, see: https://git.kompot.si/jaka/barotrauma-sunken-tapes
Also use the installer from the git repository if you want to use Sunken Tapes along the Into The Abyss mod.


Bug reports
if you try to use the installer and it doesn't start:
1.) First open the windows power shell in barotrauma-sunken-tapes directory that you extracted:

2.) Type:
.\install.bat
3.) copy-paste the error output to the bugs report discussion here.

Technical information
Many have tried to make such a mod but all got discouraged by the following issue - in multiplayer there's a de-sync happening during the level loading if you have items with sounds files too big (cumulatively) that are associated with an item. This results in an inability to enter the game with all your friends because the server wants to load all the audio files during the level loading. Sunken Tapes resolves this issue by spawning invisible items with one sound file only when songs are played.

The first time someone plays a particular song in a level there will be a slight stutter for everyone because the server loads the sound. After that you can start and stop playing that song without any stutter.

Roadmap
  • Walkman version. - DONE
  • Tape repair system. - DONE
  • More loot options.
  • Layered noise sounds at low durability.
  • Fabricating special versions.
  • Editor for adding your own tapes.
  • Encounters/quests with the people from the underwater music scene on the stations.
Popular Discussions View All (1)
21
13 Feb @ 9:42am
Bug reports
AtikiN
128 Comments
GRAND SHMALIUS ll 2 Jul @ 5:23am 
convert the tracks to mono mode. The game uses one channel for sounds and another for music, causing all the tracks to be heard everywhere
Black Rock Shooter 3 May @ 3:30pm 
Would be nice to seeing a volume option added.
Mango Mango! 3 Feb @ 12:28pm 
Looking forward to the release!
Mango Mango! 3 Feb @ 12:28pm 
Alright Thank you!
AtikiN  [author] 13 Jan @ 10:50am 
Hi, the installer is very outdated at the moment. I did some work on a vastly improved new version but there are some complexities involved that I didn't have enough free time and motivation to get into so I can't really say if or when it's going to be finished. If the new version is released, I'll post about it on the barotrauma discord.
Mango Mango! 9 Jan @ 2:37pm 
Got an error while deploying, what does this mean?
https://pastebin.com/PkjQmJW1
(Error in pastebin because error is too long)
Ronnie1001 21 Nov, 2024 @ 1:11pm 
Why does this change my main menu background ?
hUbert 2 18 Sep, 2024 @ 9:11am 
Some changes on unstable, next baro update is bringing "speakers" and a few functionalities
Gra4 19 Aug, 2024 @ 2:59am 
Hi, I tried to add my own music, but it can be heard everywhere, I even tried to swim 1-2 kilometers away from the submarine, but it doesn't help. The sound file itself is quieter than the others, I tried to change the volume of the sound and its length in the code, but it doesn't help. It is slightly muffled behind the wall, but it is still clearly audible. What could be the cause?
sage_n0tfound 27 Jul, 2024 @ 7:10pm 
when deploying the command bar keeps saying. "mutagen.MutagenError: [Errno 2] No such file or directory: './build/music/dmx.ogg'" "[in#0 @ 000001f0d9388440] Error opening input: No such file or directory
Error opening input file ./build/music/dgrips1.ogg.
Error opening input files: No such file or directory" "ERROR: [youtube] rkrjE4QRsys: Unable to extract uploader id; please report this issue on https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; see https://github.com/yt-dlp/yt-dlp on how to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.; please report this issue on https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; see https://github.com/yt-dlp/yt-dlp on how to update. Be sure to call yt-dlp with the --verbose flag and include its complete output." i also cannot for the life of me get custom songs to show up.