Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Using pypy sandbox for indie game for scripting game assets #13

Open
MartyMcFlyInTheSky opened this issue Mar 19, 2023 · 1 comment
Open

Comments

@MartyMcFlyInTheSky
Copy link

I'm looking for a secure and relatively performant environment to run python scripts that influence the game mechanics of my game. The user should be able to mod the game and create python scripts along with other game assets and be able to upload these assets to a server where others can download it. Needless to say these scripts should be run in a contained environment to not cause harm for the unsuspecting end user.

I was led here by this and thought I might look into it. My setup is a bit different that the game will be written in C++ and have pyhton c API bindings for the game API.

As I get from the wiki the sandbox is currently deprecated and a new one is in development progress. I have now two questions:

  1. Is pypy sandbox suitable for my use case?
  2. How is develpment coming along? Can the new sandbox be reliably used alredy?

I like the intricacies of the pypy sandbox as opposed to the not really viable alternatives. Maybe someone knows more as well, I'm open.

Sorry for opening an issue here but I didn't find a discussion thread :)

@mozillazg
Copy link
Owner

@MartyMcFlyInTheSky This repository is an unofficial read-only mirror.
Feel free to create an issue to the official repository: https://foss.heptapod.net/pypy/pypy/-/issues

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants