Files
AnyPS5/docs/dev/debt/libSceNgs2.md
T
Eduardo Ruiz 2efc86f681 feat(ngs2): implement the firmware-recovered utility exports
Implement sceNgs2SystemEnumHandles, sceNgs2SystemEnumRackHandles and sceNgs2ParseWaveformUser, and recover the sceNgs2FftQuerySize signature and work-size table from the decrypted firmware 11.00 libSceNgs2. FftInit/FftProcess still throw because their AVX kernel and packed layout are not recovered.
2026-10-30 18:19:53 +01:00

1.2 KiB

libSceNgs2 technical debt

Unknown function info

  • sceNgs2FftQuerySize (libSceNgs2) - implemented from the firmware 11.00 module: lengths 8..12 select 64, 128, 256, 512 and 1024 samples, bit 1 of the flags halves the count, and the work size is 32 * count + 64. sceNgs2FftInit and sceNgs2FftProcess still throw: the 7.3 KB AVX radix-8 kernel and its packed input/output layout are not recovered, and no dump imports these NIDs.
  • sceNgs2ParseWaveformUser, sceNgs2SystemEnumHandles, sceNgs2SystemEnumRackHandles (libSceNgs2) - implemented from the firmware 11.00 module. sceNgs2ParseWaveformUser reads offset 0 with the caller's read handler, takes the RIFF size from the header and parses the bytes with the shared waveform parser; a null handler returns 0x804A0408 and a null output 0x804A0053. The enumerators return the count of live systems or racks and fill up to the requested count; a null output with a nonzero count returns 0x804A0053 and an unknown system 0x804A0230. No dump imports these NIDs.