Progress bar
Moderator: Forum Moderators
- Elvish_Pillager
- Posts: 8137
- Joined: May 28th, 2004, 10:21 am
- Location: Everywhere you think, nowhere you can possibly imagine.
- Contact:
Well, I have a little problem with our new progress bar. I have loads of userdata, so while it is "Reading files and creating cache", the progress bar actually fills up all the way, and it keeps loading after that.
Might there be some way to guess beforehand how much data there is to load?
Might there be some way to guess beforehand how much data there is to load?
It's all fun and games until someone loses a lawsuit. Oh, and by the way, sending me private messages won't work. :/ If you must contact me, there's an e-mail address listed on the website in my profile.
Unless someone changed it there is no option to do that without adapting and rebuilding the source. Again unless someone changed it the loadscreen code prints out how many times the functions in which progress is monitored are called. Inside the code for each of those functions there is a constant that I set to the printed value on my system (svn from some time ago) when I made the patch. To have it work correctly with your system you should set the constants in the code to the value printed on your system.
I could easily automate this (except for the first time) by printing the values in a configuration file and reading it back from there. For the first time some estimation based on the number and size of the files might give decent results but writing the code to do this on all platforms will probably require a lot of work and is not something I am really familiar with.
I could easily automate this (except for the first time) by printing the values in a configuration file and reading it back from there. For the first time some estimation based on the number and size of the files might give decent results but writing the code to do this on all platforms will probably require a lot of work and is not something I am really familiar with.