Project Zomboid

Project Zomboid

True Music B42
272 Comments
scrappy coco  [author] 16 hours ago 
@OgnirRats thanks again. I see now. Lets see if i can fix it.

- boombox and vinyl player errors
scrappy coco  [author] 19 hours ago 
@OgnirRats Thank you very much! If there is anything i need to change from my side let me know. I will test placing items - i didnt test this to be honest :D
Švedski Šved iz Švedske Aug 21 @ 7:56pm 
@Rachel L scroll down the comments, someone recently asked this.

It's a setting in the ADDON mod that actually adds the music, not the base mod (which is this).
Rachel L Aug 21 @ 7:53pm 
How does one lower the ammount of music that spawns when usiing other mods? I keep finding places with 3+ tapes
OgnirRats Aug 21 @ 3:57pm 
im updating the template for easier use of function.I keep encountering an error and traced it back to true music b42, specifically upon opening the mods custom items, both the boombox and vinyl playr. Seemingly encountering the error when the item is first placed on the ground, upon opening the device option menu (then slightly shifting player to reload containers around you) produces a phantom container with what looks like a speaker icon. Relatively harmless minus the fact that it seems to spawn randomized loot (seems junk table), and throwing up an error for missing igui tittle for tcmusic.
Švedski Šved iz Švedske Aug 18 @ 11:06pm 
@turky_jery look at the discussions above the comments. It's a setting you can change in-game.
turky_jerky Aug 18 @ 6:18pm 
how would one turn down the sound of the radio static its SUPER loud and i got no clue how to either turn it down or off entirely
Kris Aug 18 @ 4:55am 
Thank you for your reply. I currently have severely crashes in my current run and I dont know if I am able to fix them, but I was able to locate the error log and will post it under the discussion thread from a user named Hunter. Seems that others experience the error too.

The workshop ID from the mod you posted on this site is
Version: 2.15
Workshop ID: 2613146550
Mod ID: truemusic

But I found it unter the ID: 3397198968 in the mods folder because the ID you posted here doesnt exist in my folder. Thanks for the help.

If I cannot recover my save file, I have to downgrade back to build 41 again. Sad to loose a playthrough just because of chunk errors but on the other side, your mod will be working again. Never had a problem with true music on build 41.
scrappy coco  [author] Aug 18 @ 1:59am 
@Kris we can investigate your problem. Please open a Discussion and post the logs of you session.

So please share the full error log from C:\Users\YourName\Zomboid\console.txt or C:\Users\YourName\Zomboid\Logs , including any "Caused by" details? (look for logs files named "2025-08-17_18-04_DebugLog.txt" as example).

this would help a lot.

Also please explain "Somehow the Workshop ID is different (3397198968)" i dont understand why it is diffrent.
Jedi Ranger Kendor Aug 17 @ 12:51pm 
How do you change how much each tape weighs?
Kris Aug 17 @ 2:21am 
Thank you for your reply. Somehow the Workshop ID is different (3397198968) and I changed the settings and doubled it. Could not find the Boombox. I spawned them in dev mode and encountered another strange problem. After spawning the items, I restarted without dev mode and put a cassette in a box and turned it on. So far so good... but after that I was not able to open the device options nor was able to pick it up again. You cannot select it anymore. I have to uninstall the mod and hope the Box will disappear because I have now a unselectable Boombox play a 30 minute mixtape. I am not writing this for critizising, rather to give an information about this happening. Maybe others have encountered the same?
scrappy coco  [author] Aug 16 @ 10:11am 
@Dr.Maggozer spawnrates of casettes is done in the Truemusic Addon MOD. Not by this MOD.
Dr.Maggozer Aug 16 @ 9:32am 
Hey i'm not sure if ive done something wrong or maybe there's a simple fix im just not seeing but i was wondering if there's a way to lower the spawnrates of casettes? Every building i look in will have like 10+ in every wardrobe and drawer in a house.
scrappy coco  [author] Aug 15 @ 9:20am 
@Kris look for ~*\TrueMusic_b42\media\lua\server\Items\TCLoading.lua
This file is responsable for spawnrates of the players. Just increase the number.

like this:

table.insert(ProceduralDistributions["list"]["LivingRoomShelfNoTapes"].items, "Tsarcraft.TCVinylplayer")
table.insert(ProceduralDistributions["list"]["LivingRoomShelfNoTapes"].items, 2) -- from 0.5 to 2
Kris Aug 15 @ 8:35am 
I really like this mod and I dont know if its just bad luck, but despite finding some cassettes from other music mods, I have not found in over 30 days a single Boombox or VinylPlayer (havent found Vinyls too). I play on the map mod Raven Creek which was updated to Build 42. Is there something I have to do or is it just bad luck? The loot spawn is normal or rare and I would love listen to the cassettes I have (the cassettes in the cars are there, that tells me the mod is working) but I cannot find a Boombox.
Ruru Aug 15 @ 6:55am 
@scrappy coco I tried the new update and is now working fine, no more errors. Thank you for your hardwork :steamhappy:
scrappy coco  [author] Aug 14 @ 3:27pm 
@Kust5 did you use
Workshop ID: 3412040570 - True Music B42 Add on Template by OgnirRats (your music)
to add your music?

check the comments from this mod. look for this comment from xXSWXx.

xXSWXx:
Hi peeps! I got it to works, here's what I did to help you folks;
1. Subscribe to True Music B42 by Scrappy Coco and this one here.
2. Follow instruction here , BUT DO NOT OPEN THE GAME YET (https://www.youtube.com/watch?v=9DZghSBPOy4&ab_channel=Tsar%27sStories)
3. Open this mod in Steam\steamapps\workshop\content\108600\3412040570\mods\True Music Addon Template b42\42\media\yourMusic.
4. Unpack zip in same folder \yourmusic (yourmusic.zip and OgnirsTools)
5. Add Music in Ogg, wav, or mp3 format to both tcboombox and tcvinylplayer.
6. You can add jpg for vinyl covers. Use cover_creator.exe to create jpg that match tracks.
7 .Run AddYourMusicToTheMod.exe (NOTICE THAT NOTHING SEEMS TO BE HAPPENING BUT LET IT RUN)
....
scrappy coco  [author] Aug 14 @ 2:43pm 
@Ruru fixed, please try again.
Kust5 Aug 14 @ 12:22pm 
@scrappy coco I did everything as you said and was surprised. The cassettes from the mods that add them really work fine. BUT. All the music that I download myself still does not appear in the game. What is my problem, please help me
Ruru Aug 14 @ 11:12am 
this error pops when I right click, I saw your update today, i unsub and resub your mod to see if its fix but I am getting this error, at some place when I click my inventory it shows me a an inventory for the boombox, if I am to place any item on it and grab then place it on the floor, items will dissappear, idk if its intentional or not but it isn't working
Ruru Aug 14 @ 11:10am 
sorry its not allowing me to paste all at once so had to divide, idk this was on my debug log
Ruru Aug 14 @ 11:10am 
zombie.GameWindow.logic(GameWindow.java:326)
zombie.GameWindow.frameStep(GameWindow.java:916)
zombie.GameWindow.mainThreadStep(GameWindow.java:642)
zombie.MainThread.mainLoop(MainThread.java:76)
java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassCastException: class java.lang.String cannot be cast to class java.lang.Double (java.lang.String and java.lang.Double are in module java.base of loader 'bootstrap')
zombie.ui.ISUIWrapper.LuaHelpers.castDouble(LuaHelpers.java:84)
zombie.iso.ISWorldObjectContextMenuLogic.handleInteraction(ISWorldObjectContextMenuLogic.java:2970)
zombie.iso.ISWorldObjectContextMenuLogic.createMenuEntries(ISWorldObjectContextMenuLogic.java:738)
Ruru Aug 14 @ 11:10am 
java.base/java.lang.reflect.Method.invoke(Unknown Source)
se.krka.kahlua.integration.expose.caller.MethodCaller.call(MethodCaller.java:62)
se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:211)
se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:201)
se.krka.kahlua.vm.KahluaThread.callJava(KahluaThread.java:191)
se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:851)
se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:174)
se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1826)
se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1653)
se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:66)
se.krka.kahlua.integration.LuaCaller.protectedCallVoid(LuaCaller.java:139)
zombie.Lua.Event.trigger(Event.java:72)
zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:410)
zombie.ui.UIManager.updateMouseButtons(UIManager.java:975)
zombie.ui.UIManager.update(UIManager.java:725)
Ruru Aug 14 @ 11:10am 
base on my debug mode just now

Callframe at: createMenuEntries
function: createMenu -- file: ISWorldObjectContextMenu.lua line # 205 | Vanilla
function: createMenu -- file: ISMenuContextWorld.lua line # 50 | Vanilla
function: createWorldMenu -- file: ISContextManager.lua line # 28 | Vanilla
function: doRClick -- file: ISObjectClickHandler.lua line # 63 | Vanilla
function: onObjectRightMouseButtonUp -- file: ISObjectClickHandler.lua line # 428 | Vanilla.
[15-08-25 02:03:53.107] ERROR: General f:50, t:1755194633107> ExceptionLogger.logException> Exception thrown
java.lang.reflect.InvocationTargetException at NativeMethodAccessorImpl.invoke0 (Native Method).
Stack trace:
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
scrappy coco  [author] Aug 14 @ 10:44am 
The InvocationTargetException suggests a Lua script in True Music is calling a Java method that fails.
Could you share the full error log from C:\Users\YourName\Zomboid\console.txt or C:\Users\YourName\Zomboid\Logs , including any "Caused by" details?
Also, let me know what you were doing when the error popped up (e.g., right-clicking a Walkman) This'll help me pinpoint and fix the issue
Ruru Aug 14 @ 10:14am 
I am getting error

`java.lang.reflect.InvocationTargetException
at jdk.internal.reflect.GeneratedMethodAccessor1163.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at se.krka.kahlua.integration.expose.caller.MethodCaller.call(MethodCaller.java:62)
at se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:211)
at se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:201)
at se.krka.kahlua.vm.KahluaThread.callJava(KahluaThread.java:191)
scrappy coco  [author] Aug 14 @ 9:16am 
changelog updated
Rachel L Aug 14 @ 7:36am 
I didnt asked if there was, i asked what was the update? As there is no changelog :p
scrappy coco  [author] Aug 14 @ 12:57am 
@Rachel L dont know what time zone you are in. But yes there was an update :).
@Kust5 this is a Music Addon issue, you need Music Addons for b42 aswell, using old b41 music packs might not work. As Švedski Šved iz Švedske said

get -> Cassette Addons.

true music cassette megapack <----- Workshop ID: 3068955583
B42 Time Period accurate music <----- Workshop ID: 3407139462


mod order:

casette mods
TM42
TSAR's

this should fix this. im using B42 Time Period accurate music myself, and there are so many cassettes.
Rachel L Aug 13 @ 6:49pm 
What was today update?
Švedski Šved iz Švedske Aug 13 @ 5:18pm 
@scrubdaddy There's a B42 template for true music on the workshop, I'd start there, and if that doesn't work idk how to help you.

It seems SOME casette packs don't work even though they should, I'm not sure why, I might also be wrong as I didn't extensively test this.
Kust5 Aug 13 @ 3:11pm 
Dear creator of the mod. My music does not appear in the game (I see through the debug items). I do everything as it should be (I used troe music b41 before). Tell me, maybe I need to do something else here that I don't understand so that my music at least appears in the game as an item???!
Scrub Daddy Aug 13 @ 2:06pm 
@Švedski Šved iz Švedske

That's not what i mean, what i'm trying to do is add my own custom music not some premade music addon...
Švedski Šved iz Švedske Aug 13 @ 12:33pm 
@Scrub Daddy make sure to add music cassette mods,

true music cassette megapack and B42 Time Period accurate music work for me

mod order:

casette mods
TM42
TSAR's
Scrub Daddy Aug 13 @ 12:15pm 
Does custom singleplayer music work? cuz i did it and i have no custom music in game
scrappy coco  [author] Aug 13 @ 11:16am 
Very nice! No worries :)
Ashbay Aug 13 @ 11:14am 
Ok sorry works perfect :) thx
scrappy coco  [author] Aug 13 @ 11:08am 
fresh download ----> :steamhappy:
Ashbay Aug 13 @ 11:08am 
I have unsubscribe and subscribe twice, i still get the error on right clic
scrappy coco  [author] Aug 13 @ 11:04am 
@Ashbay please make sure you got new version. Fresh download. but im checking again.
scrappy coco  [author] Aug 13 @ 11:00am 
@Švedski Šved iz Švedske i thought about this today, maybe i can add some people to this project, so fixes can applied by somebody else than me.
Maybe github? I dont know to honest. I need to think, maybe i can find a good solution here.
Ashbay Aug 13 @ 10:58am 
`function: TCFillContextMenu -- file: worldContextBoombox.lua line # 46 | MOD: True Music_b42
Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@406a11b8
function: createMenu -- file: ISWorldObjectContextMenu.lua line # 214 | Vanilla
function: createMenu -- file: ISMenuContextWorld.lua line # 50 | Vanilla
function: createWorldMenu -- file: ISContextManager.lua line # 28 | Vanilla
function: doRClick -- file: ISObjectClickHandler.lua line # 63 | Vanilla
function: onObjectRightMouseButtonUp -- file: ISObjectClickHandler.lua line # 428 | Vanilla
java.lang.RuntimeException: Object tried to call nil in TCFillContextMenu
Švedski Šved iz Švedske Aug 13 @ 10:56am 
@scrappy coco

Thanks again for the work you do, how do-able would you say it is to maintain this mod going onwards? Somehow I doubt the Ukraine war will be over any time soon, nor the sanctions on Russia. So I have doubts if irbus will ever come back to maintain these mods.
GLOCKSTAR69 Aug 13 @ 10:46am 
Finally no more click errors. Much appreciated Scrappy and a special thanks to Mohtools for trying to get me the specifics for the band aid fix
scrappy coco  [author] Aug 13 @ 10:28am 
@Švedski Šved iz Švedske nope not needed anymore. Should work fine now.
@chut527 Very nice! :)
Švedski Šved iz Švedske Aug 13 @ 10:19am 
@scrappycoco so no manual fixes needed now? Bless you for the time you take to fix this up.

Thanks.
chut527 Aug 13 @ 10:19am 
Thanks. Not getting any right click errors.
scrappy coco  [author] Aug 13 @ 10:10am 
okay should be fixed now
scrappy coco  [author] Aug 13 @ 9:43am 
updated, rightclicking on walkman working now. No errors my side. Please confirm.
scrappy coco  [author] Aug 13 @ 9:23am 
fixed. testing now