Page 1 of 1
Minecraft: Pi Edition 2
Posted: Sun Aug 21, 2016 2:30 am
by noahc
I have finished building minecraft pi v2 but I need the file minecraft-pi.exec in /opt/minecraft-pi code so I can read it. When I open it in any text or code editor, it shows the word ELF surrounded by weird text. Can anybody open it and post the text?
Re: Minecraft: Pi Edition 2
Posted: Sun Aug 21, 2016 4:16 pm
by W. H. Heydt
You are trying to read object code. You need to find the source code, and that is unlikely to be available.
Re: Minecraft: Pi Edition 2
Posted: Sun Aug 21, 2016 5:00 pm
by noahc
what app could I use to open it with?
Re: Minecraft: Pi Edition 2
Posted: Sun Aug 21, 2016 5:18 pm
by rpdom
Why do you need to read it? Surely you just run it.
Re: Minecraft: Pi Edition 2
Posted: Sun Aug 21, 2016 5:33 pm
by noahc
I can not run it without the minecraft-pi.exec file
Re: Minecraft: Pi Edition 2
Posted: Sun Aug 21, 2016 8:20 pm
by W. H. Heydt
noahc wrote:what app could I use to open it with?
You could use "hd" or "hexdump" to get a dump format of it. If you redirect the output to a file, you could use any editor you wish to look at it. What you're trying to do is to read the equivalent of a .com or .exe file. It's not meant to be human readable.
Re: Minecraft: Pi Edition 2
Posted: Sun Aug 21, 2016 9:27 pm
by noahc
Thank you. I will post when I release it
Re: Minecraft: Pi Edition 2
Posted: Sun Aug 21, 2016 10:09 pm
by W. H. Heydt
noahc wrote:Thank you. I will post when I release it
Please note that I am in no way suggesting that being able to read a hexdump of the executable fill do you any good, nor that using what you find in it, let alone modifying it, is necessarily legal. So far as I know, MinecraftPC is not licensed under the GPL (because if it were, we'd have the source code or legal recourse to get it).