FakeCamera Vita

From GameBrew
FakeCamera
Fakecameravita2.png
General
AuthorOperationNT
TypePlugins
Version1.2.1
LicenseMIT License
Last Updated2021/12/18
Links
Download
Website
Source

FakeCamera is a HENkaku plugin that fakes invalid camera calls in order to avoid some crashes for some titles on PlayStation TV.

Of course, those titles have been blocked by Sony and you must previously unlock them in order to launch them. Use an application like AntiBlackList (from Rinnegatamante).

Once titles are unlocked, they could crash due unexpected SceCamera API answers (because they were never conceived to run on a device without camera). This is where this plugin could intervene to "simulate" expected answers and, therefore, avoid some crashes.

Installation

Dependencies

The version 1.1 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).

Plugin dependencies:

  • fakecamera.suprx doesn't have any dependency.
  • fakecamerabmp.suprx depends on additional plugin dsmotion.skprx for image scrolling with motion controls.
  • fakecamerakbmp.suprx depends on additional plugins dsmotion.skprx and also kuio.skprx for file system access with kernel privilege.

Those dependencies must be loaded otherwise fakecamerabmp.suprx or fakecamerakbmp.suprx won't load.

How to install

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

*TITLEID00
ux0:tai/fakecamera.suprx

OR (even if the title doesn't crash, it will allow you to set up a BMP image as camera output)

*KERNEL
ux0:tai/dsmotion.skprx

*TITLEID00
ux0:tai/fakecamerabmp.suprx

OR (if the BMP file loading doesn't work with normal rights)

*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.

Note: Do not use fakecamera.suprx, fakecamerabmp.suprx or fakecamerakbmp.suprx on the same configuration.

BMP feature

With fakecamerabmp.suprx or fakecamerakbmp.suprx plugin, a BMP file image can be loaded and used as camera output. Images must be placed in ux0:data/FakeCamera directory. An image is selected in this directory with the following priority:

  • ux0:data/FakeCamera/TITLEID00_Front.bmp or ux0:data/FakeCamera/TITLEID00_Back.bmp (depends on front or back camera use).
  • ux0:data/FakeCamera/TITLEID00.bmp.
  • ux0:data/FakeCamera/ALL_Front.bmp or ux0:data/FakeCamera/ALL_Back.bmp (depends on front or back camera use).
  • ux0:data/FakeCamera/ALL.bmp.

User guide

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.

Known issues

https://github.com/OperationNT414C/FakeCamera/issues

Changelog

v1.2.1

  • Fix image usage issue when it was named "TITLEID00_Front.bmp" or "TITLEID00_Back.bmp" ("fakecamerabmp.suprx" and "fakecamerakbmp.suprx" only).

v1.2

  • Add support for "wait next frame" feature (avoid freezing "Frobisher Says").
  • Add new camera format support for BMP loading.
  • "fakecamerakbmp.suprx" allows BMP file open with kernel calls (normal calls fail with "Frobisher Says").

v1.1

  • Fix some wrong resolution values.
  • "fakecamerabmp.suprx" allows to load a BMP image in camera buffer (please read the documentation for further information).

v1.0

  • Henkaku plugin that fakes invalid camera calls in order to avoid some crashes for some titles on PlayStation TV.

Credits

  • Rinnegatamante for AntiBlackList; application and his [[Kuio Vita]|kuio]] plugin.
  • xerpi for his Libvita2d Vita; source code which inspired me for BMP format read.

External links

Advertising: