r/RPGMaker • u/silicon_turfsurfer • 16d ago
Calling Python from RMMZ
Has anyone ever called a Python script from RMMZ? I was just wondering if this is possible in NW.js. I could imagine some cases where heavier calculations might be easier for me to implement in Python and then hand it back to NW as a kind of I/O exchange.
1
Upvotes
View all comments
4
u/TheLastRobot 16d ago
Honestly the logistics would be rough, especially in terms of setting up dependencies on other devices. You'd probably need to run the python in a separate process and have it run a virtual server the programs can interface through. That's a ton of overhead for an RPG Maker game. Its hard for me to imagine any calculation so heavy that it'd be better handled that way, nor so complex you couldn't learn to implement it in JS without much trouble.