PS4 [Research]PS2 emulator configuration on PS4

Hello, I'm new here, I want to share this fix here:


The Sims 2+cheats [SLES-53718]
Emu=Jakxv2

--gs-uprender=2x2
--gs-upscale=edgesmooth
--host-display-mode=full
--vu0-no-clamping=0 -->flickering fix
--vu1-no-clamping=0 -->flickering fix
--force-pal-60hz=1



Lua:
apiRequest(1.0)

local eeObj = getEEObject()
local emuObj = getEmuObject()
local patcher = function()
eeObj.WriteMem32(0x2052026c,0x000000d7)
end
emuObj.ThrottleFast()
emuObj.AddVsyncHook(patcher)


The Sims 2: Castaway [SLES-54903]
Emu=Jak v2

--gs-uprender=2x2
--gs-upscale=edgesmooth
--host-display-mode=full
--vu0-no-clamping=0
--vu1-no-clamping=0

Lua:
apiRequest(1.0)

local eeObj = getEEObject()
local emuObj = getEmuObject()
local patcher = function()
end
emuObj.ThrottleFast()
emuObj.AddVsyncHook(patcher)


The Sims 2: Pets [SLES-54347]
Emu=Jakxv2

--gs-uprender=2x2
--gs-upscale=edgesmooth
--host-display-mode=full
--vu0-no-clamping=0
--vu1-no-clamping=0


Lua:

apiRequest(1.0)

local eeObj = getEEObject()
local emuObj = getEmuObject()
local patcher = function()
end
emuObj.ThrottleFast()
emuObj.AddVsyncHook(patcher)


#The only problem are some black lines (can be fixed using bilinear in lua, but loses quality).
Ok i figure out! I not see any black lines, just white lines on grass, but @Jvn9207 big thanks for sharing! It very playble now!
The Sims 2. Quick GamePlay & Before-After FiX
VIDEO
 
Hello, I'm new here, I want to share this fix here:


The Sims 2+cheats [SLES-53718]
Emu=Jakxv2

--gs-uprender=2x2
--gs-upscale=edgesmooth
--host-display-mode=full
--vu0-no-clamping=0 -->flickering fix
--vu1-no-clamping=0 -->flickering fix
--force-pal-60hz=1



Lua:
apiRequest(1.0)

local eeObj = getEEObject()
local emuObj = getEmuObject()
local patcher = function()
eeObj.WriteMem32(0x2052026c,0x000000d7)
end
emuObj.ThrottleFast()
emuObj.AddVsyncHook(patcher)


The Sims 2: Castaway [SLES-54903]
Emu=Jak v2

--gs-uprender=2x2
--gs-upscale=edgesmooth
--host-display-mode=full
--vu0-no-clamping=0
--vu1-no-clamping=0

Lua:
apiRequest(1.0)

local eeObj = getEEObject()
local emuObj = getEmuObject()
local patcher = function()
end
emuObj.ThrottleFast()
emuObj.AddVsyncHook(patcher)


The Sims 2: Pets [SLES-54347]
Emu=Jakxv2

--gs-uprender=2x2
--gs-upscale=edgesmooth
--host-display-mode=full
--vu0-no-clamping=0
--vu1-no-clamping=0


Lua:

apiRequest(1.0)

local eeObj = getEEObject()
local emuObj = getEmuObject()
local patcher = function()
end
emuObj.ThrottleFast()
emuObj.AddVsyncHook(patcher)


#The only problem are some black lines (can be fixed using bilinear in lua, but loses quality).

Great job!
 
Freeze at ps2 logo with attached files
PIC.jpg


Then decide just add
Code:
--host-display-mode=16:9
--cdvd-sector-read-cycles=2000

Still nothing new from my tests before
Still slow framerate on this area!
PIC2.jpg

Sorry, I fixed that. It shouldn't do that anymore(the freeze and framedrop) Not perfect yet.

https://www.psx-place.com/threads/r...nfiguration-on-ps4.16131/page-162#post-334947
 
Last edited:
Fix for NBA Jam 2004 NTSC

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

--cdvd-sector-read-cycles=2000

--ee-cycle-scalar=1.50      #menu fix A
--ee-sif1-cycle-scalar=1.3  #menu fix B

#emu used=aofa
 
WIP Fix for Batman Begins NTSC

CLI
Code:
--gs-uprender=2x2
--gs-upscale=edgesmooth
--gs-kernel-cl-up="up2x2skipinterp" #fixes white lines around characters/objects
--host-display-mode=16:9

--ee-cycle-scalar=0.6
--iop-cycle-scalar=1.5

#emu used=rogue v1 or v2
LUA
Code:
-- Batman Begins NTSC
-- 60fps by asasega @pcsx2 forums
-- switch by @kugozx
-- emu used=rogue v1 or v2

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

apiRequest(0.1)

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

local patcher = function()
--60fps switch by @kugozx
local Speed_Switch = eeObj.ReadMem16(0x00448642)

--title screen freeze fix?? but breaks FMVs
if (Speed_Switch == 0xFBFD) then --Press L1+L3 Enabled 60 Fps
   eeObj.WriteMem32(0x00409BF8,0x0000003C)
end

if (Speed_Switch == 0xFBFB) then --Press L1+R3 Disabled 60 Fps
   eeObj.WriteMem32(0x00409BF8,0x0000001E)
end

end

emuObj.AddVsyncHook(patcher)

Works great so far other than the FMVs run too fast(??). Tested a Little. Fix breaks FMVs for some reason?
 
Last edited:
WIP Fix for Batman Begins NTSC

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

--host-display-mode=16:9

--ee-cycle-scalar=0.6
--iop-cycle-scalar=1.5

#emu used=rogue v1
LUA
Code:
-- Batman Begins NTSC
-- 60fps by asasega @pcsx2 forums
-- emu used=rogue v1

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

apiRequest(0.1)

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

local patcher = function()
--title screen freeze fix?? but breaks FMVs
eeObj.WriteMem32(0x409BF8,0x3c)

end

emuObj.AddVsyncHook(patcher)

Works great so far other than the FMVs run too fast(??). Tested a Little. Fix breaks FMVs for some reason?

not sure, but probably these codes will help for FMVs
//Press L1+Down For Hyper Game Speed
patch=1,EE,D0448642,extended,0000FBBF
patch=1,EE,2040E114,extended,3F800000
//Press L1+L2 For Normal Game Speed
patch=1,EE,D0448642,extended,0000FAFF
patch=1,EE,2040E114,extended,3F800000
//Press L1+Left For Slow Game Speed
patch=1,EE,D0448642,extended,0000FB7F
patch=1,EE,2040E114,extended,3F000000
//Press L1+Right For Super Slow Game Speed
patch=1,EE,D0448642,extended,0000FBDF
patch=1,EE,2040E114,extended,3E800000
//Press L1+Up For Super Game Speed
patch=1,EE,D0448642,extended,0000FBEF
patch=1,EE,2040E114,extended,3F800000
 
not sure, but probably these codes will help for FMVs
//Press L1+Down For Hyper Game Speed
patch=1,EE,D0448642,extended,0000FBBF
patch=1,EE,2040E114,extended,3F800000
//Press L1+L2 For Normal Game Speed
patch=1,EE,D0448642,extended,0000FAFF
patch=1,EE,2040E114,extended,3F800000
//Press L1+Left For Slow Game Speed
patch=1,EE,D0448642,extended,0000FB7F
patch=1,EE,2040E114,extended,3F000000
//Press L1+Right For Super Slow Game Speed
patch=1,EE,D0448642,extended,0000FBDF
patch=1,EE,2040E114,extended,3E800000
//Press L1+Up For Super Game Speed
patch=1,EE,D0448642,extended,0000FBEF
patch=1,EE,2040E114,extended,3F800000

tried those. The problem is the 60fps patch also is the fix for the title screen. 60fps breaks the FMVs on ps4. Maybe a conditional for disabling during FMV?
 
tried those. The problem is the 60fps patch also is the fix for the title screen. 60fps breaks the FMVs on ps4. Maybe a conditional for disabling during FMV?
if rogue emu support it maybe it will work same as change color saber in Star Wars Episode III: Revenge Of The Sith
Code:
--Free Camera (Press R1+R2 To Activate; L1+L2 To Stop)

local code_check1 = eeObj.ReadMem16(0x009B5582)
local code_check2 = eeObj.ReadMem16(0x009B5582)
local code_check3 = eeObj.ReadMem16(0x009B5582)

if code_check1 == 0xF5FF then --Press R1+R2 To Activate
eeObj.WriteMem8(0x01FDEEC3,0x00000001)
end

if code_check2 == 0xFAFF then --L1+L2 To Stop
eeObj.WriteMem8(0x01FDEEC3,0x00000000)
end

if code_check3 == 0xFF7B then --R3+LEFT Pinky
eeObj.WriteMem32(0x209948A0,0x3F800000)
eeObj.WriteMem32(0x209948A4,0x3F09999A)
eeObj.WriteMem32(0x209948A8,0x3F100000)
end

if code_check3 == 0xFFEB then --R3+UP Yellow
eeObj.WriteMem32(0x209948A0,0x3F800000)
eeObj.WriteMem32(0x209948A4,0x3F800000)
eeObj.WriteMem32(0x209948A8,0x3D000000)
end

if code_check3 == 0xFFDB then --R3+RIGHT Red
eeObj.WriteMem32(0x209948A0,0x00000000)
eeObj.WriteMem32(0x209948A4,0x3F70F0F1) --Green
eeObj.WriteMem32(0x209948A8,0x00000000)
end

if code_check3 == 0xFFBB then --R3+DOWN Purple
eeObj.WriteMem32(0x209948A0,0x3EB4B4B5)
eeObj.WriteMem32(0x209948A4,0x00000000)
eeObj.WriteMem32(0x209948A8,0x3F7AFAFB)
end

but not sure if it work only gameplay or FMV.s too
 
WIP Fix for 007: Nightfire NTSC

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

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

#emu used=red dead
LUA
Code:
-- 007: Nightfire NTSC
-- Cheats by codemaster
-- Needs gfx fix
-- emu used=red dead

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

apiRequest(0.1)

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

--eeInsnReplace(0x00a0eec8, 0x27bdff40, 0x03e00008)
--eeInsnReplace(0x00a0eecc, 0xffb20060, 0x00000000)

local patcher = function()
--Weapons With Zoom Can Zoom HELLA by Code Master
local Zoom = eeObj.ReadMem16(0x22433C)
if Zoom == 0x2420 then
eeObj.WriteMem32(0x201A1B84,0x00000000)
eeObj.WriteMem32(0x201A1BC0,0x00000000)
end
--All Levels by Code Master
local All_Levels = eeObj.ReadMem16(0x22433C)
if All_Levels == 0x2420 then
eeObj.WriteMem32(0x202DF2F0,0x00000001)
eeObj.WriteMem32(0x202DF308,0x00000001)
eeObj.WriteMem32(0x202DF320,0x00000001)
eeObj.WriteMem32(0x202DF338,0x00000001)
eeObj.WriteMem32(0x202DF350,0x00000001)
eeObj.WriteMem32(0x202DF368,0x00000001)
eeObj.WriteMem32(0x202DF380,0x00000001)
eeObj.WriteMem32(0x202DF398,0x00000001)
eeObj.WriteMem32(0x202DF3B0,0x00000001)
eeObj.WriteMem32(0x202DF3C8,0x00000001)
eeObj.WriteMem32(0x202DF3E0,0x00000001)
eeObj.WriteMem32(0x202DF3F8,0x00000001)
end

emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(patcher)


Works great! No more freezing or crashing. Emu fixed that. Still need a code to fix weird graphical glitches. 4 player works!
 
Last edited:
Good idea. I will try later
Master @Kugozx make 60 FPS off\on switcher!

Code:
local code_change1 = eeObj.ReadMem16(0x00448642)

--title screen freeze fix?? but breaks FMVs
if (code_change1 == 0xFBFD) then --Press L1+L3 Enabled 60 Fps
   eeObj.WriteMem32(0x00409BF8,0x0000003C)
end

if (code_change1 == 0xFBFB) then --Press L1+R3 Disabled 60 Fps
   eeObj.WriteMem32(0x00409BF8,0x0000001E)
end

When game boot, press L1+L3 on loading screen for pass blackscreen
and for watch FMV's press L1+R3
 
@Vika23 , have you tested Animaniacs™ The Great Edgar Hunt? The issue is similar to Jackie Chan. Upon level start, your character falls through the floor. Any Ideas?
 

Similar threads

Back
Top