Bug#782313: game-data-packager: improve progress bars
Alexandre Detiste
alexandre.detiste at gmail.com
Fri Apr 10 10:23:00 UTC 2015
Package: game-data-packager
Version: 40
Severity: wishlist
Running game-data-packager through a slow terminal
(here GoogleChrome -> BlueCoat + ShellInABox -> ssh -> actual pc)
will slow it down because the progress bar refresh too much.
It should refresh less when
" os.getenv('REMOTEHOST') not in ('localhost',None)
or os.getenv('SSH_CONNECTION')" ...
/ or allways ?
/ refresh at most at every percent increase ?
[running headless]
systemd-run --user --setenv=DEBUG=1 time /usr/games/game-data-packager doom3
--package doom3-classic-data --destination /tmp
avr 10 11:38:00 antec systemd-journal[224]: Suppressed 11988 messages from /user.slice/user-1000.slice
avr 10 11:38:00 antec time[6564]: generated "/tmp/doom3-classic-data_41_all.deb"
avr 10 11:38:00 antec time[6564]: 99.34user 2.28system 1:42.80elapsed 98%CPU
[through slow tty]
DEBUG=1 time /usr/games/game-data-packager doom3 --package doom3-classic-data --destination /tmp
generated "/tmp/doom3-classic-data_41_all.deb"
101.13user 2.83system 14:49.73elapsed 11%CPU
------------------
lgogdownloader uses unicode characters 2588-258F
to display an awesome progressbar:
https://github.com/Sude-/lgogdownloader/blob/master/src/progressbar.cpp
This can be tested without buying anything, by downloading some freeware:
lgogdownloader --game tyrian_2000 --download --directory /tmp
More information about the Pkg-games-devel
mailing list