Orange Screenshot Saver

Discussion in 'JS Plugin Releases (RMMV)' started by Hudell, Nov 6, 2015.

  1. Hudell

    Hudell Dog Lord Veteran

    Messages:
    3,310
    Likes Received:
    2,902
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    Orange Screenshot Saver 1.0
    Hudell
    Introduction
    This plugin will automatically save screenshots in a "Screenshots" folder inside the game every time the player presses the "printscreen" button.

    When playtesting, the Screenshots folder will be created inside MV folder:
    Code:
    C:\Program Files (x86)\Steam\steamapps\common\RPG Maker MV\nwjs-win\Screenshots
    Plugin
    Get it from here

    License
    Free for any game.

    Credit and Thanks
    - Hudell
     
    Last edited by a moderator: Nov 6, 2015
    #1
    enlaccza, momiage, Archeia and 10 others like this.
  2. hermesisdead

    hermesisdead Villager Member

    Messages:
    13
    Likes Received:
    1
    First Language:
    English
    This is a really useful tool :) thanks!
     
    #2
    Hudell likes this.
  3. Kane Hart

    Kane Hart Elmlor.com Veteran

    Messages:
    656
    Likes Received:
    165
    Location:
    Barrie, Ontario, Canada
    First Language:
    English
    don't you need eval to save there? Also not everyone will have steam :p

    Great idea though.
     
    #3
    Hudell likes this.
  4. Hudell

    Hudell Dog Lord Veteran

    Messages:
    3,310
    Likes Received:
    2,902
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    It will be inside their MV folder regardless of where that is. On deployed games, it will be saved inside the game folder.
     
    #4
  5. Galenmereth

    Galenmereth I thought what I'd do was Veteran

    Messages:
    2,206
    Likes Received:
    1,904
    Location:
    Norway
    First Language:
    English
    Primarily Uses:
    RMMV
    This will not work on web deployed games though, just a heads up, since they won't be running nwjs :)
     
    #5
    Hudell likes this.
  6. Hudell

    Hudell Dog Lord Veteran

    Messages:
    3,310
    Likes Received:
    2,902
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    That's true, I forgot to mention it on the post. Web deployed games also don't have a folder on the player side to save the screenshots on.

    I can, however, trigger an image download popup window if anybody is interested in that.
     
    #6
  7. HeroicJay

    HeroicJay Veteran Veteran

    Messages:
    307
    Likes Received:
    173
    First Language:
    English
    Primarily Uses:
    RMMV
    All said, though, this will be a great tool for game creators trying to get help with debugging or just showing off their creations, and since I wasn't sure how to save bitmaps to files in MV myself, I can use the code to help with a creation tool I'd been working on if you don't mind (it wouldn't be part of my published game anyway.)
     
    #7
    Hudell likes this.
  8. Hudell

    Hudell Dog Lord Veteran

    Messages:
    3,310
    Likes Received:
    2,902
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    Yup. I had to do some research to lear how to save the images and I imagined that this plugin would also be useful for people wanting to do the same in other situations, so feel free to use the same code snippet.

    Maybe I should add this method to MVC.
     
    #8
    ?????? likes this.
  9. estriole

    estriole Veteran Veteran

    Messages:
    1,030
    Likes Received:
    334
    First Language:
    indonesian
    please create MapShot script next :D . :D :D... :p .
     
    #9
    Hudell likes this.
  10. Hudell

    Hudell Dog Lord Veteran

    Messages:
    3,310
    Likes Received:
    2,902
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    I think someone else may be working on this already.
     
    #10
    estriole likes this.
  11. HeroicJay

    HeroicJay Veteran Veteran

    Messages:
    307
    Likes Received:
    173
    First Language:
    English
    Primarily Uses:
    RMMV
    Actually, if you mean what I think you mean, "MapShot" was sortakinda the tool I was working on that I alluded to earlier.
     

    My existing version just prints the map to the screen, overriding the game itself - with the intent of "Print Screen"ing it to paste into an image editor. Using some of the code in Hudell's plugin, I can make an actual image file out of it directly without that mess.

    (Not for a few hours, though - I only work on RPG Maker on evenings and weekends.)
     
    Last edited by a moderator: Nov 7, 2015
    #11
    Hudell likes this.
  12. Hudell

    Hudell Dog Lord Veteran

    Messages:
    3,310
    Likes Received:
    2,902
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    I already found the bitmaps with the map layers, I just need to mix them into a single image and save it to a file :)
     
    #12
  13. HeroicJay

    HeroicJay Veteran Veteran

    Messages:
    307
    Likes Received:
    173
    First Language:
    English
    Primarily Uses:
    RMMV
    Hm, actually, I think we might be talking about different types of "MapShots" here. Mine are just minimaps, where one tile is translated into a pixel whose color is based on its passability. I rigged up the plugin so I could easily create a minimap to display in the corner of the screen on the world map.
     
    #13
    Hudell likes this.
  14. Hudell

    Hudell Dog Lord Veteran

    Messages:
    3,310
    Likes Received:
    2,902
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    Ah, yes, I was talking about exporting the whole map to an image file.
     
    #14
  15. Woratana

    Woratana Veteran Veteran

    Messages:
    101
    Likes Received:
    98
    First Language:
    Thai
    Awesome !! :D

    I didn't realized MV is on Node.JS o__O

    // EDIT:

    Sorry, my bad :( Just reading the comments to realized that it will only work while test playing. That makes sense.
     
    Last edited by a moderator: Nov 7, 2015
    #15
  16. Hudell

    Hudell Dog Lord Veteran

    Messages:
    3,310
    Likes Received:
    2,902
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    It also works on Windows and Mac deployed games.
     
    #16
    Woratana likes this.
  17. ArkDG

    ArkDG Veteran Veteran

    Messages:
    143
    Likes Received:
    45
    First Language:
    portuguese
    @Hudell

    Have you discovered a way to use this function even on web deployed games? 
    And what can I do to change the size/resolution of the saved picture? I'm using your method in a plugin of mine, and I wish I could save it with a "samaller" file size. (256 x 143 to be exactly)

    [​IMG]
    I'll be posting this plugin and send you the link so you can see it.
    Tks in advance.
     
    Last edited by a moderator: Nov 25, 2015
    #17
  18. Hudell

    Hudell Dog Lord Veteran

    Messages:
    3,310
    Likes Received:
    2,902
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    For web games, I can make it trigger a file download. Resizing is simple to add too.
     
    #18
    EnMod likes this.
  19. ArkDG

    ArkDG Veteran Veteran

    Messages:
    143
    Likes Received:
    45
    First Language:
    portuguese
    Hmmmm but would it work on deployed mobile versions of the game? Cause in the actual way it do not works (I'm extracting and testing in my phone)
    If yes, how would we do this happens? And I will need to know where the file is to load it to the scene_file windows. haha

    And how do we resize the picture?

    I'm still working on the topic for my plugin.
    Thank you for the atention! ^^
     
    #19
  20. Hudell

    Hudell Dog Lord Veteran

    Messages:
    3,310
    Likes Received:
    2,902
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    Ah, now I understand what you want, this is not the plugin for that.


    In your case, it would probably be best to save the screenshot inside the save file.
     
    #20

Share This Page