Standalone [1.3] tModLoader - A Modding API

I am not 100% sure, but I checked at least 3 time, so I don't think I am just a moron.

I found some sorta bug, when I start tmod on steam, there is 0 sound, nothing no music, no sound, no ambient NOTHING. I don't know If it is just only me, or it's a global bug, but I wannted to say it, mabye I can get help.


Also as I said it, I checked, and the volume settings is not 0, my sound mixer not muted, and I am sure, that is my headphones are working perfectly.

So yeah, any any suggestions or something?
 
You're not alone, I also noticed the same thing, and other people too.

Edit:. Hey, I caught a fish.
[22:18:30] [1/WARN] [tML]: Silently Caught Exception:
System.InvalidOperationException: This resource could not be created.
at Microsoft.Xna.Framework.Audio.WaveBank..ctor(AudioEngine audioEngine, String nonStreamingWaveBankFilename)
at Terraria.Main.LoadMusic()
at Terraria.Main.LoadContent()
at Microsoft.Xna.Framework.Game.DeviceCreated(Object sender, EventArgs e)
at Microsoft.Xna.Framework.GraphicsDeviceManager.OnDeviceCreated(Object sender, EventArgs args)
at Microsoft.Xna.Framework.GraphicsDeviceManager.CreateDevice(GraphicsDeviceInformation newInfo)
at Microsoft.Xna.Framework.GraphicsDeviceManager.ChangeDevice(Boolean forceCreate)
at Terraria.Main.SetGraphicsProfileInternal()
at Terraria.Main.SetGraphicsProfile(GraphicsProfile profile)
at Terraria.Main.LoadContent()
at Microsoft.Xna.Framework.Game.Initialize()
at Terraria.Main.ClientInitialize()
at Terraria.Main.Initialize()
at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
at Terraria.Program.LaunchGame_()
at Terraria.Program.LaunchGame(String[] args, Boolean monoArgs)
at Terraria.WindowsLaunch.Main(String[] args)

Is the only tModLoader related error I found.
 
Last edited:
I am not 100% sure, but I checked at least 3 time, so I don't think I am just a moron.

I found some sorta bug, when I start tmod on steam, there is 0 sound, nothing no music, no sound, no ambient NOTHING. I don't know If it is just only me, or it's a global bug, but I wannted to say it, mabye I can get help.


Also as I said it, I checked, and the volume settings is not 0, my sound mixer not muted, and I am sure, that is my headphones are working perfectly.

So yeah, any any suggestions or something?

Verify file integrity on steam? Assuming its just tmodloader acting up and nothing else, that might be your best bet other than just reinstalling it.
 
It looks like the newest update to the base vanilla game (1.4.1.2) has caused tModLoader sound to COMPLETELY break. There is apparently a way to fix this by downloading some files or something, but it seems pretty sketchy so I would advise waiting for a TML hotpatch or update to fix it.
 
I have an issue with my sound when playing Terraria via the tModLoader (Steam).

Since yesterday all Sounds and Music wont play. I dont know what caused this and how to fix this.
Meanwhile every other Game has Sound, meaning there is no Issue with my Hardware.

What i have tried so far to no avail:

- Reinstalling tModLoader
- Reinstalling Sound Drivers
- Changed the Resolution and switched to Windowed (apparently this fixed a known sound bug in 1.3)
- Checked multiple times if the Game is muted in Windows

I dont know why this is suddenly an issue. Last time i played it worked completely fine.
The current official Version, Terraria 1.4.1, also works fine.

Does someone know how to fix this issue?
 
Ok apparently the newest Terraria Update broke tModLoader.

Got this from another source:

"The most recent update to the vanilla game changed:

Content/Sound Bank.xsb
and Content/TerrariaMusic.xgs among other things.


I wouldn't be surprised if that broke the way TML handles audio since it uses the vanilla installs assets."
 
Dont worry friend. The tml is already with a fix in the beta on steam. If u want to try, look for beta on the steam options of TML. The people on discord says its works
 
I spent the last hour trying to figure out a solution for this issue. Can confirm, the beta for tmodloader fixes this issue!
I found the following error in the logs for the client in tModLoader:

Code:
[05:32:53] [1/WARN] [tML]: Silently Caught Exception:
System.InvalidOperationException: This resource could not be created.
   at Microsoft.Xna.Framework.Audio.WaveBank..ctor(AudioEngine audioEngine, String nonStreamingWaveBankFilename)
   at Terraria.Main.LoadMusic()
   at Terraria.Main.LoadContent()
   at Microsoft.Xna.Framework.Game.DeviceCreated(Object sender, EventArgs e)
   at Microsoft.Xna.Framework.GraphicsDeviceManager.OnDeviceCreated(Object sender, EventArgs args)
   at Microsoft.Xna.Framework.GraphicsDeviceManager.CreateDevice(GraphicsDeviceInformation newInfo)
   at Microsoft.Xna.Framework.GraphicsDeviceManager.ChangeDevice(Boolean forceCreate)
   at Terraria.Main.SetGraphicsProfileInternal()
   at Terraria.Main.SetGraphicsProfile(GraphicsProfile profile)
   at Terraria.Main.LoadContent()
   at Microsoft.Xna.Framework.Game.Initialize()
   at Terraria.Main.ClientInitialize()
   at Terraria.Main.Initialize()
   at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
   at Terraria.Program.LaunchGame_()
   at Terraria.Program.LaunchGame(String[] args, Boolean monoArgs)
   at Terraria.WindowsLaunch.Main(String[] args)

I guess Terraria had a small update when I wasn't paying attention because I had been able to play without any sound issues an our beforehand.
 
So the sound of tModLoader (steam version) stopped working. I was playing with a relatively large modpack and when I booted my game there simply was no sound. I tried changing the volume sliders in game, but that didn't do anything. tModLoader isnt muted on my computer either. (My sound device is HyperX Cloud Stinger).

Any ideas on how to fix this?
 
Hello!

Well, as title says, sound is not working in TModLoader. It happened after I installed 4 mods, then I got an error from CalamityMusic and somehow it broken the entire game sound. I've searched in a lot of posts and forums but can't get it fixed. This is only happening in TModLoader, Terraria works fine.

Calamity version Im using:

- CalamityModV1.4.4.001
- CalamityModMusicV1.4.4.001

I don't remember which mod was theh one that broke the sound, but it's one of these:

- Tacklebox Modest Fishing Content v1.2.0
- Wildlife Mod v0.13
- Unusacie's Battle Rods v1.3.1.4
- More Potions v4.100

Here's the things I've already tried:

- Checked my PC audio
- Checked if TModLoader was muted
- Checked TModLoader in-game audio bars
- Reinstalled both games by deleting all the folders to install them clean again
- Verified data on Steam
- Removing/Disabling all mods and playing without them
- Reinstalling mods
- Tried changing to fullscreen, windowed mode, borderless mode
- Temp cache cleaned
- Restarted my PC

My PC:

Ryzen 1200 3.7ghz
RX 570 8gb
B350M-A
16gb ram

Error log:

[12:59:01] [15/DEBUG] [tML]: Unloaded 0 hooks, 2 detours and 2 native detours from CalamityModMusic
[12:59:01] [15/FATAL] [tML]: One or more errors occured while unloading and tModLoader must be restarted to prevent further issues.
CalamityModMusic was unable to unload properly. Modders must use defensive programming to ensure unloading completes regardless of any errors during loading.
Terraria.ModLoader.Exceptions.MissingResourceException: Sounds/Music/Calamity
en Terraria.ModLoader.Mod.GetMusic(String name)
en CalamityModMusic.CalamityModMusic.setTitleMusic(Boolean overrideConfig)
en CalamityModMusic.CalamityModMusic.Unload()
en Terraria.ModLoader.Mod.UnloadContent()
en Terraria.ModLoader.ModContent.UnloadModContent()
en Terraria.ModLoader.ModLoader.do_Unload()
en Terraria.ModLoader.ModLoader.Unload()


I attached the log for more info. Thanks.
 

Attachments

  • client.log
    17.9 KB · Views: 168
I do not know why Tmodloader isn't playing sound, even though I have the volume for Tmodloader all the way up and nothing is muted in game.
 
People will still find ways to get mods, even if they have to straight up tear the game apart, just to put in a few files.
So the sound of tModLoader (steam version) stopped working. I was playing with a relatively large modpack and when I booted my game there simply was no sound. I tried changing the volume sliders in game, but that didn't do anything. tModLoader isnt muted on my computer either. (My sound device is HyperX Cloud Stinger).

Any ideas on how to fix this?
The same for me I'm always looking for how to solve his problems TwT
Hello!

Well, as title says, sound is not working in TModLoader. It happened after I installed 4 mods, then I got an error from CalamityMusic and somehow it broken the entire game sound. I've searched in a lot of posts and forums but can't get it fixed. This is only happening in TModLoader, Terraria works fine.

Calamity version Im using:

- CalamityModV1.4.4.001
- CalamityModMusicV1.4.4.001

I don't remember which mod was theh one that broke the sound, but it's one of these:

- Tacklebox Modest Fishing Content v1.2.0
- Wildlife Mod v0.13
- Unusacie's Battle Rods v1.3.1.4
- More Potions v4.100

Here's the things I've already tried:

- Checked my PC audio
- Checked if TModLoader was muted
- Checked TModLoader in-game audio bars
- Reinstalled both games by deleting all the folders to install them clean again
- Verified data on Steam
- Removing/Disabling all mods and playing without them
- Reinstalling mods
- Tried changing to fullscreen, windowed mode, borderless mode
- Temp cache cleaned
- Restarted my PC

My PC:

Ryzen 1200 3.7ghz
RX 570 8gb
B350M-A
16gb ram

Error log:

[12:59:01] [15/DEBUG] [tML]: Unloaded 0 hooks, 2 detours and 2 native detours from CalamityModMusic
[12:59:01] [15/FATAL] [tML]: One or more errors occured while unloading and tModLoader must be restarted to prevent further issues.
CalamityModMusic was unable to unload properly. Modders must use defensive programming to ensure unloading completes regardless of any errors during loading.
Terraria.ModLoader.Exceptions.MissingResourceException: Sounds/Music/Calamity
en Terraria.ModLoader.Mod.GetMusic(String name)
en CalamityModMusic.CalamityModMusic.setTitleMusic(Boolean overrideConfig)
en CalamityModMusic.CalamityModMusic.Unload()
en Terraria.ModLoader.Mod.UnloadContent()
en Terraria.ModLoader.ModContent.UnloadModContent()
en Terraria.ModLoader.ModLoader.do_Unload()
en Terraria.ModLoader.ModLoader.Unload()


I attached the log for more info. Thanks.
I do not know why Tmodloader isn't playing sound, even though I have the volume for Tmodloader all the way up and nothing is muted in game.
Hi guys,
I've moved all your posts/threads into the tModloader discussion thread to keep them together. Apparently there is a fix for this in the tModloader beta, so I'd try installing that and seeing if it helps.
 
Back
Top Bottom