6 ms·
What is going on here? [~/Downloads] $ chmod +x zork* [~/Downloads] $ ./zork1 Cannot open assembly './zork1': File does not contain a valid CIL image.
by hans_0l0 1y ago
What is going on here?
[~/Downloads] $ chmod +x zork*
[~/Downloads] $ ./zork1
Cannot open assembly './zork1': File does not contain a valid CIL image.
- jchw 1y agoDo you have some sort of binfmt_misc setup for Windows/.NET executables? You might be able to get it to work by running `sh ./zork1` instead.
- hans_0l0 1y agoYay, this works :-) West of House You are standing in an open field west of a white house, with a boarded front door. There is a small mailbox here.
- ChristopherDrum 1y agoWonderful, thanks for playing!
- ChristopherDrum 1y agoWhat setup are you running it on? That will help with troubleshooting. Or, if you prefer, feel free to file an issue on the project repo and we can hash it out there. https://github.com/ChristopherDrum/pez/issues https://github.com/ChristopherDrum/pez/issues
- hans_0l0 1y agoI run Arch Linux on an AMD Ryzen 5. I have mono installed, not sure why, i guess it is a depenency for sdrsharp or the like. However, the sh ./zork1 did the trick :-)
- ChristopherDrum 1y agoGreat! Glad to hear we have a simple solution for this issue. It is interesting to note your trouble, because another player in this post is running Arch and says it worked flawlessly. I guess Mono gets in the way a little.
- jart 1y agoYou probably have WINE or something installed. We have a workaround: sudo wget -O /usr/bin/ape https://cosmo.zip/pub/cosmos/bin/ape-$(uname -m).elf sudo chmod +x /usr/bin/ape sudo sh -c "echo ':APE:M::MZqFpD::/usr/bin/ape:' >/proc/sys/fs/binfmt_misc/register" sudo sh -c "echo ':APE-jart:M::jartsr::/usr/bin/ape:' >/proc/sys/fs/binfmt_misc/register" For more help/information on the various gotchas and things that can go wrong running Actually Portable Executable (APE) binaries, please see this reference Mozilla put together: https://github.com/Mozilla-Ocho/llamafile/?tab=readme-ov-file#gotchas-and-troubleshooting https://github.com/Mozilla-Ocho/llamafile/?tab=readme-ov-fil...