User:Scalerize: Difference between revisions

From PS4 Developer wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
{|  class="wikitable"
TODO:
! align="center" style="background:#f0f0f0;"| '''Fatal Fury Eboot'''
 
! align="center" style="background:#f0f0f0;"| ''''''
1: Patch IOP to fix the restarting music
! align="center" style="background:#f0f0f0;"| ''''''
2: Patch the physics instructions
! align="center" style="background:#f0f0f0;"| ''''''
3: Refine the patch's performance
|- align="center "
 
|  ||  ||  ||
Move this info elsewhere:
|- align="center"
 
|  || Offset || Value type || Normal value (DEC)
<br>'''Delay GIF'''
|- align="center"
<pre>
| EE Something || 50FE1 || 4 Bytes || 294912000
apiRequest(0.1)
|- align="center"
 
| EE Clock: || 50FE5 || 4 Bytes || 256
local eeObj = getEEObject()
|- align="center"
local emuObj = getEmuObject()
| VU1 Jit-sync || 510DE || 1 Byte || 82
 
|- align="center"
eeObj.AddHook(0x0033A540,0xAC430000, function() eeObj.SchedulerDelayEvent("gif.dma", 0x60500) end)
| Something || 5105B || 4 Bytes || 10000
</pre>
|- align="center"
 
| Something || 510C7 & 510D1 || 4 Bytes || 1084227584
<br>'''Patch EE memory'''
|- align="center"
<pre>
| Something bottom || 51163 || 4 Bytes || -8375837
apiRequest(0.1)
|- align="center"
 
| GIF? || 51113 || 4 Bytes || 2635467
local eeObj = getEEObject()
|- align="center"
local emuObj = getEmuObject()
| VIF1? || 51109 || 4 Bytes || 2369227
 
|- align="center"
local patcher = function()
| ?? || 5111D || 4 Bytes || 8402
eeObj.WriteMem32(0x001958A0, 0x10000086)
|- align="center"
end
| Something that affects fmvs || 510F5 || 4 Bytes || 32000
emuObj.AddVsyncHook(patcher)
|- align="center"
</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>

Latest revision as of 22:12, 19 September 2024

TODO:

1: Patch IOP to fix the restarting music 2: Patch the physics instructions 3: Refine the patch's performance

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)