bruvzg / gdsdecomp

Godot reverse engineering tools
MIT License
1.47k stars 147 forks source link

Fix v3 InputEventKey #86

Closed nikitalita closed 1 year ago

nikitalita commented 1 year ago

InputEventKey was being written to project.godot incorrectly because InputEventKey.scancode and physical_scancode were renamed in v4.

Also refactor bytecode to write variants via VariantWriterCompat instead of the v4 one