Skip to content

Feature: Separate install path from download path and add polling rate to chunk download listener#4

Open
ProRapSuperstarOriginalMaster wants to merge 3 commits intojoshuatam:gamenative-latestfrom
ProRapSuperstarOriginalMaster:gamenative-latest
Open

Feature: Separate install path from download path and add polling rate to chunk download listener#4
ProRapSuperstarOriginalMaster wants to merge 3 commits intojoshuatam:gamenative-latestfrom
ProRapSuperstarOriginalMaster:gamenative-latest

Conversation

@ProRapSuperstarOriginalMaster

Description

I've been looking up and down the code but it's probably easier just to do the PR and show it to someone more experienced. I've created a separate (optional) download path where chunks get downloaded to, instead of to a subfolder of install path. This is to make possible the use of separate staging folders that can be used to improve download performance on slower storage mediums. My changes should mean nothing can break downstream from JavaSteam as it'll use the install path as fallback.

The only real concern I have is that the timer I've set to the chunk download listener could perhaps affect something if some downstream function for some reason relies on constant updates. It works however with GameNative without breaking anything, and seems to me to be a good fix regardless.

This version builds and clears the tests and so on. I have not tested it fully integrated into GameNative during these last 2 commits. The changes are mostly cosmetic in nature though and I assume I haven't broken anything. Hopefully this can be of use when improving things in GameNative. Best regards // "Wilhelm"

Checklist

  • Code compiles correctly
  • All tests passing
  • Samples run successfully
  • Extended the README / documentation, if necessary

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.

1 participant