• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
RetroPie forum home
  • Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

Taking an actual screenshot?

Scheduled Pinned Locked Moved Help and Support
40 Posts 11 Posters 36.9k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B
    briankross @Floob
    last edited by 19 Jun 2016, 18:47

    @Floob said in Taking an actual screenshot?:

    Thats odd. Can you put a copy of your opt/retropie/configs/all/retroarch.cfg on pastebin.com?

    Yes, thank you for checking it out.

    /opt/retropie/configs/all/retroarch.cfg

    • Brian
    1 Reply Last reply Reply Quote 0
    • D
      dankcushions Global Moderator
      last edited by 19 Jun 2016, 19:06

      
      # Directory to dump screenshots to.
      screenshot_directory = /home/pi/RetroPie/MyScreenshots
      

      needs quotes. should be:

      
      # Directory to dump screenshots to.
      screenshot_directory = "/home/pi/RetroPie/MyScreenshots"
      

      also, does the directory exists and do you have write-access?

      also, i probably wouldn't use the function keys as mame already uses them for things, so every time you take a screenshot with f8 you'll be activating some mame option (i think possibly to do with frameskip).

      B 1 Reply Last reply 19 Jun 2016, 19:40 Reply Quote 0
      • B
        briankross @dankcushions
        last edited by briankross 19 Jun 2016, 19:40

        @dankcushions

        Thanks, I made the change! This makes sense for directories.

        Great point about the F8 key for mame games. I'll have a look for which keys may be unused, do you have a suggestion that's good for lr-mame2003 and lr-nestopia?

        Permissions for the directory is 755, created by root.

        • Brian
        D 1 Reply Last reply 19 Jun 2016, 20:07 Reply Quote 0
        • D
          dankcushions Global Moderator @briankross
          last edited by 19 Jun 2016, 20:07

          @briankross said in Taking an actual screenshot?:

          @dankcushions

          Thanks, I made the change! This makes sense for directories.

          Great point about the F8 key for mame games. I'll have a look for which keys may be unused, do you have a suggestion that's good for lr-mame2003 and lr-nestopia?

          i think 'p' is the default in retroarch, so that would be my preference :)

          Permissions for the directory is 755, created by root.

          755 is fine if it is owned by the pi user.. but i guess will be a problem if not.

          B 1 Reply Last reply 19 Jun 2016, 20:20 Reply Quote 0
          • B
            briankross @dankcushions
            last edited by 19 Jun 2016, 20:20

            @dankcushions

            I just uncommented the retroarch.cfg screenshot line and it was already set to f8. It looks like input_pause_toggle is set to p, but is commented out.

            I've tried print_screen and "print_screen", neither work.

            • Brian
            D 1 Reply Last reply 19 Jun 2016, 20:22 Reply Quote 0
            • D
              dankcushions Global Moderator @briankross
              last edited by 19 Jun 2016, 20:22

              @briankross said in Taking an actual screenshot?:

              @dankcushions

              I just uncommented the retroarch.cfg screenshot line and it was already set to f8. It looks like input_pause_toggle is set to p, but is commented out.

              I've tried print_screen and "print_screen", neither work.

              my mistake! f8 is the default key.. hmm, i dunno what i would use in that case... i take screenshots via the RGUI when i need to.

              B 1 Reply Last reply 19 Jun 2016, 20:25 Reply Quote 0
              • B
                briankross @dankcushions
                last edited by 19 Jun 2016, 20:25

                @dankcushions said in Taking an actual screenshot?:

                @briankross said in Taking an actual screenshot?:

                @dankcushions

                I just uncommented the retroarch.cfg screenshot line and it was already set to f8. It looks like input_pause_toggle is set to p, but is commented out.

                I've tried print_screen and "print_screen", neither work.

                my mistake! f8 is the default key.. hmm, i dunno what i would use in that case... i take screenshots via the RGUI when i need to.

                When I use the quick menu from RGUI, it kicks me out of the game.

                • Brian
                D 1 Reply Last reply 19 Jun 2016, 20:29 Reply Quote 0
                • D
                  dankcushions Global Moderator @briankross
                  last edited by 19 Jun 2016, 20:29

                  @briankross that's very odd. anything in /tmp/runcommand.log when that happens?

                  all this stuff should 'just work'

                  B 1 Reply Last reply 19 Jun 2016, 21:10 Reply Quote 0
                  • B
                    briankross @dankcushions
                    last edited by briankross 19 Jun 2016, 21:10

                    @dankcushions said in Taking an actual screenshot?:

                    @briankross that's very odd. anything in /tmp/runcommand.log when that happens?

                    all this stuff should 'just work'

                    Edit: url in pastebin.com
                    Here's the log.

                    I ran Contra (nes), pressed select + x on a SNES gamepad to reach the RGUI, quick menu, take a screenshot.

                    • Brian
                    D 1 Reply Last reply 19 Jun 2016, 21:14 Reply Quote 0
                    • D
                      dankcushions Global Moderator @briankross
                      last edited by 19 Jun 2016, 21:14

                      @briankross i thought you said quick menu crashed? if it's crashing when you create a screenshot i think maybe it's that permissions problem i mentioned earlier... but not sure. IMO it would have been best to test they work in the default directories before changing them.

                      B 1 Reply Last reply 19 Jun 2016, 21:19 Reply Quote 0
                      • B
                        briankross @dankcushions
                        last edited by 19 Jun 2016, 21:19

                        @dankcushions said in Taking an actual screenshot?:

                        @briankross i thought you said quick menu crashed? if it's crashing when you create a screenshot i think maybe it's that permissions problem i mentioned earlier... but not sure. IMO it would have been best to test they work in the default directories before changing them.

                        Doing what I mentioned above kicks me from the game back to Emulation Station.

                        There were no directories set previously.

                        Here's the original retroarch.cfg entries:

                        # Take screenshot
                        # input_screenshot = f8
                        
                        # Directory to dump screenshots to.
                        # screenshot_directory =
                        
                        • Brian
                        herb_fargusH 1 Reply Last reply 19 Jun 2016, 21:20 Reply Quote 0
                        • herb_fargusH
                          herb_fargus administrators @briankross
                          last edited by 19 Jun 2016, 21:20

                          @briankross if you don't set the directories I think it just dumps them in the home directory.

                          If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

                          Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

                          UDb23U 1 Reply Last reply 31 Jul 2016, 08:28 Reply Quote 0
                          • UDb23U
                            UDb23 @herb_fargus
                            last edited by UDb23 31 Jul 2016, 08:28

                            @herb_fargus
                            Screenshots taken thru RGUI are saved in the home/pi/.config/retroarch/screenshots/ folder.
                            I think it's default as I have never set any screeshot_directory parameter.
                            Just tested with lr-mame 2003 (retropie 3.8.1).

                            RGUI takes a screenshot of the actual game screen area; it is not including bezel (when you enter RGUI the bezel is no longer shown). Does anybody know how to get also the bezel ?

                            R FloobF 2 Replies Last reply 31 Jul 2016, 12:00 Reply Quote 0
                            • R
                              RetroResolution @UDb23
                              last edited by RetroResolution 31 Jul 2016, 12:00

                              @UDb23 hi,
                              If you use raspi2png (I covered this earlier in the thread I think - it was a while ago!), it grabs the entire GPU frame buffer as a .PNG file, so you'll get everything that is on-screen.

                              [Edit: 4th post down in this thread, covers installing and using raspi2png]

                              If a post has helped you, please encourage the author by up-voting via the ^ icon located in the bottom-right corner.

                              RetroResolution.com - Adventures in retro gaming on original hardware and via emulation with RetroPie on the Raspberry Pi.

                              UDb23U 1 Reply Last reply 1 Aug 2016, 21:02 Reply Quote 0
                              • FloobF
                                Floob @UDb23
                                last edited by 31 Jul 2016, 13:46

                                @UDb23 You can keep the bezel in RGUI with an option in there - its under the overlay section, and something like "keep overlay in RGUI"
                                Not sure if that will help include it in the screenshot though.

                                Please read the Docs before asking a new question.
                                RetroPie Help Guides: https://goo.gl/3gcNsT

                                1 Reply Last reply Reply Quote 1
                                • B
                                  briankross
                                  last edited by 31 Jul 2016, 13:48

                                  Just wanted to jump in with a quick question.

                                  Is "raspi2png" the only option if not using retroarch based emulators? (I hope I said that right!)

                                  • Brian
                                  R 1 Reply Last reply 31 Jul 2016, 15:07 Reply Quote 0
                                  • R
                                    RetroResolution @briankross
                                    last edited by 31 Jul 2016, 15:07

                                    @briankross it all depends on the emulator. The Atari ST emulator, Hatari, for example, has an in-built screen-grab (and Audi/video recording) facility. The Atari 8-bit emulator, Atari800, provides a screen shot feature.

                                    If a post has helped you, please encourage the author by up-voting via the ^ icon located in the bottom-right corner.

                                    RetroResolution.com - Adventures in retro gaming on original hardware and via emulation with RetroPie on the Raspberry Pi.

                                    B 1 Reply Last reply 31 Jul 2016, 15:09 Reply Quote 1
                                    • B
                                      briankross @RetroResolution
                                      last edited by 31 Jul 2016, 15:09

                                      @RetroResolution said in Taking an actual screenshot?:

                                      @briankross it all depends on the emulator. The Atari ST emulator, Hatari, for example, has an in-built screen-grab (and Audi/video recording) facility. The Atari 8-bit emulator, Atari800, provides a screen shot feature.

                                      Ah, nice thanks! My goal is to assign a button on the console to take a screenshot. I'll continue researching.

                                      • Brian
                                      R 1 Reply Last reply 31 Jul 2016, 15:17 Reply Quote 1
                                      • R
                                        RetroResolution @briankross
                                        last edited by 31 Jul 2016, 15:17

                                        @briankross cool, but bear in mind that for non libretro-core (non-retroarch) emulators assigning custom controller buttons can be tricky - it all depends in whether the emulator allows custom configuration (or if a controller-to-keypress tool can be used).
                                        For the Atari800 emulator I located a retroarch port that somebody shared on github, compiled that on my Pi, and integrated it into emulation station so I could easily grab screens and record footage using retroarch.

                                        If a post has helped you, please encourage the author by up-voting via the ^ icon located in the bottom-right corner.

                                        RetroResolution.com - Adventures in retro gaming on original hardware and via emulation with RetroPie on the Raspberry Pi.

                                        1 Reply Last reply Reply Quote 1
                                        • edmaul69E
                                          edmaul69 @RetroResolution
                                          last edited by 1 Aug 2016, 06:55

                                          @RetroResolution where does raspi2png save the screenshots to?

                                          R 1 Reply Last reply 1 Aug 2016, 14:37 Reply Quote 0
                                          • First post
                                            Last post

                                          Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                                          Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.

                                            [[user:consent.lead]]
                                            [[user:consent.not_received]]