Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

FakeCamera Vita: Difference between revisions

From GameBrew
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#seo:
{{#seo:
|title=Vita Homebrew Apps (Plugins) - GameBrew!
|title=Vita Homebrew Apps (Plugins) - GameBrew
|title_mode=append
|title_mode=append
|image=fakecameravita.jpg
|image=fakecameravita2.png
|image_alt=FakeCamera
|image_alt=FakeCamera
}}
}}
{{Infobox Vita Homebrews
{{Infobox Vita Homebrews
|title=FakeCamera
|title=FakeCamera
|image=fakecameravita.jpg
|image=fakecameravita2.png
|description=Simulate camera usage on PSTV.
|description=Simulate camera usage on PS TV.
|author=OperationNT
|author=OperationNT
|lastupdated=2021/12/18
|lastupdated=2021/12/18
Line 18: Line 18:
|source=https://github.com/OperationNT414C/FakeCamera
|source=https://github.com/OperationNT414C/FakeCamera
}}
}}
'''FakeCamera''' is a henkaku plugin which fakes camera calls on PlayStation TV.
FakeCamera is a HENkaku plugin that fakes invalid camera calls in order to avoid some crashes for some titles on PlayStation TV.


== What is FakeCamera? ==
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 Vita|AntiBlackList]] (from Rinnegatamante).
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 Vita|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.


Once titles are unlocked, they could crash due unexpected SceCamera API answers (because they were never conceived to run on a device without camera).
==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 Vita|DSMotion]].


This is where this plugin could intervene to '''simulate''' expected answers and, therefore, avoid some crashes.
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 Vita|KUIO plugin]] (from Rinnegatamante).


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:
Plugin dependencies:
*fakecamera.suprx doesn't have any dependency.
*fakecamerabmp.suprx depends on additional plugin [[DSMotion Vita|dsmotion.skprx]] for image scrolling with motion controls.
*fakecamerakbmp.suprx depends on additional plugins [[DSMotion Vita|dsmotion.skprx]] and also [[Kuio Vita|kuio.skprx]] for file system access with kernel privilege.


* '''ux0:data/FakeCamera/TITLEID00_Front.bmp''' or '''ux0:data/FakeCamera/TITLEID00_Back.bmp''' (depends on front or back camera use)
Those dependencies must be loaded otherwise fakecamerabmp.suprx or fakecamerakbmp.suprx won't load.
* '''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'''


==How To Install FakeCamera?==
===How to install===
=== Dependencies ===
For each title which crashes when it should activate the camera, you can add those lines in ux0:tai/config.txt
The plugin '''fakecamera.suprx''' doesn't have any dependency.
 
The plugin '''fakecamerabmp.suprx''' depends on an additional kernel plugin:
 
* '''dsmotion.skprx''' ([[Dsmotion Vita]]) for image scrolling with motion controls.
 
For '''fakecamerakbmp.suprx''', there is also another dependency on the following kernel plugin:
 
* '''kuio.skprx''' ([[Kuio Vita]]) for file system access with kernel privilege.
 
Those dependencies must be loaded otherwise '''fakecamerabmp.suprx''' or '''fakecamerakbmp.suprx''' won't load.
 
=== Installation ===
For each title which crashes when it should activate the camera, you can add those lines in <code>ux0:tai/config.txt</code>:
 
<pre>*TITLEID00
ux0:tai/fakecamera.suprx</pre>


*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)
OR (even if the title doesn't crash, it will allow you to set up a BMP image as camera output)


<pre>*KERNEL
*KERNEL
ux0:tai/dsmotion.skprx
ux0:tai/dsmotion.skprx
 
*TITLEID00
*TITLEID00
ux0:tai/fakecamerabmp.suprx</pre>
ux0:tai/fakecamerabmp.suprx
 
OR (if the BMP file loading doesn't work with normal rights)
OR (if the BMP file loading doesn't work with normal rights)


<pre>*KERNEL
*KERNEL
ux0:tai/dsmotion.skprx
ux0:tai/dsmotion.skprx
ux0:tai/kuio.skprx
ux0:tai/kuio.skprx
 
*TITLEID00
*TITLEID00
ux0:tai/fakecamerakbmp.suprx</pre>
ux0:tai/fakecamerakbmp.suprx
Replace TITLEID00 by your title identifier or by *ALL to affect all titles.


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.


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:


== Compatibility ==
*ux0:data/FakeCamera/TITLEID00_Front.bmp or ux0:data/FakeCamera/TITLEID00_Back.bmp (depends on front or back camera use).
* PCSF00007 - WipEout 2048 - The game won't crash on a multiplayer session start! (due to the useless picture feature)
*ux0:data/FakeCamera/TITLEID00.bmp.
* 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)
*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.


=== BMP load compatibility ===
==User guide==
* PCM300001 - Pro Camera Vita - Works fine
===Compatibility===
* VITASHELL - Vita Shell - Works fine in QR scan feature
*PCSF00007 - WipEout 2048 - The game won't crash on a multiplayer session start! (due to the useless picture feature).
* NPXS10007 - Welcome Park - Works fine in '''Hello Face''' and '''Snap + Slide''' (ARGB format test case) mini-games
*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).
* 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 '''fakecamerakbmp.suprx''' before reporting).
===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.


==Screenshot==
==Known issues==
[[image:fakecameravita.jpg|600px]]
https://github.com/OperationNT414C/FakeCamera/issues


==Changelog==
==Changelog==
'''(v.1.2.1)'''
'''v1.2.1'''
* Fix image usage issue when it was named "TITLEID00_Front.bmp" or "TITLEID00_Back.bmp" ("fakecamerabmp.suprx" and "fakecamerakbmp.suprx" only)
* Fix image usage issue when it was named "TITLEID00_Front.bmp" or "TITLEID00_Back.bmp" ("fakecamerabmp.suprx" and "fakecamerakbmp.suprx" only).


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


'''(v.1.1)'''
'''v1.1'''
* Fix some wrong resolution values
* Fix some wrong resolution values.
* "fakecamerabmp.suprx" allows to load a BMP image in camera buffer (please read the documentation for further information)
* "fakecamerabmp.suprx" allows to load a BMP image in camera buffer (please read the documentation for further information).


'''(v.1.0)'''
'''v1.0'''
* Henkaku plugin that fakes invalid camera calls in order to avoid some crashes for some titles on PlayStation TV
* Henkaku plugin that fakes invalid camera calls in order to avoid some crashes for some titles on PlayStation TV.


==Credits ==
==Credits==
* '''Rinnegatamante''' for [[Antiblacklist Vita|AntiBlackList]]; application and his [[Kuio Vita]]; plugin.
* Rinnegatamante for [[AntiBlacklist Vita|AntiBlackList]]; application and his [[Kuio Vita]|kuio]] plugin.
* '''xerpi''' for his [[Libvita2d Vita]]; source code which inspired me for BMP format read.
* xerpi for his [[Libvita2d Vita]]; source code which inspired me for BMP format read.


== External links ==
== External links ==
* Official Website - https://wololo.net/talk/viewtopic.php?f=116&t=48367
* GitHub - https://github.com/OperationNT414C/FakeCamera
* Github - https://github.com/OperationNT414C/FakeCamera
* Wololo - https://wololo.net/talk/viewtopic.php?f=116&t=48367
* VitaDB - https://vitadb.rinnegatamante.it/#/info/296
* VitaDB - https://vitadb.rinnegatamante.it/#/info/296

Latest revision as of 09:30, 12 Ocak 2023

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: