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
Debundle Minetest Game #13818
Debundle Minetest Game #13818
Conversation
I suggest making those two things prerequisites of this PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think games
should be removed from here:
minetest/android/app/src/main/java/net/minetest/minetest/Utils.java
Lines 38 to 45 in 690506b
public static boolean isInstallValid(@NonNull Context context) { | |
File userDataDirectory = getUserDataDirectory(context); | |
return userDataDirectory.isDirectory() && | |
new File(userDataDirectory, "games").isDirectory() && | |
new File(userDataDirectory, "builtin").isDirectory() && | |
new File(userDataDirectory, "client").isDirectory() && | |
new File(userDataDirectory, "textures").isDirectory(); | |
} |
Remaining things before debundling:
|
yep, otherwise it will repeatedly extract the zip on android if you don't have any games installed... |
Hopefully users don't actually do this because there's a bunch of things that could break in more or less subtle ways if done. |
This was how I would update Minetest on Windows, by extracting |
For cases where #13800 wouldn't be able to detect updating from an existing install containing MTG worlds, I feel like it should be important to inform users via Minetest community channels that MTG will be debundled in 5.8.0, and that if they want to continue playing with MTG it can be reinstalled from the content browser. (like this forum thread I made about it) |
Removed the label because #13799 is not too important and by the looks of it, the other dependencies were resolved too. Relevant discussion: https://irc.minetest.net/minetest-dev/2023-10-15#i_6122535 |
Still need to uninstall mtg when the Android app updates |
Since #13906 also works on Android, merging that PR would change this to-do from a hard requirement to a nice-to-have. |
42dae80
to
09dd49f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Found a leftover mention of MTG:
Line 1380 in 09dd49f
Look for examples in `games/devtest` or `games/minetest_game`. |
I think we can just remove that line altogether.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works
I noticed this but felt like it didn't matter either way |
If we want to truly remove any references to Minetest Game, Line 62 in 09dd49f
Lines 43 to 45 in 09dd49f
|
Referencing Minetest Game for examples in documentation sounds okay to me, but that devtest initial message could use being changed. Or even removed, since devtest isn't bundled with builds of the engine anymore and there are already warnings when creating a devtest world pointing you to the content browser, for if you're running in place inside of the source tree. |
👍 You're right, it doesn't matter. However, I think the Devtest chat message still has value, as an additonal reminder. Removing the second sentence would be enough IMO. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Except other references about Minetest Game (discussed before), this PR looks good to me.
PS The unpacking/unzipping in the Android version is faster, too, without MTG.
Alright, I have done that, should be enough for now. Merge time? ^_^ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's do this! :)
Closes #9509.
This PR debundles Minetest Game from the engine. The necessary preparations for improving UX with no game installed has already been resolved with #13550.
Requires:
To do
This PR is Ready for Review.
How to test
See that there are no mentions of it left in READMEs or buildscripts or such.