-
Notifications
You must be signed in to change notification settings - Fork 31
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
Running locally fails #54
Comments
have you tried running the docker images? sour's build has been broken for a while, but theoretically pulling the image from GitHub should still work:
honestly I've been meaning to get back and fix this for a while, i've been neglecting sour! |
i tried it with docker first, but that didn't work. that's why i tried to build it locally. |
Woops, my apologies, I missed the fact that you're on an intranet! I have been meaning to make a static build of sour that ships as a single executable for a while. I'll see if I can peel off some time for this soon. |
hello again, i get the following error on the server console: i guess this is caused by the non existing proxy config for docker, which is my fault. should be fixable by myself. regarding the client: it tries to access the same file: |
Yeah, some portion of the game assets are hosted on static.sourga.me. This is a tough problem; I spent some time on this this morning and managed to get the repo building again, but it's going to take me a bit to get you a general solution that you can just download. Will try to get to this as soon as I can. |
So I realized there is a temporary fix for this that will allow you to disable the asset sources that pull from static.sourga.me. Sour supports custom configurations, which you can mount into the docker container at You can put the following in a
You can then run Sour using the (modified) original docker run -d -it \
--mount type=bind,source="$(pwd)"/config.yaml,target=/sour/config.yaml,readonly \
-p 1234:1234 \
-p 28785:28785/udp \
ghcr.io/cfoust/sour |
thanks for your work, i finally had some time to test it, sadly it doesn't work. this time there no error on server, just on clientside: |
Sorry about that! I have actually been furiously working on Sour this week to make this work for you. The end goal is to do away with Docker and just compile Sour down to a single executable. Things are nearly done, actually, but I'll have to get releases/builds/etc working properly before it will be downloadable. Stay tuned. |
thanks man, you're a legend for this. can't wait to play some sour with my colleagues |
Most of this is squared away, but I'm still hunting down a few bugs. Will try to get this finished as soon as I can. |
OK! So, after a week of hard work I was able to refresh Sour's build process and runtime requirements. It's now just a single executable (along with some assets) and can run completely offline after installation. Check out the latest release and the (admittedly still primitive) installation and usage docs. Let me know if you have trouble trying this out on Linux. |
thank you very much for effort! works flawless when installed with brew. when done manually by downloading and unpacking the executable it just says "no maps found" and closes itself, same thing happens when i try to load the "brew version" of the game at system startup with a systemd service (ExecStart=/bin/bash -c 'sour'). but i guess that's just some kind of layer 8 error by me. |
I'm thrilled this is working for you! I realize now that the docs I wrote are far from sufficient to describe why this happens. On startup, the |
I figured out the issue with reading assets! This is fixed in 0.2.5. Thank you for your patience in all this and thanks for prodding me to finally fix Sour! I'm sure a lot of folks will appreciate it. Please let me know if you have any other feedback; I still have a few things I'd like to fix before putting Sour on the back burner again. |
hi, it's currently not possible for me to build sour locally (ubuntu 24.04)
when i try to run ./serve it tells me that there are no versions for cpp, emscripten and go specified in ./Earthfile and also that "the image for the service i'm trying to create has been removed".
i'm not experienced with earthly and coding in general, i just try to deploy this in the intranet of my company so we can have a little fun during lunch breaks. i need to host it completly local, since there is no internet connection for clients, only intranet/lan (the server i'm trying to host sour on has internet uplink through a proxy).
would you kindly provide some kind of solution, so my colleagues and me can play sour during our breaks?
thanks in advance :)
The text was updated successfully, but these errors were encountered: