Author Topic: Vita Development Suite  (Read 3489 times)

Offline cuevavirus

  • Hot Pockets
  • Useful Idiot
  • *****
  • Posts: 142
    • View Profile
Vita Development Suite
« on: February 18, 2021, 06:10:29 PM »
Vita Development Suite provides additional features for the PlayStation®Vita SDK:

  • System applications
  • Background applications
  • Hosted EMD model PRX
  • Freestanding EMD model PRX
  • SELF parameters
  • CMake integration
  • GCC and GNU assembler
  • Additional libraries

Startup guide

Samples

Development updates will be posted in this thread.
« Last Edit: February 19, 2021, 02:16:21 AM by cuevavirus »

Offline cuevavirus

  • Hot Pockets
  • Useful Idiot
  • *****
  • Posts: 142
    • View Profile
Re: Vita Development Suite
« Reply #1 on: February 18, 2021, 09:00:22 PM »
Toolchain 0.1.1

Fixed a bug where a temporary file was deleted prematurely.

Offline cuevavirus

  • Hot Pockets
  • Useful Idiot
  • *****
  • Posts: 142
    • View Profile
Re: Vita Development Suite
« Reply #2 on: February 18, 2021, 10:42:56 PM »
Toolchain 0.1.2

Fixed a bug where backslashes were used in ZIP (VPK) files.

Offline cuevavirus

  • Hot Pockets
  • Useful Idiot
  • *****
  • Posts: 142
    • View Profile
Re: Vita Development Suite
« Reply #3 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.

Offline cuevavirus

  • Hot Pockets
  • Useful Idiot
  • *****
  • Posts: 142
    • View Profile
Re: Vita Development Suite
« Reply #4 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.

Offline Yuuria

  • End User
  • *
  • Posts: 1
    • View Profile
Re: Vita Development Suite
« Reply #5 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?

Offline Graphene

  • Useful Idiot
  • ***
  • Posts: 103
    • View Profile
Re: Vita Development Suite
« Reply #6 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.

Offline cuevavirus

  • Hot Pockets
  • Useful Idiot
  • *****
  • Posts: 142
    • View Profile
Re: Vita Development Suite
« Reply #7 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.

Offline cuevavirus

  • Hot Pockets
  • Useful Idiot
  • *****
  • Posts: 142
    • View Profile
Re: Vita Development Suite
« Reply #8 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

Offline Yoti

  • End User
  • *
  • Posts: 8
    • View Profile
Re: Vita Development Suite
« Reply #9 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.

Offline cuevavirus

  • Hot Pockets
  • Useful Idiot
  • *****
  • Posts: 142
    • View Profile
Re: Vita Development Suite
« Reply #10 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.
« Last Edit: February 23, 2021, 11:16:17 PM by cuevavirus »

Offline cuevavirus

  • Hot Pockets
  • Useful Idiot
  • *****
  • Posts: 142
    • View Profile
Re: Vita Development Suite
« Reply #11 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, 2] 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]
« Last Edit: February 23, 2021, 11:21:28 PM by cuevavirus »

Offline cuevavirus

  • Hot Pockets
  • Useful Idiot
  • *****
  • Posts: 142
    • View Profile
Re: Vita Development Suite
« Reply #12 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.

Offline cuevavirus

  • Hot Pockets
  • Useful Idiot
  • *****
  • Posts: 142
    • View Profile
Re: Vita Development Suite
« Reply #13 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 is now available, containing NIDs in a single file for use with GhidraVitaLoader.
« Last Edit: March 28, 2021, 06:31:34 PM by cuevavirus »

Offline cuevavirus

  • Hot Pockets
  • Useful Idiot
  • *****
  • Posts: 142
    • View Profile
Re: Vita Development Suite
« Reply #14 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.