Results 1 to 3 of 3

Thread: Any good Color detection tools in C++?

  1. #1
    Join Date
    Jan 2014
    Posts
    58
    Mentioned
    1 Post(s)
    Quoted
    37 Post(s)

    Question Any good Color detection tools in C++?

    Hey there.

    Throughout my scripting "history" with Simba, I found it has some real useful resources. I talk specifically about color detection stuff like "FindColor(SpiralTolerance)", etc.

    I haven't been playing Runescape for a long time, but I would still have use for such great stuff.

    Does anybody know if there are similar resources in C++, OR if it is possible to use Simba (SRL) to interact with an unrelated window and still have the non-runescape-specific methods work with it?

  2. #2
    Join Date
    Dec 2011
    Location
    East Coast, USA
    Posts
    4,231
    Mentioned
    112 Post(s)
    Quoted
    1869 Post(s)

    Default

    It's completely possible to have Simba interact with any window. Its uses aren't limited to RuneScape.

    You can check out the documentation for Simba's "core" functions that the SRL includes are based off of - be prepared to use these in creating routines for your own use.
    GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!

    <BenLand100> we're just in the transitional phase where society reclassifies guns as Badâ„¢ before everyone gets laser pistols

  3. #3
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    Simba can work with any window and you don't have to use RS specific methods. Just use the core API's.

    As for libraries in C++.. I'd avoid anything that isn't OpenCV.. If you really want to stray away from Simba then..


    OpenCV is the best! "but" @Dgby714; and myself, also wrote a CMML project a while back..

    https://github.com/JohnPeel/CMML - Original project by Dgby. Not sure if his git is updated though.
    https://github.com/Brandon-T/CMML/bl...clude/bitmap.h



    It's actually really easy to use and since it's C, it will work in C++. Cross-platform too. Just write a wrapper for it so that it frees stuff in the destructor. That way you won't have to free anything..

    The reason there is bitmap_from_24bit_string and bitmap_from_32bit_string was to support the alpha channel and still be compatible with Simba's bitmap strings.


    Otherwise, just stick with Simba.
    Last edited by Brandon; 01-28-2015 at 11:55 PM.
    I am Ggzz..
    Hackintosher

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •