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

[Release] FakeCamera - Simulate camera answer on PS TV

HENkaku is a native Homebrew Enabler for the PS Vita and PS TV. It lets you run homebrews on the PS Vita
OperationNT
Posts: 161
Joined: Sun Jul 12, 2015 1:15 pm

[Release] FakeCamera - Simulate camera answer on PS TV

Post by OperationNT »

Description

On PlayStation TV, some titles unlocked though AntiBlackList could crash due unexpected SceCamera API answers (because they were never conceived to run on a device without camera). This plugin could intervene to "simulate" expected answers and, therefore, avoid some crashes.

The version 1.1 also introduces the possibility to load a BMP file into camera output buffer (even in games which properly worked without the plugin). This feature has a dependency on DSMotion.

On some rare games, the access to "ux0:/data" is not allowed so kernel file access calls must be used. So, version 1.2 introduces those game support but with an additional dependency on KUIO plugin (from Rinnegatamante).


Installation

For each title which crashes when it should activate the camera, you can add those lines in ux0:tai/config.txt:

Code: Select all

*TITLEID00
ux0:tai/fakecamera.suprx
OR (if you wish to load a BMP file into camera output buffer)

Code: Select all

*KERNEL
ux0:tai/dsmotion.skprx

*TITLEID00
ux0:tai/fakecamerabmp.suprx
OR (if the BMP feature doesn't seem to work)

Code: Select all

*KERNEL
ux0:tai/dsmotion.skprx
ux0:tai/kuio.skprx

*TITLEID00
ux0:tai/fakecamerakbmp.suprx
Replace **TITLEID00** by your title identifier or by **ALL** to affect all titles.

DO NOT use "fakecamera.suprx", "fakecamerabmp.suprx" or "fakecamerakbmp.suprx" on the same configuration!


Compatibility

PCSF00007 - WipEout 2048 - The game won't crash on a multiplayer session start! (due to the useless picture feature)
PCSF00214 - Tearaway - It won't crash but it will be locked on some asked interactions, like shaking the PS Vita (use DSMotion to by-pass this problem)


BMP load compatibility

PCM300001 - Pro Camera Vita - Works fine
VITASHELL - Vita Shell - Works fine in QR scan feature
NPXS10007 - Welcome Park - Works fine in "Hello Face" and "Snap + Slide" (ARGB format test case) mini-games
PCSB00031 - Virtua Tennis 4 - Works fine in "CAM VT" mode (packed YUV422 format test case)
PCSF00214 - Tearaway - Works fine
PCSF00007 - WipEout 2048 - Works fine with low resolution images (tested with 64x64)
PCSF00043 - Frobisher Says - "fakecamerakbmp.suprx" is mandatory! Works fine (planed YUV420 format test case) but loading times are highly slowed down

Please report if you find a title where this feature doesn't work (just check with a low resolution BMP image and with "fakecamerakbmp.suprx" before reporting).


Download link

https://github.com/OperationNT414C/Fake ... es/tag/1.2
Advertising
Attachments
FakeCamera_v1.2.zip
(55.56 KiB) Downloaded 249 times
Last edited by OperationNT on Sun Oct 22, 2017 6:39 pm, edited 2 times in total.
maciak
Posts: 47
Joined: Wed May 25, 2011 11:58 am

Re: [Release] FakeCamera - Simulate camera answer on PS TV

Post by maciak »

Could it emulate light for uncharted?
Advertising
OperationNT
Posts: 161
Joined: Sun Jul 12, 2015 1:15 pm

Re: [Release] FakeCamera - Simulate camera answer on PS TV

Post by OperationNT »

No, it doesn't write into the camera output buffer so the image stays black (or uninitialized).
I will try to see if it would be possible to output a user default image.
Dorian22
Posts: 10
Joined: Sat Dec 06, 2014 11:57 am

Re: [Release] FakeCamera - Simulate camera answer on PS TV

Post by Dorian22 »

OperationNT wrote:No, it doesn't write into the camera output buffer so the image stays black (or uninitialized).
I will try to see if it would be possible to output a user default image.
I didnt have any problem with Uncharted when i played it on PSTV time ago. The camera puzzle got resolved automatically..

Anyway, it is not fully playable because of the motion controlled river level and one of the balance minigames (all the other logs can be rolled through).

https://www.youtube.com/watch?v=rN8nMpCSu7c

2:06:26.
ali_ihsan21
Posts: 683
Joined: Wed Jan 26, 2011 11:04 am

Re: [Release] FakeCamera - Simulate camera answer on PS TV

Post by ali_ihsan21 »

Nice one, thank you.
PSP-1000 6.20 16 GB Pro C-2
PSP-go 6.20 32 GB LME 2.3 White
PSP-go 6.60 24 GB Pro C-2 / LME 2.3 Black
PS Vita Slim 8 GB 3.60 Henkaku
PS TV 3.60 Henkaku 1 TB Samsung Story
Thank you RepRep, Total_Noob, Suloku, Omega2058, TheFlow
OperationNT
Posts: 161
Joined: Sun Jul 12, 2015 1:15 pm

Re: [Release] FakeCamera - Simulate camera answer on PS TV

Post by OperationNT »

Dorian22 wrote:Anyway, it is not fully playable because of the motion controlled river level and one of the balance minigames (all the other logs can be rolled through).
I developed a plugin to add support for motion control:
viewtopic.php?f=116&t=48407

Can you make a report if it allows you to pass the Uncharted sequences you were refering?
ma16v3
Posts: 32
Joined: Sat Aug 15, 2015 9:36 pm

Re: [Release] FakeCamera - Simulate camera answer on PS TV

Post by ma16v3 »

For me, it is not detecting the tilting of the controller. Just tried it.
OperationNT
Posts: 161
Joined: Sun Jul 12, 2015 1:15 pm

Re: [Release] FakeCamera - Simulate camera answer on PS TV

Post by OperationNT »

As I said in the limitation parts of DSMotion, I am aware that some computations are incorrect (and I ask help for someone who have maths/IMU skills to fix it).
For example, when I tried the mini-game from Welcome Park (NPSX10007) where you must control a skateboard, the moving part works but the jump motion dection doesn't work.

Can you please send me your Uncharted save (dumped with "vita-savemgr") close to the moment with the issue and the action I must perform to reach the issue? I don't wish to play 4 hours to reach the part you are talking about :) .
stranno
Posts: 76
Joined: Thu Jun 14, 2012 1:34 pm

Re: [Release] FakeCamera - Simulate camera answer on PS TV

Post by stranno »

I have played though the game, again, and its perfectly playable on PSTV thanks to you.

All tilt minigames, including the river, work properly and X-axis are not reverted.

Light puzzle gets resolved automatically but, again, i'm not sure if it is because FakeCamera or it is the normal behaviour of the game (maybe a memory patch to a never ended compatibility update with this game from Sony) in Playstation TV. Once resolved and saved it will get resolved again no matter what so i cant try again without the plugin :?

I will upload the decryted savestate later.

Edit: Here is. It is for the PCSA00029 version. Dumped through vita-savemgr Nightly 144. Infamous river level is Level 12 (you start right there if you choose the level), camera puzzle is level 13 (same with this) and level 14 have a balance mini-game that is impossible to glitch (the first balance minigame, after a few minutes in the level).

https://1fichier.com/?g69dacd58t (it is a hotlink).

All the other balance mini-games can be glitched in order to past through them without doing the motion stuff. Its hard because it is one precise spot in each log but it can be done, i did it time ago.

Anyway, the game works perfect now.
OperationNT
Posts: 161
Joined: Sun Jul 12, 2015 1:15 pm

Re: [Release] FakeCamera - Simulate camera answer on PS TV

Post by OperationNT »

New version 1.1: BMP file load into camera output buffer and minor fix
https://github.com/OperationNT414C/Fake ... es/tag/1.1
Locked

Return to “HENkaku”