Cleaning Local Thrive Version: Difference between revisions
Jump to navigation
Jump to search
Hhyyrylainen (talk | contribs) No edit summary |
Hhyyrylainen (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
[[Category:Programming]] | [[Category:Programming]] | ||
Your locally cloned Thrive version may get messed up from time to time. Here are the steps to fix it: | Your locally cloned Thrive version may get messed up from time to time. Here are the steps to fix it. | ||
== Light Cleanup == | |||
Often if the game doesn't run or there's some errors in some parts that shouldn't be there you can get away with just some cleanup: | |||
# Close Godot editor | |||
# Make sure that git doesn't say anything is modified (`git status` shows no changes). If there are changes use git reset to get rid of them, or git checkout the individual files. | |||
# Reopen Godot editor and run the game from there. If it still doesn't work, make sure that no new changes appeared in `git status`, if there are go back to the first step. | |||
== Full Cleanup == | |||
When things are really messed up here are steps to clean out everything: | |||
# Close Godot editor | # Close Godot editor | ||
Line 8: | Line 20: | ||
# Reopen Godot editor, it should reimport all assets. | # Reopen Godot editor, it should reimport all assets. | ||
# Everything should be fixed now when you start the game from the Godot editor | # Everything should be fixed now when you start the game from the Godot editor | ||
If even that doesn't work you should attempt to delete your local Thrive folder and clone again. Note that this loses all of your local changes so if you did any changes yourself, you should copy them to somewhere safe first. |
Revision as of 10:52, 19 September 2020
Your locally cloned Thrive version may get messed up from time to time. Here are the steps to fix it.
Light Cleanup
Often if the game doesn't run or there's some errors in some parts that shouldn't be there you can get away with just some cleanup:
- Close Godot editor
- Make sure that git doesn't say anything is modified (`git status` shows no changes). If there are changes use git reset to get rid of them, or git checkout the individual files.
- Reopen Godot editor and run the game from there. If it still doesn't work, make sure that no new changes appeared in `git status`, if there are go back to the first step.
Full Cleanup
When things are really messed up here are steps to clean out everything:
- Close Godot editor
- Delete the .import folder inside the thrive folder
- (optional) Delete the .mono folder inside the thrive folder. If you do this step you need to restore nuget packages again
- Make sure that git doesn't say anything is modified (`git status` shows no changes). If there are changes use git reset to get rid of them
- Reopen Godot editor, it should reimport all assets.
- Everything should be fixed now when you start the game from the Godot editor
If even that doesn't work you should attempt to delete your local Thrive folder and clone again. Note that this loses all of your local changes so if you did any changes yourself, you should copy them to somewhere safe first.