-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Export system #146
Comments
What I do for now on a project I want to use Pythonscript support for, is following the described method here, but just for some package loader project which then loads the actual game package and switches to that scene. With this method the actual game files are still in a single package and only the loader files are exposed in the directory structure. |
This is highly relevant to my current interests. Let me ask you - is it possible to load the game/application on another machine after performing this export? Eg; one that does not have python installed into the host system. Another way of asking is "is python embedded into godot's engine after this is done?" |
yes ;-)
Godot-Python ships it own Python interpreter totally isolated from the system. |
This issue is really interesting for me. If you have some idea for a real export I could help. |
Hi @gustavi ! I've started working on this issue a couple of weeks ago, but I have put it on hold to focus on a better plugin install&update experience (the assetlib is not well suited for big platform-dependent project such as this one), this should allow me to do much more frequent release so I consider it should come first ;-) Considering what should be done for the export:
Notes:
|
Compiling to Putting this here because I looked into it wondering. |
Hi @touilleMan First of all thanks for making such a powerful thing but while developing a game in Godot with python I encountered the issue for export so I am willing to help😀😀 I am very much interested in making this and know how to make plugins for Godot and also I go through the link you shared I am willing to work explain me more and I will get going. |
Helpful if you can guide |
@Harshharsh2275 not sure what more I can provide on this topic. If you want to work on this topic I suggest you start by creating a simple export plugin that gets called when the export starts, from this on we can iterate over to add tings step by step ;-) |
I'm currently working on this issue. I'll post update in following hours/days when it starts working. |
First of all, thanks so much for the incredibly amazing project that is Today I spent some time trying automated build system to work by starting with your suggested steps @touilleMan :
I ended up being successful by making and using a custom build template. In case anyone else out there is stuck while waiting for full support from @gustavi , I added the more detailed instructions to a Gist. If there's anything I can assist with or you have a working branch @gustavi let me know. For now, I'm essentially copying all project files in Once it's done, it's pretty simple to just add the build templates in the UI: |
No news for a while here, I was really busy at work + holidays. @omardelarosa your solution is really interesting, more than mine by far. I'll try to port it on my computers (Windows 10 / ArchLinux) and keep you in touch. |
@gustavi Can you share any help on windows? Thanks |
Any updates about this ? |
Not at all, onyl dirty hacks for my own computer. I'm not working on this issue anymore sorry. |
Anyone has a solution for Windows using the pck?@touilleMan |
May I ask how to encrypt the material resources of the game? |
Yes, but you're not at the good place: https://github.com/touilleMan/godot-python/discussions |
Any ground made here? It just absolutely refuses to acknowledge the DLL even exists |
Currently there is no automating support for the build system.
What this means is exporting a project using godot-python result in a .pck/zip file which lacks the pythonscript directory (well from my tests, the pythonscript directory is present, but only contain some image that should have been found by Godot's generic export system...)
So right now exporting a project means you have to:
And then you have a directory that can run the project fine.
Least we can say is...this is far from ideal :/
The text was updated successfully, but these errors were encountered: