Sometimes you just need to view or maybe a binary file and here I’ve done that on the compiled file for asteroids.
I can’t recommend doing that, but I wanted to try hexedit on the Raspberry Pi. I ran it against the asteroids compiled program and found the text.
If you look I’ve changed the d in starfield (first line of text) to an e. Then I saved it. The program, not unreasonably crashed when run with an error in the errolog.txt file: Couldn’t open images/starfiele.png
You install hexedit with
sudo apt install hexedit
and run with the file you want to view/edit.
To view all the command press F1. It displays the man page for hexedit. Have fun!
(Visited 1,503 times, 1 visits today)