Page 1 of 2 12 LastLast
Results 1 to 25 of 42

Thread: The Another DTM Editor. Public release. Still development.

  1. #1
    Join Date
    May 2012
    Location
    Moscow, Russia
    Posts
    661
    Mentioned
    35 Post(s)
    Quoted
    102 Post(s)

    Default The Another DTM Editor. Public release. Still development.

    Hello all. I present to you Another DTM Editor. Written in Delphi XE3, and compartible with a Simba Alghoritms. Already its a testing version, but, it can completely replace the current editor.

    UPDATED: 22.06.2015.

    Features:

    - Multi-DTM, you can create multiple DTMs in one session.;
    - Multi-Bitmap, you can use a multiple images for DTMmaking\testing;
    - Getting pixel by arrows;
    - fully compatible with Simba

    Screenshot:




    Snippet example:
    Simba Code:
    program DTMSnippet;

    var
    testDTM: integer;

    Procedure InitDTM;
    begin
    testDTM :=  DTMFromString('mggAAAHicY2NgYGgA4nogrgTiVigfxDYDYicgtgZiGyC2B2I7IP5QUsLwOiSE4Vt5OcMDIP0xK4vhXVISAy7AiANDAACVFQ69');
    end;

    procedure FreeDTM;
    begin
    FreeDTM(testDTM);
    end;

    The searching result in the separate window:





    The source code has been released now, you can found it here:

    https://github.com/CynicRus/dtmeditor

    Have fun!

    Application moved to the github!
    https://github.com/CynicRus/dtmeditor/releases/tag/0.9b

    Cheers,
    Cynic.
    Last edited by CynicRus; 06-22-2015 at 07:38 PM.
    Per aspera ad Astra!
    ----------------------------------------
    Slow and steady wins the race.

  2. #2
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    Holy WOWZA!
    Cynic is a BEAST of a coder, always making such amazing tools for the community, you are such a pro, thanks so much for all of your contributions to the SRL community!

  3. #3
    Join Date
    May 2007
    Location
    England
    Posts
    4,140
    Mentioned
    11 Post(s)
    Quoted
    266 Post(s)

    Default

    Once again, amazing work man. Grats on the release BTW!

    Quote Originally Posted by CynicRus View Post
    - Getting pixel by arrows;
    Oh, and I literally love you for that ^^
    <3

    Quote Originally Posted by Eminem
    I don't care if you're black, white, straight, bisexual, gay, lesbian, short, tall, fat, skinny, rich or poor. If you're nice to me, I'll be nice to you. Simple as that.

  4. #4
    Join Date
    Feb 2006
    Location
    Helsinki, Finland
    Posts
    1,395
    Mentioned
    30 Post(s)
    Quoted
    107 Post(s)

    Default

    As always Cynic, nice job once again!
    Glad to see you are back in action man.

  5. #5
    Join Date
    May 2012
    Location
    Moscow, Russia
    Posts
    661
    Mentioned
    35 Post(s)
    Quoted
    102 Post(s)

    Default

    Quote Originally Posted by Janilabo View Post
    As always Cynic, nice job once again!
    Glad to see you are back in action man.
    Ty, Mate!
    Per aspera ad Astra!
    ----------------------------------------
    Slow and steady wins the race.

  6. #6
    Join Date
    Mar 2013
    Location
    Freedomville.
    Posts
    155
    Mentioned
    2 Post(s)
    Quoted
    107 Post(s)

    Default

    Nice job. It works better than the built-in one, but doesn't seem to like my second monitor. Any target windows on the second screen will appear white on the captured image.

  7. #7
    Join Date
    May 2012
    Location
    Moscow, Russia
    Posts
    661
    Mentioned
    35 Post(s)
    Quoted
    102 Post(s)

    Default

    Quote Originally Posted by sdf View Post
    Nice job. It works better than the built-in one, but doesn't seem to like my second monitor. Any target windows on the second screen will appear white on the captured image.
    Heh. Sorry, but I don't have a second monitor for testing it
    Per aspera ad Astra!
    ----------------------------------------
    Slow and steady wins the race.

  8. #8
    Join Date
    Jan 2012
    Location
    Long Island, NY
    Posts
    413
    Mentioned
    5 Post(s)
    Quoted
    95 Post(s)

    Default

    Awesome release, I'll try this one out later. Cool to see the tools getting updated.

  9. #9
    Join Date
    May 2012
    Location
    Moscow, Russia
    Posts
    661
    Mentioned
    35 Post(s)
    Quoted
    102 Post(s)

    Default

    Surely no one has yet tested? Guys, I killed a week to develop, really in Community nobody else writes a scripts?
    Per aspera ad Astra!
    ----------------------------------------
    Slow and steady wins the race.

  10. #10
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

    Default

    Works great! I like how you can upload your image from file. I might have to remake the DTM part in my tutorial with updated pictures.

  11. #11
    Join Date
    Feb 2006
    Location
    Helsinki, Finland
    Posts
    1,395
    Mentioned
    30 Post(s)
    Quoted
    107 Post(s)

    Default

    Hey @CynicRus, I appreciate all the work you put into this project mate! Good work man.

    Here you go, I'll throw you some small suggestions:
    1. Add scrollbar for menu-stuff on the right-side of the DTM editor, because right now with smaller screens you cannot see all the fields (eg. Tolerance) - see this image. Pretty big poblem with laptops!
    2. When the DTM editor is resized, make it so that it resizes the image area (so the effect will be only for image area in size)
    3. Zoom feature, see Simba's current DTM editor from extensions (Image => Zoom)
    4. Does "List of images" TListBox really need all that Width? It only contains numbers, so there is plenty of "waste" in it - you could instead add some of the features next to it
    5. Get rid of that white area in Pixels image (zoom) - stretch the TImage(?) bigger, so that it removes the empty space
    6. New and Load buttons aren't same Height aren't aligned and even the height differs(!)
    7. Show Matching Colours feature might be good idea to add in too (old DTM editor contains it)
    8. Minimum height and width for DTM Editor window size (limits for resizing)

    Thanks for adding so many options for DTM Drawing color - fantastic.

    -Jani

  12. #12
    Join Date
    May 2012
    Location
    Moscow, Russia
    Posts
    661
    Mentioned
    35 Post(s)
    Quoted
    102 Post(s)

    Default

    Ty Jani!

    Well, i've fixed the form resizing, now it works correctly. Also mininimal size for the main form has been added.
    About Zoom feature: really somebody will use that?

    About suggestion ?5: can you explain that?

    Source code also released
    Per aspera ad Astra!
    ----------------------------------------
    Slow and steady wins the race.

  13. #13
    Join Date
    Feb 2006
    Location
    Helsinki, Finland
    Posts
    1,395
    Mentioned
    30 Post(s)
    Quoted
    107 Post(s)

    Default

    Quote Originally Posted by CynicRus View Post
    Ty Jani!

    Well, i've fixed the form resizing, now it works correctly. Also mininimal size for the main form has been added.
    About Zoom feature: really somebody will use that?

    About suggestion ?5: can you explain that?

    Source code also released
    Good changes mate. It is so much better now, cheers Cynic!

    Suggestion 5, Pixels looks like this to me:


    I would advice changing the minimal height slightly smaller, width is alright.
    > THIS is the reason why I suggest smaller height limit..

    Also, I can't see image scrollbars correctly. Basically, some of the vertical scrollbar bottom button is hidden and horizontal scrollbar is completely missing for me.
    > HERE is an image of DTM Editor in fullscreen to me, just to make it easier for you to see what is going on..

    -Jani

  14. #14
    Join Date
    May 2012
    Location
    Moscow, Russia
    Posts
    661
    Mentioned
    35 Post(s)
    Quoted
    102 Post(s)

    Default

    Quote Originally Posted by Janilabo View Post
    Good changes mate. It is so much better now, cheers Cynic!

    Suggestion 5, Pixels looks like this to me:


    I would advice changing the minimal height slightly smaller, width is alright.
    > THIS is the reason why I suggest smaller height limit..

    Also, I can't see image scrollbars correctly. Basically, some of the vertical scrollbar bottom button is hidden and horizontal scrollbar is completely missing for me.
    > HERE is an image of DTM Editor in fullscreen to me, just to make it easier for you to see what is going on..

    -Jani
    Sorry Jani, I cannot reproduce that
    Per aspera ad Astra!
    ----------------------------------------
    Slow and steady wins the race.

  15. #15
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

  16. #16
    Join Date
    May 2012
    Location
    Moscow, Russia
    Posts
    661
    Mentioned
    35 Post(s)
    Quoted
    102 Post(s)

    Default

    Quote Originally Posted by The Mayor View Post
    @CynicRus this is unusable on a low resolution. This laptop is 1366 x 768 and there is no way to view the color/tolerance
    Roger that! Will fix it soon!
    Per aspera ad Astra!
    ----------------------------------------
    Slow and steady wins the race.

  17. #17
    Join Date
    Mar 2012
    Location
    127.0.0.1
    Posts
    3,383
    Mentioned
    95 Post(s)
    Quoted
    717 Post(s)

    Default

    Is this happening to anyone else?


    Selecting the target, works on some things, not on others. Tried selecting SMART.

  18. #18
    Join Date
    May 2012
    Location
    Moscow, Russia
    Posts
    661
    Mentioned
    35 Post(s)
    Quoted
    102 Post(s)

    Default

    I do not observed of this behavior
    Per aspera ad Astra!
    ----------------------------------------
    Slow and steady wins the race.

  19. #19
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,421
    Mentioned
    268 Post(s)
    Quoted
    1442 Post(s)

    Default

    For some reason I cannot adjust the height; it seems to be locked, but no problems adjusting the width.

    Current projects:
    [ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]

    "I won't fall in your gravity. Open your eyes,
    you're the Earth and I'm the sky..."


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

    Default

    Quote Originally Posted by NKN View Post
    Is this happening to anyone else?


    Selecting the target, works on some things, not on others. Tried selecting SMART.
    Happens to me, too. Seems to work when I load image from target (having NOT selected a target), then select a target, then load image from target again.

    Suggestion: add a 'mark' button to the tolerance, so we can see what the script will see (like mark best color on ACA where it highlights in red)
    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

  21. #21
    Join Date
    May 2012
    Location
    Moscow, Russia
    Posts
    661
    Mentioned
    35 Post(s)
    Quoted
    102 Post(s)

    Default

    So, I updated the Editor, I think I fixed this error. Also I make a few tweaks\optimizations.

    Cheers,
    Cynic.
    Per aspera ad Astra!
    ----------------------------------------
    Slow and steady wins the race.

  22. #22
    Join Date
    Dec 2007
    Posts
    289
    Mentioned
    4 Post(s)
    Quoted
    86 Post(s)

    Default

    Quote Originally Posted by Rich View Post
    Oh, and I literally love you for that ^^
    I second this.

    Thanks for sharing - I'll give some feedback later, although if you don't hear from me you can assume everything is working fine.

  23. #23
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

    Default

    Hey @CynicRus

    Working great but I've got a few suggestions! I would prefer that the current colour be displayed underneath the pixels boxes, and not in the bar at the bottom. I tend to look at what colour I'm picking and it's hard to look back and forth.



    Also, you know for the Find DTM/Find DTMs debug, aren't the red crosses meant to appear on the DTM midpoint? They look a bit off? When you findDTM(dtm, x, y, etc.) in simba, will x and y be the center point of the DTM (first point), or the center of the red 'X'?


  24. #24
    Join Date
    May 2012
    Location
    Moscow, Russia
    Posts
    661
    Mentioned
    35 Post(s)
    Quoted
    102 Post(s)

    Default

    Quote Originally Posted by The Mayor View Post
    Hey @CynicRus

    Working great but I've got a few suggestions! I would prefer that the current colour be displayed underneath the pixels boxes, and not in the bar at the bottom. I tend to look at what colour I'm picking and it's hard to look back and forth.

    //
    Also, you know for the Find DTM/Find DTMs debug, aren't the red crosses meant to appear on the DTM midpoint? They look a bit off? When you findDTM(dtm, x, y, etc.) in simba, will x and y be the center point of the DTM (first point), or the center of the red 'X'?
    Ty for the issue I think, I will implement that soon
    Per aspera ad Astra!
    ----------------------------------------
    Slow and steady wins the race.

  25. #25
    Join Date
    May 2012
    Location
    Moscow, Russia
    Posts
    661
    Mentioned
    35 Post(s)
    Quoted
    102 Post(s)

    Default

    New feature added:



    The results offset bug is also fixed

    Ty The Mayor!
    Last edited by CynicRus; 07-10-2014 at 08:28 AM.
    Per aspera ad Astra!
    ----------------------------------------
    Slow and steady wins the race.

Page 1 of 2 12 LastLast

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
  •