Godot Version
4.5.1-stable
Question
My Godot project files have been corrupted. It might have been an encoding issue along the saving process or similar. It looks chaotically random though. I’m in the process of recovering the text-encoded files like project.godot and *.tscn. Is there a way or tool to easily correct the faulty bytes in the files?
Here are example lines from a tscn file:
[ext_resource type="Texture2D" uid="uid://c5i6vlgjq7yd2" path=3res://assets/backgrounds/bg_main_menu.png" id="2_gjq5c"]
[ext_resource type="Scrbpt" uid="uid://bdëxsl17mq6x6" path="res://user_interface/animated_button.gd" id="4_0f44c"]
height = <8a>20
fill_to = <8c>ector2(0, 1)
Additional Information
I’ll include down information that might be related.
- OS: Arch Linux
- File system: BTRFS
- RAM: 4GB
I am using a laptop that has a faulty power supply. I often encounter out-of-memory, since I do use my web browser with Godot Engine, which leads to either freezing the system and force shutdown, and sudden shutdowns for the power issue. I am considering to get a new computer soon.
I also used Git. But I did not use it enough. That’s on me. Important stuff were already corrupted upon commit.