Advertising (This ad goes away for registered users. You can Login or Register)

[Plugin] PRXshot 0.4.0

Submit your entry for the competition here.
check http://wololo.net/genesis for detailed rules
Locked
codestation
Big Beholder
Posts: 1660
Joined: Wed Jan 19, 2011 3:45 pm
Location: /dev/negi

[Plugin] PRXshot 0.4.0

Post by codestation »

PRXshot - codestation

This is a screenshot plugin that doesn't need to pause the game to take the capture (useful for avoid lag disconnects on online/adhoc gaming) and classifies the images per game using their name and icons (just like the very few games that come with native screenshot support).

Image

Changelog:
  • v0.4.0:
  • [+]Implemented key timeout, so now you can add some delay to the screenshot
    button so doesn't interfere with the normal game operation.
  • [!]Internal change: rewrote the plugin in C++
  • [!]Fixed the known issue of taking a screenshot while the aLoader is
    launching an ISO (only for the C++ branch)
  • [b]v0.3.0:[/b]
  • [+]Added the option to set your custom screenshot key per game.
  • [!]Major rewrite to the hook core (removed the asm payload code), so it avoids
  • the crashes in 6.20 TN + loaders (i hate those loaders, really >_<).[/*]
  • [!]Moved the comments of the prxshot.ini to the readme for more readibility.
  • [b]v0.2.4:[/b]
  • [!]Fixed the bug introduced in 0.2.3 that didn't detect the settings
    in the .ini file.
  • [!]Fixed bug with homebrew not properly detected in PSPGo using the
    internal storage.
  • [b]v0.2.3:[/b]
  • [+]Added support for eLoader (1.50 eboot loader)
  • [+]Recreate the XMB folder if is deleted.
  • [!]Fixed nasty bug that causes a crash when taking very early screenshots
    (Note that you can't take screenshots on loaders because the game isn't
    loaded yet, a special folder is gonna be added for this in the future)
  • [+]Added option XMBClearCache to the prxshot.ini. While this updates the picture
    directory when taking screenshots in the XMB i recommend that is better
    to leave it disabled because it causes troubles with game categories.
  • [+]Added more debug messages.
  • [b]v0.2.2:[/b]
  • Added support for POPS (PSone games support).
  • Added support for storing the screenshots into the M2 in the PSPGo.
  • Added logging and made it conditional on build when compiling from source.
  • Fixed bug with XMB icon creation introduced in 0.2.0.
  • [b]v0.2.1:[/b]
  • Added OIL to blacklist.
  • [b]v0.2.0:[/b]
  • Removed trailing "/" so the directory creation don't fail.
  • New configuration file (prxshot.ini) so now you can configure some things
    like background use for picture folders, change the button combo to take
    the screenshot and the suffix/prefix of the picture file.
  • [b]v0.1.3:[/b]
  • Create /PSP/SCREENSHOT in case it doesn't exists
  • [b]v0.1.2:[/b]
  • Rewrote asm payload code (doesn't need memory allocation anymore so hopefully the issues with 6.20 / aLoader are finally fixed)
  • [b]v0.1.1:[/b]
  • Fixes bugs with 6.20 TN and/or aLoader
------------------------------
The plugin stores the screenshot in BMP format inside:
>> /PSP/SCREENSHOT/<GAME_ID>/pic_XXXX.bmp
for umd/iso games or:
>> /PSP/SCREENSHOT/PS<8-byte sha1sum of the title>/pic_XXXX.bmp
for homebrew or games in PBP format (because the homebrews have the same GAME_ID ¬_¬).
----------------------------
Installation:
Copy the prxshot directory to the seplugins directory (or anywhere you want) and add the plugin to the game.txt file (and/or vsh.txt if you want to).

The prxshot directory comes with these files:
  • prxshot.prx: the plugin
  • default_icon0.png: optional default icon to use for those homebrews without icon (you can make your own image, just try to maintain the same dimensions)
  • xmb.sfo: template to make folder icon for screenshots in VSH mode.
  • prxshot.ini: configuration file
----------------------------
How to use it: press the NOTE button to take a screenshot. You can configure it to a different button(s) globally or per game.

I made the plugin open sourced because its a pain when the plugins stop working in a CFW revision and one cant do anything about it except to apply reverse engineering to the code to try to fix it.

Thanks to Coldbird for the hints on how to make an asm payload inject for my plugin :geek: .

Download: 0.4.0 0.3.0 0.2.4 0.2.3 0.2.2 0.2.1 0.2.0 0.1.3 0.1.2 0.1.1 0.1
Source code: https://github.com/codestation/prxshot
Debug version (0.4.0): https://github.com/downloads/codestatio ... rxshot.prx Install the normal version then replace the prx with this one. Attach the generated prxshot.log to your post if you want to help.
Debug version C++ (0.4.0): https://github.com/downloads/codestatio ... shot++.prx Install the normal version then replace the prx with this one. Attach the generated prxshot.log to your post if you want to help.

Note:
C version: Tested in PSP-2000/3000 with 5.00 m33, 5.50 gen, 6.20/6.35 Pro-B5, 6.20 HEN TN-E so some feedback in other models/cfw is appreciated.
C++ version: Tested in PSP-2000 with 6.20/6.35 Pro-B5
Advertising
Last edited by codestation on Sun May 29, 2011 5:26 pm, edited 25 times in total.
Plugin list
Working on: QPSNProxy, QCMA - Open source content manager for the PS Vita
Playing: Error: ENOTIME
Repositories: github, google code
Just feel the code..
npt
VIP
Posts: 154
Joined: Wed Oct 27, 2010 3:32 pm

Re: [Plugin] PRXshot

Post by npt »

Your entry is accepted! Welcome to the Competition! : ) Cool plugin btw, I am so glad to see some people stepping forward with all sorts of cool plugins. Keep it up everybody.

BTW, I am at work and so have to be careful trying out stuff (lol) but none the less was able to try it out on a 2k ta-085v1 w/ 6.35 PRO and it works for me as well. Sorry I don't have a different version of fw or model to report, figured at least mentioning the motherboard was something lol. ; )

Regards,

npt
:geek:
Advertising
Lawliet156
Posts: 156
Joined: Tue Jan 04, 2011 2:53 pm
Location: Fort Worth, Texas

Re: [Plugin] PRXshot

Post by Lawliet156 »

This is weird, this plugin works on the XMB of my PSP-2001 6.20 TN-D but crashes my psp when I launch a game.

EDIT: nvm, it works in-game, it is probably conflicting another active plugin of mine causing it to crash, I'll find the conflicting plugin and report it here.

EDIT 2: The conflicting plugin is aLoader Ver. 1.25 (For 6.20 obviously). It will only crash when launching a game with aLoader 1.25. It also seems to crash on any homebrew game/app I launch, signed or not. It works with Officially bought PSN games
Image
codestation
Big Beholder
Posts: 1660
Joined: Wed Jan 19, 2011 3:45 pm
Location: /dev/negi

Re: [Plugin] PRXshot

Post by codestation »

Thanks for the report, hopefully the issues with 6.20 and/or aLoader are fixed now.
Plugin list
Working on: QPSNProxy, QCMA - Open source content manager for the PS Vita
Playing: Error: ENOTIME
Repositories: github, google code
Just feel the code..
Lawliet156
Posts: 156
Joined: Tue Jan 04, 2011 2:53 pm
Location: Fort Worth, Texas

Re: [Plugin] PRXshot

Post by Lawliet156 »

Still crashes when signed/unsigned homebrew starts, but aLoader 1.25 launchs and then crashes when aLoader launches ISO/CSO file. SensMe Channels is even crashing. Officially bought PSN games are still working.
Image
aqualisschock
Posts: 171
Joined: Wed Jan 05, 2011 3:11 pm

Re: [Plugin] PRXshot

Post by aqualisschock »

woooooooooooooooow.....niceeeeeeeeee plugin ! I confirm that it works Perfectly on psp 3004 6.35 PRO-B3
PSP Model : PSP 3004 Firmware : 6.20 -> 6.35 -> 6.35 PRO-A4 -> 6.35 PRO-B3
5h4d0w
Posts: 103
Joined: Mon Feb 14, 2011 5:58 pm
Location: SPAAAAAAAAACE!

Re: [Plugin] PRXshot

Post by 5h4d0w »

Very nice, I like how organized it is. Might have to try this out :)
Silver PSP 3001 6.20PRO-B5 Permanent + 32GB MS (2x 16GB MicroSD + Photofast CR-5400)

My PSP GENESIS Entry: SePlugins Manager
flofrucht
Posts: 587
Joined: Wed Sep 29, 2010 5:46 pm
Location: /root
Contact:

Re: [Plugin] PRXshot

Post by flofrucht »

Thanks, looks nice ;)
twitter.com/flofrucht
PSPDev and scener
Salmon
Posts: 68
Joined: Fri Jan 07, 2011 12:08 pm

Re: [Plugin] PRXshot

Post by Salmon »

Sounds awesome, however It doesn't appear to work with 6.37 ME. I can see the module is loaded (using psplink) however pressing the note key does nothing.
jaja2u
Posts: 262
Joined: Mon Sep 27, 2010 7:52 pm

Re: [Plugin] PRXshot

Post by jaja2u »

Sounds nice. A more organized solution!
Thank you Total_Noob :mrgreen:
Locked

Return to “Submissions”