Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Binary patch for Kerbal Space Program to turn off a code branch that apparently chokes on reading png files. http://forum.kerbalspaceprogram.com/showthread.php/33232-Linux-version-does-not-start-unless-some-files-are-removed/page2?s=2b58caf24df0aad901944f4a7e84ef5c
$ xxd -s +0x7cebc7 -l 1 KSP.x86_64
07cebc7: 01
$ echo "7cebc7: 00" | xxd -r - KSP.x86_64
$ xxd -s +0x7cebc7 -l 1 KSP.x86_64
07cebc7: 00
$ xxd -s +0x7cebcc -l 1 KSP.x86_64
07cebcc: 01
$ echo "7cebcc: 00" | xxd -r - KSP.x86_64
$ xxd -s +0x7cebcc -l 1 KSP.x86_64
07cebcc: 00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment