PS4 [Research]PS2 emulator configuration on PS4

Tomb Raider - The Angel of Darkness

SLUS20467

LUA


so far fully playable!
Jakv2 used

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

apiRequest(0.1)

-- Tomb Raider - The Angel of Darkness
-- SLUS20467
local eeObj = getEEObject()
local emuObj = getEmuObject()

local patcher = function()
-- so far the game is working perfectly if you ignore some graphical problems,
-- And you still have to skip the first fmv since it's still freezing and i have no idea why :/

-- Black screen fix
eeObj.WriteMem32(0x00207B24, 0x0) -- 1040FFFA
eeObj.WriteMem32(0x00207B4C, 0x0) -- 1040FFFA
end
emuObj.AddVsyncHook(patcher)
 
Last edited:
King's Field™ The Ancient City® NTSC

CLI
Code:
--gs-uprender=2x2
--gs-upscale=EdgeSmooth
--gs-adaptive-frameskip=1
--gs-kernel-cl="mipmap"
--gs-kernel-cl-up="mipmap2x2"
--gs-use-mipmap=1
--cdvd-sector-read-cycles=6000
--vu1=jit-sync
--vif1-instant-xfer=0

--ee-cycle-scalar=1.2
--vu1-mpg-cycles=700

#emulator used=jak & daxter tpl v1
LUA
Code:
-- King's Field™ The Ancient City®
-- WS Patched
-- Cheats
-- 60 FPS selector(Double Speed) Actually feels normal
-- Modern FPS Control Layout
-- emulator used=jak & daxter tpl v1

apiRequest(0.1)

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

emuObj.PadSetLightBar(0,0,255,0)
emuObj.ForceRefreshRate(60)
emuObj.SetDisplayAspectWide()

local patcher = function()
--16:9
eeObj.WriteMem32(0x0022d8e4,0x3c013f40) --00000000
eeObj.WriteMem32(0x0022d8e8,0x44810000) --00000000
eeObj.WriteMem32(0x0022d8f0,0x4600c602) --00000000
--no interlace --This hack will also fix the FMV
eeObj.WriteMem32(0x202218B4,0x00000000)
eeObj.WriteMem32(0x2022193C,0x00000000)
eeObj.WriteMem32(0x0021F710,0x00000000)

---------------CHEATS----------------------

--RGBYV Stones and Wands
eeObj.WriteMem32(0x003698B6,0x00000001)
eeObj.WriteMem32(0x003698B7,0x00000001)
eeObj.WriteMem32(0x003698B8,0x00000001)
eeObj.WriteMem32(0x003698B9,0x00000001)
eeObj.WriteMem32(0x003698BA,0x00000001)
eeObj.WriteMem32(0x003698BB,0x00000001)
eeObj.WriteMem32(0x003698BC,0x00000001)
eeObj.WriteMem32(0x003698BD,0x00000001)
eeObj.WriteMem32(0x003698BE,0x00000001)
eeObj.WriteMem32(0x003698BF,0x00000001)

-------60fps Selector----------

local pad_bits    = emuObj.GetPad()

local L1  = pad_bits &  0x0400
local L3  = pad_bits &  0x0002
local R1  = pad_bits &  0x0800
local R3  = pad_bits &  0x0004

if (L1 ~= 0 and R3 ~= 0) then --hyper mode
--60 fps
eeObj.WriteMem32(0x2020B7D0,0x00000000) -- nop
end

if (L3 ~= 0 and R1 ~= 0) then --normal mode
--30fps
eeObj.WriteMem32(0x2020B7D0,0x1450fffd) -- bne v0, s0, $0020b7c8 (-2up ___20b7c8)
end

------Modern Controls FPS Controls------------
eeObj.WriteMem32(0x0022c3b4,0x0803f414)
eeObj.WriteMem32(0x000fd050,0x00c0c821)
eeObj.WriteMem32(0x000fd054,0x0808b0ef)
eeObj.WriteMem32(0x000fd058,0x24030070)
eeObj.WriteMem32(0x0022c424,0x0803f417)
eeObj.WriteMem32(0x000fd05c,0x87240002)
eeObj.WriteMem32(0x000fd060,0x308540ff)
eeObj.WriteMem32(0x000fd064,0x93260012)
eeObj.WriteMem32(0x000fd068,0x93270013)
eeObj.WriteMem32(0x000fd06c,0x93280010)
eeObj.WriteMem32(0x000fd070,0x93290011)
eeObj.WriteMem32(0x000fd074,0x932a000c)
eeObj.WriteMem32(0x000fd078,0x932b000f)
eeObj.WriteMem32(0x000fd07c,0x932c000d)
eeObj.WriteMem32(0x000fd080,0x932d0006)
eeObj.WriteMem32(0x000fd084,0x30810100)
eeObj.WriteMem32(0x000fd088,0x34a31000)
eeObj.WriteMem32(0x000fd08c,0x0061280b)
eeObj.WriteMem32(0x000fd090,0xa326000c)
eeObj.WriteMem32(0x000fd094,0x30810200)
eeObj.WriteMem32(0x000fd098,0x34a38000)
eeObj.WriteMem32(0x000fd09c,0x0061280b)
eeObj.WriteMem32(0x000fd0a0,0xa327000f)
eeObj.WriteMem32(0x000fd0a4,0x30811000)
eeObj.WriteMem32(0x000fd0a8,0x34a32000)
eeObj.WriteMem32(0x000fd0ac,0x0061280b)
eeObj.WriteMem32(0x000fd0b0,0xa32a000d)
eeObj.WriteMem32(0x000fd0b4,0x30818000)
eeObj.WriteMem32(0x000fd0b8,0x34a30200)
eeObj.WriteMem32(0x000fd0bc,0x0061280b)
eeObj.WriteMem32(0x000fd0c0,0xa32b0013)
eeObj.WriteMem32(0x000fd0c4,0x30812000)
eeObj.WriteMem32(0x000fd0c8,0x34a30100)
eeObj.WriteMem32(0x000fd0cc,0x0061280b)
eeObj.WriteMem32(0x000fd0d0,0xa32c0012)
eeObj.WriteMem32(0x000fd0d4,0x34a30400)
eeObj.WriteMem32(0x000fd0d8,0x2da10041)
eeObj.WriteMem32(0x000fd0dc,0x0061280a)
eeObj.WriteMem32(0x000fd0e0,0x39a3007f)
eeObj.WriteMem32(0x000fd0e4,0x00031840)
eeObj.WriteMem32(0x000fd0e8,0x2da1007f)
eeObj.WriteMem32(0x000fd0ec,0x0001180a)
eeObj.WriteMem32(0x000fd0f0,0xa3230010)
eeObj.WriteMem32(0x000fd0f4,0x34a30800)
eeObj.WriteMem32(0x000fd0f8,0x2da100bf)
eeObj.WriteMem32(0x000fd0fc,0x0061280b)
eeObj.WriteMem32(0x000fd100,0x25a3ff80)
eeObj.WriteMem32(0x000fd104,0x00031840)
eeObj.WriteMem32(0x000fd108,0x2da10081)
eeObj.WriteMem32(0x000fd10c,0x0001180b)
eeObj.WriteMem32(0x000fd110,0xa3230011)
eeObj.WriteMem32(0x000fd114,0x340f0080)
eeObj.WriteMem32(0x000fd118,0x93210005)
eeObj.WriteMem32(0x000fd11c,0x382e00ff)
eeObj.WriteMem32(0x000fd120,0x932d0004)
eeObj.WriteMem32(0x000fd124,0x00080842)
eeObj.WriteMem32(0x000fd128,0x3821007f)
eeObj.WriteMem32(0x000fd12c,0x0028780b)
eeObj.WriteMem32(0x000fd130,0x00090842)
eeObj.WriteMem32(0x000fd134,0x24230080)
eeObj.WriteMem32(0x000fd138,0x0069780b)
eeObj.WriteMem32(0x000fd13c,0xa7250002)
eeObj.WriteMem32(0x000fd140,0xa32d0006)
eeObj.WriteMem32(0x000fd144,0xa32e0005)
eeObj.WriteMem32(0x000fd148,0x03e00008)
eeObj.WriteMem32(0x000fd14c,0xa32f0004)


emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(patcher)

No issues. 60 fps makes everything double speed(Actually feels ok for this game, lol) Modern controls setup like average FPS shooter
 
Last edited:
Phantasy Star Universe (NTSC-U) (SLUS-21194)

CLI
Code:
--gs-uprender=2x2
--gs-upscale=edgesmooth
--gs-use-clut-merge=1
--gs-kernel-cl="clutmerge"
--gs-kernel-cl-up="clutmerge2x2"

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

#emu used=jakx v2
LUA
Code:
-- Phantasy Star Universe (NTSC-U) (SLUS-21194)
-- Widescreen Hack (16:9) by ElHecht
-- ported to PS4
-- emu used=jakx v2

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

apiRequest(0.1)

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

local patcher = function()
--16:9
eeObj.WriteMem32(0x0085abb0,0x43400000) -- 43800000 hor fov
eeObj.WriteMem32(0x0068eed4,0x3c093c02) -- 00000000
eeObj.WriteMem32(0x0068eed8,0x35293fab) -- 00000000 renderfix
eeObj.WriteMem32(0x0068ef20,0x3c0a0028) -- 00000000
eeObj.WriteMem32(0x0068ef24,0xad493d78) -- 00000000

--optional cut-scenes black bar removal
eeObj.WriteMem32(0x00766e44,0x40000000)

emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(patcher)

--60 fps (freezes as WriteMem32)
eeInsnReplace(0x20897084,0x00000000,0x0000003C) --fps
eeInsnReplace(0x2086A188,0x00000000,0x42700000) --speed
eeInsnReplace(0x2086A18C,0x00000000,0x0000003C) --speed
eeInsnReplace(0x2086A190,0x00000000,0x3F800000) --speed
eeInsnReplace(0x2086A194,0x00000000,0x3F000000) --speed

Graphics fixed with Clut. 60 fps added with no penalty.
 
Last edited:
Tomb Raider - The Angel of Darkness

SLUS20467

LUA


so far fully playable!
Jakv2 used

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

apiRequest(0.1)

-- Tomb Raider - The Angel of Darkness
-- SLUS20467
local eeObj = getEEObject()
local emuObj = getEmuObject()

local patcher = function()
-- so far the game is working perfectly if you ignore some graphical problems,
-- And you still have to skip the first fmv since it's still freezing and i have no idea why :/

-- Black screen fix
eeObj.WriteMem32(0x00207B24, 0x0) -- 1040FFFA
eeObj.WriteMem32(0x00207B4C, 0x0) -- 1040FFFA
end
emuObj.AddVsyncHook(patcher)

Tomb Raider The Angel of Darkness. Short GamePay!
VIDEO


Small graphical bugs in menu and while gameplay (on PCSX2 was same issue if i reminded right), so need figure out and test some cheats!

Thanks again!
 

Attachments

  • 01.jpg
    01.jpg
    533.6 KB · Views: 45
  • 02.jpg
    02.jpg
    527.2 KB · Views: 44
  • 03.jpg
    03.jpg
    516.3 KB · Views: 40
  • 04.jpg
    04.jpg
    523.1 KB · Views: 41
  • 05.jpg
    05.jpg
    582.2 KB · Views: 38
  • 06.jpg
    06.jpg
    517.4 KB · Views: 44
Tomb Raider - The Angel of Darkness

SLUS20467

LUA


so far fully playable!
Jakv2 used

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

apiRequest(0.1)

-- Tomb Raider - The Angel of Darkness
-- SLUS20467
local eeObj = getEEObject()
local emuObj = getEmuObject()

local patcher = function()
-- so far the game is working perfectly if you ignore some graphical problems,
-- And you still have to skip the first fmv since it's still freezing and i have no idea why :/

-- Black screen fix
eeObj.WriteMem32(0x00207B24, 0x0) -- 1040FFFA
eeObj.WriteMem32(0x00207B4C, 0x0) -- 1040FFFA
end
emuObj.AddVsyncHook(patcher)

Don't know if this will help fix graphics

Code:
--Widescreen hack 16:9
--Force turn on Native Widescreen (Full boot bypassing)
eeObj.WriteMem32(0x00220bd0,0x24020002) --30420003
--Full Boot 16:9 fix
eeObj.WriteMem32(0x00205230,0x3c013fe2) --3c013fd5
eeObj.WriteMem32(0x00205234,0x3421fc93) --3421c28f
--Unlock Level Select/Skip by MadCatz
eeObj.WriteMem32(0x00413E70,0x00000001)
--Patched by Prafull
--Fix ingame sps by interchanging vclipw.xyz vf5, vf5w with cfc2
eeObj.WriteMem32(0x001d90e0,0x48489000)
eeObj.WriteMem32(0x001d90e4,0x4bc529ff)
 
Don't know if this will help fix graphics

Code:
--Widescreen hack 16:9
--Force turn on Native Widescreen (Full boot bypassing)
eeObj.WriteMem32(0x00220bd0,0x24020002) --30420003
--Full Boot 16:9 fix
eeObj.WriteMem32(0x00205230,0x3c013fe2) --3c013fd5
eeObj.WriteMem32(0x00205234,0x3421fc93) --3421c28f
--Unlock Level Select/Skip by MadCatz
eeObj.WriteMem32(0x00413E70,0x00000001)
--Patched by Prafull
--Fix ingame sps by interchanging vclipw.xyz vf5, vf5w with cfc2
eeObj.WriteMem32(0x001d90e0,0x48489000)
eeObj.WriteMem32(0x001d90e4,0x4bc529ff)
It's been tried to no avail :/
seems that it only works for pcsx2, and it's for a problem that doesn't exist on ps4
 
That issue is most likely fixed by rearranging the COP2 instructions.

From the patches @Stayhye posted:
Code:
--Fix ingame sps by interchanging vclipw.xyz vf5, vf5w with cfc2
eeObj.WriteMem32(0x001d90e0,0x48489000)
eeObj.WriteMem32(0x001d90e4,0x4bc529ff)
I only tested it for the missing graphics during subtitles, as for the sps idk, i never had sps during my gameplay anyways.
 
I only tested it for the missing graphics during subtitles, as for the sps idk, i never had sps during my gameplay anyways.
Lara all bugs!
VIDEO


Still trying figure out with Lara bugs! Except SPS graphical bugs in game we also have broken menu if u push start and see pause! But if u push start while subtitles show up, menu is appear good! So looks like something wrong with subs or something!
@Scalerize @mrjaredbeta
 
Sega Ages 2500 Series Vol.05 - Golden Axe (NTSC-J) [SLPM-62385]

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

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

#emu used=aofa
LUA
Code:
-- Sega Ages 2500 Series Vol.05 - Golden Axe (NTSC-J) [SLPM-62385] [578ACF88]
-- Widescreen hacks by FeRcHuLeS (original hacks) and Aced14 (ELF hacks)
-- emu used=aofa

apiRequest(0.1)

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

local patcher = function()
--16:9
local code_check1 = eeObj.ReadMem16(0x33b308) --3faaaaab - Enable condition
if code_check1 == 0xaaab then
eeObj.WriteMem32(0x2033b308,0x3fe38e39) --3faaaaab - HOR FOV 3
eeObj.WriteMem32(0x201339a4,0x3c013f40) --00000000 - lui at, $3f70 - HUD (part 1)
eeObj.WriteMem32(0x201339a8,0x44810000) --46000803 - mtc1 at, $f0 - HUD (part 2)
end

emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(patcher)

-- (causes glitches as WriteMem32)
eeInsnReplace(0x001a1da0,0x3c023faa,0x3c023fe3) --3c023faa - HOR FOV (part 1)
eeInsnReplace(0x001a1da4,0x3442aaab,0x34428e39) --3442aaab - HOR FOV (part 2)

No issues. Widescreen code needed to be split to not cause graphical glitches
 
Last edited:
Two more fixes by Kozarovv....

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

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

#emu used=jakx v2
LUA
Code:
-- Time Crisis 2 SLUS_202.19
-- Widescreen Hack
-- fix by Kozarovv
-- emu used=jakx v2

apiRequest(0.1)

local iopObj = getIOPObject()
local emuObj = getEmuObject()
local eeObj  = getEEObject()
 
local FireWithoutWire = function()
   --16:9
   eeObj.WriteMem32(0x003cd7fc,0x3f400000)
   --Infinite Credits by InterAct
   --eeObj.WriteMem32(0x00482410,0x00090009)
 
  -- Fix cdvd issue which cause ieee1394 error
  iopObj.WriteMem32(0xACD40,0)
  
  -- Audio desync fix (probably useless, or even harmful on ps4 due to different "cyclerate")
  -- eeObj.WriteMem32(0x154954,0x10000009)
 
   emuObj.ThrottleMax()
end
 
emuObj.AddVsyncHook(FireWithoutWire)

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

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

#emu used=aofa
LUA
Code:
-- Time Crisis 3 SLUS_206.45
-- Widescreen Hack
-- Fix by Kozarovv
-- emu used=aofa

apiRequest(0.1)

local iopObj = getIOPObject()
local emuObj = getEmuObject()
local eeObj  = getEEObject()
 
local FireWithoutWire = function()
   --16:9
   eeObj.WriteMem32(0x0033976c,0x3f400000)
   --Infinite Credits by InterAct
   --eeObj.WriteMem32(0x00482410,0x00090009)
 
  -- Fix cdvd issue which cause ieee1394 error
  iopObj.WriteMem32(0xA0840,0)
  
  -- Audio desync fix (probably useless, or even harmful on ps4 due to different "cyclerate")
  -- eeObj.WriteMem32(0x154954,0x10000009)
 
   emuObj.ThrottleMax()
end
 
emuObj.AddVsyncHook(FireWithoutWire)
 
Two more fixes by Kozarovv....

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

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

#emu used=jakx v2
LUA
Code:
-- Time Crisis 2 SLUS_202.19
-- Widescreen Hack
-- fix by Kozarovv
-- emu used=jakx v2

apiRequest(0.1)

local iopObj = getIOPObject()
local emuObj = getEmuObject()
local eeObj  = getEEObject()
 
local FireWithoutWire = function()
   --16:9
   eeObj.WriteMem32(0x003cd7fc,0x3f400000)
   --Infinite Credits by InterAct
   --eeObj.WriteMem32(0x00482410,0x00090009)
 
  -- Fix cdvd issue which cause ieee1394 error
  iopObj.WriteMem32(0xACD40,0)
 
  -- Audio desync fix (probably useless, or even harmful on ps4 due to different "cyclerate")
  -- eeObj.WriteMem32(0x154954,0x10000009)
 
   emuObj.ThrottleMax()
end
 
emuObj.AddVsyncHook(FireWithoutWire)

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

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

#emu used=aofa
LUA
Code:
-- Time Crisis 3 SLUS_206.45
-- Widescreen Hack
-- Fix by Kozarovv
-- emu used=aofa

apiRequest(0.1)

local iopObj = getIOPObject()
local emuObj = getEmuObject()
local eeObj  = getEEObject()
 
local FireWithoutWire = function()
   --16:9
   eeObj.WriteMem32(0x0033976c,0x3f400000)
   --Infinite Credits by InterAct
   --eeObj.WriteMem32(0x00482410,0x00090009)
 
  -- Fix cdvd issue which cause ieee1394 error
  iopObj.WriteMem32(0xA0840,0)
 
  -- Audio desync fix (probably useless, or even harmful on ps4 due to different "cyclerate")
  -- eeObj.WriteMem32(0x154954,0x10000009)
 
   emuObj.ThrottleMax()
end
 
emuObj.AddVsyncHook(FireWithoutWire)
his iop patch for time crisis 3 should be
iopObj.WriteMem32(0xA0840,0x0)
 
Akumajou Dracula Yami no Juin [SLPM-66175] (Castlevania Cod jp)
emu= Jak

Code:
--host-display-mode=16:9
--ps2-title-id=SLPM-66175
--gs-uprender=2x2
--gs-upscale=edgesmooth
--cdvd-sector-read-cycles=4000
--ee-cycle-scalar=2.0
Lua:
Code:
local gpr        = require("ee-gpr-alias")

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

local patcher   = function()

--gameplay(ported by Jvn9207)
eeObj.WriteMem32(0x00751A7C,0x3c013f40)
eeObj.WriteMem32(0x00751A80,0x44810000)
eeObj.WriteMem32(0x00751A88,0x4600c602)
--FMV's fix(ported by Jvn9207)
eeObj.WriteMem32(0x00443F38,0x00000000)
eeObj.WriteMem32(0x00775A98,0x24056e40)
eeObj.WriteMem32(0x00775AA4,0x24072380)
-- Clamp value manually. Clamping from emulator change value to FLT_MIN
-- While we need correct lower bits + 1 due to x86 rounding...
--sps fix
eeObj.WriteMem32(0x00930430,0xFF7F8001)
--Stack-Pointer Values Changing Loop-based Control-System for enhanced
-- World and Characters Brightness without any bad additional Lights.
--[Characters (incl. Innocent Devils) true Shape and Skin will be revealed now]
--Disable also white Brigthness of the Blooms in Save-Procedure.
--(by Maori-Jigglypuff)
eeObj.WriteMem32(0x0041cce4,0x8e82007c)
eeObj.WriteMem32(0x0041ccf8,0x8c62000c)
eeObj.WriteMem32(0x0041cd00,0x8e82007c)
eeObj.WriteMem32(0x0041cd08,0x0c7fac40)
eeObj.WriteMem32(0x0041cd34,0x0c7fac40)
eeObj.WriteMem32(0x01feb100,0x0000482d)
eeObj.WriteMem32(0x01feb104,0x0220402d)
eeObj.WriteMem32(0x01feb108,0x2d2a0000)
eeObj.WriteMem32(0x01feb10c,0x394a0001)
eeObj.WriteMem32(0x01feb110,0x340b0002)
eeObj.WriteMem32(0x01feb114,0x0169582b)
eeObj.WriteMem32(0x01feb118,0x396b0001)
eeObj.WriteMem32(0x01feb11c,0x3c053fb0)
eeObj.WriteMem32(0x01feb120,0x514b0001)
eeObj.WriteMem32(0x01feb124,0xad050030)
eeObj.WriteMem32(0x01feb128,0x34060003)
eeObj.WriteMem32(0x01feb12c,0x11260003)
eeObj.WriteMem32(0x01feb130,0x00000000)
eeObj.WriteMem32(0x01feb134,0x1000000a)
eeObj.WriteMem32(0x01feb138,0x00000000)
eeObj.WriteMem32(0x01feb13c,0x3c073f80)
eeObj.WriteMem32(0x01feb140,0x10470006)
eeObj.WriteMem32(0x01feb144,0x00000000)
eeObj.WriteMem32(0x01feb148,0x3c074300)
eeObj.WriteMem32(0x01feb14c,0x10470003)
eeObj.WriteMem32(0x01feb150,0x00000000)
eeObj.WriteMem32(0x01feb154,0x10000002)
eeObj.WriteMem32(0x01feb158,0x00000000)
eeObj.WriteMem32(0x01feb15c,0xad070030)
eeObj.WriteMem32(0x01feb160,0x25290001)
eeObj.WriteMem32(0x01feb164,0x2d2b0004)
eeObj.WriteMem32(0x01feb168,0x1560ffe7)
eeObj.WriteMem32(0x01feb16c,0x25080004)
eeObj.WriteMem32(0x01feb170,0x03e00008)
eeObj.WriteMem32(0x01feb174,0x00000000)
eeObj.WriteMem32(0x0041ccc8,0x0c7fac5e)
eeObj.WriteMem32(0x01feb178,0x8fac0060)
eeObj.WriteMem32(0x01feb17c,0x340d0100)
eeObj.WriteMem32(0x01feb180,0x018d1824)
eeObj.WriteMem32(0x01feb184,0x50600001)
eeObj.WriteMem32(0x01feb188,0x7e800060)
eeObj.WriteMem32(0x01feb18c,0x340d0800)
eeObj.WriteMem32(0x01feb190,0x018d1824)
eeObj.WriteMem32(0x01feb194,0x50600001)
eeObj.WriteMem32(0x01feb198,0x7e800060)
eeObj.WriteMem32(0x01feb19c,0x340d0200)
eeObj.WriteMem32(0x01feb1a0,0x018d1824)
eeObj.WriteMem32(0x01feb1a4,0x50600001)
eeObj.WriteMem32(0x01feb1a8,0x7e800060)
eeObj.WriteMem32(0x01feb1ac,0x03e00008)
eeObj.WriteMem32(0x01feb1b0,0x24030003)
eeObj.WriteMem32(0x0041cdb0,0xae200040)
eeObj.WriteMem32(0x008c2264,0x1000000A)
eeObj.WriteMem32(0x0055749c,0x0c7fac6d)
eeObj.WriteMem32(0x01feb1b4,0x0200202D)
eeObj.WriteMem32(0x01feb1b8,0x10800004)
eeObj.WriteMem32(0x01feb1bc,0x00000000)
eeObj.WriteMem32(0x01feb1c0,0x8c830130)
eeObj.WriteMem32(0x01feb1c4,0x34630004)
eeObj.WriteMem32(0x01feb1c8,0xac830130)
eeObj.WriteMem32(0x01feb1cc,0x03E00008)
eeObj.WriteMem32(0x01feb1d0,0xC6200020)
eeObj.WriteMem32(0x004187bc,0x087fac80)
eeObj.WriteMem32(0x004187c0,0x00000000)
eeObj.WriteMem32(0x01feb200,0x3c0c4280)
eeObj.WriteMem32(0x01feb204,0x3c0d3f80)
eeObj.WriteMem32(0x01feb208,0x000c703c)
eeObj.WriteMem32(0x01feb20c,0x01cc7025)
eeObj.WriteMem32(0x01feb210,0x000d683c)
eeObj.WriteMem32(0x01feb214,0x01ac6825)
eeObj.WriteMem32(0x01feb218,0x71ae1488)
eeObj.WriteMem32(0x01feb21c,0x081061f1)
eeObj.WriteMem32(0x01feb220,0x7c620000)
eeObj.WriteMem32(0x0042a9d0,0x03E00008)
eeObj.WriteMem32(0x0042a9d4,0x00000000)
--[[Disable overall Fog Effect(by Maori-Jigglypuff)
eeObj.WriteMem32(0x00411c64,0xace10018)
eeObj.WriteMem32(0x00411c54,0xace0001c)
eeObj.WriteMem32(0x00411ce8,0x087fac8c)
eeObj.WriteMem32(0x00411cec,0x00000000)
eeObj.WriteMem32(0x01feb230,0x3c040002)
eeObj.WriteMem32(0x01feb234,0x3484ee00)
eeObj.WriteMem32(0x01feb238,0x0810473c)
eeObj.WriteMem32(0x01feb23c,0xac448658)
eeObj.WriteMem32(0x00411cf4,0xa0438bf2)--]]
emuObj.ThrottleMax()
end
emuObj.AddVsyncHook(patcher)

Brightness+disable fog+true shape skin revealed by Maori-Jigglypuff [SLES/SLUS]
Code:
eeObj.WriteMem32(0x0041cce4,0x8e82007c)
eeObj.WriteMem32(0x0041ccf8,0x8c62000c)
eeObj.WriteMem32(0x0041cd00,0x8e82007c)
eeObj.WriteMem32(0x0041cd08,0x0c7fac40)
eeObj.WriteMem32(0x0041cd34,0x0c7fac40)
eeObj.WriteMem32(0x01feb100,0x0000482d)
eeObj.WriteMem32(0x01feb104,0x0220402d)
eeObj.WriteMem32(0x01feb108,0x2d2a0000)
eeObj.WriteMem32(0x01feb10c,0x394a0001)
eeObj.WriteMem32(0x01feb110,0x340b0002)
eeObj.WriteMem32(0x01feb114,0x0169582b)
eeObj.WriteMem32(0x01feb118,0x396b0001)
eeObj.WriteMem32(0x01feb11c,0x3c053fb0)
eeObj.WriteMem32(0x01feb120,0x514b0001)
eeObj.WriteMem32(0x01feb124,0xad050030)
eeObj.WriteMem32(0x01feb128,0x34060003)
eeObj.WriteMem32(0x01feb12c,0x11260003)
eeObj.WriteMem32(0x01feb130,0x00000000)
eeObj.WriteMem32(0x01feb134,0x1000000a)
eeObj.WriteMem32(0x01feb138,0x00000000)
eeObj.WriteMem32(0x01feb13c,0x3c073f80)
eeObj.WriteMem32(0x01feb140,0x10470006)
eeObj.WriteMem32(0x01feb144,0x00000000)
eeObj.WriteMem32(0x01feb148,0x3c074300)
eeObj.WriteMem32(0x01feb14c,0x10470003)
eeObj.WriteMem32(0x01feb150,0x00000000)
eeObj.WriteMem32(0x01feb154,0x10000002)
eeObj.WriteMem32(0x01feb158,0x00000000)
eeObj.WriteMem32(0x01feb15c,0xad070030)
eeObj.WriteMem32(0x01feb160,0x25290001)
eeObj.WriteMem32(0x01feb164,0x2d2b0004)
eeObj.WriteMem32(0x01feb168,0x1560ffe7)
eeObj.WriteMem32(0x01feb16c,0x25080004)
eeObj.WriteMem32(0x01feb170,0x03e00008)
eeObj.WriteMem32(0x01feb174,0x00000000)
eeObj.WriteMem32(0x0041ccc8,0x0c7fac5e)
eeObj.WriteMem32(0x01feb178,0x8fac0060)
eeObj.WriteMem32(0x01feb17c,0x340d0100)
eeObj.WriteMem32(0x01feb180,0x018d1824)
eeObj.WriteMem32(0x01feb184,0x50600001)
eeObj.WriteMem32(0x01feb188,0x7e800060)
eeObj.WriteMem32(0x01feb18c,0x340d0800)
eeObj.WriteMem32(0x01feb190,0x018d1824)
eeObj.WriteMem32(0x01feb194,0x50600001)
eeObj.WriteMem32(0x01feb198,0x7e800060)
eeObj.WriteMem32(0x01feb19c,0x340d0200)
eeObj.WriteMem32(0x01feb1a0,0x018d1824)
eeObj.WriteMem32(0x01feb1a4,0x50600001)
eeObj.WriteMem32(0x01feb1a8,0x7e800060)
eeObj.WriteMem32(0x01feb1ac,0x03e00008)
eeObj.WriteMem32(0x01feb1b0,0x24030003)
eeObj.WriteMem32(0x0041cdb0,0xae200040)
eeObj.WriteMem32(0x008c2264,0x1000000A)
eeObj.WriteMem32(0x0055749c,0x0c7fac6d)
eeObj.WriteMem32(0x01feb1b4,0x0200202D)
eeObj.WriteMem32(0x01feb1b8,0x10800004)
eeObj.WriteMem32(0x01feb1bc,0x00000000)
eeObj.WriteMem32(0x01feb1c0,0x8c830130)
eeObj.WriteMem32(0x01feb1c4,0x34630004)
eeObj.WriteMem32(0x01feb1c8,0xac830130)
eeObj.WriteMem32(0x01feb1cc,0x03E00008)
eeObj.WriteMem32(0x01feb1d0,0xC6200020)
eeObj.WriteMem32(0x004187bc,0x087fac80)
eeObj.WriteMem32(0x004187c0,0x00000000)
eeObj.WriteMem32(0x01feb200,0x3c0c4280)
eeObj.WriteMem32(0x01feb204,0x3c0d3f80)
eeObj.WriteMem32(0x01feb208,0x000c703c)
eeObj.WriteMem32(0x01feb20c,0x01cc7025)
eeObj.WriteMem32(0x01feb210,0x000d683c)
eeObj.WriteMem32(0x01feb214,0x01ac6825)
eeObj.WriteMem32(0x01feb218,0x71ae1488)
eeObj.WriteMem32(0x01feb21c,0x081061f1)
eeObj.WriteMem32(0x01feb220,0x7c620000)
eeObj.WriteMem32(0x0042a9d0,0x03E00008)
eeObj.WriteMem32(0x0042a9d4,0x00000000)
--Disable overall Fog Effect
eeObj.WriteMem32(0x00411c64,0xace10018)
eeObj.WriteMem32(0x00411c54,0xace0001c)
eeObj.WriteMem32(0x00411ce8,0x087fac8c)
eeObj.WriteMem32(0x00411cec,0x00000000)
eeObj.WriteMem32(0x01feb230,0x3c040002)
eeObj.WriteMem32(0x01feb234,0x3484ee00)
eeObj.WriteMem32(0x01feb238,0x0810473c)
eeObj.WriteMem32(0x01feb23c,0xac448658)
eeObj.WriteMem32(0x00411cf4,0xa0438bf2)
 
Last edited:
The Legacy of Kain - Blood Omen 2 (SLUS-20024)

CLI
Code:
-- The Legacy of Kain - Blood Omen 2
-- Boot fix by Kozarovv
-- ported to PS4 lua
-- PS3 mipmapping fix converted
-- emu used=kof2000 v2

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

apiRequest(0.1)

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

--emuObj.SetFormattedCard("blood.card")

local patcher = function()
eeObj.WriteMem32(0x002f4350,0x10000006)
--Widescreen
eeObj.WriteMem32(0x00312b08,0x3C013FE3)
eeObj.WriteMem32(0x00312b0c,0x34218E38)
--Black Borders Fix
eeObj.WriteMem32(0x002d443c,0x00000000)
--FMV Fix
eeObj.WriteMem32(0x002eb280,0x240575e0) --y-position
eeObj.WriteMem32(0x002eb298,0x240a1440) --y-scaling
-- Completely skip ridiculous debugger hook.
eeObj.WriteMem32(0x297DA8, 0x10000006)
eeObj.WriteMem32(0x297DA0, 0x00000000)

end

emuObj.AddVsyncHook(patcher)

Finally works!! Thank you @kozarovv. The ENTIRE Legacy of Kain series is now playable on PS4!! YAY!
character texture disappears after saving
 

Similar threads

Back
Top