User talk:Kozarovv: Difference between revisions

From PS4 Developer wiki
Jump to navigation Jump to search
Line 142: Line 142:
*_config.txt
*_config.txt
*--vms
*--vms
*
*--autoresampler [true]
 
*videos/
*videos/
*.mp4
*.mp4

Revision as of 15:02, 8 May 2018

Rough draft

psfour2pstwo

gs

  • --gs-kernel-cl="DarkCloud2"
  • --gs-kernel-cl="fantavision"

Special case kernel plugins?

possible speed/comp hacks

  • --detect-idle-vif
  • --detect-idle-ee
  • --detect-idle-iop
  • --detect-idle-intc
  • --detect-idle-chcr

Sound - SPU2 behavior

  • --spu2-update-deferral
  • --spu2-reverb
  • --spu2-c0-memin-to-bgm
  • --spu2-c1-memin-to-bgm
  • --spu2Trace


PSPHD

LUA

basic

  • axInsnReplace (mem, org opcode, new opcode) - Replace allegrex memory
  • axFuncReplace - Replace allegrex function


hooks/registers

Allegrex (usage - remove AX_):

  • AX_GetPC
  • AX_SetPC
  • AX_GetHi
  • AX_SetHi
  • AX_GetLo
  • AX_SetLo
  • AX_GetReg
  • AX_SetReg
  • AX_GetFpr
  • AX_SetFpr
  • AX_ReadMem8
  • AX_ReadMem16
  • AX_ReadMem32
  • AX_ReadMemFloat
  • AX_ReadMemString
  • AX_WriteMem8
  • AX_WriteMem16
  • AX_WriteMem32
  • AX_WriteMemFloat
  • AX_WriteMemString
  • AX_WriteMemStringZ
  • AX_AddHook
  • AX_RemoveHook
  • AX_Overlay
  • AX_InsnReplace
  • AX_FuncReplace

Media Engine usage - remove EM_:

  • EM_SetTextureHashMode
  • EM_SetTextureScaleOffset
  • EM_SetTextureSaveSubdir
  • EM_SetSampleTitle
  • EM_SetDrawEDRam
  • EM_ToggleTextures
  • EM_PadRead
  • EM_PadReadPitch
  • EM_PadReadRoll
  • EM_PadVibrate
  • EM_PadRegisterSamples
  • EM_PadSetButtonsMode
  • EM_AddVsyncHook
  • EM_RemoveVsyncHook
  • EM_ThrottleMax
  • EM_ThrottleNormal
  • EM_Log
  • EM_GetLanguage
  • EM_GetNativeLanguage
  • EM_DisplayManual
  • EM_LoadConfig
  • EM_SaveConfig
  • EM_LoadMIDI
  • EM_GetMIDINotesAtTick
  • EM_LoadSlideshow
  • EM_StartSlideshow
  • EM_LoadState
  • EM_SaveState

config psp

Desc: https://pastebin.com/CXRpVLdd
1,0 is done by true/false commands.

  • --boot [disc0:/PSP_GAME/SYSDIR/BOOT.BIN - path (no loaders support like on PS3? vide ct2, psc)]
  • --notrophies
  • --texsave
  • --texmissingsave
  • --samplesave
  • --texreplace
  • --samplereplace
  • --replacementalpha [true]
  • --parappaalphahack
  • --locorocomeshsmooth
  • --replacementfilter
  • --gputhread
  • --antialias [MSAA4x, SSAA4x]
  • --texcachemode [drawbounds, drawboundsloco]
  • --texclutmode [filter, full]
  • --texloadmode [launch, ondemand_lz4]
  • --parappajapanesefonthack
  • --parappareplacecolor [%08x (rgb?)]
  • --volume [  ? (Adjusting volume level to %d%%)]
  • --image [umd0 ,disc0]
  • --addon
  • --host [host0, flash0]

Standard:

  • patches/
  • _patches.lua
  • feature_data/
  • _features.lua
  • tooling/
  • _tooling.lua
  • trophy_data/
  • _trophies.lua

other

  • _config.txt
  • --vms
  • --autoresampler [true]
  • videos/
  • .mp4
  • videos/%08x.mp4
  • audio/%08x.ogg
  • --texswitch [original, replacement]

Paths:

  • /app0/
  • /download0/
  • /savedata
  • /host/
  • /hostapp/
  • /data/

NIDs in HLE, without.. NIDs :(

HLEInterruptManager
  • sceKernelRegisterSubIntrHandler
  • sceKernelReleaseSubIntrHandler
  • sceKernelEnableSubIntr
HLEStdioForUser
  • sceIoOpen
  • sceIoClose
  • sceIoRead
  • sceIoWrite
  • sceIoLseek
  • sceIoLseek32
  • sceIoDopen
  • sceIoDread
  • sceIoDclose
  • sceIoChdir
  • sceIoGetstat
  • sceIoDevctl
  • sceIoRename
  • sceIoMkDir
  • sceIoChstat
  • sceIoRemove
  • sceIoRmdir
  • sceIoOpenAsync
  • sceIoReadAsync
  • sceIoIoctlAsync
  • sceIoWaitAsync
  • sceIoWaitAsyncCB
  • sceIoCloseAsync
  • sceIoSetAsyncCallback
  • sceIoPollAsync
  • sceIoLseekAsync
  • sceIoGetAsyncStat
  • asyncWaitTimerCallback
  • asyncCallbackTimerCallback
  • sceKernelStdin
  • sceKernelStdout
  • sceKernelStderr
HLELoadExecForUser
  • sceKernelCpuSuspendIntr
  • sceKernelCpuResumeIntr
  • sceKernelIsCpuIntrEnable
  • sceKernelExitGame
  • sceKernelRegisterExitCallback
  • sceKernelLoadModule
  • sceKernelUnloadModule
  • sceKernelStartModule
  • sceKernelStopModule
  • sceKernelStopUnloadSelfModule
  • sceKernelGetModuleIdByAddress
  • sceKernelStopUnloadSelfModuleWithStatus
  • sceKernelGetModuleId
HLEsceAtrac3plus
  • sceAtracReinit
  • sceAtracDecodeData
  • sceAtracGetNextDecodePosition
  • sceAtracSetHalfwayBufferAndGetID
  • sceAtracGetSoundSample
  • sceAtracGetStreamDataInfo
  • sceAtracGetRemainFrame
  • sceAtracSetLoopNum
  • sceAtracResetPlayPosition
  • sceAtracReleaseAtracID
  • sceAtracGetAtracID
  • sceAtracGetNextSample
  • sceAtracSetData
  • sceAtracAddStreamData
HLEsceAudio
  • sceAudioChReserve
  • sceAudioChRelease
  • sceAudioOutputBlocking
  • sceAudioChangeChannelConfig
  • sceAudioGetChannelRestLength
  • sceAudioChangeChannelVolume
  • sceAudioSetChannelDataLen
  • sceAudioOutputPanned
  • sceAudioOutputPannedBlocking
  • sceAudioGetChannelRestLen
  • sceAudioOutput2Reserve
  • sceAudioOutput2OutputBlocking
  • sceAudioOutput2Release
  • outputCallback
HLEsceCtrl
  • sceCtrlSetSamplingCycle
  • sceCtrlSetSamplingMode
  • sceCtrlReadBufferPositive
  • sceCtrlReadBufferNegative
  • sceCtrlPeekBufferPositive
  • sceCtrlPeekBufferNegative
  • sceCtrlGetIdleCancelThreshold
  • sceCtrlSetIdleCancelThreshold
  • sceCtrlReadLatch
  • sceCtrlPeekLatch
  • sampleControllerCallback
  • vibrationControllerCallback
HLEsceDisplay
  • sceDisplaySetMode
  • sceDisplaySetFramebuf
  • sceDisplayGetFramebuf
  • sceDisplayGetVcount
  • sceDisplayWaitVblankStart
  • sceDisplayWaitVblankStartCB
  • sceDisplayGetCurrentHcount
  • sceDisplayGetAccumulatedHcount
  • sceDisplayGetFramePerSec
  • sceDisplayWaitVblank
  • sceDisplayWaitVblankCB
  • sceDisplayIsVblank
  • sceDisplaySetHoldMode
  • vblankStart
  • vblankEnd
HLEsceGe_user
  • sceGeEdramGetAddr
  • sceGeEdramGetSize
  • sceGeGetCmd
  • sceGeGetMtx
  • sceGeListEnQueue
  • sceGeListEnQueueHead
  • sceGeListDeQueue
  • sceGeListSync
  • sceGeListUpdateStallAddr
  • sceGeDrawSync
  • sceGeSetCallback
  • sceGeUnsetCallback
  • sceGeBreak
  • sceGeContinue
  • interruptCallback
HLEsceImpose
  • sceImposeGetLanguageMode
  • sceImposeSetLanguageMode
  • sceImposeSetUMDPopup
HLEsceMpeg
  • sceMpegInit
  • sceMpegFinish
  • sceMpegCreate
  • sceMpegDelete
  • sceMpegQueryMemSize
  • sceMpegMallocAvcEsBuf
  • sceMpegFreeAvcEsBuf
  • sceMpegInitAu
  • sceMpegGetAvcAu
  • sceMpegGetAtracAu
  • sceMpegQueryAtracEsSize
  • sceMpegAtracDecode
  • sceMpegRingbufferQueryMemSize
  • sceMpegRingbufferConstruct
  • sceMpegRingbufferDestruct
  • sceMpegRingbufferPut
  • sceMpegRingbufferAvailableSize
  • sceMpegAvcCsc
  • sceMpegAvcDecodeMode
  • sceMpegAvcDecodeDetail
  • sceMpegAvcDecodeFlush
  • sceMpegAvcQueryYCbCrSize
  • sceMpegAvcInitYCbCr
  • sceMpegAvcDecodeYCbCr
  • sceMpegAvcDecodeStopYCbCr
  • sceMpegRegistStream
  • sceMpegUnRegistStream
  • sceMpegQueryStreamSize
  • sceMpegQueryStreamOffset
  • sceMpegFlushAllStream
HLEsceNet
  • sceNetInit
  • sceNetInetGetsockopt
  • sceNetInetSetsockopt
  • sceNetInetGetErrno
HLEscePower
  • scePowerRegisterCallback
  • scePowerUnregisterCallback
  • scePowerSetClockFrequency
  • scePowerSetCpuClockFrequency
  • scePowerSetBusClockFrequency
HLEscePsmf
  • scePsmfVerifyPsmf
  • scePsmfSetPsmf
  • scePsmfSpecifyStreamWithStreamTypeNumber
  • scePsmfCheckEPmap
  • scePsmfGetVideoInfo
  • scePsmfGetNumberOfStreams
  • scePsmfGetNumberOfEPentries
  • scePsmfGetEPWithId
  • scePsmfGetPsmfVersion
  • scePsmfGetNumberOfSpecificStreams
  • scePsmfSpecifyStream
  • scePsmfGetCurrentStreamType
HLEscePsmfPlayer
  • scePsmfPlayerCreate
  • scePsmfPlayerDelete
  • scePsmfPlayerSetPsmf
  • scePsmfPlayerReleasePsmf
  • scePsmfPlayerStart
  • scePsmfPlayerGetAudioOutSize
  • scePsmfPlayerStop
  • scePsmfPlayerUpdate
  • scePsmfPlayerGetVideoData
  • scePsmfPlayerGetAudioData
  • scePsmfPlayerGetCurrentStatus
  • scePsmfPlayerGetPsmfInfo
  • scePsmfPlayerConfigPlayer
  • scePsmfPlayerBreak
  • scePsmfPlayerChangePlayMode
HLEsceRtc
  • sceRtcGetCurrentTick
  • sceRtcGetAccumulativeTime
  • sceRtcGetCurrentClockLocalTime
HLEsceSasCore
  • sceSasInit
  • sceSasCore
  • sceSasCoreWithMix
  • sceSasGetEndFlag
  • sceSasGetPauseFlag
  • sceSasGetEnvelopeHeight
  • sceSasGetAllEnvelopeHeights
  • sceSasGetOutputMode
  • sceSasSetOutputMode
  • sceSasGetGrain
  • sceSasSetGrain
  • sceSasSetVoice
  • sceSasSetNoise
  • sceSasSetPitch
  • sceSasSetVolume
  • sceSasSetSimpleADSR
  • sceSasSetKeyOn
  • sceSasSetKeyOff
  • sceSasSetPause
  • sceSasSetSL
  • sceSasSetADSR
  • sceSasSetADSRMode
  • sceSasRevEVOL
  • sceSasRevType
  • sceSasRevParam
  • sceSasRevVON
HLEsceSuspendForUser
  • sceKernelPowerTick
  • sceKernelPowerLock
  • sceKernelPowerUnlock
  • sceKernelVolatileMemTryLock
  • sceKernelVolatileMemUnlock
  • sceKernelVolatileMemLock
HLEsceUmdUser
  • sceUmdActivate
  • sceUmdGetDriveStat
  • sceUmdCheckMedium
  • sceUmdRegisterUMDCallback
  • sceUmdUnRegisterUMDCallBack
  • sceUmdWaitDriveStat
  • sceUmdWaitDriveStatWithTimer
  • sceUmdWaitDriveStatCB
  • sceUmdCancelWaitDriveStat
  • _UmdWaitDriveTimeout
HLEsceUtility
  • sceUtilityLoadModule
  • sceUtilityUnloadModule
  • sceUtilityLoadNetModule
  • sceUtilityUnloadNetModule
  • sceUtilityLoadAvModule
  • sceUtilityUnloadAvModule
  • sceUtilityGetSystemParamInt
  • sceUtilityGetSystemParamString
  • sceUtilitySavedataGetStatus
  • sceUtilitySavedataShutdownStart
  • sceUtilitySavedataInitStart
  • sceUtilitySavedataUpdate
  • sceUtilityMsgDialogGetStatus
  • sceUtilityMsgDialogShutdownStart
  • sceUtilityMsgDialogInitStart
  • sceUtilityMsgDialogUpdate
  • sceUtilityMsgDialogAbort
  • sceUtilityOskGetStatus
  • sceUtilityOskShutdownStart
  • sceUtilityOskInitStart
  • sceUtilityOskUpdate
  • saveDataUpdateCallback
  • oskUpdateCallback
HLEsceWlanDrv
  • sceWlanGetSwitchState
  • sceWlanGetEtherAddr
HLESysMemUserForUser
  • sceKernelMaxFreeMemSize
  • sceKernelTotalFreeMemSize
  • sceKernelQueryMemoryInfo
  • sceKernelDevkitVersion
  • sceKernelPrintf
  • sceKernelGetPTRIG
  • sceKernelSetPTRIG
  • sceKernelAllocPartitionMemory
  • sceKernelFreePartitionMemory
  • sceKernelGetBlockHeadAddr
  • sceKernelGetMemoryBlockAddr
  • sceKernelAllocMemoryBlock
  • sceKernelFreeMemoryBlock
  • sceKernelSetCompilerVersion
  • sceKernelGetCompiledSdkVersion
  • sceKernelSetCompiledSdkVersion
  • sceKernelSetCompiledSdkVersion370
  • sceKernelSetCompiledSdkVersion380_390
  • sceKernelSetCompiledSdkVersion395
  • sceKernelSetCompiledSdkVersion401_402
  • sceKernelSetCompiledSdkVersion500_505
  • sceKernelSetCompiledSdkVersion507
  • sceKernelSetCompiledSdkVersion600_602
  • sceKernelSetCompiledSdkVersion603_605
  • sceKernelSetCompiledSdkVersion606
  • sceKernelSetUsersystemLibWork
  • sceKernelSysMemUserForUser_ACBD88CA
  • sceKernelSysMemUserForUser_D8DE5C1E
  • sceKernelSysMemUserForUser_945E45DA
HLEThreadManForUser
  • sceKernelDelayThread
  • sceKernelDelayThreadCB
  • sceKernelCreateCallback
  • sceKernelDeleteCallback
  • sceKernelSleepThread
  • sceKernelSleepThreadCB
  • sceKernelWakeupThread
  • sceKernelCreateMsgPipe
  • sceKernelDeleteMsgPipe
  • sceKernelSendMsgPipe
  • sceKernelTrySendMsgPipe
  • sceKernelReceiveMsgPipe
  • sceKernelTryReceiveMsgPipe
  • sceKernelReferMsgPipeStatus
  • sceKernelCreateThread
  • sceKernelStartThread
  • sceKernelExitThread
  • sceKernelDeleteThread
  • sceKernelExitDeleteThread
  • sceKernelGetThreadExitStatus
  • sceKernelTerminateThread
  • sceKernelTerminateDeleteThread
  • sceKernelWaitThreadEnd
  • sceKernelWaitThreadEndCB
  • sceKernelRotateThreadReadyQueue
  • sceKernelReferThreadStatus
  • sceKernelSuspendDispatchThread
  • sceKernelResumeDispatchThread
  • sceKernelSuspendThread
  • sceKernelResumeThread
  • sceKernelCancelWakeupThread
  • sceKernelGetThreadStackFreeSize
  • sceKernelGetSystemTimeLow
  • sceKernelGetSystemTime
  • sceKernelGetSystemTimeWide
  • sceKernelGetThreadCurrentPriority
  • sceKernelChangeCurrentThreadAttr
  • sceKernelGetThreadId
  • sceKernelChangeThreadPriority
  • sceKernelReferThreadProfiler
  • sceKernelCheckCallback
  • sceKernelCancelSema
  • sceKernelCreateSema
  • sceKernelDeleteSema
  • sceKernelPollSema
  • sceKernelSignalSema
  • sceKernelReferSemaStatus
  • sceKernelWaitSema
  • sceKernelWaitSemaCB
  • sceKernelCreateFpl
  • sceKernelDeleteFpl
  • sceKernelAllocateFpl
  • sceKernelAllocateFplCB
  • sceKernelTryAllocateFpl
  • sceKernelFreeFpl
  • sceKernelCancelFpl
  • sceKernelReferFplStatus
  • sceKernelCreateVpl
  • sceKernelDeleteVpl
  • sceKernelAllocateVpl
  • sceKernelAllocateVplCB
  • sceKernelTryAllocateVpl
  • sceKernelFreeVpl
  • sceKernelCancelVpl
  • sceKernelReferVplStatus
  • sceKernelCreateEventFlag
  • sceKernelSetEventFlag
  • sceKernelDeleteEventFlag
  • sceKernelClearEventFlag
  • sceKernelWaitEventFlag
  • sceKernelWaitEventFlagCB
  • sceKernelPollEventFlag
  • sceKernelCancelEventFlag
  • sceKernelReferEventFlagStatus
  • sceKernelCreateMbx
  • sceKernelDeleteMbx
  • sceKernelSendMbx
  • sceKernelReceiveMbx
  • sceKernelReceiveMbxCB
  • sceKernelPollMbx
  • sceKernelCancelReceiveMbx
  • sceKernelReferMbxStatus
  • sceKernelCreateMutex
  • sceKernelDeleteMutex
  • sceKernelLockMutex
  • sceKernelLockMutexCB
  • sceKernelTryLockMutex
  • sceKernelUnlockMutex
  • sceKernelCancelMutex
  • sceKernelReferMutexStatus
  • _sceKernelDelayThreadCallback
  • _sceKernelWaitThreadEndTimeout
  • _sceKernelAllocateFplTimeout
  • _sceKernelAllocateVplTimeout
  • _sceKernelWaitEventFlagTimeout
  • _sceKernelMsgPipeTimeout
  • _sceKernelLockMutexTimeout
HLEUtilsForKernel
  • sceKernelIcacheInvalidateRange
HLEUtilsForUser
  • sceKernelIcacheInvalidateRange
  • sceKernelDcacheInvalidateRange
  • sceKernelDcacheWritebackInvalidateRange
  • sceKernelDcacheWritebackAll
  • sceKernelDcacheWritebackRange
  • sceKernelDcacheWritebackInvalidateAll
  • sceKernelSetGPO
  • sceKernelGetGPI
  • sceKernelLibcClock
  • sceKernelLibcTime
  • sceKernelLibcGettimeofday