Author Topic: New Plugin: Screenr
-lino- 
Posts: ????
Registered: ????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
Subject: New Plugin: Screenr
Screenr is a small plugin that will take screenshots when you level (and hopefully when you acquire an augmentation too; code is there, I just couldn't test it yet).

You can configure it to take between 1 and 10 screenshots "per event" with 250 or 500 milliseconds between the individual shots.
Taking the shots is reasonably fast, even with 10 shots in a row I don't notice any client lag - and it doesn't use the * key, so you won't have the "screenshot saved" message in the later shots of a series.

Screenshots and settings are saved under "My Documents/Decal Plugins/screenr", so security settings in Windows Vista/7 should not be a problem.

You can find a link to the latest release at http://ac.ranta.info/Screenr

Planned for next versions: "short-time delay release" for manual screenshots and a "stop motion video mode" for e.g. documenting boss fights.

Feedback and more ideas are always welcome.

 

-----signature-----
Link to this post
-lino- 
Posts: ????
Registered: ????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
Subject: New Plugin: Screenr
There is a known issue that the Screenr GUI will show up "in" other plugins GUIs. You can work around that buy opening Screenr once, after that all other GUIs should be fine.
I will investigate what's causing this. (If any decal dev has an idea what could cause this, let me know; source code can be found at http://svn.ranta.info/repos/decaldev/trunk/Screenr/ if you want to have a look or compile it yourself to confirm your idea)

 

-----signature-----
Link to this post
Naia-Ra-Sal 
Posts: 7,724
Registered: Sep 28, '00
Extended Info (if available)
Real Post Cnt: 7,244
User ID: 46,420
Subject: New Plugin: Screenr
I can confirm that it works with using augmentation gems

 

-----signature-----
Naia Ra-Sal lvl 262 Warlord of Dereth
Vainda Ra-Sal lvl 275 Shellfish Hater
Xavia Ra-Sal lvl 250
Vaindas Oil Slave Max Speced Armor Tink , Max speced Weapon Tink
makingothershappy.blogspot.com
Link to this post
-lino- 
Posts: ????
Registered: ????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
Subject: New Plugin: Screenr
Thanks Naia.

Also, on a side note: screenshots work also in window mode no matter on which screen the client is, so all you dual-monitor dual-log people sharing hand-in xp with your mules can be happy too happy

 

-----signature-----
Link to this post
Naia-Ra-Sal 
Posts: 7,724
Registered: Sep 28, '00
Extended Info (if available)
Real Post Cnt: 7,244
User ID: 46,420
Subject: New Plugin: Screenr
I just noticed the nice names of the screenshots. i like that happy

Harvestgain-Sandria Ra-Sal-Archmage's Endurance-20094806-05483183-00.jpg

Harvestgain-Landera Ra-Sal-level41-00.jpg

Btw whats the number behind Sandiras Screenshots ? the 20094806-05483183 part ?

 

-----signature-----
Naia Ra-Sal lvl 262 Warlord of Dereth
Vainda Ra-Sal lvl 275 Shellfish Hater
Xavia Ra-Sal lvl 250
Vaindas Oil Slave Max Speced Armor Tink , Max speced Weapon Tink
makingothershappy.blogspot.com
Link to this post
-lino- 
Posts: ????
Registered: ????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
Subject: New Plugin: Screenr
Naia-Ra-Sal posted:
I just noticed the nice names of the screenshots. i like that happy

Harvestgain-Sandria Ra-Sal-Archmage's Endurance-20094806-05483183-00.jpg

Harvestgain-Landera Ra-Sal-level41-00.jpg

Btw whats the number behind Sandiras Screenshots ? the 20094806-05483183 part ?


That SHOULD be the date and time (including 10th of seconds), that are needed on manual screenshots (when you click the "make test screenshots" button) and for augs (as you can get the same aug twice on a character). Unfortunately I wasnt sure about the exact placeholders in C# when I implemented that and then later forgot to look them up and fix them. For your case it should be 20090906-17483183 (YearMonthDay-HoursMinutesSecondsTenth).

And of course I saw this post a few minutes AFTER I made the 1.1.0 release, so there is a 1.1.1 now as well...Happy updating happy

http://ac.ranta.info/DecalDev for direct link to latest installer

 

-----signature-----
Link to this post
Virindi-Inquisitor 
Posts: 6,908
Registered: Nov 18, '01
Extended Info (if available)
Real Post Cnt: 6,646
User ID: 511,923
Subject: New Plugin: Screenr
-lino- posted:
Thanks Naia.

Also, on a side note: screenshots work also in window mode no matter on which screen the client is, so all you dual-monitor dual-log people sharing hand-in xp with your mules can be happy too happy


From a quick glance at the code, it looks like it uses win32 to blt the screen bitmap. That means that any other windows which are on top of the AC window will block it in the screenshots as well.

If you want to get fancy, you can get the game's DX9 object from Decal, lock the buffer, and copy it to a file. Doing this will ensure a proper screenshot even if the AC window is obscured.

 

-----signature-----
Virindi
---
****Virindi Plugins FAQ**** http://www.virindi.net/wiki/index.php/Virindi_Plugins_FAQ
http://www.virindi.net - Virindi Tank, Follower, Integrator, Reporter, VCS5, XPHelper, Item Tool, HUDs, etc...
Decal Core Dev - http://www.decaldev.com
Link to this post
-lino- 
Posts: ????
Registered: ????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
Subject: New Plugin: Screenr
Virindi-Inquisitor posted:
From a quick glance at the code, it looks like it uses win32 to blt the screen bitmap. That means that any other windows which are on top of the AC window will block it in the screenshots as well.

If you want to get fancy, you can get the game's DX9 object from Decal, lock the buffer, and copy it to a file. Doing this will ensure a proper screenshot even if the AC window is obscured.


I will look into it, but it might take a while. I am really more a "scripting languages" person and use Decal Development to learn C# - never done anything related to DX yet. But the idea is good, not everyone who dual logs has 2 widescreen TFTs in front of them I guess. If you have any tips, know about pitfalls etc please let me know. I am quite good (or rather: very patient) using the Object Browser in Visual Studio, but that only gives you the API, not the best practices.

On a side note, the screenshots will be fine (if the windows are not covered) even if you level in 2 windows at exactly the same time, had that earlier when I handed in some eater jaws happy

In case anyone besides VI is still using Win2k: Screenr, HouseMan and IronVsGranite should install and work there as well now, I released new versions of these 3 just a few minutes ago. Those versions also will not try to write to the installation directory anymore, so Vista users should install them as well.

 

-----signature-----
Link to this post
Virindi-Inquisitor 
Posts: 6,908
Registered: Nov 18, '01
Extended Info (if available)
Real Post Cnt: 6,646
User ID: 511,923
Subject: New Plugin: Screenr
Well, one thing that would be easier than that would be to have a checkbox that makes it take screenshots with the * key instead.

But, since your code is open I may take a look at adding some DX if I get the chance. Shouldn't be too complicated.

 

-----signature-----
Virindi
---
****Virindi Plugins FAQ**** http://www.virindi.net/wiki/index.php/Virindi_Plugins_FAQ
http://www.virindi.net - Virindi Tank, Follower, Integrator, Reporter, VCS5, XPHelper, Item Tool, HUDs, etc...
Decal Core Dev - http://www.decaldev.com
Link to this post
-lino- 
Posts: ????
Registered: ????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
Subject: New Plugin: Screenr
Virindi-Inquisitor posted:
Well, one thing that would be easier than that would be to have a checkbox that makes it take screenshots with the * key instead.


Well, I don't like the * for screenshots because you have that "Screenshot saved to ..." message in most of them if you do it fast enough. And to capture the "fireworks" you have to take them fast, the whole animation takes about 2-2.5 seconds only. Also to have those nice filenames you'd have to somehow capture said message (it's not a chat message, so I wouldn't even know how) and then rename/move the created file, which means another system call and more IO, which on slower machines can become a performance issue. (I know on my old computer just hitting * gave me about 1 second client (graphics) lag - and that was just 1 screenshot.)
I guess for those who want it I could add the option and put a text to it that it sets the interval to 1s (think that's how long the damn message stays) and the amount of screenshots to 2.

Performance will become even more an issue when I add the stop-motion feature, which (sufficient HD space given) in the most extrem setting will take 1 screenshot per second over a period of several minutes. (I will almost certainly add a hard limit and for the 1 screenshot per second you will have to edit an xml file manually, so only those who know the risk can activate it - but even with 1 screenshot every 10 seconds you got to be careful on old machines).

Virindi-Inquisitor posted:
But, since your code is open I may take a look at adding some DX if I get the chance. Shouldn't be too complicated.


Now that would be awesome. After looking at the Virindi View screenshots et al I am sure you are several leagues above me when it comes to decal/C# skill. happy
I will certainly have a look at it as well, although probably not before next weekend as I want to play some and work keeps me busy too.

 

-----signature-----
Link to this post
-lino- 
Posts: ????
Registered: ????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
Subject: New Plugin: Screenr
Just a little update. Thanks to Virindi-Inquisitor the plugin has made some major steps ahead in the last days. The screenshots no longer have the (usually small) border, but capture exactly the AC screen and nothing else.
Additionally you can choose between 2 methods now, Win32 and DirectX - the latter has the advantage of capturing just the AC screen even if another window is in front of it, but during my tests it was a tad more demanding on the CPU.
Also new is the automatic calculation of the number of screenshots taken. You can choose between 3 settings for the delay, then the plugin will calculate the amount of screenshots to capture most of the fireworks. The first screenshot is always taken after ~100ms, the others are spread over a period of 3 seconds which is pretty exactly how long the fireworks are visible.
And yet another new feature: You can have the plugin save the screenshots as PNG, which gives better quality. The downside is that the files are about 8 times as large as JPEGs would be, so saving them to disc takes longer and unless you have a very fast computer you will get client lag - the lag is minimal though if you use the "slow" delay setting. If there is demand for it I will try some threading so the saving of the files is done "asynchronous", which should reduce the client lag.

No installer yet, but you can see some sample screenshots at http://ac.ranta.info/screenr (the lowercase s is important) and the .dll is linked from http://ac.ranta.info/Screenr (uppercase s) for those who want to test it before the official release (which should happen this weekend).

 

-----signature-----
Link to this post
White_Bunnay 
Posts: 9,930
Registered: Apr 8, '01
Extended Info (if available)
Real Post Cnt: 9,640
User ID: 85,619
Subject: New Plugin: Screenr
One cool thing you could add in would be a 'fraps' option that hits a specified hotkey once when you're about to level and then again after say, 10 seconds. If they specified the hotkey that fraps uses to activate screen capture while using this option, they could get a short video clip of their level.

 

-----signature-----
Asheron's Call, Harvestgain - Gryphon 12/99-02/06
WoW, Korgath, Horde - http://gcguild.net/
Accounts of American Servicemen valor are dismissed as propaganda..
...yet accounts of difficulties are heralded as objectivity.
Link to this post
-lino- 
Posts: ????
Registered: ????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
Subject: New Plugin: Screenr
Interesting idea, I will think about it.

My current dev version has a stop-motion mode that takes a screenshot every few seconds/minutes - not fully tested, but seems to be stable enough for an alpha version. If anyone wants to help testing, http://ac.ranta.info/Screenr has a link to the .dll of 1.2.0.0 alpha 2

I will not add any more features to 1.2 - after some testing I will make a release including installer, then I will work on 1.3.0.0 which will be 1.2.0.0 + VirindiViews support.

 

-----signature-----
Link to this post

Valid XHTML 1.0 Transitional Powered by PHP