This game is a single 13 KiB file that runs on Windows, Linux and in the Browser
1–10 of 93 posts
Re: This game is a single 13 KiB file that runs on Windows, Linux and in the Browser
#2- Browser: works after renaming to .html
- Linux: "./snake.com: line 20: lzma: command not found". Installing the xz package makes it work (already had XWayland enabled so X11 worked, but may be needed if you have a strict Wayland session).
- Windows: As either .com or renaming to .exe I get "The application was unable to start correctly (0xc0000005). Click OK to close the application." Not sure how to make this one work, it's definitely not AV related though (I have that stripped in this sandbox VM).
Edit: Got it working in all 3 now. On Windows I still had DEP enabled on all programs to test some apps earlier, turning that back off allowed it to launch.
Re: This game is a single 13 KiB file that runs on Windows, Linux and in the Browser
#3Re: This game is a single 13 KiB file that runs on Windows, Linux and in the Browser
#4For me: - Browser: works after renaming to .html - Linux: "./snake.com: line 20: lzma: command not found". Installing the xz package makes it work (already had XWayland enabled so X11 worked, but may be needed if you have a strict Wayland session). - Windows: As either .com or renaming to .exe I get "The application was unable to start correctly (0xc0000005). Click OK to close the application." Not sure how to make t…
Re: This game is a single 13 KiB file that runs on Windows, Linux and in the Browser
#5https://web.archive.org/web/20100304155706/http://www.thepro...
Re: This game is a single 13 KiB file that runs on Windows, Linux and in the Browser
#6For me: - Browser: works after renaming to .html - Linux: "./snake.com: line 20: lzma: command not found". Installing the xz package makes it work (already had XWayland enabled so X11 worked, but may be needed if you have a strict Wayland session). - Windows: As either .com or renaming to .exe I get "The application was unable to start correctly (0xc0000005). Click OK to close the application." Not sure how to make t…
Re: This game is a single 13 KiB file that runs on Windows, Linux and in the Browser
#7For me: - Browser: works after renaming to .html - Linux: "./snake.com: line 20: lzma: command not found". Installing the xz package makes it work (already had XWayland enabled so X11 worked, but may be needed if you have a strict Wayland session). - Windows: As either .com or renaming to .exe I get "The application was unable to start correctly (0xc0000005). Click OK to close the application." Not sure how to make t…
$ chmod +x snake.com
$ ./snake.com
... then it would try to use Mono to launch it: Cannot open assembly './snake.com': File does not contain a valid CIL image.
But, running it explicitly with Bash works: $ bash snake.com
Pretty nifty but doesn't work out of the box on any Linux, at least :p Running Debian 13.Re: This game is a single 13 KiB file that runs on Windows, Linux and in the Browser
#8For me: - Browser: works after renaming to .html - Linux: "./snake.com: line 20: lzma: command not found". Installing the xz package makes it work (already had XWayland enabled so X11 worked, but may be needed if you have a strict Wayland session). - Windows: As either .com or renaming to .exe I get "The application was unable to start correctly (0xc0000005). Click OK to close the application." Not sure how to make t…
If I ran it with just $ chmod +x snake.com $ ./snake.com ... then it would try to use Mono to launch it: Cannot open assembly './snake.com': File does not contain a valid CIL image. But, running it explicitly with Bash works: $ bash snake.com Pretty nifty but doesn't work out of the box on any Linux, at least :p Running Debian 13.
That's because of the binfmt handler that Mono installs which matches the PE header.
Re: This game is a single 13 KiB file that runs on Windows, Linux and in the Browser
#9For me: - Browser: works after renaming to .html - Linux: "./snake.com: line 20: lzma: command not found". Installing the xz package makes it work (already had XWayland enabled so X11 worked, but may be needed if you have a strict Wayland session). - Windows: As either .com or renaming to .exe I get "The application was unable to start correctly (0xc0000005). Click OK to close the application." Not sure how to make t…
Re: This game is a single 13 KiB file that runs on Windows, Linux and in the Browser
#10For me: - Browser: works after renaming to .html - Linux: "./snake.com: line 20: lzma: command not found". Installing the xz package makes it work (already had XWayland enabled so X11 worked, but may be needed if you have a strict Wayland session). - Windows: As either .com or renaming to .exe I get "The application was unable to start correctly (0xc0000005). Click OK to close the application." Not sure how to make t…
its written in the post
If you mean the .html rename or whatever my Windows problem was, I must be missing it. Edit: Windows was DEP.