Skip to content
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 Cube 2 Sauerbraten #1875

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

theofficialgman
Copy link
Collaborator

@theofficialgman theofficialgman commented May 25, 2022

closes #1475

I have edited the scripts to fix issues and tested on switch. please someone test on 32bit buster/bullseye

(click for video)
Watch the video

@Rak1ta
Copy link
Contributor

Rak1ta commented May 25, 2022

@theofficialgman successful launch Debian Buster 32.
There were some errors in the terminal while downloading the package.
install-success-Cube 2 Sauerbraten.log
uninstall-success-Cube 2 Sauerbraten.log

@theofficialgman
Copy link
Collaborator Author

theofficialgman commented May 25, 2022

There were some errors in the terminal while downloading the package

these look to me just like sourceforge download errors... I got some as well, it reconnected and still finished thought without error. I don't think there is anything that can be done about that... sourceforge is just kinda crap

edit: actually no, those aren't errors at all. thats just the redirect reponding with a new URL (a mirror) to download from

@theofficialgman theofficialgman marked this pull request as ready for review May 25, 2022 22:33
@ryanfortner
Copy link
Collaborator

@theofficialgman are you able to see my suggestions? I think it would be a better idea to use the direct link to the tar.bz2 file (from versaweb.dl.sourceforge.net)

@theofficialgman
Copy link
Collaborator Author

theofficialgman commented May 25, 2022

@theofficialgman are you able to see my suggestions? I think it would be a better idea to use the direct link to the tar.bz2 file (from versaweb.dl.sourceforge.net)

I didn't see your suggestion, where did you make it? I'm not sure if directly linking that sourceforge mirror is a good idea. I think pointing to sourceforge will automatically redirect to the best mirror available, right?

@ryanfortner
Copy link
Collaborator

@theofficialgman are you able to see my suggestions? I think it would be a better idea to use the direct link to the tar.bz2 file (from versaweb.dl.sourceforge.net)

I didn't see your suggestion, where did you make it? I'm not sure if directly linking that sourceforge mirror is a good idea. I think pointing to sourceforge will automatically redirect to the best mirror available, right?

My suggestions have a Pending tag. Maybe it’s because I made them while the PR was a draft.

I am pretty sure it downloads from the closest mirror, yes.

@theofficialgman
Copy link
Collaborator Author

My suggestions have a Pending tag. Maybe it’s because I made them while the PR was a draft.

yeah I can't see them at all. you must have made them right before I swapped over to ready for merge and maybe that cleared them?

@theofficialgman
Copy link
Collaborator Author

@ryanfortner pending comments means you haven't submitted them yet
not sure where you have to go to submit them, but thats on you

apps/Cube 2 Sauerbraten/install Show resolved Hide resolved
apps/Cube 2 Sauerbraten/install Show resolved Hide resolved
apps/Cube 2 Sauerbraten/install Show resolved Hide resolved
apps/Cube 2 Sauerbraten/install Show resolved Hide resolved
@ryanfortner
Copy link
Collaborator

Oops. You should be able to see them now. Sorry

@theofficialgman
Copy link
Collaborator Author

theofficialgman commented May 26, 2022

so what is this url? https://versaweb.dl.sourceforge.net

is this just one of the mirrors or does sourceforge say to download from this?
how I have it, I just use the url that you would normally get by clicking on the file from the website

@ryanfortner
Copy link
Collaborator

so what is this url? https://versaweb.dl.sourceforge.net

is this just one of the mirrors or does sourceforge say to download from this?

That’s where the original link redirected to. I think it is a mirror though.

@ryanfortner
Copy link
Collaborator

@theofficialgman I’ve changed the link to SourceForge’s master mirror.

@theofficialgman
Copy link
Collaborator Author

theofficialgman commented May 26, 2022

Why exactly do you want to make this change? the resulting redirect ends up in the same place as what it is currently

@Botspot
Copy link
Owner

Botspot commented May 26, 2022

I will test this once @ryanfortner's suggestions are either added or dismissed.
In the meantime, I noticed there is no description.

@theofficialgman
Copy link
Collaborator Author

according to sourceforge docs, downloading the way I have shown is the "most correct" and supported way https://sourceforge.net/p/forge/documentation/Downloading%20files%20via%20the%20command%20line/

going to dismiss @ryanfortner suggestions for now. if there are failures in the future we can look for other options

@Botspot you can test now

@theofficialgman
Copy link
Collaborator Author

@Botspot I dismissed ryanfortners suggestions in the the above comment

@Botspot
Copy link
Owner

Botspot commented Jun 17, 2022

Are these errors of any concern?

06/17 12:24:53 [ERROR] CUID#22 - Download aborted. URI=https://sourceforge.net/projects/sauerbraten/files/sauerbraten/2020_11_29/sauerbraten_2020_12_29_linux.tar.bz2/download
Exception: [AbstractCommand.cc:351] errorCode=22 URI=https://downloads.sourceforge.net/project/sauerbraten/sauerbraten/2020_11_29/sauerbraten_2020_12_29_linux.tar.bz2?ts=gAAAAABirLjlE8xJD54tfAOS9cymfPV5-A5tWDE1SmicGYjlEvA67WPwpfs1y8VlxJDB4uytgDCkMKLPm341_IJWNhAvX_emsw%3D%3D&use_mirror=versaweb&r=
  -> [HttpSkipResponseCommand.cc:239] errorCode=22 The response status is not successful. status=429
06/17 12:24:53 [ERROR] CUID#14 - Download aborted. URI=https://sourceforge.net/projects/sauerbraten/files/sauerbraten/2020_11_29/sauerbraten_2020_12_29_linux.tar.bz2/download
Exception: [AbstractCommand.cc:351] errorCode=22 URI=https://downloads.sourceforge.net/project/sauerbraten/sauerbraten/2020_11_29/sauerbraten_2020_12_29_linux.tar.bz2?ts=gAAAAABirLjlBPWadwqbY2uYwON20Z-VESpPpVc96zrA4uxOWa7w3fYFCDnKYM72va8iaCYiErJU5syJx2ZT_6_SIh5EoHxXTg%3D%3D&use_mirror=versaweb&r=
  -> [HttpSkipResponseCommand.cc:239] errorCode=22 The response status is not successful. status=429
06/17 12:24:53 [ERROR] CUID#9 - Download aborted. URI=https://sourceforge.net/projects/sauerbraten/files/sauerbraten/2020_11_29/sauerbraten_2020_12_29_linux.tar.bz2/download
Exception: [AbstractCommand.cc:351] errorCode=22 URI=https://downloads.sourceforge.net/project/sauerbraten/sauerbraten/2020_11_29/sauerbraten_2020_12_29_linux.tar.bz2?ts=gAAAAABirLjl0uE9muY7QTSKbuavU99tRUZFUIfB290UkBB8PQTj4XNSkXYoW0TbwK8UAJuS2lFdJluy1tKgYrxnnyAfMG_xIQ%3D%3D&use_mirror=versaweb&r=
  -> [HttpSkipResponseCommand.cc:239] errorCode=22 The response status is not successful. status=429
06/17 12:24:53 [ERROR] CUID#10 - Download aborted. URI=https://sourceforge.net/projects/sauerbraten/files/sauerbraten/2020_11_29/sauerbraten_2020_12_29_linux.tar.bz2/download
Exception: [AbstractCommand.cc:351] errorCode=22 URI=https://downloads.sourceforge.net/project/sauerbraten/sauerbraten/2020_11_29/sauerbraten_2020_12_29_linux.tar.bz2?ts=gAAAAABirLjlzic94fm0jUSu4Hnsh87BJP6nDzQ4yjnYUAfJtSvsj0AooMekd76SkR_DJk-mqRjZXHjP3G1B46UEH6pclQ1rIg%3D%3D&use_mirror=versaweb&r=
  -> [HttpSkipResponseCommand.cc:239] errorCode=22 The response status is not successful. status=429
06/17 12:24:53 [ERROR] CUID#23 - Download aborted. URI=https://sourceforge.net/projects/sauerbraten/files/sauerbraten/2020_11_29/sauerbraten_2020_12_29_linux.tar.bz2/download
Exception: [AbstractCommand.cc:351] errorCode=22 URI=https://downloads.sourceforge.net/project/sauerbraten/sauerbraten/2020_11_29/sauerbraten_2020_12_29_linux.tar.bz2?ts=gAAAAABirLjlzic94fm0jUSu4Hnsh87BJP6nDzQ4yjnYUAfJtSvsj0AooMekd76SkR_DJk-mqRjZXHjP3G1B46UEH6pclQ1rIg%3D%3D&use_mirror=versaweb&r=
  -> [HttpSkipResponseCommand.cc:239] errorCode=22 The response status is not successful. status=429
06/17 12:24:53 [ERROR] CUID#23 - Download aborted. URI=https://sourceforge.net/projects/sauerbraten/files/sauerbraten/2020_11_29/sauerbraten_2020_12_29_linux.tar.bz2/download
Exception: [AbstractCommand.cc:351] errorCode=22 URI=https://downloads.sourceforge.net/project/sauerbraten/sauerbraten/2020_11_29/sauerbraten_2020_12_29_linux.tar.bz2?ts=gAAAAABirLjlnZSAuYl9onTX-jTb1zKT_m50GBPTk4ydXs0YOYhXy7ig_7nZMczDVGsbu8qHYlr-9jg8kIyACCuukjl7VWn8EQ%3D%3D&use_mirror=versaweb&r=
  -> [HttpSkipResponseCommand.cc:239] errorCode=22 The response status is not successful. status=429

It did eventually appear to begin successfully downloading... until I accidentally pressed Ctrl+C when trying to copy output. 🤦‍♂️

@Botspot
Copy link
Owner

Botspot commented Jun 17, 2022

These errors could be due to sourceforge bandwidth limits in combination with aria2c's 16 threads.

@theofficialgman
Copy link
Collaborator Author

Are these errors of any concern?

06/17 12:24:53 [ERROR] CUID#22 - Download aborted. URI=https://sourceforge.net/projects/sauerbraten/files/sauerbraten/2020_11_29/sauerbraten_2020_12_29_linux.tar.bz2/download
Exception: [AbstractCommand.cc:351] errorCode=22 URI=https://downloads.sourceforge.net/project/sauerbraten/sauerbraten/2020_11_29/sauerbraten_2020_12_29_linux.tar.bz2?ts=gAAAAABirLjlE8xJD54tfAOS9cymfPV5-A5tWDE1SmicGYjlEvA67WPwpfs1y8VlxJDB4uytgDCkMKLPm341_IJWNhAvX_emsw%3D%3D&use_mirror=versaweb&r=
  -> [HttpSkipResponseCommand.cc:239] errorCode=22 The response status is not successful. status=429
06/17 12:24:53 [ERROR] CUID#14 - Download aborted. URI=https://sourceforge.net/projects/sauerbraten/files/sauerbraten/2020_11_29/sauerbraten_2020_12_29_linux.tar.bz2/download
Exception: [AbstractCommand.cc:351] errorCode=22 URI=https://downloads.sourceforge.net/project/sauerbraten/sauerbraten/2020_11_29/sauerbraten_2020_12_29_linux.tar.bz2?ts=gAAAAABirLjlBPWadwqbY2uYwON20Z-VESpPpVc96zrA4uxOWa7w3fYFCDnKYM72va8iaCYiErJU5syJx2ZT_6_SIh5EoHxXTg%3D%3D&use_mirror=versaweb&r=
  -> [HttpSkipResponseCommand.cc:239] errorCode=22 The response status is not successful. status=429
06/17 12:24:53 [ERROR] CUID#9 - Download aborted. URI=https://sourceforge.net/projects/sauerbraten/files/sauerbraten/2020_11_29/sauerbraten_2020_12_29_linux.tar.bz2/download
Exception: [AbstractCommand.cc:351] errorCode=22 URI=https://downloads.sourceforge.net/project/sauerbraten/sauerbraten/2020_11_29/sauerbraten_2020_12_29_linux.tar.bz2?ts=gAAAAABirLjl0uE9muY7QTSKbuavU99tRUZFUIfB290UkBB8PQTj4XNSkXYoW0TbwK8UAJuS2lFdJluy1tKgYrxnnyAfMG_xIQ%3D%3D&use_mirror=versaweb&r=
  -> [HttpSkipResponseCommand.cc:239] errorCode=22 The response status is not successful. status=429
06/17 12:24:53 [ERROR] CUID#10 - Download aborted. URI=https://sourceforge.net/projects/sauerbraten/files/sauerbraten/2020_11_29/sauerbraten_2020_12_29_linux.tar.bz2/download
Exception: [AbstractCommand.cc:351] errorCode=22 URI=https://downloads.sourceforge.net/project/sauerbraten/sauerbraten/2020_11_29/sauerbraten_2020_12_29_linux.tar.bz2?ts=gAAAAABirLjlzic94fm0jUSu4Hnsh87BJP6nDzQ4yjnYUAfJtSvsj0AooMekd76SkR_DJk-mqRjZXHjP3G1B46UEH6pclQ1rIg%3D%3D&use_mirror=versaweb&r=
  -> [HttpSkipResponseCommand.cc:239] errorCode=22 The response status is not successful. status=429
06/17 12:24:53 [ERROR] CUID#23 - Download aborted. URI=https://sourceforge.net/projects/sauerbraten/files/sauerbraten/2020_11_29/sauerbraten_2020_12_29_linux.tar.bz2/download
Exception: [AbstractCommand.cc:351] errorCode=22 URI=https://downloads.sourceforge.net/project/sauerbraten/sauerbraten/2020_11_29/sauerbraten_2020_12_29_linux.tar.bz2?ts=gAAAAABirLjlzic94fm0jUSu4Hnsh87BJP6nDzQ4yjnYUAfJtSvsj0AooMekd76SkR_DJk-mqRjZXHjP3G1B46UEH6pclQ1rIg%3D%3D&use_mirror=versaweb&r=
  -> [HttpSkipResponseCommand.cc:239] errorCode=22 The response status is not successful. status=429
06/17 12:24:53 [ERROR] CUID#23 - Download aborted. URI=https://sourceforge.net/projects/sauerbraten/files/sauerbraten/2020_11_29/sauerbraten_2020_12_29_linux.tar.bz2/download
Exception: [AbstractCommand.cc:351] errorCode=22 URI=https://downloads.sourceforge.net/project/sauerbraten/sauerbraten/2020_11_29/sauerbraten_2020_12_29_linux.tar.bz2?ts=gAAAAABirLjlnZSAuYl9onTX-jTb1zKT_m50GBPTk4ydXs0YOYhXy7ig_7nZMczDVGsbu8qHYlr-9jg8kIyACCuukjl7VWn8EQ%3D%3D&use_mirror=versaweb&r=
  -> [HttpSkipResponseCommand.cc:239] errorCode=22 The response status is not successful. status=429

It did eventually appear to begin successfully downloading... until I accidentally pressed Ctrl+C when trying to copy output. man_facepalming

yes thats redirection. they aren't errors are are misclassified as such by aria2c

@Botspot
Copy link
Owner

Botspot commented Jun 17, 2022

yes thats redirection. they aren't errors are are misclassified as such by aria2c

I've seen redirection before and it doesn't look like that. In any case, if the app fails to install for any other reason, log_diagnose will diagnose it incorrectly.
Perhaps there is a way to make aria2c consider https response code 429 as a "success" code.

@theofficialgman
Copy link
Collaborator Author

I've seen redirection before and it doesn't look like that.

for sourceforge, this is what redirection looks like. if you download with wget it is more clear and correctly classifies this as redirection.
the URLs change each time in that log if you look at them closely (they are redirecting to different places)

@Botspot
Copy link
Owner

Botspot commented Jun 17, 2022

I just tested this and the performance when fullscreen is not quite playable. I tried to reduce the resolution, and it looked like the game tried to do so, but then it reverted back to fullscreen in a split second.
Is this a known issue? There was no useful terminal output.

@Botspot
Copy link
Owner

Botspot commented Jun 17, 2022

I can take a screen recording if that would be helpful.

@theofficialgman
Copy link
Collaborator Author

theofficialgman commented Jun 17, 2022

I just tested this and the performance when fullscreen is not quite playable. I tried to reduce the resolution, and it looked like the game tried to do so, but then it reverted back to fullscreen in a split second. Is this a known issue? There was no useful terminal output.

this is intentional. fullscreen and resolution are adjusted in the in game settings under the display and res tabs

exit 1 is enough for install_packages
@Botspot
Copy link
Owner

Botspot commented Nov 28, 2022

Bump

@theofficialgman
Copy link
Collaborator Author

I just tested this and the performance when fullscreen is not quite playable

@Botspot I think we are just stuck because of this ^. not really anything we can do about that besides report it to the devs

@G265Dev
Copy link

G265Dev commented Jan 18, 2024

Just do

Sudo apt update
Sudo apt-get upgrade
Sudo apt-get install sauerbraten

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cube2: Sauerbraten
5 participants