PS4 [Research]PS2 emulator configuration on PS4

I have a doubt... is there a page where all the configurations that are posted in this thread are compiled? how can it be applied?

There are some games like Rumble Racing or WWE games like Smackdown vs Raw 2006, 2007 that have slight graphical glitches. Is there any way to solve it? I would appreciate your answers.
 
I have a doubt... is there a page where all the configurations that are posted in this thread are compiled? how can it be applied?

There are some games like Rumble Racing or WWE games like Smackdown vs Raw 2006, 2007 that have slight graphical glitches. Is there any way to solve it? I would appreciate your answers.
i only try to solve glitches in games that i play, sorry.
 
Fix for Just Cause (SLES-54137)

CLI
Code:
--gs-uprender=2x2
--gs-upscale=edgesmooth

--cdvd-sector-read-cycles=3200

--ee-cycle-scalar=1.97

--iop-cycle-scalar=1.1
--iop-const-folding=All

--vu1-di-bits=0
--vu0-di-bits=0
--vu1-mpg-cycles=500

#emu used=rotk v1
LUA
Code:
-- Just Cause (E)(SLES-54137)
-- Widescreen hack  by Arapapa
-- 50FPS
-- emu used=rotk v1

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

apiRequest(0.1)

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

emuObj.SetDisplayAspectWide()

emuObj.SetGsTitleFix( "forceSimpleFetch", "reserved", { texMode=1  } ) --gfx fix A
emuObj.SetGsTitleFix( "forceSimpleFetch", "reserved", { texMode=2  } ) --gfx fix B

local Patches = function()
   --16:9
   eeObj.WriteMem32(0x207BEE08,0x3FAAAAAB) --0x3f800000 // lui zero, $0000
   --50fps
   eeObj.WriteMem32(0x203b860c,0x00000000) --0x45000010 // bc1f $003b8650
   --eeObj.Vu1MpgCycles(math.floor(675))
   eeObj.SchedulerDelayEvent("vif1.dma", 0x5500)
   --Static loading screen speed up(maybe some 2-d game elements)[not this game]
   emuObj.ThrottleMax()
end
 
emuObj.AddVsyncHook(Patches)

Works great. Tested a little. All Graphical issues fixed. NTSC version has a graphical bug I can't fix.
 
Tennis Games PS2toPS4 Test

FiX for Smash Court Tennis Pro Tournament (SCES50810)

Code:
--force-frame-blend=1
--gs-adaptive-frameskip=1
--gs-progressive=1
--host-display-mode=16:9

in txt.

Code:
-- Smash Court Tennis Pro Tournament
-- emu used=JakX v2

apiRequest(1.0) 

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

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

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

local patcher = function()

--Widescreen hack 16:9

--X-Fov
--803f013c 00208144
eeObj.WriteMem32(0x001aae4c,0x3c013f40) --3c013f80

emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(patcher)

in lua.

FiX for Agassi Tennis Generation (SLES52125)

Code:
--host-display-mode=16:9

in txt.

Code:
-- Agassi Tennis Generation
-- Widescreen
-- emu used=fatal fury battle archives vol2

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

apiRequest(0.1)

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

local patcher = function()
--Widescreen 16:9

--X-Fov
eeObj.WriteMem32(0x0026e0a8,0x080b0ea4) --c6010068
eeObj.WriteMem32(0x002c3a90,0x3c013f40) --00000000
eeObj.WriteMem32(0x002c3a94,0x4481f000) --00000000
eeObj.WriteMem32(0x002c3a98,0xc6010068) --00000000
eeObj.WriteMem32(0x002c3a9c,0xc602006c) --00000000
eeObj.WriteMem32(0x002c3aa0,0x461e0843) --00000000
eeObj.WriteMem32(0x002c3aa4,0xe6010068) --00000000
eeObj.WriteMem32(0x002c3aa8,0x0809b82c) --00000000

emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(patcher)

in lua.

Shaking screen issue FiXed for Smash Court Tennis Pro Tournament! Froze when you served the ball issue FiXed for Agassi Tennis Generation! Widescreen patch added for both games!
 
Last edited:
Ghost Vibration PS2toPS4 Test

FiX for Ghost Vibration (PAL)

Code:
--force-frame-blend=1
--gs-adaptive-frameskip=1
--gs-progressive=1
--host-display-mode=16:9

in txt.

Code:
-- Ghost Vibration
-- emu used=JakX v2

apiRequest(1.0)   

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

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

local patcher = function()

--Widescreen hack
eeObj.WriteMem32(0x001F26F0,0x3F400000) --3F800000

--No interleacing
eeObj.WriteMem32(0x201020CC,0x64420000)

emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(patcher)

in lua.

Shaking screen issue FiXed!
 
Fix+Cheats for Auto Modellista (SLUS-20642)

CLI
Code:
--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

--vu-xgkick-delay=0.7        # menu/loading gfx fix

--fpu-rsqrt-fast-estimate=0
--cdvd-sector-read-cycles=8000    # loading speedup

#emu used=aofa
LUA
Code:
-- Auto Modellista (SLUS-20642)
-- Widescreen hack by nemesis2000
-- ported to ps4 lua
-- emu used=aofa

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

apiRequest(2.0)

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


gsObj.SetUprenderMode(1)    -- 0=none <> 1=2x2
emuObj.SetDeinterlace(true)
emuObj.SetDisplayAspectWide()

local patcher = function()
--16:9
--gameplay
eeObj.WriteMem32(0x0039b80c,0x3fe38e38)
eeObj.WriteMem32(0x0022be20,0x3c023fe3)
eeObj.WriteMem32(0x0022be28,0x34428e38)

--Unlock All Courses by MadCatz
eeObj.WriteMem32(0x204DD7FC,0x80060000)
eeObj.WriteMem32(0x204DD800,0x80808080)
eeObj.WriteMem32(0x004DD804,0x80808080)

--All Cars by MadCatz
eeObj.WriteMem32(0x20503CBC,0xFFFFFFFF)

emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(patcher)

Total fix!
 
Enhancement Config for MotorStorm - Arctic Edge (SCUS-97654)

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

--cdvd-sector-read-cycles=3000

#emu used=jakx v2
LUA
Code:
-- MotorStorm - Arctic Edge (U)(SCUS-97654)
-- Force turn on Native Widescreen (Full boot passing) by Arapapa
-- ported to PS4 LUA
-- emu used=jakx v2

apiRequest(2.3)

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

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

local thresholdArea = 600
  
emuObj.SetDisplayAspectWide()
gsObj.SetDeinterlaceShift(1) 

local JC = function()
--16:9
eeObj.WriteMem32(0x00295e00,0x24020002) --30420003
--60 fps
eeObj.WriteMem32(0x2039BAF8,0x00000000)

emuObj.ThrottleMax()
end 

emuObj.AddEntryPointHook(JC)

Tested a Little. Works great so far.
 
Enhancement+1st person mode for Forever Kingdom SLUS_203.43

CLI
Code:
--gs-uprender=2x2
--gs-upscale=edgesmooth

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

#emu used=rotk v1
LUA
Code:
-- Forever Kingdom SLUS_203.43
-- Widescreen hack
-- emu used=rotk v1

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

apiRequest(0.1)

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

if true then
--16:9
eeInsnReplace(0x00101cc8,0x3c013f80,0x3c013f40) 
--no interlace
eeInsnReplace(0x00104DA8,0x18400006,0x00000000)
eeInsnReplace(0x00202E94,0x0c080936,0x00000000)
end

local patcher = function()

 
   emuObj.ThrottleMax()
end

local First_Person_mode = function()

local pad_bits    = emuObj.GetPad()

local L2  = pad_bits &  0x0100
local R3  = pad_bits &  0x0004

if (L2 ~= 0 and R3 ~= 0) then --1st Person mode(hold, not toggle)
   --First Person Mode by InterAct
   eeObj.WriteMem32(0x003F99AA,0x00000000)
end

end

emuObj.AddVsyncHook(patcher,First_Person_mode)

Works flawlessly so far. 1st person mode is not a toggle, you must hold the button.
 
Last edited:
Enhancement Config for MotorStorm - Arctic Edge (SCUS-97654)

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

--cdvd-sector-read-cycles=3000

#emu used=jakx v2
LUA
Code:
-- MotorStorm - Arctic Edge (U)(SCUS-97654)
-- Force turn on Native Widescreen (Full boot passing) by Arapapa
-- ported to PS4 LUA
-- emu used=jakx v2

apiRequest(2.3)

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

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

local thresholdArea = 600
 
emuObj.SetDisplayAspectWide()
gsObj.SetDeinterlaceShift(1)

local JC = function()
--16:9
eeObj.WriteMem32(0x00295e00,0x24020002) --30420003
--60 fps
eeObj.WriteMem32(0x2039BAF8,0x00000000)

emuObj.ThrottleMax()
end

emuObj.AddEntryPointHook(JC)

Tested a Little. Works great so far.

also some trick by @Kugozx
you can unlock languages from pal version, all of them hide on ntsc image!

Code:
--gametitle=Motor Storm: Arctic Edge - SCUS-97654

apiRequest(1.0)

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


local widescreen = function()

-- Change language
--[[
00 = English (default)
01 = French
02 = Italian
03 = German
04 = Spanish
05 = Danish
06 = Swedish
07 = Finnish
08 = Norwegian
09 = Russian
0A = Polish
0B = Portugese
0C = Dutch (Nederlands)
0D = Greek
0E = Korean
--]]

eeObj.WriteMem8(0x0032DA04,0x04)

emuObj.ThrottleMax()

end

emuObj.AddVsyncHook(widescreen)

but u can use only one!
 
Config for Alias (NTSC-U)

CLI
Code:
--gs-uprender=2x2
--gs-upscale=edgesmooth

--cdvd-sector-read-cycles=3200

#emu used=aofa
LUA
Code:
-- Alias (NTSC-U)
-- Widescreen Hack by Arapapa
-- emu used=aofa

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

apiRequest(0.1)

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

emuObj.SetDisplayAspectWide()

local patcher = function()
-- 16:9
eeObj.WriteMem32(0x00248178,0x3c013ec0) -- 3c013f00 hor fov
eeObj.WriteMem32(0x001f3c30,0x3c013f40) -- 3c013f80 renderfix
--Save Anywhere by Code Master
eeObj.WriteMem32(0x2023C104,0x24030001)
eeObj.WriteMem32(0x2023C108,0xAC431E5C)
--60 fps
eeObj.WriteMem32(0x2024BEF0,0x10000039)

--eeObj.SchedulerDelayEvent("vif1.dma", 0x0000)
emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(patcher)

Works and looks great!
 
you can ask for Virtua Tennis 2 fix? Thanks

Tennis Games PS2toPS4 Test

FiX for Smash Court Tennis Pro Tournament (SCES50810)

Code:
--force-frame-blend=1
--gs-adaptive-frameskip=1
--gs-progressive=1
--host-display-mode=16:9

in txt.

Code:
-- Smash Court Tennis Pro Tournament
-- emu used=JakX v2

apiRequest(1.0)

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

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

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

local patcher = function()

--Widescreen hack 16:9

--X-Fov
--803f013c 00208144
eeObj.WriteMem32(0x001aae4c,0x3c013f40) --3c013f80

emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(patcher)

in lua.

FiX for Agassi Tennis Generation (SLES52125)

Code:
--host-display-mode=16:9

in txt.

Code:
-- Agassi Tennis Generation
-- Widescreen
-- emu used=fatal fury battle archives vol2

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

apiRequest(0.1)

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

local patcher = function()
--Widescreen 16:9

--X-Fov
eeObj.WriteMem32(0x0026e0a8,0x080b0ea4) --c6010068
eeObj.WriteMem32(0x002c3a90,0x3c013f40) --00000000
eeObj.WriteMem32(0x002c3a94,0x4481f000) --00000000
eeObj.WriteMem32(0x002c3a98,0xc6010068) --00000000
eeObj.WriteMem32(0x002c3a9c,0xc602006c) --00000000
eeObj.WriteMem32(0x002c3aa0,0x461e0843) --00000000
eeObj.WriteMem32(0x002c3aa4,0xe6010068) --00000000
eeObj.WriteMem32(0x002c3aa8,0x0809b82c) --00000000

emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(patcher)

in lua.

Shaking screen issue FiXed for Smash Court Tennis Pro Tournament! Froze when you served the ball issue FiXed for Agassi Tennis Generation! Widescreen patch added for both games!
 
Disney Adventure of sea NTSC J
fix water lines
--gs-kernel-cl-up="up2x2simple"


Spiderman 2 NTSC

fix horizontal line
--gs-kernel-cl-up="up2x2simple"


Spyro a heros tail
NTSC
Rogue - playable


Dark summit NTSC
Fahrenheit - playable

Rogue: have texture problems
ADK: works with command eeObj.SchedulerDelayEvent("vif1.dma", 0x1500) )


Barbie Horse Adventures - Wild Horse Rescue NTSC
Fahrenheit - playable

(freezes on loading with other emu)


Dysneys Bolt NTSC
ADK - playable

Jakv2:At the end of the first mission...freezes on save and audio out of sync.


Dead to rights NTSC
#fixes flickering textures from second mission.

--gs-use-clut-merge=1
--gs-kernel-cl="clutmerge"
--gs-kernel-cl-up="clutmerge2x2"
Jakv2


City Crisis NTSC
#fixed problems in the corner of the image.

--fpu-no-clamping=0
--fpu-clamp-results=1
--vu0-no-clamping=0
--vu0-clamp-results=1
--vu1-no-clamping=0
--vu1-clamp-results=1
--cop2-no-clamping=0
--cop2-clamp-results=1
Rogue


Combat Elite - WWII Paratroopers NTSC
--gs-uprender=2x2
--gs-upscale=point # fix line
--vif1-instant-xfer=0 # fix graphics
--vu1-no-clamping=0 # fix graphics
--vu1-mpg-cycles=450
--vu1-di-bits=0
Kof2000v2
 
Disney Adventure of sea NTSC J
fix water lines
--gs-kernel-cl-up="up2x2simple"


Spiderman 2 NTSC

fix horizontal line
--gs-kernel-cl-up="up2x2simple"


Spyro a heros tail
NTSC
Rogue - playable


Dark summit NTSC
Fahrenheit - playable

Rogue: have texture problems
ADK: works with command eeObj.SchedulerDelayEvent("vif1.dma", 0x1500) )


Barbie Horse Adventures - Wild Horse Rescue NTSC
Fahrenheit - playable

(freezes on loading with other emu)


Dysneys Bolt NTSC
ADK - playable

Jakv2:At the end of the first mission...freezes on save and audio out of sync.


Dead to rights NTSC
#fixes flickering textures from second mission.

--gs-use-clut-merge=1
--gs-kernel-cl="clutmerge"
--gs-kernel-cl-up="clutmerge2x2"
Jakv2


City Crisis NTSC
#fixed problems in the corner of the image.

--fpu-no-clamping=0
--fpu-clamp-results=1
--vu0-no-clamping=0
--vu0-clamp-results=1
--vu1-no-clamping=0
--vu1-clamp-results=1
--cop2-no-clamping=0
--cop2-clamp-results=1
Rogue


Combat Elite - WWII Paratroopers NTSC
--gs-uprender=2x2
--gs-upscale=point # fix line
--vif1-instant-xfer=0 # fix graphics
--vu1-no-clamping=0 # fix graphics
--vu1-mpg-cycles=450
--vu1-di-bits=0
Kof2000v2
Nice pack as always! Thanks for Barbie :biggrin2::biggrin2::biggrin2::biggrin2:
 
I Believe the Ps3 Config for Samurai warriors 2 Fixes Flickering textures for many koei Tecmo games including Dynasty Warriors And Samurai warriors, Will test when i can
 
Fix for Spyro Enter the Dragon PAL

CLI
Code:
--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
--cdvd-sector-read-cycles=4000
--host-vsync=1
--host-audio-latency=2.01
--ee-cycle-scalar=2.0

#emu used=aofa
LUA
Code:
-- Spyro Enter the Dragon PAL
-- emu used=aofa
 
local gpr = require("ee-gpr-alias")

apiRequest(0.1)

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

emuObj.SetDisplayAspectWide()

local LS = function()

   emuObj.ThrottleMax()
   
end

emuObj.AddVsyncHook(LS)

No issues noticed.
 
Fix for Dragon Sisters (PAL-E) (SLES-54460)

CLI
Code:
--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

--vu0=trans

--host-display-mode=16:9

#emu used=jakx v2
LUA
Code:
-- Dragon Sisters (PAL-E) (SLES-54460)
-- Disable interlacing hack by ElHecht
-- emu used=jakx v2

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

apiRequest(1.5)

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

local patcher = function()

-- 16:9
eeObj.WriteMem32(0x00252bf8,0x3c013f40) -- 3c013f80 hor fov

-- disable interlacing
eeObj.WriteMem32(0x002405D0,0x00000000) -- 8f84b3d4 (stops screen shaking)

emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(patcher)

Total fix. Full speed. No more screen shaking.
 
Last edited:
Fix for GetBackers™ Dakkan'ya - Ura Shinjuku Saikyou Battle® (Japan)

CLI
Code:
--gs-uprender=2x2
--gs-upscale=edgesmooth

--host-display-mode=16:9

--vu1=jit-sync

#emu used=eternal ring v2
LUA
Code:
-- GetBackers™ Dakkan'ya - Ura Shinjuku Saikyou Battle (Japan)®
-- emu used=eternal ring v2

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

apiRequest(1.5)

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

local patcher = function()

--Widescreen hack 16:9

--Zoom
eeObj.WriteMem32(0x002a5490,0x3c033f40) --3c033f80

--Y-Fov
eeObj.WriteMem32(0x002a54e0,0x080e4c88)

eeObj.WriteMem32(0x00393220,0x46010002)
eeObj.WriteMem32(0x00393224,0x3c013faa)
eeObj.WriteMem32(0x00393228,0x3421aaab)
eeObj.WriteMem32(0x0039322c,0x4481f000)
eeObj.WriteMem32(0x00393230,0x461e0002)
eeObj.WriteMem32(0x00393234,0x080a9539)

--2D Y-Position
eeObj.WriteMem32(0x002a54f8,0x080e4c90)

eeObj.WriteMem32(0x00393240,0x46010002)
eeObj.WriteMem32(0x00393244,0x3c013faa)
eeObj.WriteMem32(0x00393248,0x3421aaab)
eeObj.WriteMem32(0x0039324c,0x4481f000)
eeObj.WriteMem32(0x00393250,0x461e0002)
eeObj.WriteMem32(0x00393254,0x080a953f)

emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(patcher)

Tested a little. Graphical issues fixed with "--vu1=jit-sync"
 

Similar threads

Back
Top