PS4 [Research]PS2 emulator configuration on PS4

Rayman 3 Hoodlum havoc fix, But the fix itself also breaks character animations, if anybody knows how to fix this mess, go ahead :)
SLUS20601
Code:
apiRequest(0.1)
local eeObj = getEEObject()
local emuObj = getEmuObject()
local patcher = function()
--eeObj.WriteMem32(0x0028A5D4,0x0)
eeObj.WriteMem32(0x0028A770,0x0)
end

emuObj.AddVsyncHook(patcher)
 
Last edited:
Rayman 3 Hoodlum havoc fix, But the fix itself also breaks character animations, if anybody knows how to fix this mess, go ahead :)
SLUS20601
Code:
apiRequest(0.1)
local eeObj = getEEObject()
local emuObj = getEmuObject()
local patcher = function()
--eeObj.WriteMem32(0x0028A5D4,0x0)
eeObj.WriteMem32(0x0028A770,0x0)
end

emuObj.AddVsyncHook(patcher)
Cool
 
Rayman 3 Hoodlum havoc fix, But the fix itself also breaks character animations, if anybody knows how to fix this mess, go ahead :)
SLUS20601
Code:
apiRequest(0.1)
local eeObj = getEEObject()
local emuObj = getEmuObject()
local patcher = function()
--eeObj.WriteMem32(0x0028A5D4,0x0)
eeObj.WriteMem32(0x0028A770,0x0)
end

emuObj.AddVsyncHook(patcher)

That sucks, but what about using the --ee-hook=FastForwardClock or AdvanceClock hook on the interlocking opcode at 0x28A720?
 
Rayman 3 Hoodlum havoc fix, But the fix itself also breaks character animations, if anybody knows how to fix this mess, go ahead :)
SLUS20601
Code:
apiRequest(0.1)
local eeObj = getEEObject()
local emuObj = getEmuObject()
local patcher = function()
--eeObj.WriteMem32(0x0028A5D4,0x0)
eeObj.WriteMem32(0x0028A770,0x0)
end

emuObj.AddVsyncHook(patcher)

Also about try this trick, who knows!
photo-2022-04-13-10-16-42.jpg
 
Edit: The game can be fixed without the patch, we just need a cli filled with

--ee-hook fastforward commands
 
Last edited:
Rayman 3 Hoodlum havoc fix, But the fix itself also breaks character animations, if anybody knows how to fix this mess, go ahead :)
SLUS20601
Code:
apiRequest(0.1)
local eeObj = getEEObject()
local emuObj = getEmuObject()
local patcher = function()
--eeObj.WriteMem32(0x0028A5D4,0x0)
eeObj.WriteMem32(0x0028A770,0x0)
end

emuObj.AddVsyncHook(patcher)

Rayman 3 Quick Test!
VIDEO

Rayman 3. Short GamePlay!
VIDEO

Yes broken animation, but damn, it still fun to play!
 
Onimusha 3 [SLES51914]
emu=jakxv2
CLI:
Code:
--gs-uprender=2x2
--gs-upscale=edgesmooth
--host-display-mode=full
#--ee-block-validation=PageProt
--gs-kernel-cl-up="up2x2skipinterp"
#--fpu-rsqrt-fast-estimate=1
#--vu1-use-rsqrt=1
#--ee-regalloc-preserve-scalar=LS
#--vu-branch-hazard=0
#--vu-evil-branches=1
--gs-h2l-list-opt=0
--gs-h2l-accurate-hash=0
--vu1=jit-sync
--cdvd-sector-read-cycles=7000
LUA:
Code:
apiRequest(2.0)
local gpr             = require("ee-gpr-alias")
local emuObj      = getEmuObject()
local eeObj         = getEEObject()
local gsObj         = getGsObject()

emuObj.SetDisplayAspectWide()
gsObj.SetDeinterlaceShift(1)

local patcher = function()
--Widescreen correction by nemesis2000
eeObj.WriteMem32(0x21E0562C,0x51000018)
eeObj.WriteMem32(0x21E057F4,0x00A1CEA0)
eeObj.WriteMem32(0x21FF7D78,0x80808080)
eeObj.WriteMem32(0x21FF7D7C,0x80808080)
--val1
eeObj.WriteMem32(0x00151420,0x3c033f19)
eeObj.WriteMem32(0x00151428,0x34639999)
--val2
eeObj.WriteMem32(0x00151480,0x3c033f4c)
eeObj.WriteMem32(0x00151484,0x34439999)
--val3
eeInsnReplace(0x001515d8,0x3c033f4c,0x3c033f19)
eeInsnReplace(0x0x001515e0,0x3463cccd,0x34639999)
--rfix1
eeObj.WriteMem32(0x00151650,0x3c02c3d6)
--rfix2
eeObj.WriteMem32(0x00151540,0x3c024527)
emuObj.ThrottleMax()
end
emuObj.AddVsyncHook(patcher)

-the game works, only problem is take like 5 min. to pass the capcom logo.
 
Last edited:
Onimusha 3 - Demon Seige (NTSC)

CLI
Code:
--gs-uprender=2x2
--gs-upscale=EdgeSmooth
--gs-adaptive-frameskip=1

--host-display-mode=16:9
--cdvd-sector-read-cycles=4000

#emu used=jak tpl v1
LUA
Code:
-- Onimusha 3: Demon Siege (SLUS-20694)
-- Widescreen correction by nemesis2000
-- ported to PS4 lua by Stayhye
-- emu used=jak tpl v1

local gpr = require("ee-gpr-alias")

apiRequest(0.1)

local eeObj = getEEObject()
local emuObj = getEmuObject()

--val3 (would not work as eeObj.WriteMem32)
eeInsnReplace(0x001514d8,0x3c033f4c,0x3c033f19)
eeInsnReplace(0x001514e0,0x3463cccd,0x34639999)

local patcher = function()
--gameplay
--val1
eeObj.WriteMem32(0x00151320,0x3c033f19)
eeObj.WriteMem32(0x00151328,0x34639999)
--val2
eeObj.WriteMem32(0x00151380,0x3c023f19)
eeObj.WriteMem32(0x00151384,0x34439999)
--rfix1
eeObj.WriteMem32(0x00151550,0x3c02c3d6)
--rfix2
eeObj.WriteMem32(0x00151440,0x3c024527)
-- no interlace
eeObj.WriteMem32(0x2027AD9C,0x34037900)
eeObj.WriteMem32(0x0027B428,0x00000000)

emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(patcher)

Flawless.
 
Last edited:
Fight Night Round 3 (NTSC)

CLI

Code:
--gs-uprender=2x2
--gs-upscale=EdgeSmooth

--host-display-mode=16:9
--cdvd-sector-read-cycles=5000

#emu used=psychonauts v2
LUA
Code:
-- Fight Night Round 3
-- Speed selector by Stayhye
-- emu used=psychonauts v2

local gpr = require("ee-gpr-alias")

apiRequest(0.1)

local eeObj = getEEObject()
local emuObj = getEmuObject()

local patcher = function()

-- speed Selector
local pad_bits    = emuObj.GetPad()

local L1  = pad_bits &  0x0400
local L3  = pad_bits &  0x0002
local R1  = pad_bits &  0x0800
local R3  = pad_bits &  0x0004

if (L1 ~= 0 and R3 ~= 0) then --hyper mode

eeObj.WriteMem32(0x206F3A00,0x41F00000)
end

if (L3 ~= 0 and R1 ~= 0) then --normal mode

eeObj.WriteMem32(0x206F3A00,0x42700000)
end

emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(patcher)

No issues
 
NBA Street Vol.2 (NTSC-U) +Cheats

CLI

Code:
--gs-uprender=2x2
--gs-upscale=EdgeSmooth
--gs-adaptive-frameskip=1

--host-display-mode=16:9

--vu1-no-clamping=0
--vu1-clamp-operands=1
--vu1-clamp-results=1

# emulator used=jak and daxter the precursor legacy
LUA
Code:
-- NBA Street Vol.2 (NTSC-U)
-- Widescreen Hack by Ko81e24wy
-- ported to ps4 lua by Stayhye
-- emulator used=jak and daxter the precursor legacy

local gpr = require("ee-gpr-alias")

apiRequest(1.0)

local eeObj = getEEObject()
local emuObj = getEmuObject()

local patcher = function()

-- Widescreen 16:9
eeObj.WriteMem32(0x208D6AA0,0x3F400000)
eeObj.WriteMem32(0x208D6AD8,0x3FA66666)
eeObj.WriteMem32(0x208D6ADC,0x3FA66666)
--Unlock All Rewards by Code Master, StalkerX
eeObj.WriteMem32(0x204BBF30,0xFFFFFFFF)
eeObj.WriteMem32(0x204BBF34,0xFFFFFFFF)
eeObj.WriteMem32(0x204BBF38,0xFFFFFFFF)

--Unlock All Trophies by Code Master, StalkerX
eeObj.WriteMem32(0x204BBF40,0xFFFFFFFF)

emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(patcher)

--math.random() + math.random(1, 99)

No issues noticed.
 
Playboy - The Mansion (NTSC-U) +Cheats

CLI

Code:
--gs-uprender=2x2
--gs-upscale=EdgeSmooth

--host-display-mode=16:9
--framelimit-mode=normal

--gs-use-mipmap=1
--gs-kernel-cl="mipmap"
--gs-kernel-cl-up="mipmap2x2"

--vu1-no-clamping=0

--cdvd-sector-read-cycles=8000

#emu used=ADK
LUA
Code:
-- Playboy - The Mansion  (NTSC-U)
-- cheats by Code Master
-- ported to ps4 lua by Stayhye
-- emu used=ADK

local gpr = require("ee-gpr-alias")

apiRequest(1.0)

local eeObj = getEEObject()
local emuObj = getEmuObject()

local patcher = function()

--Unlock All Archives by Code Master
eeObj.WriteMem32(0x200C0240,0xA261000C)
eeObj.WriteMem32(0x200C0244,0x08106FE0)
eeObj.WriteMem32(0x200C0248,0x24130001)
eeObj.WriteMem32(0x2041E424,0x0C030090)
eeObj.WriteMem32(0x2041E428,0x24010001)

emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(patcher)

--math.random() + math.random(1, 99)

No issues noticed.
 
Is there any way to play
Ben 10 - Alien Force - Vilgax Attacks SLUS-21921

Ben 10 - Alien Force - Vilgax Attacks (U)(SLUS-21921)

CLI

Code:
--gs-uprender=2x2
--gs-upscale=EdgeSmooth

--cdvd-sector-read-cycles=4000
--host-display-mode=16:9

--ee-cycle-scalar=1.6

#emu used=art of fighting anthology
LUA
Code:
-- Ben 10 - Alien Force - Vilgax Attacks (U)(SLUS-21921)
-- Widescreen Hack by El_Patas (NTSC-U by Arapapa)
-- ported to PS4 Lua by Stayhye
-- emu used=art of fighting anthology

apiRequest(1.0)

local eeObj = getEEObject()
local emuObj = getEmuObject()

--60 fps
eeInsnReplace(0x201002F4,0x45000011,0x10000011)

local patcher = function()
--Gameplay 16:9
eeObj.WriteMem32(0x20741A54,0x3FE38E38) --3FAAAAAB (Increases hor. axis)

emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(patcher)

  • slight issue with line at bottom of screen. looks like underscan
 
Broken Sword The Sleeping Dragon. French Dub Test!
VIDEO

FiX (SLES52015)
Code:
--host-display-mode=16:9
--cdvd-sector-read-cycles=2000
--vu0-no-clamping=0
--vu1-no-clamping=0
--ee-cycle-scalar=1.8

in txt.

Code:
-- Broken Sword: The Sleeping Dragon (SLES_520.15)(FR)
-- emu used=ADK

apiRequest(1.0)

local gpr = require("ee-gpr-alias")

local eeObj = getEEObject()
local emuObj = getEmuObject()

local patcher = function()

--Widescreen
eeObj.WriteMem32(0x001AD5EC,0x3c01bec0) -- 0x00000000
eeObj.WriteMem32(0x001AD5F0,0x0C06B158)
eeObj.WriteMem32(0x001AD5F4,0x44813000) -- 0x00000000

eeObj.WriteMem32(0x001AC55C,0x00000000)
eeObj.WriteMem32(0x001AC560,0x27bdffd0)
eeObj.WriteMem32(0x001AC564,0x3c01bf00)
eeObj.WriteMem32(0x001AC568,0x44813800)
eeObj.WriteMem32(0x001AC56C,0x7fb00020)
eeObj.WriteMem32(0x001AC570,0xffbf0010)
eeObj.WriteMem32(0x001AC574,0x0080802d)
eeObj.WriteMem32(0x001AC578,0x26060020)
eeObj.WriteMem32(0x001AC57C,0xc6000070)
eeObj.WriteMem32(0x001AC580,0x8e020004)
eeObj.WriteMem32(0x001AC584,0x46060202) --0x46070202

emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(patcher)

in lua.

Graphical Bugs and stutter - FiXed!

French Version!
 
Rayman 3 Hoodlum havoc
fix for crash!
Now we need to just find out what's causing SPS, and the game will be fully fixed
Edit:will keep on trying different values, cause it seems to be the patch itself is the problem, it needs a proper value for overclocking ee, Currently it's at 500 Previously it was 700
SLUS_206.01
Code:
--ee-hook=0x0028A578,AdvanceClock,,500
 
Last edited:
Have you tried any of the clamping options? VIF1 commands?
I tried some of the clamping options and i'm currently trying --vu-xgkick-delay=0.58

Edit: --vu-xgkick-delay=0.58 didn't work,
also could the sps possibly be the patch's fault ? nopping the offset doesn't change anything on pcsx2 but who knows ? it's a different emulator
 
Last edited:

Similar threads

Back
Top