Sign In To Proceed i2v15

Don't have an ? 1a2w41

osu! to create your own !
forum

osu!tt v0.8.2 - track your time spent in osu! (obsolete) 2vw3w

posted
Total Posts
98
Topic Starter
Now we all know, counting our total time ever since you started osu! can be a bit of a problem but its never too late to start counting! osu!tt will do the job for you!
This little app monitors if osu! is turned on and counts its total uptime. It is also portable so you can put it anywhere you want!
Information is stored in the windows registries and can save if you log off or shutdown your computer while its running (experimental needs testing)!

486x28


Have fun!
If you find any bug and its not in the KNOWN PROBLEMS list below, notify me.


Source code is available on https://github.com/Flanster/osuTT


CHANGELOG
v0.2
- Double buffer UI to avoid blinking on invalidation
- Add option to move UI and save its position
- Fix UI not showing once
v0.3
- Fix UI show/hide completely
- Warning on exit if osu is running
- Add ability to toggle starting with windows
- New icon
v0.4
- Handle not being able to set startup with windows due to lack of rights
- Attempt at handling time increments better
- Migrate everything into one form
v0.5
- Dispose form properly on exit to ensure tray icon dissapears from tray
- Show osu! status on UI - IDLE/PLAYING/EDITING/UPDATER
v0.6
- Add different UI color for every osu! status type.
- Fix not being able to exit if osu! is not running.
v0.7
- Fix time increments, causing seconds to go above 60 and beyond
- Add function to convert bugged out seconds to time format
- Fix seconds displaying as -1
- Add function to click on the tray icon for hiding/showing UI
- Attempt to fix weird resizing of window on win8.1 (button alignment should work atleast)
- New icon
v0.8
- Add option to backup/restore from osu!tt recovery file (available if osu! is closed)
- Add option to clean data and registries used by the program
- Optimise registry handling
- Remove redundant registry value (v0.8 will clean it for you)
- Attempt at further win8.1 window fix
- Display app version in window instead.
v0.8.1
- Remove registry for startup with windows on cleanup
v0.8.2
- Correct a typo.
- Autosave every time osu! is closed

KNOWN PROBLEMS
- States do not work in fullscreen (and they wont due to the way osu!'s window behaviour, timer will still function fine)
- Toggling startup with windows gets denied by security policy (Solve this by right clicking on the exe and running the application as )
...does this work retroactively? I've always been interested in how much time I've wasted spent well playing osu!
Topic Starter
Ofcourse not, theres no way to tell that before.
at first: cooool

at second: that is blinking after each second, buggy? say that it is a bug, please (win 7 64bit)
Topic Starter
Its blinking because its refreshing, nothing harmful.
Edit: might have fixed it, updated.

LoliFlan wrote: 2n6420

Its blinking because its refreshing, nothing harmful.
Edit: might have fixed it, updated.

great, now it works fine (for my eyes)

Thank you :)
Cool now I can count how many hours I have from 17.02.2015
Topic Starter
Sad you can't count it all eh?

LoliFlan wrote: 2n6420

Sad you can't count it all eh?
Yes, yes I am


most of the time the is hidden, but it wouldn't hurt to have the possiblity to move the somewhere else e.g. on my case
Topic Starter
That beefy taskbar...

I added the option to move the , you can grab this region to move it.


link updated.
Also it will the location if the program is closed.
LoliFlan's programs are always cool :D
This is really cool. :)
It's pretty and simple, and you can hide it in your desktop menu bar which is nice.

Also, not too sure, but I think i found a bug: It looks like the triangle minimize key isn't treated the same as right clicking the icon (on the desktop menu bar) and clicking to hide.
After minimizing with the triangle on the program, you have to click "show/hide UI" twice in order for it show up. It runs the same while osu! is open or closed.

So, i guess steps to clarify (program already running) : Hit triangle to minimize>"hide/show UI" (it should show up, but doesn't)> "hide/show UI" (now it shows up).

That's only something small, so not a big deal.

now you just need a counter for how many times you break our counting :P
Topic Starter

Renevant wrote: 3y6h1i

After minimizing with the triangle on the program, you have to click "show/hide UI" twice in order for it show up. It runs the same while osu! is open or closed.
Fixed, forgot to rename a thing.
Google translate
I think it would be better if the counter is only activated when you are playing and stop when you are idle.
And I can not find the icon of the counter after hiding it.

original
yo creo que sería mejor si el contador solo se activará cuando estas jugando y que se detuviera cuando estes idle.
Y no puedo encontrar el icono del contador despues de ocultarlo.
Does it start automatically if I restart my computer?
Topic Starter
No, but you can set that yourself.

-[Snitch]- wrote: 5p4215

Google translate
I think it would be better if the counter is only activated when you are playing and stop when you are idle.
And I can not find the icon of the counter after hiding it.
This is made for fun so I don't want to go into advanced window handle detection.
And the tray icon works fine for me.
nice one o3o
Niceeeee.
Topic Starter

Gumpyyy wrote: 2f3i

Does it start automatically if I restart my computer?
Added a toggle for it.
Some other stuff fixed too, link updated.
This is getting really neat now :3
I like the new icon
the old one was kinda hard to see

Just an idea
also, some people might have some security stuff on their comp so the toggle for start up might not work.

you could put this in the description: http://windows.microsoft.com/en-us/wind ... =windows-7
or just copy paste the instructions
or just let them google it for themselves. owo
Topic Starter

Renevant wrote: 3y6h1i

I like the new icon
the old one was kinda hard to see

Just an idea
also, some people might have some security stuff on their comp so the toggle for start up might not work.

you could put this in the description: http://windows.microsoft.com/en-us/wind ... =windows-7
or just copy paste the instructions
or just let them google it for themselves. owo
Added to known bugs and instructions included in OP.

LoliFlan wrote: 2n6420

Ofcourse not, theres no way to tell that before.
What if it can read the MSN osu! status-thing?
Topic Starter

marcostudios wrote: 2j1961

What if it can read the MSN osu! status-thing?
This application's purpose is to count time. What does this feature have to do with anything the program has to offer?
After ing/opening I clicked on the down arrow. And the program was never to be open again. Not sure whats up but I cannot get it to work now.

Also, would it be possible to count in song time in the future? (without auto mod) To see a more real number .
Topic Starter
The program is still in the taskbar tray.
Detecting gameplay is possible, but automod detection, NOT SO MUCH :o

LoliFlan wrote: 2n6420

The program is still in the taskbar tray.
Not for me at least. After pressing the arrow down the program just exits or hides in an un-openable aparent way. (The only way for me to fix it is by restarting my computer). I am using windows 7 64 bit. Maybe something is wrong on my end.

And gameplay time would be nice ^^
Topic Starter
I'm running on 64bit Win7 aswell so no idea whats causing such a simple line of code not to work on your end ;(
orangecode_DELETED
very slick design! I like it. If you get time, could you please add like a border or a background or something to the icon in the system tray, because if a minimize it, it goes invisible xD http://prntscr.com/6eujf7
This is neat. If anyone's wondering an estimate of their osu! time retroactively, check out the tool I made, osu!time. I reckon if osu!tt could connect to the internet we could make a pretty accurate time checker.
working great!!

it would be awesome to add this and Osu!Profile as small applets into the osu! engine and the game's site so everyone could show their dedication :P... maybe Peppy would help with that if it's not too time consuming?...

still... awesome job! keep it up!
When trying to set the app to start with Windows i get an error message saying I should get in touch with the (which is me) or use the tool Configuration of Microsoft . NET Framework. The error message is saying that access is denied to the registry solicited (launching the app on starting Windows). Currently using Windows 7, 32 bit.

Any help to tell me how to make the app launch on booting Windows? Thank you!

Mibic wrote: y1d67

When trying to set the app to start with Windows i get an error message saying I should get in touch with the (which is me) or use the tool Configuration of Microsoft . NET Framework. The error message is saying that access is denied to the registry solicited (launching the app on starting Windows). Currently using Windows 7, 32 bit.

Any help to tell me how to make the app launch on booting Windows? Thank you!
You're getting this, right?
As the first post says, add it manually like this: http://windows.microsoft.com/en-us/wind ... =windows-7
It's kinda buggy sometimes, but it works.


@LoliFlan
Do you want me to get a better screenshot of that? The original one kinda hurts the eyes, because the transparency of the window included my background.
Also, nice job getting on osu! weekly!
Topic Starter
oh lol didnt notice i was on there, nice.

Mibic wrote: y1d67

When trying to set the app to start with Windows i get an error message saying I should get in touch with the (which is me) or use the tool Configuration of Microsoft . NET Framework. The error message is saying that access is denied to the registry solicited (launching the app on starting Windows). Currently using Windows 7, 32 bit.

Any help to tell me how to make the app launch on booting Windows? Thank you!
Read my first post in the thread, its in red text, regarding this problem.
Thank you! And congrats on the osu!weekly! :D
Topic Starter
You're welcome!
Also application is now updated to 0.4 with various fixes. I have addressed the problem with not being able to set startup with windows and replaced it with a simple warning message box instead of the .NET one.
another project by LoliFlan!
nice work man, I hope to see more
tfw Norton say's it's a virus and removes it
Topic Starter
update 0.5 - I've added a feature that tells what osu!'s state is - playing/editing/idle/updater!



CanadianPaws wrote: 6f542q

another project by LoliFlan!
nice work man, I hope to see more
Thank you.

Xellie wrote: 1z5a2s

tfw Norton say's it's a virus and removes it
Norton sucks, remove it.
Nice update


idk how I managed this tho
Topic Starter
Known bug, will fix in future updates.
Hey LoliFlan, you should add something like this :

"since ../../.... at ..:.."
So we don't need to when we installed osu!tt :oops:

Thanks for making this useful program btw :D

EDIT : It seems that when I right-click on the tray icon, I can't "Exit & Save". There is nothing that happens when I click on it, so to close the process I must use the task manager (Ctrl + Shift + Esc) and I'm afraid of losing my save :o . Please fix it :?
Topic Starter
That is actually a very important thing I missed, will add it in next update!
I used to track my gametime with Raptr, and I'd rather convert over to using this, because it's not nearly as heavy as Raptr is. Do you have any thoughts on a feature where I could add my previous played hours, since I know how many I had?

LoliFlan wrote: 2n6420

update 0.5 - I've added a feature that tells what osu!'s state is - playing/editing/idle/updater!

oo
Thats so cool!

Are you gonna give each of the state's different colors like the f9 screen?

And since it can tell which state its in, would it be possible to add a sorta've timer for each of the states?
For example, people could be interested in total time "playing" or "editing" as separate timers. Being able to pick which timer you would
like to see like "total time", playing time, editing time, etc, would be awesome. :D

Also, It's looking great Loli! I'm looking forward to any future updates!
Amazing! This should come with osu! by default :D
Topic Starter

Renevant wrote: 3y6h1i

Are you gonna give each of the state's different colors like the f9 screen?
not 100% like the osu s but sure


Renevant wrote: 3y6h1i

And since it can tell which state its in, would it be possible to add a sorta've timer for each of the states?
mmmmnah for now
2 bugs that I want to report.

Don't know if it's just for me but for some reason I can't save and exit the application. It just doesn't do anything when I press that button.
Second: The trey icon won't dissapear after shutting down the osu!tt process from task manager. Maybe has something to do with the other problem.

Ask for any specs to debug if needed
Topic Starter

Marcusan1387 wrote: 1p5f6v

Don't know if it's just for me but for some reason I can't save and exit the application. It just doesn't do anything when I press that button.
Nothing is happening? Are you getting a messagebox atleast?

Marcusan1387 wrote: 1p5f6v

The trey icon won't dissapear after shutting down the osu!tt process from task manager.
The icon will never be disposed properly if the process was halted like this.

LoliFlan wrote: 2n6420

If its not saving then your computer is not allowing my program to write to the windows registries. Are you on an ? Disabled UAC? Antivirus software?

Why are you killing the process? The icon will never be disposed properly if the process was halted like this. Please exit normally if you want the icon to dissapear.
Well since i can't save and exit I'm forced to kill the process(Was just doing it for testing, Will always have it open since it's an awesome software)
I have my anti virus disabled. Never used UAC. Opening the software with P so shouldn't be a problem.

Other possible reasons?
Topic Starter
You should atleast be getting a messagebox, mind hopping on osu! to test things?

Edit: solved

update 0.6 released, see changelog for details.

LoliFlan wrote: 2n6420

You should atleast be getting a messagebox, mind hopping on osu! to test things?

Edit: solved

update 0.6 released, see changelog for details.
wrong link. you have putten 2 h in http(hhttp). hehe
Topic Starter
I have putten yes, fixed.

in next update



Timer will stop if osu! is in the tray
When I stop playing, at a specific time, the -1 seconds appears.
i know that it's on the bug list, but still.

1st turning it off with the tt and bam!
-1.
:(
Don't know if this is a bug or not. There are 4 digits in the seconds.

LoliFlan wrote: 2n6420

:D
Topic Starter
Guess I need to rework the code for increments, apologies to everyone who is experiencing this bug.
KitamiShigure


Bug :(
I've run the program, and for some reason the image don't fit the window.



It is also a little bothersome to minimize the window, since the place I have to click isn't the same as the one that appears the triangle (it is more on the right).

I'm running Windows 8.1.
Topic Starter

mattkun7 wrote: 651q1j

I've run the program, and for some reason the image don't fit the window.

Pretty odd, try this new update and see if it works.
---

0.7 is now released, I do believe I have completely fixed time incrementing.

For those who are experiencing a problem such as this

On startup, osu!tt will convert these seconds to a time format and will correct the total time.
Example:
2 hours, 4 minutes, 85154 seconds to 1 day, 1 hour, 43 minutes, 14 seconds

Please test it out to ensure its fixed for good! 1g3vz

Not sure if it's a bug, but I'll let you know anyway. Whenver I try to adjust diff settings in editor, the program thinks osu! is hidden.

LoliFlan wrote: 2n6420

Pretty odd, try this new update and see if it works.
Looks like it has been fixed.



But now I can't minimize through the triangle at all...
Windows 10 Technical Preview (build 10041)
Strange to see one testing it on Win10, huh?
Flaw:
Status: Does not detect that I'm in the editor when running fullscreen (editor goes borderless of course, setting is set to fullscreen)
Nothing can be done, but it's okay.
Windows 8.1
Same as 10~
That's all.
Updates: 4 (Win10: 2 - Win8.1: 2)
Topic Starter

mattkun7 wrote: 651q1j

LoliFlan wrote: 2n6420

Pretty odd, try this new update and see if it works.
Looks like it has been fixed.



But now I can't minimize through the triangle at all...
I'll adjust the position, for now you can just click on the tray icon to hide/show the UI.

-Bakari- wrote: 44661z

Not sure if it's a bug, but I'll let you know anyway. Whenver I try to adjust diff settings in editor, the program thinks osu! is hidden.
I see, thanks for reporting, apparently osu!'s window handle goes null when some of the controls are being used but its for a short period of time so it shouldnt be a big problem.

Baka Tenshi wrote: 18629

Does not detect that I'm in the editor when running fullscreen (editor goes borderless of course, setting is set to fullscreen)
Thats only normal since the window is borderless and with no title, which makes the program think its hidden. The app works with osu!'s window text.
I don't know if I can make suggestions, but I'll do anyway :P

1. Create a way to export the app's data into a file (and a way to import from a file to the registry).
Reason: Sometimes people format the computer, or just buy a new one, so it would be great to be able to move the app's data.

2. Create a way to clean up the registry used by the program.
Reason: Well, others might not care, but in case of stop using the program, I would like to be able to free the registry used by it. I think that's why most programs have an "uninstall.exe".

3. Another great suggestion has been done by Angelo a week ago:

Angelo wrote: 5u94c

Hey LoliFlan, you should add something like this :

"since ../../.... at ..:.."
So we don't need to when we installed osu!tt :oops:
For this maybe you could just use the information that is on the properties of the file (the "Created" info).
Properties image

(sorry for having some kanjis on it)

About one of the known problems:
"Toggling startup with windows gets denied by security policy due to lack of privileges"
An easy way to solve this is to run the program as . This way there is no error by lack of privileges.
(Suggestion: There are some apps that ask for privileges in runtime, I think this would solve this problem permanently...)

About the app as it is now, everything seems to be OK for me ( except for not being able to use the small triangle to minimize, but is not such a problem as there are other ways to do it).



That's all, thanks for the app LoliFlan! :)
Topic Starter

mattkun7 wrote: 651q1j

some text
1. Funny thing is...I have already made a feature that exports and imports your time into a file, will be available in 0.8

2. Sure why not, I'll add a cleanup feature.
3. Yes I have thought about the file's timestamp but that wont work since some people are already using it, that would mean only a fraction of s will have an accurate datestamp.
4. WOW Can you stop with the triangle, I said 3 times it will be fixed :(
5. As for the run as , glad it works, will add the info to OP.

Many thanks for your suggestions :D

LoliFlan wrote: 2n6420

4. WOW Can you stop with the triangle, I said 3 times it will be fixed :(
Hahah sorry for that. :o
Just thought about a pretty nice thing to be done.
If there is someone that would want to make this software work with rainmeter then that would be totally awesome.
But only if LoliFlan would be okey with it. (It's his/her software so he/she chooses if it's okey)
(Also I'm not able to do it since I have too little experience with that but somebody may.)
this happened to me today. playing for a long time ( ~2 hours) when suddenly power went out while I'm in a map. when the power came back on, I saw none of the progress I made was saved (e.g. was wrong by ~2 hours).

Don't know if it's just me or if this feature has been requested yet, but how about implement an auto-save feature where the time will be saved automatically every minute or something like that? Call me a scrub if you must but I don't know vb so can't check the source code to see if it's implemented or not :(
Topic Starter
Sorry I cannot implement such a feature.
I did include code in the program to save if the shuts or logs off their computer, but saving on power failure is something out of my reach.
thank you for this wonderful program but... this amazing piece of engineering makes me realize how much tine i "spend" on this pretty game
dled and avg removed it because its a virus? :c
I was wondering is it possible to create a mac version for those of us who don't use windows? The file .exe doesn't mix well with OSX. Maybe use wine to create a wrapper? It will open but doesn't start recording time and I can't click on anything :cry:
Topic Starter
I work under windows, have no knowledge of programming for other operating systems.

v0.8 update
- Add option to backup/restore from osu!tt recovery file (available if osu! is closed)
- Add option to clean data and registries used by the program
- Optimise registry handling
- Remove redundant registry value (v0.8 will clean it for you)
- Attempt at further win8.1 window fix
- Display app version in window instead.
v0.8.1 update
- Remove registry for startup with windows on cleanup
Testing the version 0.8.1

1. About the triangle for minimizing: still not working.

2. Also tested backup, clear and restoring data, they're working.
Observation: When I click to restore and select the file, appears a window saying that the app will restart, but it is only closing itself (I have to reopen by myself).

Why am I having so little time to play osu! :(

Topic Starter
Use the icon on the taskbar then, I dont know whats so special about 8.1, i can run the app fine on WINDOWS 10!
As for the restart not working, it can occur on some systems, can't really do anything about it.
Thanks for testing.
Is it possible to make the program backup automatically to the same folder as osutt.exe each time I quit the game ?
I got a question, I used this program for a while now, and I must say, I love it.

However, I'm soon going to buy a new pc, and I would love to restore my progress on my new machine. You said it is stored in the windows s, can I copy it somehow (regedit maybe?)
Topic Starter

talutocxu wrote: 6w5t3d

Is it possible to make the program backup automatically to the same folder as osutt.exe each time I quit the game ?
It is possible, yes.

flokkie wrote: 14534f

I got a question, I used this program for a while now, and I must say, I love it.

However, I'm soon going to buy a new pc, and I would love to restore my progress on my new machine. You said it is stored in the windows s, can I copy it somehow (regedit maybe?)

No need to play with the registries, leave that to me.
Latest version already s backup and restore plus an extra feature to wipe everything if you dont plan to use the program anymore.

LoliFlan wrote: 2n6420

talutocxu wrote: 6w5t3d

Is it possible to make the program backup automatically to the same folder as osutt.exe each time I quit the game ?
It is possible, yes.

flokkie wrote: 14534f

I got a question, I used this program for a while now, and I must say, I love it.

However, I'm soon going to buy a new pc, and I would love to restore my progress on my new machine. You said it is stored in the windows s, can I copy it somehow (regedit maybe?)

No need to play with the registries, leave that to me.
Latest version already s backup and restore plus an extra feature to wipe everything if you dont plan to use the program anymore.
Aaah! Thanks a lot! I did not yet see that option, I'm sorry
I found a bug. Ok, so i played for 2 hours (My time in osu!tt was 18 hrs before now it is 20 hrs), then i restarted my computer. It is still 18 hrs, it didn't save the 2 hrs played whatsoever, but i can save it by clicking save and exit but i know it should save even if i won't click that option when shutting down. Can you fix this? It has been several days and bc of this I lost about 50 hrs of playtime bc i didnt notice it. thanks :)
Topic Starter
Then saving on detecting shutdown/restart didn't work for you :(? Did you hear any popup sound on shutdown?
Mmmm.. I'll try to release an update that will save every time you close osu! instead.

Edit:
- 0.8.2 update released, link updated.
- Source code updated to latest

Waaah I haven't done Visual Basic in a month, now using C# :)
Also I'll need people to test out if the program is saving on log off/shutdown as it was never tested.

LoliFlan wrote: 2n6420

Then saving on detecting shutdown/restart didn't work for you :(? Did you hear any popup sound on shutdown?
Mmmm.. I'll try to release an update that will save every time you close osu! instead.

Edit:
- 0.8.2 update released, link updated.
- Source code updated to latest

Waaah I haven't done Visual Basic in a month, now using C# :)
Also I'll need people to test out if the program is saving on log off/shutdown as it was never tested.
Gonna test it in a while :) ill give tomorrow or maybe later :D

Edit: Hello I am back, it works :D. It now saves the time when i log off/ shutdown even if i am not doing it manually :).
Topic Starter
My workaround probably did the trick, glad it somehow works lmao :)
Actually you can make osu!tt run on startup by copying osu!tt shortcut to C:\s\{name}\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup ( or Environment.GetFolderPath(Environment.SpecialFolder.Startup) for easier ).

Faishal Akbar wrote: 573335

Actually you can make osu!tt run on startup by copying osu!tt shortcut to C:\s\{name}\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup ( or Environment.GetFolderPath(Environment.SpecialFolder.Startup) for easier ).
Or you could just search startup in the "Start" and put it in the folder :D.

buckiehero wrote: 473k6z

Faishal Akbar wrote: 573335

Actually you can make osu!tt run on startup by copying osu!tt shortcut to C:\s\{name}\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup ( or Environment.GetFolderPath(Environment.SpecialFolder.Startup) for easier ).
Or you could just search startup in the "Start" and put it in the folder :D.
Yeah, but I suppose he meant a way to do that automatically with the program, not having the to manually go and put the shortcut in the folder.
Topic Starter
I guess that method works aswell but ill stick with mine :P
show more
Please sign in to reply.

New reply 18684e