Open guillaume-leo opened 1 year ago
Same here, it would be nice to update it to 4.2.
I checked and got some errors on variables declaration and variable type creation (PDStream) in AudioStreamPD.gd.
Sadly I'm not competent enough to update it myself.
I could look into an update; the project isn't really in my focal area right now, but I'll check out the scope of updating it and give it a shot if it's not too much effort. Not sure on a timeframe for that.
Hi @magogware , thanks so much for the effort on this repo. I'm also trying to see if I can get it working on Godot 4.3. As someone mentioned above, the problem I'm facing right now if with the PdStream type in AudioStreamPD.gd script. Looks like this PdStream object is saved as a .tres resource on the root of the addon, but it shows as a MissingResource (not sure if problematic). But it does look like it fails to create this special type that your script references. The export syntax from Godot 3 is easily updated as seen below, but I can't figure out the PdStream issue.
@export_file("*.pd") var patch : String
@export var interval : float
Thank you!
Hey @ribponce,
Have you tried grabbing my godot-pdstream repo, running the makefile, and using the new libraries it generates? I'm not sure what it'll take to update this and the backend native code, but that library would almost certainly need updating.
Okay, I've looked into what steps will need to happen to get this updated.
I'm not really sure I have the interest in prioritising time to do step 1 at the moment, but I'll be happy to assist anyone that takes up the task.
I almost got it working with a different repo that already has the GDextension module approach (I found it after yours), as it was done more recently for 4.2: https://github.com/kumikohime/gdpuredata
But I ran into an issue with building with scons
, which I posted there as well. I believe the repo takes care of step 1 you listed? Perhaps if you have interest you can try their repo too.
At the moment this addon doesn't work in godot 4.
Do you know which changes needs to be done ?