PS4 [Research]PS2 emulator configuration on PS4

Improved fix for Grand Theft Auto Vice City Stories NTSC
CLI
Code:
--gs-uprender=2x2
--gs-upscale=edgesmooth
--gs-kernel-cl="h2lpool"        # -- did the most to speed up game
--gs-kernel-cl-up="h2lpool2x2"  # -- did the most to speed up game
--gs-adaptive-frameskip=1
--cdvd-sector-read-cycles=23000

--host-display-mode=16:9
--host-audio-latency=1.70
LUA
Code:
-- Grand Theft Auto:  Vice City Stories(NTSC)
-- ported to PS4 Lua
-- emu used=jakx v2

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 = 500

local ApplyVifCycleSettings = function()

   eeObj.Vu1MpgCycles(1000)
   eeObj.SetVifDataCycleScalar(1, 2.6)
end

ApplyVifCycleSettings()

local patcher = function()

--widescreen fix
eeObj.WriteMem32(0x002653d8,0x3c013f9d)
eeObj.WriteMem32(0x002653dc,0x44810000)
eeObj.WriteMem32(0x002653e0,0x46006302)
eeObj.WriteMem32(0x002653e4,0x3c020048)
eeObj.WriteMem32(0x002653e8,0x03e00008)
eeObj.WriteMem32(0x002653ec,0xe44c7484)

eeObj.WriteMem32(0x0037add4,0x0c0994f6)
eeObj.WriteMem32(0x003b9d14,0x0c0994f9)
eeObj.WriteMem32(0x003ba1b0,0x0c0994f9)

eeObj.WriteMem32(0x20370314,0x10820019)--60fps

end

emuObj.AddVsyncHook(patcher)


emuObj.SetGsTitleFix( "setRejectionArea", 500,{twIsNot=8, thIsNot=8 } )

Experimental! But very significant improvement! I bet boost mode on PS4 pro would smooth out the left over slowdown in areas.
@Stayhye did u ever try GTA LCS?
 
Fix for Shadow Hearts Covenant NTSC

Code:
<emulator used=ADK Damashii>

More testing needed, but got past title screen but after few FMV black screen again:disturbed:
 
Thrillville: Off the Rails (SLUS-21611)
LUA

Code:
apiRequest(1.0)

local eeObj = getEEObject()
local emuObj = getEmuObject()
local patcher = function()
eeObj.WriteMem32(0x00421300,0x100000B7)
end

emuObj.AddVsyncHook(patcher)


Thrillville: Off the Rails (SLES-54806)
LUA

Code:
apiRequest(1.0)

local eeObj = getEEObject()
local emuObj = getEmuObject()
local patcher = function()
eeObj.WriteMem32(0x0041DB80,0x100000B7)
end

emuObj.AddVsyncHook(patcher)
Fixes frame rate issues by skipping bloom effect. May need additional settings to work properly.
 
Thrillville: Off the Rails (SLUS-21611)
LUA

Code:
apiRequest(1.0)

local eeObj = getEEObject()
local emuObj = getEmuObject()
local patcher = function()
eeObj.WriteMem32(0x00421300,0x100000B7)
end

emuObj.AddVsyncHook(patcher)


Thrillville: Off the Rails (SLES-54806)
LUA

Code:
apiRequest(1.0)

local eeObj = getEEObject()
local emuObj = getEmuObject()
local patcher = function()
eeObj.WriteMem32(0x0041DB80,0x100000B7)
end

emuObj.AddVsyncHook(patcher)
Fixes frame rate issues by skipping bloom effect. May need additional settings to work properly.

Game still suffers from slowdown and stutter.

"--vu1-di-bits=0" fixed most of the stutter but game still has severe slowdown. Scalars don't seem to help...
 
Game still suffers from slowdown and stutter.

"--vu1-di-bits=0" fixed most of the stutter but game still has severe slowdown. Scalars don't seem to help...
Can't do anything more to help then. This patch fixes the slowdown on PS3 and PCSX2 but PS4 must have something else going on in addition.
 
Could you take a look at GTA:LCS?
Sorry, I already took a look and it's unfixable on my end. I tried disabling a lot of stuff, like the overlay effect and fog, but it brought no performance boost. I would guess lowering the draw distance might help with the performance, but I wasn't able to find it. The game is playable on PS3 to an extent (it was released as an official classic) since it has frame rate issues that don't affect the game speed, yet the game struggles most of the time with it.

Do you know how the Hot Shots Golf games perform on PS4? There's a fix for those games by disabling shadows that will probably apply to PS4.
 
Not bad. I used the configs for Hot Shot tennis and that fixed most things. I've seen your fixes for PCSX2, I just haven't tested them on PS4 yet..

Anyone have any ideas for Blood Omen 2? The game crashes emu after ps2 logo. NTSC and PAL same result...
 
Last edited:
I found a weird one....Genji Dawn of the Samurai. This one will freeze randomly during FMV and title screen. Never makes it to gameplay. Tried many emu versions, no dice. Any Ideas?
 
I found a weird one....Genji Dawn of the Samurai. This one will freeze randomly during FMV and title screen. Never makes it to gameplay. Tried many emu versions, no dice. Any Ideas?
The SCES53328 version works with the "GTA 3 v1" that you sent me choosing 50hz, in 60hz the game crashes.
 
Last edited:
The SCES53328 version works with the "Unknown Ps2 emu Version #2" that you sent me choosing 50hz, in 60hz the game crashes.

Figures. Been beating my head on the NTSC version since 2020 lol

*Edit- After testing, thanks to hint from @Bortoloti , PAL version works perfectly with emu GTA 3 v1. No CLI needed. NTSC version will sometimes make it in game, but controller doesn't respond after a while, OR game freezes before game play during FMV. ??


Summoner NTSC works perfectly with the primal emu
 
Last edited:
Fix For Alien Hominid NTSC
CLI
Code:
--gs-uprender=2x2
--gs-upscale=edgesmooth
--fpu-rsqrt-fast-estimate=1

--host-display-mode=16:9
--host-audio-latency=1.40

--ee-cycle-scalar=4.95
#emulator used=psychonauts v2
 
Last edited:
Updated fix for Tales of the Abyss NTSC


CLI

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

--fpu-accurate-range=0x27FFFC,0x27FFFF
--fpu-accurate-range=0x2921F4,0x2921F8

--vu0-no-clamping=0
--vu1-no-clamping=0
--cop2-no-clamping=0

--host-display-mode=16:9

#--lopnor-config=1
LUA
Code:
--Tales Of The Abyss (NTSC-U) (SLUS-21386)
-- emu used=psychonauts v2

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

apiRequest(0.1)

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

local patcher = function()

--ISO patched due to crashing when code put here

end

emuObj.AddVsyncHook(patcher)

emuObj.SetGsTitleFix( "forceSimpleFetch", "reserved", { texMode=1 } )

Game now allows for 2x2 upscale. Only issue is the game seems to not uprender? Works perfectly otherwise......

Fix for Summoner 2 NTSC


CLI

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

--host-display-mode=16:9

--framelimiter=1
--framelimit-fps=60.0
--framelimit-scalar=1

--ee-cycle-scalar=1.5
LUA
Code:
-- Summoner 2 NTSC (SLUS-20448)
-- 60 FPS
-- emu used=primal

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

apiRequest(0.1)

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


local patcher = function()

--60 fps
eeObj.WriteMem32(0x2017BC34,0x24040001)

end

emuObj.AddVsyncHook(patcher)
More testing needed but seems to work fine.
 
Last edited:

Similar threads

Back
Top