PS4 [Research]PS2 emulator configuration on PS4

Crash Tag Team Racing
SLUS211.91


Remade my old CLI patch and added a new ee memory patch made by @mrjaredbeta himself!
Now the game finally runs as smooth as butter.

CLI
Code:
--vu1-di-bits=0
--vu1-mpg-cycles=250
--ee-cycle-scalar=1.2
#You can decrease 9000
--ee-hook=0x003547C8,AdvanceClock,,7000
--ee-hook=0x0034C098,AdvanceClock,,500

LUA
Code:
apiRequest(0.1)

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

local patcher = function()

-- Full credits to MrJaredbeta
-- Fix for the micro-stutters around coins
eeObj.WriteMem32(0x0022e3e4, 0x1000000c)

end
emuObj.AddVsyncHook(patcher)
 
Last edited:
Crash Tag Team Racing
SLUS211.91


Remade my old CLI patch and added a new ee memory patch made by @mrjaredbeta himself!
Now the game finally runs as smooth as butter.

CLI
Code:
--vu1-di-bits=0
--vu1-mpg-cycles=250
--ee-cycle-scalar=1.2
--ee-hook=0x003547C8,AdvanceClock,,9000
--ee-hook=0x0034C098,AdvanceClock,,500

LUA
Code:
apiRequest(0.1)

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

local patcher = function()

-- Full credits to MrJaredbeta
-- Fix for the micro-stutters around coins
eeObj.WriteMem32(0x0022e3e4, 0x1000000c)

end
emuObj.AddVsyncHook(patcher)
Ok if I'm using PS2 classic how do I go about adding the files b/c from what I can do and know only a .txt can be added to this gui
 
Crash Tag Team Racing
SLUS211.91


Remade my old CLI patch and added a new ee memory patch made by @mrjaredbeta himself!
Now the game finally runs as smooth as butter.

CLI
Code:
--vu1-di-bits=0
--vu1-mpg-cycles=250
--ee-cycle-scalar=1.2
--ee-hook=0x003547C8,AdvanceClock,,9000
--ee-hook=0x0034C098,AdvanceClock,,500

LUA
Code:
apiRequest(0.1)

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

local patcher = function()

-- Full credits to MrJaredbeta
-- Fix for the micro-stutters around coins
eeObj.WriteMem32(0x0022e3e4, 0x1000000c)

end
emuObj.AddVsyncHook(patcher)
Did it have freeze issue?
 
Crash Tag Team Racing
SLUS211.91


Remade my old CLI patch and added a new ee memory patch made by @mrjaredbeta himself!
Now the game finally runs as smooth as butter.

CLI
Code:
--vu1-di-bits=0
--vu1-mpg-cycles=250
--ee-cycle-scalar=1.2
#You can decrease 9000
--ee-hook=0x003547C8,AdvanceClock,,7000
--ee-hook=0x0034C098,AdvanceClock,,500

LUA
Code:
apiRequest(0.1)

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

local patcher = function()

-- Full credits to MrJaredbeta
-- Fix for the micro-stutters around coins
eeObj.WriteMem32(0x0022e3e4, 0x1000000c)

end
emuObj.AddVsyncHook(patcher)

Full LUA
Code:
-- Crash Tag Team Racing (SLUS21191)
-- Widescreen by Arapapa
-- Jak v2

apiRequest(0.1)

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

local patcher = function()

-- Full credits to MrJaredbeta
-- Fix for the micro-stutters around coins
eeObj.WriteMem32(0x0022e3e4, 0x1000000c)

--Widescreen hack 16:9

--X-Fov
eeObj.WriteMem32(0x00399f58,0x3c013fab) --3c013f80

--Render fix
eeObj.WriteMem32(0x002d91c0,0x3c013fe0) --3c013f80

--60 FPS by asasega
eeObj.WriteMem32(0x207A9E5C,0x00000001) --00000002

emuObj.ThrottleMax()
end
emuObj.AddVsyncHook(patcher)

Crash Tag Team Racing PS2toPS4 Test (60FPS)
 
Star Wars - Battlefront [SLUS-20898]
emu used: red faction 2
Based on andywe config battlefront 2.

Code:
--gs-frontend-opt-mode=1
#--gs-flush-ad-xyz=safe
--safe-area-min=0.90
--vu1-di-bits=0
--vu1-opt-flags=1
--vu0-jr-cache-policy=newprog
--vu1-jalr-cache-policy=newprog
--vu1-mpg-cycles=1300
--gs-kernel-cl-up="up2x2skipinterp"
--gs-use-mipmap=1
--gs-kernel-cl="mipmap"
--gs-kernel-cl-up="mipmap2x2"

Lua:
Code:
local gpr = require("ee-gpr-alias")
apiRequest(1.0)
local eeObj   = getEEObject()
local emuObj  = getEmuObject()
local patcher = function()
emuObj.ThrottleMax()
end
emuObj.SetGsTitleFix( "forceSimpleFetch", "reserved", { texMode=3 } )
emuObj.AddVsyncHook(patcher)

Thanks alot. With Redfaction 2 the game runs normaly but for my PAL version i must increase vu1-mpg-cycle and ee-cycle-scalar
 
Someone can take look on star wars Battlefront 2 SLES-53503?
Redfaction 2 is the only emu where this game runs perfectly but it crashes constantly with an CE error on different places. Sometimes on loading screen, sometimes in a battle. I don't know what's the problem.
The game also crashes after 5-10 min when i don't use a config file

My config:
#Emu used=Redfaction 2

--ee-cycle-scalar=2.7
--vu1-mpg-cycles=1700
--gs-use-deferred-l2h=0
--vu0-no-clamping=0

--vu1-di-bits=0
--vu0-di-bits=0
--vu1-const-prop=1
--vu0-const-prop=1
--vu1-opt-flags=1
--vu0-opt-flags=1
--vu1-opt-vf00=1
--vu0-opt-vf00=1
--vu0-jr-cache-policy=sameprog
--vu1-jr-cache-policy=sameprog
--vu0-jalr-cache-policy=sameprog
--vu1-jalr-cache-policy=sameprog

--gs-kernel-cl-up="up2x2skipinterp"
--gs-use-mipmap=1
--gs-kernel-cl="mipmap"
--gs-kernel-cl-up="mipmap2x2"

#maybe unnecessary
--gs-frontend-opt-mode=1
--vu0-opt-subroutine=1
--vu1-opt-subroutine=1
--vu1-injection=1
 
Gadget Racers (U)(SLUS-20225)

Cli
Code:
--gs-uprender=2x2
--gs-upscale=edgesmooth
--host-display-mode=16:9
--force-frame-blend=1

Lua
Code:
--Gadget Racers (U)(SLUS-20225)
--Widescreen hack by Arapapa
--Avoid stack corruption, fix TLB misses (pcsx2 config)
--kof98um

apiRequest(0.1)

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

local patcher = function()

------Avoid stack corruption, fix TLB misses----
eeObj.WriteMem32(0x00174138,0x27BDFF00)
eeObj.WriteMem32(0x00174274,0x27BD0100)
--Skip Vsync on WcCard::CommandWait loop.
--Before removing this patch, check initial loading with unformatted memory card.
--eeObj.WriteMem32(0x0017CAC0,0x00000000)

---------Widescreen hack 16:9-----------------
--X-Fov
eeObj.WriteMem32(0x00192b2c,0x3c014370)
--Render fix
eeObj.WriteMem32(0x00192b70,0x3c014020)

--skip intro video (optional)
eeObj.WriteMem32(0x001b1700,0x24020001)

----------------Cheats-------------------------
--Have All O Licenses
eeObj.WriteMem32(0x20342B48,0x00000001)
eeObj.WriteMem32(0x20342B88,0x00000001)
eeObj.WriteMem32(0x20342BC8,0x00000001)
eeObj.WriteMem32(0x20342C08,0x00000001)
eeObj.WriteMem32(0x20342C48,0x00000001)
eeObj.WriteMem32(0x20342C88,0x00000001)
eeObj.WriteMem32(0x20342CC8,0x00000001)
eeObj.WriteMem32(0x20342D08,0x00000001)
eeObj.WriteMem32(0x20342D48,0x00000001)
eeObj.WriteMem32(0x20342D88,0x00000001)
--Have All P Licenses
eeObj.WriteMem32(0x20342DC8,0x00000001)
eeObj.WriteMem32(0x20342E08,0x00000001)
eeObj.WriteMem32(0x20342E48,0x00000001)
eeObj.WriteMem32(0x20342E88,0x00000001)
eeObj.WriteMem32(0x20342EC8,0x00000001)
eeObj.WriteMem32(0x20342F08,0x00000001)
eeObj.WriteMem32(0x20342F48,0x00000001)
eeObj.WriteMem32(0x20342F88,0x00000001)
eeObj.WriteMem32(0x20342FC8,0x00000001)
eeObj.WriteMem32(0x20343008,0x00000001)
--Have All Q Licenses
eeObj.WriteMem32(0x20343048,0x00000001)
eeObj.WriteMem32(0x20343088,0x00000001)
eeObj.WriteMem32(0x203430C8,0x00000001)
eeObj.WriteMem32(0x20343108,0x00000001)
eeObj.WriteMem32(0x20343148,0x00000001)
eeObj.WriteMem32(0x20343188,0x00000001)
eeObj.WriteMem32(0x203431C8,0x00000001)
eeObj.WriteMem32(0x20343208,0x00000001)
eeObj.WriteMem32(0x20343248,0x00000001)
eeObj.WriteMem32(0x20343288,0x00000001)
--Infinite Cash
eeObj.WriteMem32(0x2023D210,0x05F5E0FF)

emuObj.ThrottleMax()
end
emuObj.AddVsyncHook(patcher)
 
I want to know how to set up "Tenchu: Fatal Shadows"
Tenchu fs [slus]
emu: adk

Code:
--gs-uprender=2x2
--gs-upscale=edgesmooth
--host-display-mode=full
--vif1-instant-xfer=0
--force-frame-blend=1

lua:
Code:
local gpr = require("ee-gpr-alias")

apiRequest(1.6)

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

-- Fix by deso
eeInsnReplace(0x001023E0, 0xAE020000, 0x0)

local patcher = function()
--widescreen
eeObj.WriteMem32(0x0012ef48,0x3c023f41)
eeObj.WriteMem32(0x0012f738,0x3c02442c)
--visual fix by Jvn9207
eeObj.WriteMem32(0x003F6240,0x00000023) --00001023
eeObj.WriteMem32(0x003F6268,0x00000023) --00001023
eeObj.WriteMem32(0x0047792C,0x00000000) --00000010
eeObj.WriteMem32(0x00477AE8,0x00000000) --41800000
eeObj.WriteMem32(0x00477AEC,0x00000000) --41800000
end
emuObj.SetGsTitleFix( "forceSimpleFetch", "reserved", { texMode=1  } )
emuObj.AddVsyncHook(patcher)

-Still has bad graphical corruptions
 
Dragon Ball Z: Infinite Worlds NTSC

LUA
Code:
-- Dragon Ball Z: Infinite World
-- widescreen
-- freeze skip by Stayhye
-- emu used=jak v1

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

apiRequest(0.1)

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

local patcher = function()
--16:9
eeObj.WriteMem32(0x2052E6B0,0x3f23d706) --3f5a740e
eeObj.WriteMem32(0x2049C054,0x3f23d706) --3f5a740e
--fight intro freeze skip
eeObj.WriteMem32(0x00101054,0)

end

emuObj.AddVsyncHook(patcher)

Same issue as Budokai 3. Eliminated!
freeze skip code works in pal version (no need to port it).
 
Tenchu fs [slus]
emu: adk

Code:
--gs-uprender=2x2
--gs-upscale=edgesmooth
--host-display-mode=full
--vif1-instant-xfer=0
--force-frame-blend=1

lua:
Code:
local gpr = require("ee-gpr-alias")

apiRequest(1.6)

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

-- Fix by deso
eeInsnReplace(0x001023E0, 0xAE020000, 0x0)

local patcher = function()
--widescreen
eeObj.WriteMem32(0x0012ef48,0x3c023f41)
eeObj.WriteMem32(0x0012f738,0x3c02442c)
--visual fix by Jvn9207
eeObj.WriteMem32(0x003F6240,0x00000023) --00001023
eeObj.WriteMem32(0x003F6268,0x00000023) --00001023
eeObj.WriteMem32(0x0047792C,0x00000000) --00000010
eeObj.WriteMem32(0x00477AE8,0x00000000) --41800000
eeObj.WriteMem32(0x00477AEC,0x00000000) --41800000
end
emuObj.SetGsTitleFix( "forceSimpleFetch", "reserved", { texMode=1  } )
emuObj.AddVsyncHook(patcher)

-Still has bad graphical corruptions

Thank you! So much!
 
Crash Tag Team Racing [SLES - 53439]
emu=Jakv2

Code:
--vu1-di-bits=0
--vu1-mpg-cycles=250
--ee-cycle-scalar=1.2
#You can decrease 9000
--ee-hook=0x003547C8,AdvanceClock,,7000
--ee-hook=0x0034C098,AdvanceClock,,500

Lua:
Code:
-- Crash Tag Team Racing (SLES53439)
-- Widescreen by Arapapa

apiRequest(0.1)

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

local patcher = function()

-- Full credits to MrJaredbeta
-- Fix for the micro-stutters around coins
eeObj.WriteMem32(0x0022EE1C, 0x1000000c)
--Widescreen hack 16:9
--X-Fov
eeObj.WriteMem32(0x0039b420,0x3c013fab) --3c013f80
--Render fix
eeObj.WriteMem32(0x002da688,0x3c013fe0) --3c013f80
--60 FPS by asasega
eeObj.WriteMem32(0x207B3ADC,0x00000001) --00000002
emuObj.ThrottleMax()
end
emuObj.AddVsyncHook(patcher)

emuObj.SetGsTitleFix( "globalSet",  "reserved", { workLoadThreshold = 125000} )
 
Blade II [SLES - 51013]
emu= kof98um

Code:
--gs-uprender=2x2
--gs-upscale=EdgeSmooth
--host-display-mode=16:9
--vu1-di-bits=0
--vu0-di-bits=0
--vu1-opt-vf00=2
--vu0-opt-vf00=2
--ee-regalloc-preserve-scalar=StoreOnly
--ee-const-folding=all

Lua:
Code:
local gpr = require("ee-gpr-alias")

apiRequest(1.0)

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

local CheckInputs = function()

local pad_bits = emuObj.GetPad()

local UP    = pad_bits &  0x0010
local DOWN    = pad_bits &  0x0040
local L1    = pad_bits &  0x0400

if (L1 ~= 0 and UP ~= 0) then
-- on
eeObj.WriteMem32(0x00154C18,0x00000000)
end
if (L1 ~= 0 and DOWN ~= 0) then
-- off
eeObj.WriteMem32(0x00154C18,0x1440FF8D)
end

end

emuObj.AddVsyncHook(CheckInputs)

local patcher = function()
--Widescreen
eeObj.WriteMem32(0x0018B798,0x3C033F40)
eeObj.WriteMem32(0x0017E9AC,0x3c033f40)
--Unlock Missions
eeObj.WriteMem32(0x2048D162,0x00FF0001)
--Unlock Weapons
eeObj.WriteMem32(0x2048D172,0x00FF0001)
--Unlock Daywalker
eeObj.WriteMem32(0x2048D182,0x00FF0001)
--Choose missions by Jvn9207
--[[2048D182 000000??
Levels=
1 The Exchange
2 Horror Stories (better avoid this mission)
3 The Blood Club
4 Nth Phase
5 Cover Up
6 Acid Reign
7 Acid Reign Part 2
8 Delancey St Subway
9 City Sewers
A The Big Bang
B Quarantine
C The Blood Donors
D The Jaws of Doom
E The Escape
F Project: Vorpal
10 Into the Mountain
11 The Energy Stores
12 Out of the Fire
13 The Blood Sucker
14 The Core
15 Training Area
16 The Karkovs
17 The Byrons
18 The Arcan
19 The Credits
1a Demo Level (Not Working)
1b Training Area?
Towers Communication Points Counter=
20997C94 000?0000 (1 to 3)
Light(fx) of communication box?=
2077E928 00000000 --00910069--]]
end
emuObj.AddVsyncHook(patcher)
 
Last edited:
Ape Escape 2 (SLUS20685)

FiX

TXT

Code:
--gs-use-mipmap=1
--gs-kernel-cl="mipmap"
--gs-kernel-cl-up="mipmap2x2"

LUA
Code:
-- Ape Escape 2 (NTSC)
-- emu used=ape escape 2

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

local widescreen = function()

--Eliminate flickering texture and improve background color and clarity
eeObj.WriteMem32(0x0034CE88,0x00000000)
end

emuObj.AddVsyncHook(widescreen)

Ape Escape 2. Short GamePlay!
VIDEO


Ape Escape Pumped & Primed (SLUS21096)

LUA
Code:
-- Ape Escape Pumped and Primed (NTSC)
-- emu used=ape escape 2

apiRequest(1.0)
local eeObj = getEEObject()
local emuObj = getEmuObject()
local patcher = function()

--Fix game frame rate
eeObj.WriteMem32(0x3816e0,0x10000025)
end

emuObj.AddVsyncHook(patcher)

Ape Escape Pumped & Primed. Short GamePlay!
VIDEO
 
Wanted to see if someone could possibly help convert this pnatch to PS4 Lua?

patch=1,EE,705D4AD4,extended,00000004
patch=1,EE,705D4AD3,extended,000000BB
patch=1,EE,705D4AD2,extended,00000010
patch=1,EE,705D6B7B,extended,000000db
patch=1,EE,705D6B7C,extended,000000FF
patch=1,EE,705D6B7D,extended,0000001F
patch=1,EE,705D71E2,extended,000000EA
patch=1,EE,705D7214,extended,00000008
patch=1,EE,706ADABA,extended,00000020

I'm having difficult time adding them into config. Working on Monster Hunter 2 Dos with full English translation and Widescreen and the above codes are DLC for the game.

Appreciate the help
 
Wanted to see if someone could possibly help convert this pnatch to PS4 Lua?

patch=1,EE,705D4AD4,extended,00000004
patch=1,EE,705D4AD3,extended,000000BB
patch=1,EE,705D4AD2,extended,00000010
patch=1,EE,705D6B7B,extended,000000db
patch=1,EE,705D6B7C,extended,000000FF
patch=1,EE,705D6B7D,extended,0000001F
patch=1,EE,705D71E2,extended,000000EA
patch=1,EE,705D7214,extended,00000008
patch=1,EE,706ADABA,extended,00000020

I'm having difficult time adding them into config. Working on Monster Hunter 2 Dos with full English translation and Widescreen and the above codes are DLC for the game.

Appreciate the help

eeObj.WriteMem8(0x5D4AD4, 0x04)
eeObj.WriteMem8(0x5D4AD3, 0xBB)
eeObj.WriteMem8(0x5D4AD2, 0x10)
eeObj.WriteMem8(0x5D6B7B, 0xdb)
eeObj.WriteMem8(0x5D6B7C, 0xFF)
eeObj.WriteMem8(0x5D6B7D, 0x1F)
eeObj.WriteMem8(0x5D71E2, 0xEA)
eeObj.WriteMem8(0x5D7214, 0x08)
eeObj.WriteMem8(0x6ADABA, 0x20)
 
Need For Speed - Most Wanted [SLES-53559]
Emu
=kof98um

Code:
--ps2-title-id=SLES-53559
--gs-uprender=2x2
--gs-upscale=edgesmooth
--gs-optimize=60fps
--iop-cycle-scalar=2.3
--vu1-mpg-cycles=241
--vu0-di-bits=0
--vu1-di-bits=0
--vu0-jr-cache-policy=auto
--vu0-jalr-cache-policy=auto
--cdvd-sector-read-cycles=250
--vu-branch-hazard=0
--vu-evil-branches=0

Lua:
Code:
apiRequest(1.0)

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

local patcher = function()
--Disable some fx DepthIntoAlpha,smear,etc by Jvn9207
eeObj.WriteMem32(0x005503EC,0x0)
eeObj.WriteMem32(0x005503F0,0x0)
eeObj.WriteMem32(0x00550424,0x0)
emuObj.ThrottleMax()
end
emuObj.AddVsyncHook(patcher)

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

emuObj.SetGsTitleFix( "globalSet",  "reserved", { workLoadThreshold = 200000} )
 

Similar threads

Back
Top