Stayhye
Senior Member
Downhill Jam(Last T.H.U.G engine game) offsets:
I know eeInsnReplace(0x000fffdc, 0x0, 0x08065248) needs to be corrected. Everything else should be correct
For now, this config works just fine
CLI
LUA
Code:
--koza's vu rounding
eeObj.WriteMem32(0x003CC3B0,0xD3400000)
--freeze skip
eeObj.WriteMem32(0x001c6250,0x100000a6) -- 0x120000a6 >> beq s0, zero, $001c64ec
--MTVU patch
eeInsnReplace(0x001c4fa0, 0x0, 0x0803fff0)
eeInsnReplace(0x000fffc4, 0x0, 0x24186000)
eeInsnReplace(0x000fffc8, 0x0, 0x3c191200)
eeInsnReplace(0x000fffcc, 0x0, 0x37391010)
eeInsnReplace(0x000fffd0, 0x0, 0x2718ffff)
eeInsnReplace(0x000fffd4, 0x0, 0x1418fffe)
--eeInsnReplace(0x000fffdc, 0x0, 0x08065248) #<-- wrong opcode
eeInsnReplace(0x000fffe0, 0x0, 0xaf200000)
I know eeInsnReplace(0x000fffdc, 0x0, 0x08065248) needs to be corrected. Everything else should be correct
For now, this config works just fine
CLI
Code:
--gs-uprender=2x2
--gs-upscale=edgesmooth
--gs-kernel-cl-up="up2x2skipinterp"
--gs-progressive=1
--host-display-mode=16:9
--cdvd-sector-read-cycles=2000
--ee-cycle-scalar=1.6
--vu1=jit-sync #remove if patching mtvu in lua
--vu1-mpg-cycles=8000 #remove if patching mtvu in lua
--vif1-instant-xfer=0
Code:
-- Tony Hawk's Downhill Jam SLUS_214.56
-- Widescreen Hack
--
local gpr = require("ee-gpr-alias")
apiRequest(0.1)
local eeObj = getEEObject()
local emuObj = getEmuObject()
local THDJ = function()
--koza's vu rounding
eeObj.WriteMem32(0x003CC3B0,0xD3400000)
--freeze skip
eeObj.WriteMem32(0x001c6250,0x100000a6) -- 0x120000a6 >> beq s0, zero, $001c64ec
--16:9
eeObj.WriteMem32(0x00127cd4,0x3c013f10)
eeObj.WriteMem32(0x00157dc4,0x3c013fe3)
eeObj.WriteMem32(0x00157dc8,0x34218e39)
end
emuObj.AddVsyncHook(THDJ)
Last edited: