User:Scalerize
Jump to navigation
Jump to search
TODO:
1: Patch IOP to fix the restarting music 2: Patch the physics instructions 3: Refine the patch's performance
Universal safe debugging CLI
#ee --ee-cycle-scalar=1 #iop --iop-cycle-scalar=1 --iop-evt-check-full=1 #fpu --fpu-no-clamping=0 --fpu-accurate-muldiv=1 --fpu-accurate-mul-fast=1 --fpu-accurate-addsub=1 #cop2 --cop2-opt-flags=0 --cop2-opt-vf00=0 --cop2-const-prop=0 --cop2-no-clamping=0 --cop2-accurate-mul=1 --cop2-accurate-addsub=1 --cop2-regalloc=0 #vu0 --vu0-opt-flags=0 --vu0-opt-vf00=0 --vu0-const-prop=0 --vu0-no-clamping=0 --vu0-di-bits=1 #vu1 --vu1-opt-flags=0 --vu1-opt-vf00=0 --vu1-const-prop=0 --vu1-no-clamping=0 --vu1-di-bits=1 --vu1-mpg-cycles=1 --assert-path1-ad=1 #vif1 --vif1-instant-xfer=0 #vu --vu-xgkick-delay=0 --vu-custom-min-max=0 --vu-branch-hazard=0 #gs --gs-use-mipmap=1 --gs-use-clut-merge=1 --gs-force-bilinear=0 --gs-upscale=gpu #cdvd --verbose-cdvd-reads=1 --cdvd-sector-read-cycles=64000
Move this info elsewhere:
Delay GIF
apiRequest(0.1) local eeObj = getEEObject() local emuObj = getEmuObject() eeObj.AddHook(0x0033A540,0xAC430000, function() eeObj.SchedulerDelayEvent("gif.dma", 0x60500) end)
Patch EE memory
apiRequest(0.1) local eeObj = getEEObject() local emuObj = getEmuObject() local patcher = function() eeObj.WriteMem32(0x001958A0, 0x10000086) end emuObj.AddVsyncHook(patcher)
Speedhacks
apiRequest(0.1) local eeObj = getEEObject() local emuObj = getEmuObject() eeObj.AddHook(0x002cc350, 0x78a30000, function() eeObj.AdvanceClock(21000) eeObj.Vu1MpgCycles(2000) eeObj.FastForwardClock() end)