User:Scalerize: Difference between revisions

From PS4 Developer wiki
Jump to navigation Jump to search
No edit summary
(35 intermediate revisions by the same user not shown)
Line 1: Line 1:
{|  class="wikitable"
IOP audi restarting debugging address? 1F801574 > BF801574
! align="center" style="background:#f0f0f0;"| '''Fatal Fury Eboot'''
wotm: 4A72C2
! align="center" style="background:#f0f0f0;"| ''''''
=Universal safe debugging CLI=
! align="center" style="background:#f0f0f0;"| ''''''
<pre>
! align="center" style="background:#f0f0f0;"| ''''''
#ee
|- align="center "
--ee-cycle-scalar=1
|  ||  ||  ||
#iop
|- align="center"
--iop-cycle-scalar=1
|  || Offset || Value type || Normal value (DEC)
--iop-evt-check-full=1
|- align="center"
#fpu
| EE Something || 50FE1 || 4 Bytes || 294912000
--fpu-no-clamping=0
|- align="center"
--fpu-accurate-muldiv=1
| EE Clock: || 50FE5 || 4 Bytes || 256
--fpu-accurate-mul-fast=1
|- align="center"
--fpu-accurate-addsub=1
| VU1 Jit-sync || 510DE || 1 Byte || 82
#cop2
|- align="center"
--cop2-opt-flags=0
| Something || 5105B || 4 Bytes || 10000
--cop2-opt-vf00=0
|- align="center"
--cop2-const-prop=0
| Something || 510C7 & 510D1 || 4 Bytes || 1084227584
--cop2-no-clamping=0
|- align="center"
--cop2-accurate-mul=1
| Something bottom || 51163 || 4 Bytes || -8375837
--cop2-accurate-addsub=1
|- align="center"
--cop2-di-bits=1
| GIF? || 51113 || 4 Bytes || 2635467
#vu0
|- align="center"
--vu0-opt-flags=0
| VIF1? || 51109 || 4 Bytes || 2369227
--vu0-opt-vf00=0
|- align="center"
--vu0-const-prop=0
| ?? || 5111D || 4 Bytes || 8402
--vu0-no-clamping=0
|- align="center"
--vu0-di-bits=1
| Something that affects fmvs || 510F5 || 4 Bytes || 32000
#vu1
|- align="center"
--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 and disabled MTVU (Might crash, or introduce graphical distortions on some games)
--vif1-instant-xfer=0
--vu1=jit-sync
#vu
--vu-xgkick-delay=0
--vu-custom-min-max=0
--vu-branch-hazard=0
--vu-evil-branches=1
#gs
--gs-use-mipmap=1
--gs-use-clut-merge=1
--gs-force-bilinear=0
--gs-upscale=none
--gs-uprender=none
#cdvd
--verbose-cdvd-reads=1
--cdvd-sector-read-cycles=64000
#lang
--ps2-lang=English
</pre>
 
Move this info elsewhere:
 
<br>'''Delay GIF'''
<pre>
apiRequest(0.1)
 
local eeObj = getEEObject()
local emuObj = getEmuObject()
 
eeObj.AddHook(0x0033A540,0xAC430000, function() eeObj.SchedulerDelayEvent("gif.dma", 0x60500) end)
</pre>
 
<br>'''Patch EE memory'''
<pre>
apiRequest(0.1)
 
local eeObj = getEEObject()
local emuObj = getEmuObject()
 
local patcher = function()
eeObj.WriteMem32(0x001958A0, 0x10000086)
end
emuObj.AddVsyncHook(patcher)
</pre>
 
<br>'''Speedhacks'''
<pre>
apiRequest(0.1)
 
local eeObj = getEEObject()
local emuObj = getEmuObject()
 
eeObj.AddHook(0x002cc350, 0x78a30000, function()
          eeObj.AdvanceClock(21000)
          eeObj.Vu1MpgCycles(2000)
          eeObj.FastForwardClock()
end)
</pre>

Revision as of 16:06, 21 December 2024

IOP audi restarting debugging address? 1F801574 > BF801574 wotm: 4A72C2

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-di-bits=1
#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 and disabled MTVU (Might crash, or introduce graphical distortions on some games)
--vif1-instant-xfer=0
--vu1=jit-sync
#vu
--vu-xgkick-delay=0
--vu-custom-min-max=0
--vu-branch-hazard=0
--vu-evil-branches=1
#gs
--gs-use-mipmap=1
--gs-use-clut-merge=1
--gs-force-bilinear=0
--gs-upscale=none
--gs-uprender=none
#cdvd
--verbose-cdvd-reads=1
--cdvd-sector-read-cycles=64000
#lang
--ps2-lang=English

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)