noahc
Posts: 8
Joined: Wed Jul 20, 2016 1:19 am

Minecraft: Pi Edition 2

Sun Aug 21, 2016 2:30 am

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?

W. H. Heydt
Posts: 12644
Joined: Fri Mar 09, 2012 7:36 pm
Location: Vallejo, CA (US)

Re: Minecraft: Pi Edition 2

Sun Aug 21, 2016 4:16 pm

You are trying to read object code. You need to find the source code, and that is unlikely to be available.

noahc
Posts: 8
Joined: Wed Jul 20, 2016 1:19 am

Re: Minecraft: Pi Edition 2

Sun Aug 21, 2016 5:00 pm

what app could I use to open it with?

User avatar
rpdom
Posts: 17170
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Minecraft: Pi Edition 2

Sun Aug 21, 2016 5:18 pm

Why do you need to read it? Surely you just run it.

noahc
Posts: 8
Joined: Wed Jul 20, 2016 1:19 am

Re: Minecraft: Pi Edition 2

Sun Aug 21, 2016 5:33 pm

I can not run it without the minecraft-pi.exec file

W. H. Heydt
Posts: 12644
Joined: Fri Mar 09, 2012 7:36 pm
Location: Vallejo, CA (US)

Re: Minecraft: Pi Edition 2

Sun Aug 21, 2016 8:20 pm

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.

noahc
Posts: 8
Joined: Wed Jul 20, 2016 1:19 am

Re: Minecraft: Pi Edition 2

Sun Aug 21, 2016 9:27 pm

Thank you. I will post when I release it

W. H. Heydt
Posts: 12644
Joined: Fri Mar 09, 2012 7:36 pm
Location: Vallejo, CA (US)

Re: Minecraft: Pi Edition 2

Sun Aug 21, 2016 10:09 pm

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).

Return to “General discussion”