I often have reason to modify .sif files from a Python script. I have an ad hoc library I have built for this, on top of the XML parser Beautiful Soup.
I was wondering whether there was an existing library I could use instead. I found this thread, but it hasn’t been updated in three years, and the site 404s.
Does anyone know of a library for this? If not, maybe I’ll polish mine up and release it.
Replying here so other people can see it too, but I’ll send you a Discord message as well. If anyone else wants to talk about the project, I’ll set up a Discord server for it.
Part of it is linked below, with some simple code and a test suite. I have a lot of plans, and I’ll be writing up a roadmap. But:
It can read and search .sif, but not yet write it out.
.sifz and .sfg aren’t supported yet
It doesn’t handle waypoints, at all: that’s the next thing to fix.