Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Graphene

Pages: [1] 2
PS Vita / Re: [Release] BGFTP - Background FTP server
« on: February 24, 2020, 12:10:39 AM »
Updated to v1.2

Added photo0: and music0: virtual drives.

Updated to the latest version of libvita2d_sys:
- Some UI changes
- SceShell overlay in main application should work properly now.

Fixed the way shared fb is swapped. SceShell overlay shoud work properly now.

Framebuffer swapping in libvita2d_sys is now performed automatically. vita2d_swap_buffers() does not exist anymore.

PS Vita / [Release] BGFTP - Background FTP server
« on: February 22, 2020, 02:38:38 AM »
Background FTP server for PS Vita.

Works simultaneously with any game, including enlarged memory mode games, and in sleep mode. BGFTP can send various information to user via notifications.

More information and download:

Reverse Engineering / vshPowerSetPowerSwMode
« on: February 21, 2020, 06:37:22 PM »
int vshPowerSetPowerSwMode(int mode)

returns 0 if successful.

mode values:
0 - press does nothing, long press opens shutdown menu like usual;
1 - press does nothing, long press immediately shuts down;
2 - press immediately suspends, long press opens shutdown menu like usual;
3 - press immediately suspends, long press immediately shuts down;
4 - same as normal?
5 - same as normal?
6 - same as normal?
7 - press suspends as normal, long press immediately shuts down;

PS Vita / [Release] libvita2d_sys - libvita2d for system mode applications
« on: February 16, 2020, 10:59:11 PM »
libvita2d_sys is modification of libvita2d designed to be used in applications running in system mode. That means that you can use such applications without closing games.

Reverse Engineering / Re: SharedFb and sceGxmInternalForVsh sample
« on: February 12, 2020, 11:50:23 PM »
Updated the sample

- Removed unnecessary code
- GXM memory is now mapped (total size is 5MiB)
- Added vsync value (60FPS or 30FPS lock)

Reverse Engineering / SharedFb and sceGxmInternalForVsh sample
« on: February 09, 2020, 09:58:39 PM »
This sample demonstrates how to use shared framebuffer and initialize GXM in PS Vita applications running in system mode:

If you have been using NoSharedFb plugin, unistall it before using this application.

It draws squares moving from top to bottom of the screen. Color of the squares will be green if GXM was initialized successfully and red if initialization failed.

Reverse Engineering / Re: SceAppMgrUser
« on: February 05, 2020, 01:04:26 AM »
Returns error in game budget apps, works fine in system mode apps.

int sceAppMgrGetBudgetInfo(sceAppMgrBudgetInfo* info);

typedef struct sceAppMgrBudgetInfo {
   SceSize size;                           //must be 0x88
   uint32_t mode;                       //2 = Mode_ApplicationA, 3 = Mode_ApplicationB (allow phycont), 4 = Mode_Application (allow 0x0E208060, allow phycont)
   uint32_t unk_4;
   uint32_t budgetLPDDR2;          //LPDDR2 budget in bytes
   uint32_t freeLPDDR2;              //Free LPDDR2 memory in bytes
   uint32_t allow0x0E208060;      //1 if 0x0E208060 usage is allowed, otherwise 0
   uint32_t unk_14;                    //only if 0x0E208060 is used, otherwise 0
   uint32_t budget0x0E208060;   //0x0E208060 budget in bytes
   uint32_t free0x0E208060;       //Free 0x0E208060 memory in bytes
   uint32_t unk_20;                    //always 0
   uint32_t unk_24;                    //only if phycont is used, otherwise 0
   uint32_t budgetPHYCONT;       //PHYCONT budget in bytes
   uint32_t freePHYCONT;           //Free PHYCONT memory in bytes
   uint32_t allow;                       //Some memory type?
   char unk_34[0x20];                //Some memory type?
   uint32_t unk_54;
   uint32_t budgetCDRAM;          //CDRAM budget in bytes
   uint32_t freeCDRAM;              //Free CDRAM memory in bytes
   char reserved_60[0x24];
} sceAppMgrBudgetInfo;

Reverse Engineering / Main - background application pair
« on: February 01, 2020, 12:14:42 AM »
This background application sample works in the same way as Skype application:

SceBgAppUtil is used to manage BG application state from main application and SceNotificationUtil is used in BG application to send custom notifications.

Notifications from BG application can be enabled/disabled in Settings->Notifications. BG application can be restared from main application once it finished working (after the 20sec notification).

Updated to v1.0

- Transparency value is now user-adjustable
- Will be disabled if no game budget app present

Plugin for PS Vita that makes impose menu (the one that appears after long PS button press) transparent.

This plugin doesn't work in system applications (exceptions are Videos app and Package Installer).

Install under *main

How to set custom transparency value

Using Vitashell, create config file: ur0:data/trimpose.txt. Edit this file and enter your transparency value. Valid values are in 0-255 range:

255 - 0% transparent . . . 0 - 100% transparent

Values below 30 are not recommended.

Reboot is required to apply changes.


PS Vita / [Release] PoC: BadappleVitaSystem
« on: January 21, 2020, 01:12:06 AM »
aka version of BadappleVita that can be started simultaneously with the game application in the background.

Use NoSharedFb plugin to bypass framebuffer problems when resuming from LiveArea.

Reverse Engineering / Re: AVContent.db values for ATRAC9 files
« on: January 18, 2020, 01:04:39 AM »
Some more information:
1. Maximum ATRAC9 bitrate supported by PS Vita is 192kbps.
2. By default, ATRAC9 have limited band (all frequencies higher than ~18kHz are cut). To bypass that and achive highest sound quality possible, use -nbands 18 when encoding.

Quality and performance comparision:
1. MP3 320kbps: cuts most of the audio information higher than 16kHz, file size 9.72Mb, core load during playback ~50%
2. ATRAC9 192kbps -nbands 18: keeps everything up to 24kHz intact, file size 5.83Mb, core load during playback ~40%

PS Vita / [Release] QAscreenshot - unlocks QA screenshot functions
« on: January 17, 2020, 07:25:56 PM »
High quality screenshot plugin for PS Vita. Unlocks native QA screenshot SceShell implementation.

.bmp, always allowed, no watermarks

Install under *main


Warning! This will only work with reF00D for now.

This application allows you to change CPU affinity mask of some PS Vita system applications to all user cores, which increases their performance.

Sets cpu affinity mask for the following applications: Friends, Trophies, Music, Messages, Settings, ★Checker(uncomment in src if needed), Parental Controls.

Download here:

Some observations:
Boot time 1.90 sec -> 1.58 sec. Loads all in-app stuff much faster.
Boot time: 1.71 sec -> 1.42 sec. Loads trophies when fast scrolling page almost instantly.
Boot time 2.45 sec -> 2.06 sec. Loads album covers much faster.
Boot time 1.93 sec -> 1.83 sec.
Boot time: 2.08 sec -> 1.83 sec. Better overall in-app performance.
★Checker (uncomment in src if needed):
Checks are performed much faster, especially if there is lot of addcont.
Parental Controls:
Boot time: 1.75 sec -> 1.53 sec.

Pages: [1] 2