CBPS Forums

Console Hacking => PS Vita => General => Topic started by: cuevavirus on February 18, 2021, 06:10:29 PM

Title: Vita Development Suite
Post by: cuevavirus on February 18, 2021, 06:10:29 PM
Vita Development Suite provides additional features for the PlayStation®Vita SDK:


Startup guide (https://github.com/Vita-Development-Suite/doc)

Samples (https://github.com/Vita-Development-Suite/samples)

Development updates will be posted in this thread.
Title: Re: Vita Development Suite
Post by: cuevavirus on February 18, 2021, 09:00:22 PM
Toolchain 0.1.1

Fixed a bug where a temporary file was deleted prematurely.
Title: Re: Vita Development Suite
Post by: cuevavirus on February 18, 2021, 10:42:56 PM
Toolchain 0.1.2

Fixed a bug where backslashes were used in ZIP (VPK) files.
Title: Re: Vita Development Suite
Post by: cuevavirus on February 19, 2021, 05:10:02 PM
PSP2 CMake Toolchains 0.1.1

Fixed a bug where the stub library for a __declspec-model PRX was created in the wrong directory when using the Ninja generator.
Title: Re: Vita Development Suite
Post by: cuevavirus on February 19, 2021, 09:19:51 PM
PSP2 CMake Toolchains 0.1.2

Fixed a bug where linker flags added in 0.1.1 may be erroneously reordered by CMake.
Title: Re: Vita Development Suite
Post by: Yuuria on February 19, 2021, 09:39:51 PM
Hi,
I just finished reading the guide ans realized that I don't have Publishing Tools for PlayStation®Vita 2.31 and SNC Toolchain for PSP2 3.570. Do you know where I can get them?
Title: Re: Vita Development Suite
Post by: Graphene on February 20, 2021, 12:22:00 PM
Search "ps vita sdk 3.57" in google. Both SNC toolchain and pubtools are distributed with it.
Title: Re: Vita Development Suite
Post by: cuevavirus on February 20, 2021, 11:22:27 PM
Toolchain 0.1.3

Added a workaround in stub library creation to avoid multiple definitions error when linking.
Title: Re: Vita Development Suite
Post by: cuevavirus on February 21, 2021, 12:06:11 AM
Libraries 0.1.1

- Rebuilt stub libraries with Toolchain 0.1.3
- Rebuilt static libraries with compiler optimisation
Title: Re: Vita Development Suite
Post by: Yoti on February 23, 2021, 05:38:26 PM
I don't want to use shitty illegal leaks for open source development. Bring the DolceSDK back.
Title: Re: Vita Development Suite
Post by: cuevavirus on February 23, 2021, 11:11:53 PM
I don't want to use shitty illegal leaks for open source development. Bring the DolceSDK back.

You are welcome to continue using Dolcesdk in its current state. Porting Dolcesdk projects to Vitasdk can also be done with ease.
Title: Re: Vita Development Suite
Post by: cuevavirus on February 23, 2021, 11:14:41 PM
PSP2 CMake Toolchains 0.1.3

- Added include_common to GCC default includes
- Set CMAKE_<LANG>_IMPLICIT_INCLUDE_DIRECTORIES for SNC toolchain

If you are using Visual Studio and Intellisense is unable to find system headers, use include_directories() or target_include_directories() to explicitly include the directories in CMAKE_<LANG>_IMPLICIT_INCLUDE_DIRECTORIES.

Note that while the CMake file API can report the values of CMAKE_<LANG>_IMPLICIT_INCLUDE_DIRECTORIES, Visual Studio does not current support reading these values. [1 (https://developercommunity.visualstudio.com/content/problem/513446/cmake-c-implicit-include-directories-and-cmake-cxx.html), 2 (https://github.com/microsoft/vscode-cmake-tools/issues/670)] In a preview version of Visual Studio 2019, it was possible to add additional arguments to the compiler used for Intellisense, but in the current release version that is no longer possible. [3 (https://devblogs.microsoft.com/cppblog/configure-intellisense-with-cmake-toolchain-files-in-visual-studio-2019-16-9-preview-2/)]
Title: Re: Vita Development Suite
Post by: cuevavirus on February 24, 2021, 03:12:06 AM
PSP2 CMake Toolchains 0.1.4

- Changes to CMAKE_<LANG>_IMPLICIT_INCLUDE_DIRECTORIES in 0.1.3 did not work in the expected way for Intellisense and has been reverted.
- Defined a variable PSP2_SNC_STANDARD_INCLUDE_DIRECTORIES for use with Intellisense. Make sure to add as system include directories with lower priority than Vita Development Suite include directories.
- Fixed a bug where CMake did not detect SNC compiler features.
- Fixed a bug where CMake did not set C/C++ standard flags for the SNC compiler.
Title: Re: Vita Development Suite
Post by: cuevavirus on March 06, 2021, 06:41:19 AM
Libraries 0.2.0

Summary of changes:

* Add prototype for sceKernelSysrootGetShellPid
* Move gpu_es4.h -> gpu_es4/error.h
* Add PowerVR services header
* Add sceGxmGetDeviceData
* Add SceGxmInternal NIDs
* Changes to user/incoming_dialog.h
* Add kernel net function NIDs
* Add SceAVConfigForDriver NIDs
* Import SceNpWebApi NIDs from SDK 3.570.011
* Add SceNpWebApi internal functions
* Add comments in common/kernel/cpu.h
* Rename sceKernelCpuGetCpuId -> sceKernelCpuId
* Remove Core suffix from GetProcessTime functions
* Add and rename old SDK functions

For details see repository history.

ghidra-loader-db.yml (https://bin.shotatoshounenwachigau.moe/vita/nids-database/ghidra-loader-db.yml) is now available, containing NIDs in a single file for use with GhidraVitaLoader (https://github.com/xerpi/GhidraVitaLoader/).
Title: Re: Vita Development Suite
Post by: cuevavirus on March 15, 2021, 02:56:08 AM
Libraries 0.3.0

Summary of changes:

* Add clockgen functions
* Fix Swapped NIDs for GetParameterDirection and GetParameterVariability
* Remove non-existent NIDs in SceLibMonoBridge
* Fix name sceNgsRackGetVoiceHandleInternal
* Remove duplicate exports
* Add sceSblGcAuthMgr syscall forwarder in libkernel
* Fix name sceKernelGetThreadCpuAffinityMask
* Fix names for sceKernelGetThreadTLSAddr
* Fix SceDrmBridge names
* Fix type for user sceSblACMgrIsGameProgram
* Add sceKernelDeleteThread in SceLibKernel
* Remove SceLibKernel re-exported syscalls
* Add NIDs in SceKernelForVM
* Remove internally forwarded funcs in SceLibKernel
* Add NIDs in SceCodecEngineUser
* Remove forwarded syscalls
* Remove old SDK functions
* Fix name and type sceKernelExtendKernelStackWide
* Add NIDs in SceLibGcc
* Add and change names in SceSblACMgr from dbg log
* Rename sceSblACMgrIsPSMDevAssistant
* Add and change names in SceSblACMgr from wiki
* Add sceKernelWaitExceptionCBForMono
* Add prototypes in clockgen.h
* Move threadmgr functions to common header
* Add sceKernelGetSystemTime functions
* Add NIDs in SceBeisobmf
* Add NIDs in SceBemp2sys
* Add NIDs from retail 3.60 shell.self debug log
* Add NIDs from retail 3.60 libmtp.suprx debug log
* Conform syscall names to syslibtrace
* Add NIDs in SceHpremote
* Fix function name and args in user/appmgr.h
* Remove unused definitions in common/appmgr.h
* Refactor structs in common/appmgr.h
* Add error code SCE_APPMGR_ERROR_NOSYS
* Remove duplicate definitions in kernel/power.h
* Merge common definitions in power.h
* Split debug and sysroot funcs from kernel/sysmem.h
* Remove sceSysrootIsManufacturingMode macro
* Add and fix names in SceSysrootForKernel
* Add sce_process_preload_disabled flags
* Add ScePafThread functions
* Update ScePafStdc names

For details see repository history.
Title: Re: Vita Development Suite
Post by: cuevavirus on April 07, 2021, 05:20:36 PM
Libraries 0.4.0

Summary of changes:

* Update names from prototype 0.940 display.skprx
* Change scePervasive names to match name style
* Add NIDs in ScePervasiveForDriver
* Add NIDs in SceAudioForDriver
* Remove dupe in display.h
* Merge common definitions in display.h
* Add NIDs in SceDisplayForDriver
* Add functions in SceSblSsUpdateMgr
* Fix name for sceSysrootGetHardwareFlags
* Update struct SceSysrootProcessHandler
* Add function prototypes in sysroot.h
* Update function args and doc in debug.h
* Add functions in SceDebugFor{Driver,Kernel}
* Add prototypes and docs in kernel/sblacmgr.h
* Update name, doc, prototype in sblaimgr.h
* Fix struct SceKernelModuleLibraryInfo
* Add C++ paf classes
* Changes to SceIniFileProcessor
* Add inline forwarder for sysmodule with arg
* Add NIDs to SceNpCommonPs4
* Fix ScePafStdc exit and abort NIDs
* Add NIDs in ScePervasiveForDriver
* Move sceKernelExitDeleteThread to SceThreadmgr
* Enclose macro definition in parentheses
* Add NIDs in ScePafStdc
* Add SceMode macros

For details see repository history.