EmuNewz Network
Not save SCREENSHOT - Printable Version

+- EmuNewz Network (https://www.emunewz.net/forum)
+-- Forum: PSP Emulation (https://www.emunewz.net/forum/forumdisplay.php?fid=191)
+--- Forum: JPCSP Official Forum (https://www.emunewz.net/forum/forumdisplay.php?fid=51)
+---- Forum: svn trunk discussion (https://www.emunewz.net/forum/forumdisplay.php?fid=56)
+---- Thread: Not save SCREENSHOT (/showthread.php?tid=157787)

Pages: 1 2


Not save SCREENSHOT - onelight - 02-14-2014

text 初音ミク -Project DIVA- extend [NPJH50465]
this game support you push the R button to get a screenshot in somewhere.

went I do this in jpcsp 3458, jpcsp stop, not run, I think jpcsp get the screenshot but not save it.
   
log
Code:
84514 [user_main] INFO hle.sceUtility - sceUtilityScreenshotInitStart 0x092F3640-0x092F39E4: startupType=2, status=0,[b] imgFormat=2, imgQuality=100, imgFrameBufAddr=0x04000000, imgFrameBufWidth=512, imgPixelFormat=3, screenshotOffsetX=0, screenshotOffsetY=0, displayWidth=480, displDayHeigth=272, screenshotID='NPJH50465', fileName='', nameRule=0, title='', parentalLevel=0, pscmFileFlag=0, iconPath='', iconPathSize=0, iconFileSize=0, backgroundPath='', backgroundPathSize=0, backgroundFileSize=0, commentFlag=0, [/b]commentShapeAddr=0x00000000, commentTextAddr=0x00000000

in PSP, if you push the R button, PSP will ask you "would you like to save this screenshot" you can push O button to save it or push X bush to back.
and this is the screenshot found in PSP ms0:/PICTURE folder (provide by sum2012)

.zip   SCREENSHOT.zip (Size: 239.93 KB / Downloads: 157)

sceUtility debug log
Code:
22:33:10  INFO compiler - user_main - Splitting _S1_2_8BC4E04 (59/50)
22:33:10  INFO compiler - user_main - Splitting _S1_2_8BC491C (95/50)
22:33:10  INFO compiler - user_main - Splitting _S1_2_8BC4840 (55/50)
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityScreenshotInitStart paramsAddr=0x093166F8
22:33:10  INFO hle.sceUtility - user_main - sceUtilityScreenshotInitStart 0x093166F8-0x09316A9C: startupType=2, status=0, imgFormat=2, imgQuality=100, imgFrameBufAddr=0x04000000, imgFrameBufWidth=512, imgPixelFormat=3, screenshotOffsetX=0, screenshotOffsetY=0, displayWidth=480, displayHeigth=272, screenshotID='NPJH50465', fileName='', nameRule=0, title='', parentalLevel=0, pscmFileFlag=0, iconPath='', iconPathSize=0, iconFileSize=0, backgroundPath='', backgroundPathSize=0, backgroundFileSize=0, commentFlag=0, commentShapeAddr=0x00000000, commentTextAddr=0x00000000
22:33:10  INFO compiler - user_main - Splitting _S1_2_8811BB0 (53/50)
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityScreenshotGetStatus
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityScreenshotGetStatus status 2
22:33:10  INFO compiler - CRI Wave out - Splitting _S1_2_8B96478 (227/50)
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilitySavedataGetStatus
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilitySavedataGetStatus returning ERROR_UTILITY_WRONG_TYPE
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityGamedataInstallGetStatus
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityGamedataInstallGetStatus returning ERROR_UTILITY_WRONG_TYPE
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityOskGetStatus
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityOskGetStatus returning ERROR_UTILITY_WRONG_TYPE
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityScreenshotGetStatus
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityScreenshotGetStatus status 2
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityScreenshotUpdate drawSpeed=0x9E2
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityScreenshotUpdate returning 0x00000000
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityMsgDialogGetStatus
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityMsgDialogGetStatus returning ERROR_UTILITY_WRONG_TYPE
22:33:10  INFO compiler - user_main - Splitting _S1_2_892B5B8 (101/50)
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityScreenshotGetStatus
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityScreenshotGetStatus status 5
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilitySavedataGetStatus
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilitySavedataGetStatus returning ERROR_UTILITY_WRONG_TYPE
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityGamedataInstallGetStatus
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityGamedataInstallGetStatus returning ERROR_UTILITY_WRONG_TYPE
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityOskGetStatus
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityOskGetStatus returning ERROR_UTILITY_WRONG_TYPE
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityScreenshotGetStatus
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityScreenshotGetStatus status 5
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityMsgDialogGetStatus
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityMsgDialogGetStatus returning ERROR_UTILITY_WRONG_TYPE
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityScreenshotGetStatus
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityScreenshotGetStatus status 5
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilitySavedataGetStatus
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilitySavedataGetStatus returning ERROR_UTILITY_WRONG_TYPE
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityGamedataInstallGetStatus
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityGamedataInstallGetStatus returning ERROR_UTILITY_WRONG_TYPE
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityOskGetStatus
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityOskGetStatus returning ERROR_UTILITY_WRONG_TYPE
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityScreenshotGetStatus
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityScreenshotGetStatus status 5
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityMsgDialogGetStatus
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityMsgDialogGetStatus returning ERROR_UTILITY_WRONG_TYPE
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityScreenshotGetStatus
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityScreenshotGetStatus status 5
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilitySavedataGetStatus
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilitySavedataGetStatus returning ERROR_UTILITY_WRONG_TYPE
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityGamedataInstallGetStatus
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityGamedataInstallGetStatus returning ERROR_UTILITY_WRONG_TYPE
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityOskGetStatus
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityOskGetStatus returning ERROR_UTILITY_WRONG_TYPE
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityScreenshotGetStatus
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityScreenshotGetStatus status 5
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityMsgDialogGetStatus
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityMsgDialogGetStatus returning ERROR_UTILITY_WRONG_TYPE
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityScreenshotGetStatus
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityScreenshotGetStatus status 5
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilitySavedataGetStatus
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilitySavedataGetStatus returning ERROR_UTILITY_WRONG_TYPE
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityGamedataInstallGetStatus
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityGamedataInstallGetStatus returning ERROR_UTILITY_WRONG_TYPE
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityOskGetStatus
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityOskGetStatus returning ERROR_UTILITY_WRONG_TYPE
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityScreenshotGetStatus
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityScreenshotGetStatus status 5
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityMsgDialogGetStatus
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityMsgDialogGetStatus returning ERROR_UTILITY_WRONG_TYPE
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityScreenshotGetStatus
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityScreenshotGetStatus status 5
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilitySavedataGetStatus
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilitySavedataGetStatus returning ERROR_UTILITY_WRONG_TYPE
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityGamedataInstallGetStatus
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityGamedataInstallGetStatus returning ERROR_UTILITY_WRONG_TYPE
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityOskGetStatus
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityOskGetStatus returning ERROR_UTILITY_WRONG_TYPE
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityScreenshotGetStatus
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityScreenshotGetStatus status 5
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityMsgDialogGetStatus
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityMsgDialogGetStatus returning ERROR_UTILITY_WRONG_TYPE
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityScreenshotGetStatus
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityScreenshotGetStatus status 5
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilitySavedataGetStatus
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilitySavedataGetStatus returning ERROR_UTILITY_WRONG_TYPE
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityGamedataInstallGetStatus
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityGamedataInstallGetStatus returning ERROR_UTILITY_WRONG_TYPE
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityOskGetStatus
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityOskGetStatus returning ERROR_UTILITY_WRONG_TYPE
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityScreenshotGetStatus
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityScreenshotGetStatus status 5
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityMsgDialogGetStatus
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityMsgDialogGetStatus returning ERROR_UTILITY_WRONG_TYPE
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityScreenshotGetStatus
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilityScreenshotGetStatus status 5
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilitySavedataGetStatus
22:33:10 DEBUG hle.sceUtility - user_main - sceUtilitySavedataGetStatus returning ERROR_UTILITY_WRONG_TYPE



RE: Not save SCREENSHOT - sum2012 - 03-30-2014

Attach JPCSPTrace log:
Seem JPCSP'S of sceUtilityScreenshotGetStatus is wrong

edit2:
> in PSP, if you push the R button, PSP will ask you "would you like to save this screenshot" you can push O button to save it or push X bush to back.
and this is the screenshot found in PSP ms0:/PICTURE folder (provide by sum2012)

I said to onelight that the screenshot found in PSP ms0:/PSP/SCREENSHOT/ folder


RE: Not save SCREENSHOT - gid15 - 03-30-2014

I've implemented a basic screenshot in r3475 from sceUtilityScreenshot. There is still a lot of parameters to be discovered, but this implementation will hopefully save something...
The PSP dialogs asking for confirmation are not implemented.


RE: Not save SCREENSHOT - sum2012 - 03-30-2014

For the Screenshot test (see Screenshot.zip)
Just missing PSCM.DAT.

Unfortunately,It broke Dream Club Portable booting in r3475
Code:
ERROR   memory - user_main - getBuffer - Invalid memory address: 0x00000000 PC=0x08000020
Attach sceUtility and compiler debug in r3474 and r3475


RE: Not save SCREENSHOT - onelight - 03-31-2014

No only miss PSCM.DAT, but also miss this
PSP
   
   
   
   
jpcsp
   
   
and if you Enable saving GE screen to texture instead of memory, you will get a total back screenshot
   

and the PJDEX_0004.jpeg generate by jpcsp is actually BMP picture,it is more than 500K

.zip   JPCSP SCREENSHOT.zip (Size: 157.77 KB / Downloads: 164)
PSP use jpeg picture, small than 200K

.zip   PSP SCREENSHOT.zip (Size: 244.56 KB / Downloads: 156)


RE: Not save SCREENSHOT - gid15 - 03-31-2014

Is the generated file name always PJDEX_000n.jpeg on a PSP? Also for other applications?


RE: Not save SCREENSHOT - sum2012 - 03-31-2014

Try "Kenka Bancho Bros. Tokyu Battle Royal " screenshot.
The name is "塔京の特ダネ!_0001.jpeg"
(03-31-2014, 11:41 AM)gid15 Wrote: Is the generated file name always PJDEX_000n.jpeg on a PSP? Also for other applications?



RE: Not save SCREENSHOT - onelight - 03-31-2014

(03-31-2014, 11:41 AM)gid15 Wrote: Is the generated file name always PJDEX_000n.jpeg on a PSP? Also for other applications?
PJDEX is Project Diva EXtend
if you play Project Diva on a PSP, it will generated PJD_000n.jpeg.
if you play Project Diva 2nd on a PSP, it will generated PJD2_000n.jpeg.
But always generated PSCM.DAT
PSCM.DAT in ms0:/PSP/PICTURE/SCREENSHOT/gameID/ work as ICON0.PNG + PIC1.PNG + PARAM.SFO in disc0:/PSP_GAME
   
   
   
   

ms0:\PICTURE\SCREENSHOT,generated by CheatMaster, a floer no have PSCM.DAT
   


RE: Not save SCREENSHOT - gid15 - 03-31-2014

(03-31-2014, 02:29 PM)onelight Wrote: PJDEX is Project Diva EXtend
if you play Project Diva on a PSP, it will generated PJD_000n.jpeg.
if you play Project Diva 2nd on a PSP, it will generated PJD2_000n.jpeg.
But always generated PSCM.DAT
OK Smile this name should then be included somewhere in the screenshot parameter structure. I've added additional logging in r3477. Could you and sum2012 rerun the games created screenshots and post the log files, the complete screenshot structure should be logged?

Thank you!


RE: Not save SCREENSHOT - sum2012 - 03-31-2014

I assume that "return the games created screenshots that mean "make from JPCSP"
Project Diva EXtend:NPJH50465.7z
Kenka Bancho Bros. Tokyu Battle Royal :ULJS00517.7z
I find Kenka Bancho Bros bug:JPCSP also take screenshot in title.

(03-31-2014, 08:16 PM)gid15 Wrote: OK Smile this name should then be included somewhere in the screenshot parameter structure. I've added additional logging in r3477. Could you and sum2012 rerun the games created screenshots and post the log files, the complete screenshot structure should be logged?

Thank you!