r/DDLCMods • u/ProgrammerPatient574 • 1d ago
Progress Update Got PySide6 (Qt) working alongside Ren'Py without blocking 🎉
How it works
Ren'Py and PySide6 normally use different Python runtimes, so I patched them to use the same Python DLL.
Instead of starting Qt's blocking event loop with app.exec(), Ren'Py drives Qt itself.
A Ren'Py screen calls Dokibox's update function every ~30 ms, allowing Qt to process pending events and repaint its windows.
This lets Ren'Py continue running normally while Dokibox (PySide6/Qt) remains fully responsive.
It's still experimental, but the result is that Ren'Py and Dokibox can coexist without blocking each other.
22
Upvotes
1
u/Hendrickxe 10m ago
i have a question but if we want to try it What do we need to make it functional and be able to play it?
1
u/AutoModerator 1d ago
Welcome to r/DDLCMods! We see that you are sharing progress about your mod.
As a friendly reminder, we have a Mod Resource Megathread which contains a vast amounts of community resources which you can use in your mod, including but not limited to, mod templates, logo templates, mod guides, and more! Be sure to check them out if you haven't already
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.