Master More Debug Tool v.1.5

Discussion in 'JS Plugin Releases (RMMV)' started by Jonforum, Feb 13, 2017.

  1. Jonforum

    Jonforum Veteran Veteran

    Messages:
    1,574
    Likes Received:
    1,339
    Location:
    Canada / Québec
    First Language:
    French
    Primarily Uses:
    RMMV
    Sans-titre-1 (1).png
    Master More Debug Tool

    Introduction
    Display a quantity of cool debugging information directly in the windows bar.
    I had made the plugin for me at the base, but I share it.

    The idea is are allowing to have all the most sought after information in the title bar.
    You can debug all most important feature and advance in your project very quickly.
    Each features cants be enabled or disables
    depending you game developments need and work.
    Very powerful for a projects using a lot of pictures.
    Have fun

    Cool Features you can turn On/Off
    • Debug the live screen xy mouse
    • Debug the canvas tileset xy with mouse
    • Debug the reel XY for easy use BindPicturesToMap plugin
    • Debug region id with mouse
    • Debug EventID and Name with mouse
    • Debug the player position on map
    • Debug the regions on player
    • Debug Total live event on map
    • Debug Memory megabyte Performance with chromium API, flag need(--enable-precise-memory-info)
    • You can Edit the Ms Refesh rate for the tool Debug (Depending on CPU)
    • You can active fun visual Unicode icon in bar
    • Work in the Title scene and with menu
    • you can Hide the title in the bar to get more space for debug feature
    • Debug Live Games Variables in bar (v.1.2)
    • Debug arrow square passability (v.1.3)
    • Grip a picture to mouse and easily get x,y for Debug. Use this function grip(Pid,target); in console (v.1.4.1)
    • ADD CPU usage % in Winbar (v.1.5)
    Preview
    bar afasf.gif
    bar afasf.gif

    How to Use

    1. download and install in Plugin directory
    2. Push the plugin at the end of plugin list
    3. Mark true/false to active feature
    4. enjoy

    How to Use feature: Square Arrows, passability Debug?

    1. add the picture Debug-Rec.png in the picture folder \img\pictures
    2. Make sure you have the plugin TDDP_BindPicturesToMap
    3. Set a picture ID in the plugin option to active the feature
    Preview Square Arrows Debug
    debugpassable.gif


    How to Use feature: Grab picture to mouse ?

    1. Open the console debug (F8)
    2. insert this function with the id of the picture and the target : grip(ID, target);
    3. Code:
      // ID: id of the picture you want to grip
      // target: 0:topleft 1:center
      ex:  grip(5, 1);
      // this grip the picture 5 center to mouse
      
    Preview Grab picture to mouse
    ezgif.com-gif-maker.gif



    Download
    v.1.0 : initial release
    v.1.1 : Fix forget console Log and Code formatting
    v.1.2 : Add Live Rmmv variable feature
    v.1.3 : Add arrow square and debug passability
    v.1.4 : Add Grab picture to mouse in console
    V.1.4.1: Fix BUG when skip title
    V.1.5 : Add CPU% usage feature
    download:

    https://mega.nz/#!NEQU2KJL!tcdsdbDI3ELcrC41N7rn8D3pOppmiVB6UzM-B4Cny58

    Your comments are welcome.
    Terms of use

    MIT

    if you have sugest improve code, i will credit you, thank to share.
     
    Last edited: Dec 22, 2017
    #1
    LittleSY, waynee95, KaYsEr and 5 others like this.
  2. Lear

    Lear Veteran Veteran

    Messages:
    56
    Likes Received:
    11
    Wow, this is impressive. Thanks for sharing this!
     
    #2
  3. Jonforum

    Jonforum Veteran Veteran

    Messages:
    1,574
    Likes Received:
    1,339
    Location:
    Canada / Québec
    First Language:
    French
    Primarily Uses:
    RMMV
    Tanks, for now the plugin are final.


    I tried with the maximum possible plugin, and did not cause any problems.
    However, if some programmer will have some idea to approach the memory principle.
    About my information, it may be that the memory is not direct, because of the chromium API to use.
    According to the google, thecnicien told me, it will require a solution so that RMMV includes this parameter flag --enable-precise-memory-info
    It would appear to be a security measure even locally.

    So you get the memory, but she not update
    I'm not sure but I think the solution is in the Json in software directory.
    C\Program Files (x86)\KADOKAWA\RPGMV\nwjs-win
    in JS flag
    Code:
    {
        "name": "KADOKAWA/RPGMV",
        "main": "www/index.html",
        "js-flags": "--expose-gc",
        "window": {
            "title": "",
            "toolbar": false,
            "width": 816,
            "height": 624,
            "icon": "www/icon/icon.png"
        }
    }
    
    If a DEV has an idea?
     
    Last edited: Feb 17, 2017
    #3
  4. Jonforum

    Jonforum Veteran Veteran

    Messages:
    1,574
    Likes Received:
    1,339
    Location:
    Canada / Québec
    First Language:
    French
    Primarily Uses:
    RMMV
    Update: Fix V.1.4.1: Fix BUG when skip title
    You can now skip title and plugin will work
     
    #4
  5. Jonforum

    Jonforum Veteran Veteran

    Messages:
    1,574
    Likes Received:
    1,339
    Location:
    Canada / Québec
    First Language:
    French
    Primarily Uses:
    RMMV
    You can now Debug the CPU USAGE from your CPU in the ToolBAR
    put the update MS to 350 ms for better reliability
    agvsrghsdrthcpu.png
     
    #5
    FDSuprema likes this.

Share This Page