CreepPork / Magma

Magma is a CLI tool for Arma 3 server mod managment that works both on Windows and Linux.
MIT License
11 stars 1 forks source link

Timeout with Large Mods #223

Open dodgycoffee opened 4 years ago

dodgycoffee commented 4 years ago

This is a SteamCMD issue, but wondering if there's a way to get a work around into magma.

Basically anything above a few hundred MB times out when trying to download no matter what. I get the same issue in steamCMD directly so I know it's not an issue with magma. The "fix" for steamCMD online has been adding +validate at the end of the command to download and keep trying until it finishes. Obnoxious but steam wont fix their broke stuff. In testing I've not been able to download anything above 500mb successfully.

Is there a way to support something like that with magma? I didn't see anything in the official docs. And managing my mods using this tool and steamCMD directly is a little weird.

CreepPork commented 4 years ago

There has to be a source code change for the +validate to be added for installations. To be honest, that is the only thing I can do to try to remidy this issue.

It more or less seems like there is a issue with your particular SteamCMD installation or usage. You could try searching for that error and try clearing the depot (iirc) and the cache of SteamCMD.

It does suck that Valve provides such terribe tools but that's what we have to live with.

dodgycoffee commented 4 years ago

Yeah I searched around before and it's a known issue with steamCMD core. And the +validate is less of a fix and more of a forced stopgap to try and finish large file. But if the parameter was usable in the magma tool then I could use that and brute force it in those situations.

Radiumio commented 4 years ago

Adding a -validate option to magma install would be nice. It would basically run the same command twice/thrice in the background but the difference with the second and third command is it would have +validate added to the end of the SteamCMD download command. The behaviour of this would mean, if a download fails, SteamCMD would force it to 'validate' and download it. It would save someone having to sit there and watch the mod download and constantly run magma install every-time it fails. Not the easiest way to explain it but hopefully it makes sense 👍

The down-side is it would run the command regardless if the download failed or not, but better that than the mods not installing.