Skip to content
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

Change the default Android export behavior so that a .pck or .zip file of the project is pushed to the assets folder instead of the project files #946

Open
dariuspranskus opened this issue May 28, 2020 · 3 comments

Comments

@dariuspranskus
Copy link

dariuspranskus commented May 28, 2020

Describe the project you are working on:
Any Godot project which needs to be exported to Android

Describe the problem or limitation you are having in your project:
Currently export to Android feature puts individual project files into assets folder on exported APK. Some of the files are exported as is in plain text. This allows easy retrieval of assets and other files.

Describe the feature / enhancement and how it helps to overcome the problem or limitation:
Change the default Android export behavior so that a .pck or .zip file of the project is pushed to the assets folder instead of the project files. This will make the extraction o the asset and other project files more difficult

Describe how your proposal will work, with code, pseudocode, mockups, and/or diagrams:
After the change, the export to Android feature will create a pck file in the exported APK file of all the projects files. then the load behavior needs to be changed to look also for PCK file.

If this enhancement will not be used often, can it be worked around with a few lines of script?:
It will be used every time the export to Android feature is used. No, it can't be easily worked around with a few lines of code

Is there a reason why this should be core and not an add-on in the asset library?:
Because this is a core export functionality

@m4gr3d m4gr3d added this to the 3.2.3 milestone Jun 15, 2020
@aaronfranke aaronfranke removed this from the 3.2 milestone Dec 17, 2020
@Calinou Calinou changed the title Change the default Android export behavior so that a .pck or .zip file of the project is pushed to the assets folder instead of the project files. Change the default Android export behavior so that a .pck or .zip file of the project is pushed to the assets folder instead of the project files Aug 14, 2021
@phil-hudson
Copy link

Hey, want to re-awaken this. As for new apps, Google does not allow APK upload, this system could potentially allow us to use AAB export (new requirement for Play Store) with encrypted internals.

Did you have any in progress commits/PRs?

Thanks

@dpnnl
Copy link

dpnnl commented Dec 29, 2023

Still waiting for this in Godot 4. A way to not leave my project so exposed when exported to Android... Literally the entire structure of scenes and scripts is visible, even my comments on my scripts. 😮‍💨

@phil-hudson
Copy link

Should be resolved with godotengine/godot#76161

Ideally in 4.3

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

No branches or pull requests

6 participants