Results 1 to 8 of 8

Thread: Capturing map data from rs

  1. #1
    Join Date
    Nov 2012
    Location
    OKC
    Posts
    123
    Mentioned
    5 Post(s)
    Quoted
    56 Post(s)

    Default Capturing map data from rs

    I am wanting to write a program in java that can capture the map data from the minimap before it is displayed to the user. I want to make this in java to make SPS maps without the minimap icons and dots. Which shift along with the map making it near impossible to stitch together.

    If anyone could walk me through this or point me in the right direction that would be great. Or you can give me the name of what this technique is called so i can search it myself.

    I have heard this can be done using opengl hooks(not sure what that means) in c++.

    But i know java has JOGL so i should be able to use that. (if not please explain why)

  2. #2
    Join Date
    Dec 2011
    Posts
    2,147
    Mentioned
    221 Post(s)
    Quoted
    1068 Post(s)

  3. #3
    Join Date
    Sep 2012
    Location
    Netherlands
    Posts
    2,752
    Mentioned
    193 Post(s)
    Quoted
    1468 Post(s)

    Default

    if you want it for osr, i got a snippet for you

  4. #4
    Join Date
    Mar 2013
    Posts
    1,010
    Mentioned
    35 Post(s)
    Quoted
    620 Post(s)

    Default

    Quote Originally Posted by hoodz View Post
    if you want it for osr, i got a snippet for you
    Not sure if you've seen this; https://github.com/WarPie/RSWalker/b...pGrabber.simba
    #slack4admin2016
    <slacky> I will build a wall
    <slacky> I will ban reflection and OGL hooking until we know what the hell is going on

  5. #5
    Join Date
    Sep 2012
    Location
    Netherlands
    Posts
    2,752
    Mentioned
    193 Post(s)
    Quoted
    1468 Post(s)

    Default

    Quote Originally Posted by Hawker View Post
    yes i saw that

  6. #6
    Join Date
    Nov 2012
    Location
    OKC
    Posts
    123
    Mentioned
    5 Post(s)
    Quoted
    56 Post(s)

    Default

    Quote Originally Posted by Clarity View Post
    I was looking for that. Thanks. But I would still like to learn to make things like that. Could help me developed some programming skills

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

    Default

    Quote Originally Posted by o0Matthius0o View Post
    I was looking for that. Thanks. But I would still like to learn to make things like that. Could help me developed some programming skills
    That thread contains a snippet & instructions on using Brandon's OpenGL plugin to accomplish exactly what BMWxi did with his SPS World Map project, check them out if you want to learn
    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

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

    Default

    Quote Originally Posted by o0Matthius0o View Post
    I want to write a program in java..

    Take a look at (Java client that hooks OpenGL): http://rs-hacking.com/forum/index.ph...client-source/

    The word you are looking for is "Detouring".

    To hook the map you need to hook 4 functions:

    - glBindTexture
    - glTexImage2D
    - glPixelStoreI
    - glVertex2f

    The Simba plugin already provides such mechanisms. You can write a port to load it in Java and just use that as your underlying base.. Unless you truly want a pure Java solution.
    Last edited by Brandon; 03-06-2015 at 11:33 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
  •