-
Notifications
You must be signed in to change notification settings - Fork 247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ambient #626
Add ambient #626
Conversation
Hey @FredrikNoren, I'm just checking this out today. Two things: 1. Cheat SheetA lot of the value of webi is having a Quick Start and a Cheat Sheet. Can you get some feedback from your users and try to get an idea of what kinds of things the person who installs this on a new machine (or for the first time) needs a quick refresher on and update the README.md? 2. Just Works™ BuildsIdeally things that install with webi should Just Work™ anywhere without extra dependencies. There are a few exceptions that we've allowed for this, such as It makes sense that part of this can't run headless (because game engine, duh), but even the CLI isn't working for me. Ubuntu LinuxOn Linux I get an error about
Windows 10On Windows I get an error message about
even though the install package is Can you get this so that the CLI will work headless, or that at least the instructions for installing the dependencies are clear? macOSI didn't try it on macOS because I don't have a VM readily available for testing. |
Also, this is up on https://next.webinstall.dev/ambient, so you can test it out yourself and see how the install actually works. |
I've switch the url from |
@FredrikNoren Thoughts? |
@coolaj86 Thanks for your comments! Sorry for a slow reply, I've been on vacation. I can't seem to get the next.webinstall.dev to work though, it's giving me:
|
@FredrikNoren Sorry, didn't see your message until just now. Try https://next.webinstall.dev/ instead of https://next.webi.sh. I think there's a DNS issue I'll have to delete and re-add the record for the .sh. |
@coolaj86 Thanks! I was able to test on OSX which seems to work great with that. On windows I'm getting a dns error though:
I also tried next.webinstall.dev but that downloaded the bash script which didn't work of course. |
@coolaj86 Anything I can do to fix the DNS issue above? The executable should work on windows (it's definitely not a 16-bit application hehe), so figuring there's something wrong with the download. Also re-linux: I added libasound.so.2 as a requirement in the readme for the PR. Ambient is both a cli and full-featured engine, so we can't really get around needing it (you can run |
@FredrikNoren https://next.webinstall.dev/ is the generic url, but requires curl.exe -A MS https://next.webinstall.dev/ambient | powershell You can see the releases here: |
I've also fixed the Since |
@coolaj86 Hm still no luck:
gives me:
and
|
For now just use Ignore everything about the next.webi.sh or next.webi.ms domains. Those are purely experimental. |
Oh, I see you did use that one first. Did you try just once or multiple times? If it's just hanging at the Terminal without finishing, that's a long-standing bug in cmd.exe from the Windows 3.11 / Windows 95 transition (not joking, confirmed with a Microsoft employee). All you have to do is hit the enter key (or try again) and it will continue after a few seconds. I'll try again tomorrow and see what happens for me. |
@coolaj86 I tried installing deno just to make sure it works to install anything for me, and that works fine. The output starts out similar (echoing a bunch of commands), but it just seems like the ambient one isn't executing those commands? There's no place where it's blocking or anything, so nowhere I can press enter to continue. |
@FredrikNoren I started looking at this again today.
When it blocks on Windows there's no prompt, you just press enter in the cmd.exe window (it's a bug with signal handling while something else is going on, like a download). It's a random thing. It shouldn't happen every time, just 1 in 10 or so. |
Also @FredrikNoren, will you give me maintainer edit access on that branch so I can rebase it? |
Are you supposed to be able to do anything with the template game? Or does it just redraw the grey diamond at 120fps? I thought maybe the arrow keys would make it move around, but no dice. Anyway, I think we could get this in and just let Windows users report the issues with the installer to you and you'd have a better install base to figure out what's going on there. I would like a little more to the Cheat Sheet though. I don't know what would make sense, but just "build and run" it seems a little too bare. Maybe not. |
🥳 I just figured out what was wrong with the Windows installer. You had copied from a package that used a bare .exe download, but this is in a .zip file, so it was simply renaming the If we copy cp -RPp atomicparsley/install.ps1 ambient/
sd AtomicParsley ambient ambient/install.ps1
sd atomicparsley ambient ambient/install.ps1 |
@coolaj86 We switched to an install path via cargo instead (it's possible to install with |
It seems like you must have And only existing Rust devs use it? If that's the case it makes sense to just use cargo. If you want to attract new people outside of the Rust community, or you want to automate out-of-band steps - like installing the required toolchains, then Webi might still be a good fit. |
You might also be interested in |
Closing because it sounds like this is something that Rust devs would probably prefer to install via Cargo and I don't think there's anything in particular that that Webi has to add to that experience. |
Hi,
We're building an open source game engine, called Ambient. Would be great to be able to install it with webi!
See https://github.com/ambientrun/ambient for more details about Ambient