Barotrauma

Barotrauma

197 ratings
Sunken Tapes
7
4
4
2
2
7
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
176.894 MB
Oct 1, 2021 @ 4:09pm
Dec 17, 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)
20
Jan 18 @ 2:15am
Bug reports
AtikiN
113 Comments
Alkut Mar 15 @ 1:42am 
I love this mod thanks for making it :steamhappy:
Beard Feb 4 @ 3:20pm 
Also, does adding the mod in later affect the loot spawns?
Beard Feb 4 @ 1:50pm 
is there any way to make the tapes not have durability?
kooll Dec 27, 2023 @ 4:01pm 
@goldencash745786 thats the wrong boombox
goldencash745786 Dec 24, 2023 @ 1:02pm 
Hey mod author fix this please :pray:, https://gyazo.com/6e4b456aaea517db3b0be76e90da15a3 (look at video)
Hash Oct 31, 2023 @ 4:36pm 
Thank you very much for letting me know! Me and my friends are looking forward to it.

Take your time, and good luck with modding! :captainsmooth:
AtikiN  [author] Oct 31, 2023 @ 3:58pm 
Hi Hash, I'm preparing a new release of the mod with an editor and a validator, but it's taking some time since I switched to PyQt for the GUI and I also want to refactor all the code.

It should be much easier to prepare your own versions then - also just the custom tape mods (without the duplicate boombox) that should work together with the Sunken Tapes which provides the boombox.
Hash Oct 31, 2023 @ 9:36am 
Hi! Would it be possible for you to publish a step-by-step guide on how to successfully add custom songs into your mod, please?

I've tried to follow the steps given by you (modifing tapes.yaml based on the template) but I can't get it to work.I have very limited knowledge of coding so I can't deduce what exactly I should do.

I'd greatly appreciate it, for I've been trying to modify this mod for quite some time. :gooddoctor:
MP7_ACOG Oct 9, 2023 @ 3:15pm 
Are there any future plans to add NEEDS support?

https://steamcommunity.com/sharedfiles/filedetails/?id=2929084649
[TM] waccoon Sep 7, 2023 @ 2:17pm 
cant get the custom tapes to show up into the game at al