PS4 [Research]PS2 emulator configuration on PS4

DBZBT4BETAX2 [SLUS21978]
emu=kof98
- Rebuild iso first

Code:
--host-display-mode=full
--ps2-title-id=SLUS-21978
--ps2-lang=system
--gs-uprender=2x2
--gs-upscale=edgesmooth
--gs-use-clut-merge=1
--gs-kernel-cl="clutmerge"
--gs-kernel-cl-up="clutmerge2x2"
--gs-kernel-cl-up="up2x2skipinterp"
--host-vsync=0
LUA:
Code:
apiRequest(0.1)

local gpr          = require("ee-gpr-alias")
local eeObj      = getEEObject()
local emuObj    = getEmuObject()

local patcher  = function()
--Unlock all characters
eeObj.WriteMem32(0x206BA250,0xffffffff)
eeObj.WriteMem32(0x206BA254,0xffffffff)
eeObj.WriteMem32(0x206BA258,0xffffffff)
eeObj.WriteMem32(0x206BA25C,0xffffffff)
eeObj.WriteMem32(0x206BA260,0xffffffff)
eeObj.WriteMem32(0x206BA264,0x000001ff)
emuObj.ThrottleMax()
end

emuObj.SetGsTitleFix( "forceSimpleFetch", "reserved", { texMode=2 } )
emuObj.SetGsTitleFix( "forceSimpleFetch",  "reserved", {psm=0} )
emuObj.SetGsTitleFix( "fetchFromCurrBuff", "reserved", {psm=0} )
emuObj.AddVsyncHook(patcher)
 
Last edited:
I was hoping someone could help me with particular game Mafia widescreen code to port to two other regions of game. RUS and ITA.
I really appreciate the help. I tried myself to do it but just couldn't figure out how. Couldn't find addresses or by how much to move offsets.

If someone could also post a short tutorial how they did it, it be awesome.

EDIT: Taken care of thanks to Kugozx
 
Last edited:
Hi. I have a question if you have any way to run the games that I care about the most is NBA 2K2 (freezes while loading the game), Sega Sports Tennis (hangs on the PlayStation 2 logo), SSX On Tour (throws to the PS4 main screen during the race) . Thank you and best regards
 
Request - Urbz, The - Sims in the City (SLES-52908)

i like Emu RECVX (Resident Evil: Code: Veronica)

Code:
#fix black screen
--vu1=jit-sync

#emu used=RECVX
Emu = RECVX

Urbz, The - Sims in the City_20221218032003.png

any fix for Crashes?
 
Rayman 3 N-Gage vs. PS2toPS4 BIG GamePlay Test

Full lua. for NTSC Version with ported cheat from PAL!

Code:
-- Rayman 3 Hoodlum Havoc (NTSC)
-- emu used=KOF 2000

apiRequest(1.0)   

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

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

-- Fix for thin vertical lines that separate screen picture, misallignment/tearing of screen during upscaling
-- psm= SCE_GS_PSMCT32 (0)
emuObj.SetGsTitleFix( "forceSimpleFetch",  "reserved", {psm=0} )
emuObj.SetGsTitleFix( "fetchFromCurrBuff", "reserved", {psm=0} )

local patcher = function()

--Max Score/Unlock Bonuses
eeObj.WriteMem32(0x211E7744,0x000F423F)

end

emuObj.AddVsyncHook(patcher)
 
Just like rayman 3, we started with no animation and then came up with a patch.
Same thing will happen to largo winch.
SLES50841
Current patch. Broken animations
Code:
apiRequest(0.1)
eeInsnReplace(0x00116D60, 0x24080000, 0x00000000)
 
Need for Speed Underground 2. Short GamePlay!
VIDEO

Modern FiX
Code:
--host-display-mode=16:9
--framelimiter=1
--framelimit-fps=60.0
--framelimit-scalar=1.1
--cdvd-sector-read-cycles=2000
--mtap1=always

in txt.

Code:
-- Need for Speed Underground 2 (PAL)
-- emu used=aofa

apiRequest(1.0)   

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

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

-- Fix for thin vertical lines that separate screen picture, misallignment/tearing of screen during upscaling
-- psm= SCE_GS_PSMCT32 (0)
emuObj.SetGsTitleFix( "forceSimpleFetch",  "reserved", {psm=0} )
emuObj.SetGsTitleFix( "fetchFromCurrBuff", "reserved", {psm=0} )

local patcher = function()

eeObj.WriteMem32(0x001D78A8,0x100000B4) --speed fix

eeObj.WriteMem32(0x001d7fbc,0x2C420001) --60FPS

--Disable eAttachTargetMoveSprites
eeObj.WriteMem32(0x001d39d0,0x03e00008)
eeObj.WriteMem32(0x001d39d4,0x0)

--Disable DepthIntoAlpha
eeObj.WriteMem32(0x00565da4,0x0)

--Disable DepthOfField
eeObj.WriteMem32(0x00566068,0x0)

--Disable Fog
eeObj.WriteMem32(0x00565e4c,0x0)

--Disable Smear (require depthIntoAlpha to work anyway)
eeObj.WriteMem32(0x00565e98,0x0)

--Rain modifier (hacked from RainInTheHeadlights)
-- 3e000000 for full screen, 40000000 for light rain only
eeObj.WriteMem32(0x00569f10,0x40000000)

--Better Car Brightness (orig. 437F)
eeObj.WriteMem32(0x001c271c,0x3C01439F)

--Lower World Lights Flare
eeObj.WriteMem32(0x001c3ef8,0x3C013F40)

--Lower Road/Traffic Yellow/Orange Lights Flare
eeObj.WriteMem32(0x001c3278,0x3C013F50)

emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(patcher)

in lua.

Need for Speed Underground 2. Deutsche Dub Test!
VIDEO
 
Crimson Tears [UnDub] PS2toPS4 Test

FiX (SLES52534)

Code:
--host-display-mode=16:9
--force-frame-blend=1

in txt.

Code:
-- Crimson Tears PAL
-- ported to PS4
-- emu used=jakx v2

apiRequest(2.0)

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

local patcher = function()
-- 16:9
--eeObj.WriteMem32(0x001bcb78,0x3c02bfe3) -- 3c02bfaa hor fov
--eeObj.WriteMem32(0x001bcb80,0x34438e39) -- 3443aaab hor fov

-- 16:10
eeObj.WriteMem32(0x001bcb78,0x3c02bfcc) -- 3c02bfaa hor fov
eeObj.WriteMem32(0x001bcb80,0x3443cccd) -- 3443aaab hor fov

--Remove Ghosting and Bloom (Original PAL)
eeObj.WriteMem32(0x006544B8,0x00000000)
---------------Cheats--------------------
--Access All Levels From Teleporter
eeObj.WriteMem32(0x003AEA34,0x00000007)

emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(patcher)

in lua.

Crimson Tears (PAL). Short GamePlay (Action Part)!
VIDEO
 
I was hoping someone could help me with particular game Mafia widescreen code to port to two other regions of game. RUS and ITA.
I really appreciate the help. I tried myself to do it but just couldn't figure out how. Couldn't find addresses or by how much to move offsets.

If someone could also post a short tutorial how they did it, it be awesome.

EDIT: Taken care of thanks to Kugozx
Mafia Commendatori Edition PS2toPS4. First Look

About year ago i test Mafia game much! But i don't use lua method in that time, i just patch iso directly!
Also u must know, that u need use ps3 config or u will have crash before mission "Molotov Party" starts!

Edit: i share files with @Kugozx , contact him!
 
Last edited:
Just like rayman 3, we started with no animation and then came up with a patch.
Same thing will happen to largo winch.
SLES50841
Current patch. Broken animations
Code:
apiRequest(0.1)
eeInsnReplace(0x00116D60, 0x24080000, 0x00000000)

Code:
apiRequest(0.1)

eeInsnReplace(0x00116D48, 0x24080000, 0x00000000)

Code:
-- skip videos
eeObj.WriteMem32(0x001f3938,0x24020001)

SLES-51093
 
Last edited:
Disney Golf (PAL)

Code:
--gs-uprender=2x2
--gs-upscale=EdgeSmooth
--gs-use-clut-merge=1
--gs-kernel-cl="clutmerge"
--gs-kernel-cl-up="clutmerge2x2"
--force-frame-blend=1
--vu1-mpg-cycles=1000
--cdvd-sector-read-cycles=5000
--host-display-mode=16:9
--host-audio-latency=0.7
--vu1-jr-cache-policy=newprog

#emu used=aofa

Fix for graphics and most audio stutter
 
this article here?

SLPS25650

-- Metal Slug (SLPS-25650)
-- Language by Mr_Beacon00
-- emu used=AOFA

apiRequest(1.0)

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

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

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

local patcher = function()

-- 0 - japanese
-- 1 - english
-- 3 - French
-- 4 - Italian
-- 5 - German
-- 6 - Spanish
eeObj.WriteMem32(0x20657C1C,0x1)
end

emuObj.AddVsyncHook(patcher)

Please Fixing crashes. ALL PS2 Emus
 
Last edited:
this article here?

SLPS25650

-- Metal Slug (SLPS-25650)
-- Language by Mr_Beacon00
-- emu used=AOFA

apiRequest(1.0)

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

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

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

local patcher = function()

-- 0 - japanese
-- 1 - english
-- 3 - French
-- 4 - Italian
-- 5 - German
-- 6 - Spanish
eeObj.WriteMem32(0x20657C1C,0x1)
end

emuObj.AddVsyncHook(patcher)

Please Fixing crashes. ALL PS2 Emus
what is the issue ?
 
Last edited:

Similar threads

Back
Top