Preceti's Music Experiment


Player mod for my other music mods that adds songs to the Game Ambient music or to the Programmable Speaker or both, depending on your settings. With settings to choose which songs are added or not.

Content
2 months ago
1.1 - 2.0
724
Environment Circuit network Cheats

b [SOLVED]Error message

10 months ago

I got an interesting possibly conflicting error message just setting this here in case you want to tackle it.

Failed to load mods: Error while loading entity prototype "programmable-speaker" (programmable-speaker): Value must be a list in property tree at ROOT.programmable-speaker.programmable-speaker.instruments[35].notes
Modifications: Base mod › ZwerOxotnik's extendable mod › Party stuff › Space Age › SuperDSombrero Sound Pack › Soundpack: Alerts and Sirens Updated › C&C RedAlert Sounds › Robotic Voice Sample For Speaker › System Alerts Continued › Preceti's Music Experiment › Honk › Robotic Voice Sample For Speaker

also trying to figure out how to share screenshots here in case you want to see it.

10 months ago

I am tempted to think this comes from the others mods as mine ( Robotic Voice Sample For Speaker & Preceti's Music Experiment ) are compatible with each other and with other adding sounds i tested.

I have seen such error occuring when a mod tries to add an instrument with no notes or tries to add an instrument at an invalid position in the list of instrument.

I'm using speaker.instruments[#speaker.instruments + 1] to add an instrument to the list, and when seeing this error i'm supposing there is a problem because instrument 35 (36) isn't correct but it's unclear to me which one is going to be the 36th of the list of what other mods can do with the list of instrument. I have a bit of logic but it's not doing much apart from simply adding sound and i'm just discovering this langage so i'm not sure i can help but i can try lookin up the other mod if you got a list or a savefile that "works" but you can't add my mods i can try to see the mods from this savefl that may cause conflict maybe

10 months ago

Base mod › ZwerOxotnik's extendable mod › Party stuff › Space Age › SuperDSombrero Sound Pack › Soundpack: Alerts and Sirens Updated › C&C RedAlert Sounds › Robotic Voice Sample For Speaker › System Alerts Continued › Preceti's Music Experiment › Honk › Robotic Voice Sample For Speaker

Just with this list i am able to launch the game though, so i'm not sure the mods are the cause of the problem, are you using others mods too ?

10 months ago

yes I installed the TTS prerendered version then I stopped using it and, I started to wonder if it left anything behind since the instruments are still somehow in my speaker list. But I will go ahead and post my whole mod list real fast to see if any other active mods cause the issue without being listed.

Elevated Rails
Quality
Space Age
Auto Deconstruct
C&C Redalert Sounds
Disco Science
Factorio Library
Honk
Minning Patch Planner
Party Stuff
Pavement Drive Assist Continued
Rate Calculator
Robotic Voice Sample for Speaker
Show max underground Distance
Soundpack: alerts and sirens updated
SPeaker Signals 2
SuperDSombrero Sound Pack
SystemAlerts Continued
VehicleSnap
ZwerOxotnik's extendable mod

This list currently works for me, but like I mentioned earlier I think the TTS Prerendered version may have done something to my save even after turning it off. If you still want the save file Just tell me where I can upload it at and I will give it a shot.

10 months ago

I wouldn't know what to do to try and debug the save from the save file to be honest but any public upload could do, i can try to see.

From looking at the TTS Prerendered version code, i see that some part are designed specifically to handle the removal of a TTS speaker, but i'm not familiar with it, i think its author would know better if it could be caused by turning off the mod without removing certain things from the map beforehand, and the savefile could also be of some use for this.

10 months ago

Well I can no longer get the crash to occur and I am fully able to load the mod with the list above without any issues now after I did a mod settings reset. So I guess if anyone else has a similar crash tell them to check the reset settings checkbox one the crash warning. Now I wonder if the factorio update forced a something to fix itself, oh well.

10 months ago
(updated 10 months ago)

This will count as a successfully solved problem to me x)

9 months ago

I fixed some silly mistake in my code, which may have been the cause of the error message mentionned if settings were used to try and remove some songs, it works now.

New response