Giter VIP home page Giter VIP logo

Comments (6)

gamebox-project avatar gamebox-project commented on June 12, 2024 2

I figured it out.

PreparingContent (value 2) probably means calculating checksums of the files. It then asks Steamworks servers if these files are already hosted. If they are, then there's no point in uploading them.

I was testing with the same files over and over resulting in no uploads. My files are relatively small and upload speed pretty fast so I didn't really notice.

Uploading new files returns values 2 and 3 as expected.

from godotsteam.

Gramps avatar Gramps commented on June 12, 2024

Hey there! I had to look at the code to be sure. The function just passes back what Steam gives us and everything seems to match up. I think 'processed' containing data in status 2 makes sense though, it is reading and processing files. If it is incorrect, that might be something with Steam.

from godotsteam.

gamebox-project avatar gamebox-project commented on June 12, 2024

This page https://partner.steamgames.com/doc/api/ISteamUGC#GetItemUpdateProgress says "Returns the current number of bytes uploaded." and "Returns the total number of bytes that will be uploaded." so it's probably a Steam issue.

from godotsteam.

Gramps avatar Gramps commented on June 12, 2024

Ah. Yeah, in the header files they are listed as punBytesProcessed and punBytesTotal and pass them along as 'processed' and 'total'. So I guess this is just what Steam is saying, even if it doesn't match up; that is really weird though. They probably should be in 3 actually according to their docs.

EDIT: If this is intended, I should probably make a note of it in our docs.

from godotsteam.

Gramps avatar Gramps commented on June 12, 2024

OK, I made mention of this on the next docs update. Saying that processed and total may only contain data on status 2 though one might expect it on status 3. I'm not sure why that is but you are correct. I will close this for now but feel free to update it with any additional information or if your tests yield different results.

from godotsteam.

Gramps avatar Gramps commented on June 12, 2024

Ayyy! Thank you for enlightening us about this! Good information for the docs.

from godotsteam.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.