PS4 [Research]PS2 emulator configuration on PS4

Maybe try to delete getEmuObject class to get rid of the AddVsyncHook which should avoid patching the memory every Vsync. In my opinion eeInsnReplace is a lot better command, because it replaces the specific opcode only. If the game does use multiple overlays, it will patch just the correct one.

patch=0 in the pnach file does patch the memory only once. I think the eeObj.WriteMem32 without the whole AddVsyncHook should be an equivalent to it.

eeInsnReplace is a lot harder to convert to from pnach for most of us. The middle address has to be hunted down manually to create working PS4 patch
 
Fix for Evil Twin - Cyprien's Chronicles PAL
Code:
--gs-uprender=2x2
--gs-upscale=EdgeSmooth
--gs-use-clut-merge=1
--gs-kernel-cl="clutmerge"
--gs-kernel-cl-up="clutmerge2x2"

--vu1-di-bits=0
--vu1-mpg-cycles=1000
--vu1-jr-cache-policy=newprog
--vu1=jit-async

--ee-cycle-scalar=2.0
--iop-cycle-scalar=2.0
#emu used=eternal ring v2
LUA
Code:
--Evil Twin - Cyprien's Chronicles
--emu used=eternal ring v2

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

apiRequest(1.5)

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

emuObj.ForceRefreshRate(60)
emuObj.SetFormattedCard("evil.card")
emuObj.SetDisplayAspectWide()

local patcher = function()
--[[
-- 16:9
eeObj.WriteMem32(0x00247644,0x3c013f40) -- 00000000 hor fov
eeObj.WriteMem32(0x00247650,0x4481f000) -- 00000000
eeObj.WriteMem32(0x00247654,0x461ea782) -- 00000000
eeObj.WriteMem32(0x00247664,0xe61e0000) -- e6140000
eeObj.WriteMem32(0x002caa88,0x3c013f40) -- 00000000 renderfix
eeObj.WriteMem32(0x002caa8c,0x4481f000) -- 00000000
eeObj.WriteMem32(0x002caaac,0x461e0542) -- 46000546
--]]
--intro borders
eeObj.WriteMem32(0x210C8BBC,0x00000000)

emuObj.ThrottleMax()

end

emuObj.AddVsyncHook(patcher)

Works perfectly! Needed custom memory card to save for some reason.?
16:9 has black bars in cut scenes so I disabled them. to enable remove the --[[ and --]] from lua

setup files attached
 

Attachments

do u have config for GOW I NTSC?

yes

Fix for God of War NTSC

Code:
--gs-uprender=2x2
--gs-upscale=EdgeSmooth
--gs-adaptive-frameskip=1
--gs-kernel-cl="h2lpool"
--gs-kernel-cl-up="h2lpool2x2"
--gs-progressive=1

--ee-cycle-scalar=2.0

--vu1-mpg-cycles=2000
--vu1-di-bits=0
--vu1=trans
#emu used=jakx v2
LUA
Code:
--
-- emu used=jakx v2
-- ported to PS4

apiRequest(2.2)

local gpr       = require("ee-gpr-alias")
local cpr       = require("ee-cpr0-alias")
local hwaddr     = require("ee-hwaddr")

local emuObj      = getEmuObject()
local eeObj       = getEEObject()
local gsObj       = getGsObject()
local eeOverlay    = eeObj.getOverlayObject()
local iopObj  = getIOPObject()

local thresholdArea = 600 

emuObj.SetDisplayAspectWide()
gsObj.SetDeinterlaceShift(1)

local patches = function()

emuObj.ThrottleMax()

end

emuObj.AddVsyncHook(patches)
----------------------------------------------------------------------------------

-- Fix shadow
emuObj.SetGsTitleFix( "forceSimpleFetch", "reserved", { texMode=1  } )
 
Last edited:
yes

Fix for God of War NTSC

Code:
--gs-uprender=2x2
--gs-upscale=EdgeSmooth
--gs-adaptive-frameskip=1
--gs-kernel-cl="h2lpool"
--gs-kernel-cl-up="h2lpool2x2"
--gs-progressive=1

--ee-cycle-scalar=2.0

--vu1-mpg-cycles=2000
--vu1-di-bits=0
--vu1=trans
#emu used=jakx v2
LUA
Code:
--
-- emu used=jakx v2
-- ported to PS4

apiRequest(2.2)

local gpr       = require("ee-gpr-alias")
local cpr       = require("ee-cpr0-alias")
local hwaddr     = require("ee-hwaddr")

local emuObj      = getEmuObject()
local eeObj       = getEEObject()
local gsObj       = getGsObject()
local eeOverlay    = eeObj.getOverlayObject()
local iopObj  = getIOPObject()

local thresholdArea = 600

emuObj.SetDisplayAspectWide()
gsObj.SetDeinterlaceShift(1)

local patches = function()

emuObj.ThrottleMax()

end

emuObj.AddVsyncHook(patches)
----------------------------------------------------------------------------------

-- Fix shadow
emuObj.SetGsTitleFix( "forceSimpleFetch", "reserved", { texMode=1  } )
Cool, thanks, becouse i prefer NTSC version
 
LCS is definitely not working though…
--gs-uprender=2x2
--gs-upscale=edgesmooth
--gs-kernel-cl="h2lpool"
--gs-kernel-cl-up="h2lpool2x2"
--gs-h2l-list-opt=1
--gs-h2l-accurate-hash=1
--gs-adaptive-frameskip=1

--vu0-mpg-cycles=200
--vu1-mpg-cycles=200

--ee-cycle-scalar=0.8
Jax X v.2 emu! Settings by @Stayhye
 
--gs-uprender=2x2
--gs-upscale=edgesmooth
--gs-kernel-cl="h2lpool"
--gs-kernel-cl-up="h2lpool2x2"
--gs-h2l-list-opt=1
--gs-h2l-accurate-hash=1
--gs-adaptive-frameskip=1

--vu0-mpg-cycles=200
--vu1-mpg-cycles=200

--ee-cycle-scalar=0.8
Jax X v.2 emu! Settings by @Stayhye
This seems to be what I need - but I have no idea on how to implement this and can't find any video tutorials online. Do I just need to copy the text above to a txt file and upload in the lua option while generating the fpkg in the converter?
 
This seems to be what I need - but I have no idea on how to implement this and can't find any video tutorials online. Do I just need to copy the text above to a txt file and upload in the lua option while generating the fpkg in the converter?

Select the config and txt file in the program. (PS2-FPKG v0.6)
 
This seems to be what I need - but I have no idea on how to implement this and can't find any video tutorials online. Do I just need to copy the text above to a txt file and upload in the lua option while generating the fpkg in the converter?

Also you can find some tutorial on channel
 
Where do you get the Jax X v. 2 emu? Got a whole folder full of emus from [somewhere]. He's not with that
Not here! sharig copyrighted files is against site rules.
ı need a star ocean v2 emu ı want to play spiderman 2 could you send it to me ?
@Stayhye
I already mentioned the rules to you before. You asked several times after that. STOP please, or i may have to ban you from posting for a while...
 
Is this something that can still help today for speeding up games?
https://gamehacking.org/library/82
Or is adjusting vu/ee cycles the better approach?

Is there any chance we can get debug/verbose logs of PS2emu to get a better understanding when games won't boot up, won't render correctly or even crash? I'm pretty sure the overall compatibility of the PS2 Classics emulator(s) could be so much better and comparable to the PS3 with some insights, what the emulator is actually doing.

I know you can get console logs with UART, but this still requires soldering I guess...
Perhaps we can use something like this:
https://github.com/m0rph3us1987/ps4gdb_desktop
 
Last edited:
Resident Evil Code Veronica X.(SLES50306) emuRECVX. Just got it done. Runs well

Code:
--path-vmc="/tmp/vmc"
--config-local-lua=""
--ps2-title-id=SLES-50306
--max-disc-num=1
--gs-uprender=2x2
--gs-upscale=edgesmooth
--host-audio=1
--rom="PS20220WD20050620.crack"
--verbose-cdvd-reads=0
--host-display-mode=full
 
Fix for Evil Twin - Cyprien's Chronicles PAL
Code:
--gs-uprender=2x2
--gs-upscale=EdgeSmooth
--gs-use-clut-merge=1
--gs-kernel-cl="clutmerge"
--gs-kernel-cl-up="clutmerge2x2"

--vu1-di-bits=0
--vu1-mpg-cycles=1000
--vu1-jr-cache-policy=newprog
--vu1=jit-async

--ee-cycle-scalar=2.0
--iop-cycle-scalar=2.0
#emu used=eternal ring v2
LUA
Code:
--Evil Twin - Cyprien's Chronicles
--emu used=eternal ring v2

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

apiRequest(1.5)

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

emuObj.ForceRefreshRate(60)
emuObj.SetFormattedCard("evil.card")
emuObj.SetDisplayAspectWide()

local patcher = function()
--[[
-- 16:9
eeObj.WriteMem32(0x00247644,0x3c013f40) -- 00000000 hor fov
eeObj.WriteMem32(0x00247650,0x4481f000) -- 00000000
eeObj.WriteMem32(0x00247654,0x461ea782) -- 00000000
eeObj.WriteMem32(0x00247664,0xe61e0000) -- e6140000
eeObj.WriteMem32(0x002caa88,0x3c013f40) -- 00000000 renderfix
eeObj.WriteMem32(0x002caa8c,0x4481f000) -- 00000000
eeObj.WriteMem32(0x002caaac,0x461e0542) -- 46000546
--]]
--intro borders
eeObj.WriteMem32(0x210C8BBC,0x00000000)

emuObj.ThrottleMax()

end

emuObj.AddVsyncHook(patcher)

Works perfectly! Needed custom memory card to save for some reason.?
16:9 has black bars in cut scenes so I disabled them. to enable remove the --[[ and --]] from lua

setup files attached
So you created a save on PCSX2 first? Or is this a freshly formatted Mcd001.ps2?
 

Similar threads

Back
Top