Skip to content

Conversation

@vitorhnn
Copy link
Owner

@vitorhnn vitorhnn commented Nov 21, 2022

  • launch command
  • First version of this command will be kinda wonky. Steam has issues handling long steam:// URLs on both Linux and Windows, so this will only be reliable if Steam is launched through nimble.
  • Steam long commandline. ValveSoftware/steam-for-linux#5753
  • Seems like Valve fixed long Steam URLs, maybe? If so, we can hopefully release a 0.1.0, after a year of not wanting to write code to run Proton manually :)
  • Cleanup files and mods

Previously we didn't consider the first Vers entry as a proper entry,
matching Swifty behavior.
It was an issue with my connection. Things can be improved by using
threading / async but that's beyond the current scope
Still needs some improvement but we've ditched Whatever errors and a
bunch of unwraps
Swifty uses .NET's InvariantCulture IgnoreCase string comparison. I
don't know of an easy way to exactly reimplement it in Rust, but for
certain edge cases (i.e files which begin with numbers) folding to
uppercase works.

This will probably break again in the future.
@vitorhnn vitorhnn self-assigned this Nov 21, 2022
@vitorhnn vitorhnn force-pushed the wip branch 3 times, most recently from 44c4e3f to a723575 Compare November 21, 2022 08:00
@headswe
Copy link

headswe commented Nov 21, 2022

Congrats, Wish you luck!

Small helper to deserialize MD5 digests to an array of u8. Simplifies
handling the lifetimes of some HashSets we will be building in later commits
downloading

Previously if a download failed we'd leave a partially downloaded file
behind, which frequently crashed us when we parsed it later. Change it
so we first download into a temp file and then copy to the location it's
supposed to be.

This might help with the implementation of delta downloads later, idk
This allows us to use the checksums in repo.json, the first file we
download, to skip mods with matching checksums, allowing us to not
download mods' mod.srf
yes this should've been split.
Windows users: please use a text editor that doesn't require autocrlf
@vitorhnn vitorhnn force-pushed the wip branch 3 times, most recently from e2a6183 to 5c35c9a Compare November 24, 2022 11:40
steam protocol is horribly unreliable. might have to launch game directly.
@vitorhnn vitorhnn force-pushed the wip branch 2 times, most recently from a3393ce to d375b05 Compare December 31, 2024 03:43
@vitorhnn vitorhnn marked this pull request as ready for review December 31, 2024 04:01
Some of these could reasonably be removed, but they don't cost us much
to keep around anyway.
* Remove goals and TODO list, will be moved over to issues.
* Add install instructions.
* Add usage instructions.
Or, as the docs put it "wow shiny new dist CI!" :)
@vitorhnn
Copy link
Owner Author

This isn't perfect by any means, but after two years dogfooding this I think it's good enough to get a 0.1.0 release out there.

@vitorhnn vitorhnn merged commit 66a5d4a into main Dec 31, 2024
8 checks passed
@vitorhnn vitorhnn deleted the wip branch December 31, 2024 04:36
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.

3 participants