• Announcements

    • Share your Suggestions!   01/01/2016

      Greetings, Do you want to help Black Desert be the best game possible? We are constantly looking for ways to improve the game, your feedback and suggestions are a key part of this process.  Everyone is welcome to visit our Suggestion Forum and share your thoughts with the BDO Team and the community.  Below I will give some advice on how to present your suggestions to ensure you are heard. How to make sure your contribution will be taken into account: Be precise and constructive.Take the time to explain your reasoning behind a feeling or a suggestion.Check if the suggestion you have in mind has already been shared. If it's the case, you can reply to it.Ask other players or friends you know what they think of your post before you click the "Submit" button.Be realistic. To add content requires a long time, but don't feel discouraged if it takes time to see changes.  I want to thank you in advance for any suggestions provided, and we look forward to reading your contributions!
    • Forum Rules   04/24/2016

      1. Inappropriate or infringing content Kakao Games Europe does not vouch for or warrant the accuracy, completeness or usefulness of any message, article, link or comment posted by other users in the Services, and shall not be responsible for the contents of any such message, article or comment.The messages express the views of the author of the message, not necessarily the views of Kakao Games Europe. The User can report any violation of the services policies by clicking on the report icon on the Forums.The User shall not use the Service(s) to post any material which is knowingly false and/or defamatory, inaccurate, abusive, vulgar, hateful, harassing, obscene, profane, sexually offensive, threatening, invasive of a person's privacy, or otherwise violating of any applicable law.The User shall not use the Service(s) to post any advertisement, link or information regarding content which infringes the Agreement.The User shall not post any copyrighted material unless the copyright is owned or licensed by the User or by Kakao Games Europe.The user shall not promote illegal or illicit activities including cheating and the use of exploits.  2. Naming policy The User shall not use on the Website, the Forums and in the Game character names, family names, guild names, clan names and/or nicknames that are:Vulgar, abusive, hateful, racist, defamatory, threatening, pornographic or sexually orientated;Referring to inappropriate parts of the human body or bodily functions;Referring to drugs or illegal activities;Related to the Nazi regime;Referring to figures or activities of religious relevanceRelated to political regimes or personalities involved or suspected of violation of human rights;Promoting violence, ethnically or national hatred;Impersonating an existing person, including Kakao Games Europe officials Violating the intellectual or industrial rights of a third party, including trademarks.The use of alternate spelling, for instance by replacing letter with number, in order to violate the above mentioned rules shall be considered a violation of the naming policy.The user will not create additional forum accounts in order to bypass any warning, suspension, ban or purport themselves as someone else.  3. Threats to the provision of the Services The User shall not make threats or attempt to disturb the provision of the Services in any way including spamming, denial of service attacks, performing actions whether alone or as a group, on the Service(s), that would affect the performances of the Service(s) or the experience of other end-users of the Services.Kakao Games Europe reserves the right to take any actions necessary deemed necessary to maintain the integrity of the Service(s).  4. Account sharing The User is not allowed to share the credentials of the User’s Account with anyone.Notwithstanding the above, Kakao Games Europe may request from you the name of your Account for events or in order to provide you customer support. However, Kakao Games Europe will never ask you for your Account password.  5. Violation of law The User undertakes to respect the legislation of the country from which the User launches the Game and accesses the Services.  6. Behavioral rules and guidelines 6.1. Thread bumping The User shall not bump own threads. Replies to own threads with the sole purpose of moving said thread to the top of the forum can lead to a warning with the possible consequence of losing writing permissions on http://forum.blackdesertonline.comIf the User wants to add more information to a post, the “EDIT” function can be used. It is permitted to reply to own posts once every 48h as long as the follow up post adds new and meaningful information related to the topic.Replies to other users posts with the sole purpose of increasing it's visibility are also considered thread bumping as well as spam and will be actioned accordingly.Normal replies to other users are not affected by the above mentioned rules.6.2. Posting Etiquette The user shall not post in all capital letters, use excessive punctuation, flamboyant fonts etc. to draw attention to its posts.Using the words Kakao, Kakao Games, Pearl Abyss or any Kakao Games Europe member’s name in a topic title is frowned on.The user shall not use misspelled versions of inappropriate words to circumvent the swear word filter. Doing so shows the User was fully aware of the nature of the word and it will be reflected in any potential penalties.6.3. Interacting with other users Post made with the sole purpose of upsetting or angering other users are not allowed. All posts have to be made in the spirit of mutual respect. The User shall not attack or insult other users for having different opinions or for making statements the User disagrees with. Challenging the opinions or statements of other users is permitted, attacking the person holding them is not. If the User finds the actions of other users in breach of the forum rules, the Report Function should be used in order to bring the case to the attention of the moderator team. The case will then be reviewed and appropriate actions will be taken. The user shall not "name and shame" other users. If a user is suspected to have broken Terms of Service / Terms of Use or taken part in fraudulent activities it should be reported directly to Kakao Games Europe by submit a support ticket.6.4. Quoting The User shall not quote posts who break the forum rules. The User is instead encouraged to use the Report Function in order to bring inappropriate content to the attention of the moderator team. Reported content will then be reviewed and appropriate actions will be taken.6.5. Abuse of Report Function The user shall not abuse the report function. The report function is intended to be used to make the moderation team aware of potential breaches of the forum rules not to get revenge on other users. If the User finds another user behaving inappropriate several times in a short time span, the Report Function can be used, highlighting one relevant post and indicating in the notes that other threads are affected too. If the User feels a thread is out of control, one post should be reported indicating in the notes the whole thread needs attention.  7. RP Forum Rules The RP Forums follow a more strict rule set. Any user wishing to participate on the RP forums is advised to review the specific rules before posting.  8. Appeal Forum Moderations Threads deemed inappropriate to a particular forum will be moved to a more appropriate forum or even removed completely. Threads that have been removed or closed are not to be re-posted. The User shall not discuss specific cases of moderated posts or disciplinary actions against users on the forum. If the User disagrees with an action taken by the moderator team, an e-mail should be send to forumdisputes@blackdesertonline.com. An uninvolved Community Manager will then review the case. 
    • IMPORTANT - REACH US IN THE NEW FORUM   05/04/2017

      Ladies and gentlemen ATTENTION please:
      It's time to move into a new house!
        As previously announced, from now on IT WON'T BE POSSIBLE TO CREATE THREADS OR REPLY in the old forums. From now on the old forums will be readable only. If you need to move/copy/migrate any post/material from here, feel free to contact the staff in the new home. We’ll be waiting for you in the NEW Forums!

      https://community.blackdesertonline.com/index.php

      *New features and amazing tools are waiting for you, even more is yet to come in the future.. just like world exploration in BDO leads to new possibilities.
      So don't be afraid about changes, click the link above and follow us!
      Enjoy and see you on the other side!  
    • WICHTIG: Das Forum zieht um!   05/04/2017

      Damen und Herren, wir bitten um Eure Aufmerksamkeit, es ist an der Zeit umzuziehen!
        Wie wir bereits angekündigt hatten, ist es ab sofort nicht mehr möglich, neue Diskussionen in diesem Forum zu starten. Um Euch Zeit zu geben, laufende Diskussionen abzuschließen, könnt Ihr noch für zwei Wochen in offenen Diskussionen antworten. Danach geht dieses Forum hier in den Ruhestand und das NEUE FORUM übernimmt vollständig.
      Das Forum hier bleibt allerdings erhalten und lesbar.   Neue und verbesserte Funktionen warten auf Euch im neuen Forum und wir arbeiten bereits an weiteren Erweiterungen.
      Wir sehen uns auf der anderen Seite!

      https://community.blackdesertonline.com/index.php Update:
      Wie angekündigt könen ab sofort in diesem Forum auch keine neuen Beiträge mehr veröffentlicht werden.
    • IMPORTANT: Le nouveau forum   05/04/2017

      Aventurières, aventuriers, votre attention s'il vous plaît, il est grand temps de déménager!
      Comme nous vous l'avons déjà annoncé précédemment, il n'est désormais plus possible de créer de nouveau sujet ni de répondre aux anciens sur ce bon vieux forum.
      Venez visiter le nouveau forum!
      https://community.blackdesertonline.com
      De nouvelles fonctionnalités ainsi que de nouveaux outils vous attendent dès à présent et d'autres arriveront prochainement! N'ayez pas peur du changement et rejoignez-nous! Amusez-vous bien et a bientôt dans notre nouveau chez nous

Health bar screenshot scanning tool

20 posts in this topic

Posted (edited)

Not sure what I should even call this tool, but this is something I made to help automate damage tests with different gear. I'm releasing it here in case other people would find it useful. I couldn't be bothered to create any UI, so it's a pure command line program.

Download: http://www.fluffyquack.com/tools/BDgauge.rar
Source code: http://www.fluffyquack.com/tools/source/BDgauge.rar

It works by loading screenshots in the same directory, trying to read the health bar from them, and outputting information about them.

It's got 2 different modes. Default mode is getting one single percentage:

  • Place tool in screenshot folder.
  • Take a screenshot with a visible health bar.
  • Run program.
  • It'll try to read health bar from most recent screenshot in same directory, and output its percentage as text to clipboard (if it could not find detect any health bar, clipboard will be empty).

Second mode is scanning a series of screenshots and getting percentage from each health bar and outputting some information about them:

  • Take a ton of screenshots (what I did was finding an enemy standing alone, hitting him, running away so he de-aggroes and regains his health, running back and hitting him, etc).
  • Put all of these screenshots in a directory with the tool.
  • Run the tool with the "-scan" command line argument (create a shortcut or batch file).
  • The program will load every screenshot from the same directory and try to read health bars from eacn one.
  • The process might take a minute or so, and you'll end with 2 txt files.

Some notes:

  • Screenshots have to be in PNG format.
  • As far as I know, there's only 3 types of health bars in the game (player, boss, and normal enemy), and the program supports scanning all 3 types.
  • Program doesn't dynamically find the location of the healthbar. It's hardcoded based on resolution. The supported resolutions are 1280x720, 1920x1080, and 2560x1440. UI position and scaling needs to be default as well.
  • The game will sometimes show a flashing health bar where the colours are different. The program might fail to read the health bar from this kind of screenshot, so I suggest only taking screenshots when you've got a health bar which isn't animating in some way.
  • If the program doesn't work at all, try installing this: https://www.microsoft.com/en-us/download/details.aspx?id=29

As some examples, this is the tests I've done using the tool:
http://forum.blackdesertonline.com/index.php?/topic/123284-kzarka-vs-liverto-damage-test/
http://forum.blackdesertonline.com/index.php?/topic/124302-pve-damage-tests/
http://forum.blackdesertonline.com/index.php?/topic/126616-pve-accuracy-damage-test/

Edited by FluffyQuack
20 people like this

Share this post


Link to post
Share on other sites

Posted

Don't have time to test it out rightnow. But it looks pretty gud.

Will test it later today

Share this post


Link to post
Share on other sites

Posted

Did a small update. When using the "-scan" mode it'll now list health loss rather than current health. Download link is the same.

Share this post


Link to post
Share on other sites

Posted

your braces are on new lines... O.o

 

jk, will also check out later. thanks for sharing!

1 person likes this

Share this post


Link to post
Share on other sites

Posted

Works, this is great, thanks a lot. Will post several results soon :)

Share this post


Link to post
Share on other sites

Posted

I'm not that technical, but I'd like to be able to do use the -scan method. Can you help me out with how I do that?

  • Run the tool with the "-scan" command line argument (create a shortcut or batch file).

Share this post


Link to post
Share on other sites

Posted

I'm not that technical, but I'd like to be able to do use the -scan method. Can you help me out with how I do that?

  • Run the tool with the "-scan" command line argument (create a shortcut or batch file).
  • Right click exe and choose "Create Shortcut"
  • Right click shortcut and choose "Properties"
  • Write "-scan" at the end of the "Target" text field
  • Run shortcut

OR

  • Create a text file
  • Copy and paste this into text file: "BDgauge.exe -scan"
  • Rename text file to BDgauge.bat
  • Run bat file
1 person likes this

Share this post


Link to post
Share on other sites

Posted

Thank you!! Love the tool!

Share this post


Link to post
Share on other sites

Posted (edited)

Not sure what I should even call this tool, but this is something I made to help automate damage tests with different gear. I'm releasing it here in case other people would find it useful. I couldn't be bothered to create any UI, so it's a pure command line program.

It works by loading screenshots in the same directory, trying to read the health bar from them, and outputting information about them.

 

Hey FluffyQuack o./ 

Just started looking into using the tool, so naturally being me I test the crap out of things to full understand and vet what results I am getting.

First real test was 25 shots of a single ranged target, in between it's attacks no attacks used. This is what I got. Should the "Lowest Damage" read 0.0% as I assume it should?

Health bars detected: 25
Average damage: 0.0%
Highest damage: 0.0%
Lowest damage: 100.0%
Complete misses: 25
Total unique health bars: 1

Going back to do more tests, I am pretty excited once I get the hang of this thing it is going to be a little bit of awesome, thanks again. :)

 

Edited by GreenBeanDemon

Share this post


Link to post
Share on other sites

Posted

Hey FluffyQuack o./ 

Just started looking into using the tool, so naturally being me I test the crap out of things to full understand and vet what results I am getting.

First real test was 25 shots of a single ranged target, in between it's attacks no attacks used. This is what I got. Should the "Lowest Damage" read 0.0% as I assume it should?

Health bars detected: 25
Average damage: 0.0%
Highest damage: 0.0%
Lowest damage: 100.0%
Complete misses: 25
Total unique health bars: 1

Going back to do more tests, I am pretty excited once I get the hang of this thing it is going to be a little bit of awesome, thanks again. :)

 

Looks like the program read each health bar as full. Does that match up? "Lowest damage" definitely looks wrong, and there might be a bug in my code if every single hit is registered as a miss.

Share this post


Link to post
Share on other sites

Posted

Looks like the program read each health bar as full. Does that match up? "Lowest damage" definitely looks wrong, and there might be a bug in my code if every single hit is registered as a miss.

That was 25 pictures of the mobs health bar at 100% and me standing there trying to time them in between flashes mostly. So the 25 complete miss part is correct. 

Share this post


Link to post
Share on other sites

Posted

Running 1920x1080 FSW @ 90% interface scaling. Can't find health bars to read, could the scaling interfere?

 

Share this post


Link to post
Share on other sites

Posted

This tool is life,used to verify alot of things that have been tested other ways ty again ^.^

Share this post


Link to post
Share on other sites

Posted

Running 1920x1080 FSW @ 90% interface scaling. Can't find health bars to read, could the scaling interfere?

 

Yes, the scaling would interfere. It needs to be 100% scaling.

Share this post


Link to post
Share on other sites

Posted

Yes yes, this is a little bit of awesome. Fluffy if your on the NA version, please contact me if you would like anything from the GBDI Concession Stand ( any trade-able stuff from the Market ), it can come to you if you'd like. As a thanks for this thing.  

Share this post


Link to post
Share on other sites

Posted

Thanks for the offer, but not necessary (don't play on NA anyway). Just glad people are finding the program useful.

Share this post


Link to post
Share on other sites

Posted (edited)

I took a bunch of screenshots and didn't realize my UI had to be default (it's at 130% since I play in 1440p) so I took a look at your source code and modified the values based on my resolution. Works like a charm now and is a clever program.

Edited by Impact

Share this post


Link to post
Share on other sites

Posted

I've been using it when it was released, a really great tool that helped me do a number of tests without having to ask and rely on others and is pretty self sufficient.

Share this post


Link to post
Share on other sites

Posted

This....should be getting more use.

Share this post


Link to post
Share on other sites

Posted

This....should be getting more use.

People would rather tinfoil hat things than do actual meaningful tests.

1 person likes this

Share this post


Link to post
Share on other sites