PSPx форум

PSPx форум (https://www.pspx.ru/forum/index.php)
-   Плагины для PSP (https://www.pspx.ru/forum/forumdisplay.php?f=226)
-   -   PRXshot - Скриншотер от Codestation (https://www.pspx.ru/forum/showthread.php?t=91597)

frostegater 09.05.2011 06:28

PRXshot - Скриншотер от Codestation
 
Вложений: 3
PRXshot v0.4 by Codestation
&
PRXshot PNG MOD by leecherman


Вложение 2925

Девелопер под ником codestation выпустил свой скриншотер. На данный момент он активно развивается, поэтому имеет огромный потенциал в будущем. Плагин имеет прекрасную совместимость с ядром 6.XX. Также плюсом этого плагина является, то, что при снятии скриншота игра не зависает. Имеется открытый исходный код, поэтому каждый желающий может встроить его в свою программу или использовать в своих целях, естесственно с указанием копирайта: "(c) codestation".
Установка:
  1. Скачайте и разархивируйте архив с плагином: prxshot-0.4.0.zip

  2. Подключите PSP к компьютеру по USB.

  3. Скопируйте содержимое папки /prxshot/ на PSP в директорию /seplugins/

  4. В желаемых файлах конфигурации с абзаца пропишите строку:

    • Для внутренней памяти PSPgo:

      Код:

      ef0:/seplugins/prxshot.prx 1
    • Для остальных моделей:

      Код:

      ms0:/seplugins/prxshot.prx 1

  5. Перезагрузите PSP через VSH MENU, выбрав пункт "RESTART VSH" ("Рестарт VSH").

  6. Скриншоты сохраняются в директории PSP/SCREENSHOT/ДИРЕКТОРИЯ (XMB, GAME или POPS)/

  7. Также присутствует возможность изменить топ картинку папки, которая будет отображаться на PSP. Картинка есть в архиве (default_icon0.png). Она также должна находиться в директории /seplugins/.


IniFile (Распиновка)

# Комментарии разрешены после знака #
# 1 - включено; 0 - отключено

[General]
CreatePic1 = 0
PSPGoUseMS0 = 0 # Использование плагина на карте памяти в PSPgo
XMBClearCache = 0 # Очитстка кеша в XMB
ScreenshotKey = 0x800000 # Клавиша для снятия скриншота
ScreenshotName = %s/pic_%04d.bmp # Название скриншота. Значение "%s" должно быть, если вы хотите проводить серию скриншотов, а не записывать всё поверх предыдущего.

#[CustomKeys]

# Здесь приведены примеры назначения клавиш скриншота для определённых игр. Для использования уберите знак # перед нужными строчками или добавьте свои.
# Например идентификатор игры NPIA00013 = идентификатору кнопки.

#ULJM05800 = 0x000009 # SELECT + START
#ULUS10566 = 0x000101 # LTRIGGER + SELECT
#ULJM05681 = 0x000108 # LTRIGGER + START

#Идентификаторы кнопок

#SELECT = 0x000001
#START = 0x000008
#UP = 0x000010
#RIGHT = 0x000020
#DOWN = 0x000040
#LEFT = 0x000080
#LTRIGGER = 0x000100
#RTRIGGER = 0x000200
#TRIANGLE = 0x001000
#CIRCLE = 0x002000
#CROSS = 0x004000
#SQUARE = 0x008000
#HOME = 0x010000
#HOLD = 0x020000
#NOTE = 0x800000
#SCREEN = 0x400000
#VOLUP = 0x100000
#VOLDOWN = 0x200000
#WLAN = 0x040000
#REMOTE = 0x080000
#DISC = 0x1000000
#MS = 0x2000000


#Можно использовать как одиночные клавиши, так и комбинации, путём сложения идентификаторов одиночных клавиш.
#Например:


#0x000009 = SELECT + START # 0x000001 + 0x000008 = 0x000009
#0x000101 = LTRIGGER + SELECT # 0x000100 + 0x000001 = 0x000101
#0x000108 = LTRIGGER + START # 0x000100 + 0x000008 = 0x000108

readme.txt
Код:

prxshot v0.4 - Codestation

This Homebrew is an entry for the PSP Genesis competition 2011,
sponsored by npt, psp-hacks.com, pspgen.com, pspslimhacks.com,
exophase.com, pspcustomfirmware.com, daxhordes.org, gamegaz.jp,
xtreamlua.com and wololo.net

This is a screenshot plugin that doesn't need to pause the game to take
the capture (useful for online gaming) and classifies the images
per game using their name and icons.

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 bytes 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).

How to use it: press the NOTE button to take a screenshot (or configure it
to the key(s) that you want)

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

Meaning of the options in the prxshot.ini:

"General" category:

* CreatePic1: 0 by default. Change to 1 if you want the game background image
  that appears in the XMB in the screenshot folder.
 
* PSPGoUseMS0: 0 by default. Change to 1 if you have a PSP Go and want to store
  the pictures into the M2 instead of the internal storage.
 
* XMBClearCache: 0 by default. Change to 1 if you want to ******* the cache
  after taking a screenshot in the XMB (solves the problem of the picture
  viewer that doesn't show the new screenshots but can cause freezes when
  using Game Categories)
 
* ScreenshotKey: 0x800000 by default. Change it to one of the values of the
  table below (or a combination of them) to select the button(s) required for
  the screenshot.
 
* KeyTimeout: 0 by default. Change it to a positive value (in millisecs) to
  delay the screenshot key(s) to that value. For example, setting it to 1000
  causes the screenshot to be taken 1 second after the key was pressed
 
* ScreenshotName: %s/pic_%04d.bmp by default. Here you can specify a different
  prefix/suffix for the screenshot. Important: the "%s/, "%04d" and the ".bmp"
  are mandatory in that order.
 
"CustomKeys" category:

* ULJM08500 (a.k.a. game id): Undefined by default. Here you can use a game id
 (you can obtain them from your game box, playstation site, UMDGen, ISO Tool,
 PSPFiler (reading the UMD_DATA.BIN in the iso/umd), cwcheat, etc, etc) and a
 screenshot key that you want to link to that game. Examples:
 
 ULJM05800 = 0x000009 (Monster Hunter 3rd game using SELECT + START to take
                      the screenshot)
                     
 ULES01505 = 0x000101 (Dissidia Duodecim using SELECT + LTRIGGER to take
                      the screenshot)
                     
"CustomTimeout" category:

* ULJM08500 (a.k.a. game id): Undefined by default. Here you can use a game id
 (you can obtain them from your game box, playstation site, UMDGen, ISO Tool,
 PSPFiler (reading the UMD_DATA.BIN in the iso/umd), cwcheat, etc, etc) and a
 timeout for that game (see KeyTimeout definition for details). Examples:
 
 ULJM05800 = 300 (Monster Hunter 3rd game using 300 msecs to take a screenshot)
 
 ULES01505 = 1500 (Dissidia Duodecim using 1.5 secs before taking the screenshot)
                     
# Values for the screenshot button

# Select button        0x000001
# Start button        0x000008
# Up D-Pad button      0x000010
# Right D-Pad button  0x000020
# Down D-Pad button    0x000040
# Left D-Pad button    0x000080
# Left trigger        0x000100
# Right trigger        0x000200
# Triangle button      0x001000
# Circle button        0x002000
# Cross button        0x004000
# Square button        0x008000
# Hold button          0x020000
# Music Note button    0x800000
# Screen button        0x400000
# Volume up button    0x100000
# Volume down button  0x200000

Changelog:
v0.4:
[+]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 in c++ branch).
v0.3:
[+]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.
v0.2.4:
[!]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.
v0.2.3:
[+]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.
v0.2.2:
[+]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.
v0.2.1:
[+]Added OIL to blacklist.
v0.2.0:
[!]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.
v0.1.3:
[+]Create /PSP/SCREENSHOT in case it doesn't exists
v0.1.2:
[!]Rewrote asm payload code (doesn't need memory allocation anymore so hopefully
the issues with 6.20 / aLoader are finally fixed)
v0.1.1:
[!]Fixes bugs with 6.20 TN and/or aLoader
v0.1.0:
[+]First release

Source code available at https://github.com/codestation/prxshot




Можете воспользоваться модом PRXshot MOD by leecherman: скачать
Источник



Ins|der 06.06.2011 23:15

великолепный плагин!
по скорости равен speedy screenshot'еру, при этом обладает рядом существенных достоинств:
1) сохраняет в bmp;
2) работает везде;
3) сортирует скриншоты по папкам;
4) не крашит игры (за редким исключением);
5) поддерживает кастомизацию кнопок.

Хорошо бы его вынести в топ, заместо SSP

Ins|der добавил 06.06.2011 в 23:15
кстати, кто знает, на фатках работает он?

DARK-MAN-X 07.06.2011 01:02

Цитата:

Сообщение от Ins|der (Сообщение 965543)
1) сохраняет в bmp;

как раз таки это минус

frostegater 07.06.2011 02:34

DARK-MAN-X, это огромный плюс, т.к. bmp это самый насыщенный формат.. а в другие и переконвертировать можно...

DARK-MAN-X 07.06.2011 11:43

Frostegater, для меня очень не удобно. так как если сливать на сайт то нужно конвертить бо тут bmp не хавает.
а PNG не уступает bmp при определённых параметрах

ErikPshat 08.06.2011 02:42

DARK-MAN-X, ну конвертить-то делов полминуты. У меня например, по умолчанию стоит просмотр графики программой XnView. Просто нажимаешь на картинку, она открывается в проге за полсекунды (это не фотошоп))).
Делаешь "Сохранить как..." и сразу по умолчанию предлагается в PNG.
Но в многоцветных полутоновых изображениях проигрывает в размере, чем JPG.

А BMP считай почти RAW-формат. Там каждый пиксель прописан в таблице цветов, поэтому изображения всегда большие по объёму, всегда одинакового размера при одинаковом соотношении сторон. Как исходный материал очень хорош.

А PNG считай lossless-формат, т.е. без потери качества, хоть миллион раз пересохраняй, потому что компоновка происходит не путём подмены соседних пикселей фейковыми промежуточными вычислениями, а путём архивирования картинки в GZIP-архив. Отлично подходит при частом редактировании с частыми пересохранениями.

Если картинка насыщена переходными полутоновыми цветами, то лучше тогда в JPG, чтобы меньше весила. Перед этим ещё лучше выставить количество используемых цветов, обычно достаточно 256 со сглаживанием.

Ах да, преимущество этого плагина - что он работает на прошивках 6.хх

DARK-MAN-X 08.06.2011 11:06

ErikPshat, я знаю что такое bmp и почему он так много весит.
но было бы вообще зашибись если б в плагине был варинт выбора файла на выходе)

Ins|der 09.06.2011 00:34

Цитата:

Сообщение от ErikPshat (Сообщение 965811)
У меня например, по умолчанию стоит просмотр графики программой XnView. Просто нажимаешь на картинку, она открывается в проге за полсекунды (это не фотошоп))). Делаешь "Сохранить как..." и сразу по умолчанию предлагается в PNG.

а главное, есть пакетная обработка ;)

проект развивается =)
Ins|der добавил 09.06.2011 в 00:27
Код:

v.0.4.0
[+] Реализован таймаут нажатия: появилась возможность установить задержку на снятие скриншота, чтобы не мешать нормальной работе игры.
[!] Внутренние изменения: плагин переписан на С++
[!] Устранена известная проблема со снятием скриншота в момент загрузки игры aLoader'ом (только для версии С++)

Ins|der добавил 09.06.2011 в 00:34
к вопросу о формате, ответ автора на форуме wololo:

Цитата:

have you considered adding settingss to alter the default file format/ file format? so like jpg or png?
is that even possible? o.O just a suggestion.

They use too much memory, i am only implementing gif for now (i could use the UMD cache for that but that would means to exclude all the PSP1000 users)

ErikPshat 10.06.2011 02:20

ОК! Обновил в шапке архив до версии 0.4.

andryfan 26.10.2011 00:06

а по умолчанию какая кнопка для скринов..а то я в рраспиновки ничего не понял...да и папки PSP/SCREENSHOT/ДИРЕКТОРИЯ (XMB, GAME или POPS)/ у меня нету почему то...или она пока скрин не сделаю не появляется?у меня в принципе только папка GAME,двух других нету..
упс..пардон...все работает:acute:

ErikPshat 16.10.2012 02:18

Цитата:

Сообщение от Шляпа update
Можете воспользоваться модом PRXshot MOD by leecherman: скачать
Источник



Текущее время: 23:55. Часовой пояс GMT +3.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc. Перевод: zCarot
PSPx Forum - Сообщество фанатов игровых консолей.