Nate escribió

It might be something strange with permissions for your Godot project files. Try this: click the Windows button in the lower left of the screen, type "command" so you see "Command Prompt", right click "Command Prompt" and choose "Run as Administrator". That opens Command Prompt and then try to run the script again.

If that doesn't work, you can go to your Godot project folder, right click, Properties, Security tab, advanced, check "Replace all child object permissions...", then click "Add", "Select a principal", type your Windows user name, click Check Names, then OK, check "Full Control", OK again, OK one more time, I lied there's another OK


done! That will change all the permissions of your Godot project files so your Windows user has full control. Whew.

Many thanks to you and Mario for all your help, I have done the 2 options with the same result. As far as I read here:

https://stackoverflow.com/questions/27215462/permissionerror-winerror-32-the-process-cannot-access-the-file-because-it-is

It could because of python-windows issue.

But I think I'd better stick with the first method: replace it manually. For the project I'm doing, there aren't that many Spine nodes that need to be replaced, so it's not a tedious job. It is also an option until Godot 4 arrives, which will be soon. Once again, thank you very much for your help. I will make a video tutorial with my experience with the first method to help people who want to update the runtime.

Cheers.

Mario escribió

I've just updated the convert.py script in the 4.1 and 4.2-beta branches to fix this issue. Please give that a try before you go manually fix up your project:
https://github.com/EsotericSoftware/spine-runtimes/blob/4.1/spine-godot/convert.py

And the sweet message came out... :grinfake :grinfake :grinfake

Thanks now it works flawlessly! :cooldoge: :cooldoge:


maranpis escribió
Mario escribió

I've just updated the convert.py script in the 4.1 and 4.2-beta branches to fix this issue. Please give that a try before you go manually fix up your project:
https://github.com/EsotericSoftware/spine-runtimes/blob/4.1/spine-godot/convert.py

And the sweet message came out... :grinfake :grinfake :grinfake

Thanks now it works flawlessly! :cooldoge: :cooldoge:

Hello guys, Here I leave a resume of the 2 methods for updating JSON files in the new Spine Godot Runtime. Thanks to Nate and Mario for their help.

Cool!

3 meses más tarde
Nate quitó la chincheta a la discusión .