The above video goes away if you are a member and logged in, so log in now!




 
Would you like to get all the newest Gaming News from
QJ.NET in your email each day?




Want to learn more about the team who brings you the QJ news?

Read about them now!

 


Page 1 of 2 1 2 LastLast
Results 1 to 30 of 43

Mootjeuh/PCT's Screenshot Plugin

This is a discussion on Mootjeuh/PCT's Screenshot Plugin within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; Hi all, today the Team PCT contacted me and asked me if I could create a plugin that takes screenshots ...

  
  1. #1
    QJ Gamer Gold
    Points: 9,490, Level: 65
    Level completed: 47%, Points required for next Level: 160
    Overall activity: 0%

    Join Date
    Nov 2008
    Location
    CAD
    Posts
    692
    QJ Pts
    9,490
    Level
    65
    Downloads
    18
    Uploads
    4

    Default Mootjeuh/PCT's Screenshot Plugin

    Hi all,
    today the Team PCT contacted me and asked me if I could create a plugin that takes screenshots while in the XMB and in-game.
    This one takes screenshots in jpeg format, because it's in a much better quality than png images and almost the same size.
    So just to be clear, I coded this, but the Team PCT gave me the idea.
    Of course there will be updates, and they will be much more better than this basic plugin.

    YOU NEED TO PULL THE L-TRIGGER TO TAKE A SCREENSHOT


    Anyway, download's attached. Enjoy!

    btw, a new libVSH is coming;)
    Attached Files Attached Files
    Last edited by mootjeuh; 02-18-2010 at 04:33 PM.

  2. #2
    Lua Coder
    Points: 11,989, Level: 71
    Level completed: 85%, Points required for next Level: 61
    Overall activity: 0%

    Join Date
    Jan 2008
    Location
    Iowa
    Posts
    834
    QJ Pts
    11,989
    Level
    71
    My Mood
    Busy
    Downloads
    2
    Uploads
    0

    Default

    no read-me? other than that nice job, any chance that we can custimize the name and save location? (and have more than one pic )

  3. #3
    QJ Gamer Gold
    Points: 17,453, Level: 84
    Level completed: 21%, Points required for next Level: 397
    Overall activity: 0%

    Join Date
    Jul 2005
    Location
    everywhere
    Posts
    3,526
    QJ Pts
    17,453
    Level
    84
    Downloads
    1
    Uploads
    0

    Default

    Quote Originally Posted by mootjeuh View Post
    This one takes screenshots in jpeg format, because it's in a much better quality than png images and almost the same size.
    png is a lossless format, which means you do not lose quality(and since it's a screenshot, you cannot get a better quality by changing formats)
    1. Failed....again...
    2. http://slicer.gibbocool.com/ stay updated on all my projects
    3. it'll be 5 years in june, that's nearly 1/4 of my life on this planet that i've visited these forums, what a ride it has been

  4. #4
    QJ Gamer Gold
    Points: 9,490, Level: 65
    Level completed: 47%, Points required for next Level: 160
    Overall activity: 0%

    Join Date
    Nov 2008
    Location
    CAD
    Posts
    692
    QJ Pts
    9,490
    Level
    65
    Downloads
    18
    Uploads
    4

    Default

    Quote Originally Posted by cmbeke View Post
    no read-me? other than that nice job, any chance that we can custimize the name and save location? (and have more than one pic )
    a readme? ah crap I forgot, you need to pull the left trigger to take a screenshot, sorry;)
    like I said, there'll be more releases with much more features (config file, multiple destination formats, ...)

    Quote Originally Posted by slicer4ever View Post
    png is a lossless format, which means you do not lose quality(and since it's a screenshot, you cannot get a better quality by changing formats)
    I don't know, when I tried taking a screenshot with the libpng, you could really see the difference between one taken with the libjpeg.

  5. #5
    QJ Gamer Gold
    Points: 17,453, Level: 84
    Level completed: 21%, Points required for next Level: 397
    Overall activity: 0%

    Join Date
    Jul 2005
    Location
    everywhere
    Posts
    3,526
    QJ Pts
    17,453
    Level
    84
    Downloads
    1
    Uploads
    0

    Default

    Quote Originally Posted by mootjeuh View Post
    I don't know, when I tried taking a screenshot with the libpng, you could really see the difference between one taken with the libjpeg.
    than you were doing something wrong
    1. Failed....again...
    2. http://slicer.gibbocool.com/ stay updated on all my projects
    3. it'll be 5 years in june, that's nearly 1/4 of my life on this planet that i've visited these forums, what a ride it has been

  6. #6
    I'm back!
    Points: 8,236, Level: 61
    Level completed: 29%, Points required for next Level: 214
    Overall activity: 99.0%

    Join Date
    Feb 2007
    Location
    England
    Posts
    902
    QJ Pts
    8,236
    Level
    61
    Downloads
    0
    Uploads
    0

    Default

    PNG is a much better quality than JPG, although it becomes less noticeable when you save at quality level 10.

    I can't test it (no PSP anymore...) so I may have the wrong end of the stick, but this will be taking screenshots every time a game requires me to press the left trigger? Seems poor design to me. Again not being able to test I may be wrong, but using JPG will cause some delay as the system is having to compress the image, using libjpeg and libpng also raises the entire output size, I'd personally be more inclined to use BMP/TGA like Fraps does. Other than that I'm sure people would appreciate having the ability to take in-game screenshots, I know I love waving my Crysis screenshots ;)
    Last.fm | Deviant Art | First working OS picture

    Quote Originally Posted by nickxab View Post
    I will beat myself. :p

  7. #7
    QJ Gamer Silver
    Points: 6,345, Level: 51
    Level completed: 98%, Points required for next Level: 5
    Overall activity: 0%

    Join Date
    May 2009
    Posts
    459
    QJ Pts
    6,345
    Level
    51
    My Mood
    Happy
    Downloads
    0
    Uploads
    0

    Default

    Agree with Auraomega.. Having L-trigger as the screen shot option in game is not a good idea.

    I would go with the note button.

    nice plugin btw

  8. #8
    I'm back!
    Points: 8,236, Level: 61
    Level completed: 29%, Points required for next Level: 214
    Overall activity: 99.0%

    Join Date
    Feb 2007
    Location
    England
    Posts
    902
    QJ Pts
    8,236
    Level
    61
    Downloads
    0
    Uploads
    0

    Default

    I'd be more inclined to have some obscure command like triangle + left trigger, or start + left trigger, you may still want to use the note button in game if using headphones.
    Last.fm | Deviant Art | First working OS picture

    Quote Originally Posted by nickxab View Post
    I will beat myself. :p

  9. #9
    QJ Gamer Gold
    Points: 9,490, Level: 65
    Level completed: 47%, Points required for next Level: 160
    Overall activity: 0%

    Join Date
    Nov 2008
    Location
    CAD
    Posts
    692
    QJ Pts
    9,490
    Level
    65
    Downloads
    18
    Uploads
    4

    Default

    Quote Originally Posted by Auraomega View Post
    PNG is a much better quality than JPG, although it becomes less noticeable when you save at quality level 10.

    I can't test it (no PSP anymore...) so I may have the wrong end of the stick, but this will be taking screenshots every time a game requires me to press the left trigger?
    Omg you're totally right, I forgot all about that, I guess I'll make it Volup + Voldown. Or does anybody have a better idea?

    Quote Originally Posted by iamafreak View Post
    nice plugin btw
    thanks

  10. #10
    Speed for life
    Points: 121,080, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Overall activity: 0%
    Awards:
    Most Popular

    Join Date
    Jan 2009
    Location
    Greece,Limnos
    Posts
    7,863
    QJ Pts
    121,080
    Level
    100
    My Mood
    Relaxed
    Downloads
    12
    Uploads
    2

    Default

    Oh cool.
    What about to add an config for the button combination ?
    Different for the xmb and different for the game/pops
    [SIZE="1"][COLOR=limegreen]Phat PSP 1004 TA-079 v3 + Sony 16GB Mark II + tiltFX with 5.00 m33-6 + 1.50 kernel +Prometheus-4 patch + 5.01 patch[/COLOR]
    [COLOR=DarkOrange]Phat PS3 CECHG04 40GB (750GB) with 3.55.2 PRIVACY[/COLOR]
    [COLOR=Red]Slim PS2 SCPH-75004 + Free McBoot 1.8b + uLaunchELF v4.42 + ESR beta r9b[/COLOR]
    [COLOR=teal]iPhone 3G 8GB jailbroken with iOS 4.2.1 with OpeniBoot 0.2 and iDroid Pepparkaka 11.04 (Android 2.3.3)[/COLOR]
    [COLOR=DarkOrchid]Fujitsu Simens Amilo PA1510 + 2.5GB Ram + AMD Sempron 3400+ 1.8GHz + Windows XP/Ubuntu 9.10[/COLOR][/SIZE]

    [URL="http://forums.qj.net/guides-psp-hacks-homebrew-emulators/159330-guide-how-patch-5-55-6-00-6-10-6-20-6-30-6-31-6-35-6-36-games-all-cfw.html"]Patch the 5.55/6.00/6.10/6.20/6.30/6.31/6.35/6.36 games to work with all FWs[/URL]
    [URL="http://forums.qj.net/psp-general/170056-cwcheat-databases.html"]My CWCheat databases[/URL]
    [URL="http://forums.qj.net/guides-psp-hacks-homebrew-emulators/156916-guide-ultimate-psp-game-addons-guide.html"]PSP Game Addons[/URL]
    [URL="http://forums.qj.net/blogs/nickxab/"]My qj blog[/URL]
    [URL="http://forums.qj.net/blogs/nickxab/17-cydia-sources.html"]Cydia Sources[/URL]

    [IMG]http://img32.imageshack.us/img32/6181/58350347.png[/IMG]
    [IMG]http://img156.imageshack.us/img156/5489/consoles.gif[/IMG]
    [IMG]http://img843.imageshack.us/img843/2356/kyoshoracer.jpg[/IMG]
    [IMG]http://img80.imageshack.us/img80/8681/userbar794826.gif[/IMG]
    [IMG]http://img517.imageshack.us/img517/2861/userbar781427.gif[/IMG]
    [IMG]http://img256.imageshack.us/img256/3394/userbar781454.gif[/IMG]
    [IMG]http://img231.imageshack.us/img231/1889/userbar781443.gif[/IMG]
    [IMG]http://www.userbars.com/i/542861.gif[/IMG]

  11. #11
    I'm back!
    Points: 8,236, Level: 61
    Level completed: 29%, Points required for next Level: 214
    Overall activity: 99.0%

    Join Date
    Feb 2007
    Location
    England
    Posts
    902
    QJ Pts
    8,236
    Level
    61
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by nickxab View Post
    What about to add an config for the button combination ?
    This is the best idea, as I say to people, there will always be someone whose not happy with the current key combo, giving them the ability to change it keeps everyone happy :)
    Last.fm | Deviant Art | First working OS picture

    Quote Originally Posted by nickxab View Post
    I will beat myself. :p

  12. #12
    QJ Gamer Gold
    Points: 9,490, Level: 65
    Level completed: 47%, Points required for next Level: 160
    Overall activity: 0%

    Join Date
    Nov 2008
    Location
    CAD
    Posts
    692
    QJ Pts
    9,490
    Level
    65
    Downloads
    18
    Uploads
    4

    Default

    Quote Originally Posted by Auraomega View Post
    This is the best idea, as I say to people, there will always be someone whose not happy with the current key combo, giving them the ability to change it keeps everyone happy :)
    well it's settled then, I'll make a new version right away.

  13. #13
    QJ Gamer Blue
    Points: 2,054, Level: 27
    Level completed: 36%, Points required for next Level: 96
    Overall activity: 0%
    Achievements:
    First 1000 Experience Points

    Join Date
    Dec 2008
    Posts
    6
    QJ Pts
    2,054
    Level
    27
    Downloads
    0
    Uploads
    0

    Smile

    Great, I'll use the next version

    Quote Originally Posted by cmbeke View Post
    ...any chance that we can custimize the name and save location? (and have more than one pic )
    This would be great.

  14. #14
    QJ Gamer Silver
    Points: 6,883, Level: 54
    Level completed: 67%, Points required for next Level: 67
    Overall activity: 0%

    Join Date
    Sep 2006
    Location
    Perth, Scotland
    Posts
    1,094
    QJ Pts
    6,883
    Level
    54
    Downloads
    0
    Uploads
    0

    Default

    200KB for a plugin?! Are you serious? Please look up on developing plugins. There is no need to have the entire sdk base inside at all. You waste loads and loads of memory.

  15. #15
    I'm back!
    Points: 8,236, Level: 61
    Level completed: 29%, Points required for next Level: 214
    Overall activity: 99.0%

    Join Date
    Feb 2007
    Location
    England
    Posts
    902
    QJ Pts
    8,236
    Level
    61
    Downloads
    0
    Uploads
    0

    Default

    If my memory serves me right, that's due to using libjpeg, I know it adds a fair bit to prx sizes hence my suggestion of using BMP/TGA which also has the added advantage of speed.

    Davee is right though, for a simple screenshot plugin I'd expect it to be around 10% of that size max, ditch what you don't need, I reckon that you've overdone your makefile though.
    Last.fm | Deviant Art | First working OS picture

    Quote Originally Posted by nickxab View Post
    I will beat myself. :p

  16. #16
    QJ Gamer Bronze
    Points: 4,150, Level: 40
    Level completed: 50%, Points required for next Level: 200
    Overall activity: 43.0%

    Join Date
    Apr 2007
    Posts
    316
    QJ Pts
    4,150
    Level
    40
    My Mood
    Twisted
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by mootjeuh View Post
    btw, a new libVSH is coming;)
    Ill be wating for that.. ;)

  17. #17
    QJ Gamer Blue
    Points: 1,954, Level: 26
    Level completed: 54%, Points required for next Level: 46
    Overall activity: 0%
    Achievements:
    First 1000 Experience Points

    Join Date
    Feb 2009
    Posts
    4
    QJ Pts
    1,954
    Level
    26
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by mootjeuh View Post

    YOU NEED TO PULL THE L-TRIGGER TO TAKE A SCREENSHOT
    what about combo button in GAME (Note + L-trigger)?

  18. #18
    I'm back!
    Points: 8,236, Level: 61
    Level completed: 29%, Points required for next Level: 214
    Overall activity: 99.0%

    Join Date
    Feb 2007
    Location
    England
    Posts
    902
    QJ Pts
    8,236
    Level
    61
    Downloads
    0
    Uploads
    0

    Default

    Read the thread please, it's been covered...
    Last.fm | Deviant Art | First working OS picture

    Quote Originally Posted by nickxab View Post
    I will beat myself. :p

  19. #19
    QJ Gamer Bronze
    Points: 4,141, Level: 40
    Level completed: 96%, Points required for next Level: 9
    Overall activity: 0%

    Join Date
    Feb 2008
    Posts
    246
    QJ Pts
    4,141
    Level
    40
    Downloads
    0
    Uploads
    0

    Default

    Using kernel libc or newlib?

    :P

    -Light_AleX
    Hm? Here for arnold, homemister91 and my releases.

    PSN License Manager - Backup, restore & manage your legal PSN Licenses

  20. #20
    Points: 1,226, Level: 19
    Level completed: 26%, Points required for next Level: 74
    Overall activity: 0%
    Achievements:
    First 1000 Experience Points

    Join Date
    Mar 2010
    Location
    Somewhere
    Posts
    6
    QJ Pts
    1,226
    Level
    19
    Downloads
    0
    Uploads
    0

    Default

    Not sure of the status of this plugin, but theres a bug in pct_game. I tried playing riviera and the game didn't start up while pct_game was enabled. I'm not sure what it is but at least you know now if you didn't know before.

  21. #21
    I'm back!
    Points: 8,236, Level: 61
    Level completed: 29%, Points required for next Level: 214
    Overall activity: 99.0%

    Join Date
    Feb 2007
    Location
    England
    Posts
    902
    QJ Pts
    8,236
    Level
    61
    Downloads
    0
    Uploads
    0

    Default

    @SupaStuff:

    I think I upset mootjeuh with this whole thing, however I have code that (should) work, I just need my friend to tell me if it's working or not (no compiler or PSP anymore...). I'm guessing it's a memory issue as this thing is huge, when I get some feedback on my TGA plugin I'll be releasing it so keep a watchful eye out for that :)
    Last.fm | Deviant Art | First working OS picture

    Quote Originally Posted by nickxab View Post
    I will beat myself. :p

  22. #22
    QJ Gamer Gold
    Points: 9,490, Level: 65
    Level completed: 47%, Points required for next Level: 160
    Overall activity: 0%

    Join Date
    Nov 2008
    Location
    CAD
    Posts
    692
    QJ Pts
    9,490
    Level
    65
    Downloads
    18
    Uploads
    4

    Default

    Quote Originally Posted by Auraomega View Post
    @SupaStuff:

    I think I upset mootjeuh with this whole thing, however I have code that (should) work, I just need my friend to tell me if it's working or not (no compiler or PSP anymore...). I'm guessing it's a memory issue as this thing is huge, when I get some feedback on my TGA plugin I'll be releasing it so keep a watchful eye out for that :)
    nah man, you'll need to be a little more harsh than that to upset me =P
    but I already made a third version that takes bmp screenshots, but only it's on my usb stick, and I lost it -_-
    I'm looking for it as we speak. anyway, it takes bmp screenshots, and uses a user-defined combo, but the size is 115 kb. if I remove the user-defined combo and put in my own, it's then 28 kb. so I guess you know now where the size problem is coming from.

  23. #23
    I'm back!
    Points: 8,236, Level: 61
    Level completed: 29%, Points required for next Level: 214
    Overall activity: 99.0%

    Join Date
    Feb 2007
    Location
    England
    Posts
    902
    QJ Pts
    8,236
    Level
    61
    Downloads
    0
    Uploads
    0

    Default

    Too much unneeded stuff again. It's good to know you've reduced the size though but seriously, file reading should only be a couple of kb big. My TGA plugin sits at around 50kb apparently, but it's a full library for loading and saving uncompressed and compressed TGA files along with various other fiddles, if it's working I'll remove everything not required for a screenshot (I.E. anything that's not saving). BMP is probably a nicer format anyway, Windows recognises it without any extra apps which is always a plus.

    How are you reading the file if you don't mind me asking?

    EDIT: Have you passed the size optimising flag in the makefile? May knock off a few kb as well.
    Last.fm | Deviant Art | First working OS picture

    Quote Originally Posted by nickxab View Post
    I will beat myself. :p

  24. #24
    QJ Gamer Gold
    Points: 9,490, Level: 65
    Level completed: 47%, Points required for next Level: 160
    Overall activity: 0%

    Join Date
    Nov 2008
    Location
    CAD
    Posts
    692
    QJ Pts
    9,490
    Level
    65
    Downloads
    18
    Uploads
    4

    Default

    Quote Originally Posted by Auraomega View Post
    How are you reading the file if you don't mind me asking?
    I'm using stdio


    Quote Originally Posted by Auraomega View Post
    EDIT: Have you passed the size optimising flag in the makefile? May knock off a few kb as well.
    nah, never even heard of it

  25. #25
    I'm back!
    Points: 8,236, Level: 61
    Level completed: 29%, Points required for next Level: 214
    Overall activity: 99.0%

    Join Date
    Feb 2007
    Location
    England
    Posts
    902
    QJ Pts
    8,236
    Level
    61
    Downloads
    0
    Uploads
    0

    Default

    Use the standard PSP functions, stdio are wrappers which may or may not add extra size. Would you mind sending me the source code of the user defined section? I may be able to help you reduce some of the size if I can see where it's being introduced; better to have 2 devs working together than 2 devs working against each other :)

    As for size optimisation, find the CFLAGS line and add -O3 I think, look up flags for C to find out which one it is for certain.
    Last.fm | Deviant Art | First working OS picture

    Quote Originally Posted by nickxab View Post
    I will beat myself. :p

  26. #26
    Points: 1,226, Level: 19
    Level completed: 26%, Points required for next Level: 74
    Overall activity: 0%
    Achievements:
    First 1000 Experience Points

    Join Date
    Mar 2010
    Location
    Somewhere
    Posts
    6
    QJ Pts
    1,226
    Level
    19
    Downloads
    0
    Uploads
    0

    Default

    @Auraomega & mootjueh

    It would be great if the two of you worked together on this. here's a snapshot I accidentally took. It's a fusion of my background and the game's background and some other stuff. I guess it came out like that because I was moving in the xmb while it was saving what was on the screen from top to bottom or vice versa. hope this helps with development.

    Last edited by elite999; 03-10-2010 at 03:54 AM. Reason: Fixed image ;)

  27. #27
    I'm back!
    Points: 8,236, Level: 61
    Level completed: 29%, Points required for next Level: 214
    Overall activity: 99.0%

    Join Date
    Feb 2007
    Location
    England
    Posts
    902
    QJ Pts
    8,236
    Level
    61
    Downloads
    0
    Uploads
    0

    Default

    Links not working.

    As for the issue, seeing as mootjeuh doesn't appear game to let me help, it's more than likely due to reading the graphics buffer without waiting for a vsync; this makes things quicker but causes tearing which is what I assume you're on about.
    Last.fm | Deviant Art | First working OS picture

    Quote Originally Posted by nickxab View Post
    I will beat myself. :p

  28. #28
    QJ Gamer Gold
    Points: 9,490, Level: 65
    Level completed: 47%, Points required for next Level: 160
    Overall activity: 0%

    Join Date
    Nov 2008
    Location
    CAD
    Posts
    692
    QJ Pts
    9,490
    Level
    65
    Downloads
    18
    Uploads
    4

    Default

    No worries dude, as soon as I find my usb stick I'll send you the source code so that you'll pimp it up a bit =P
    I was thinking to pause the XMB's thread right before the screenshot is taken, and resume it once it's done. That'll fix the issue.

  29. #29
    I'm back!
    Points: 8,236, Level: 61
    Level completed: 29%, Points required for next Level: 214
    Overall activity: 99.0%

    Join Date
    Feb 2007
    Location
    England
    Posts
    902
    QJ Pts
    8,236
    Level
    61
    Downloads
    0
    Uploads
    0

    Default

    And games? It's not really a good idea, I tried the same thing myself a few years back (pausing the XMB thread), it caused more issues than it was worth although my code was far from clean... I'll have to have a think about what other methods are open to you when I'm in a not so brain-dead mood!

    EDIT:
    Also if that's tearing, it's the cleanest 'tear' I've ever seen before, is there any chance you can snap another few pictures and see if the same issue occurs elsewhere?
    Last.fm | Deviant Art | First working OS picture

    Quote Originally Posted by nickxab View Post
    I will beat myself. :p

  30. #30
    QJ Gamer Gold
    Points: 9,490, Level: 65
    Level completed: 47%, Points required for next Level: 160
    Overall activity: 0%

    Join Date
    Nov 2008
    Location
    CAD
    Posts
    692
    QJ Pts
    9,490
    Level
    65
    Downloads
    18
    Uploads
    4

    Default

    Hooray! I finally found my USB Stick =D
    I'm gonna recode everything and then get working on pausing the XMB tomorrow then, and I'll send you the code.

    See ya later!


 
Page 1 of 2 1 2 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





All times are GMT -8. The time now is 01:13 PM.

Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © 2013, Caputo Media, LLC. All Rights Reserved. Cluster C2.
Contact Us | Free Flash Games | Ad Blockers Suck! Why?