PS4 [Research]PS2 emulator configuration on PS4

Improved fix for Grand Theft Auto Vice City Stories NTSC
CLI
Code:
--gs-uprender=2x2
--gs-upscale=edgesmooth
--gs-kernel-cl="h2lpool"        # -- did the most to speed up game
--gs-kernel-cl-up="h2lpool2x2"  # -- did the most to speed up game
--gs-adaptive-frameskip=1
--cdvd-sector-read-cycles=23000

--host-display-mode=16:9
--host-audio-latency=1.70
LUA
Code:
-- Grand Theft Auto:  Vice City Stories(NTSC)
-- ported to PS4 Lua
-- emu used=jakx v2

apiRequest(2.2)

local gpr       = require("ee-gpr-alias")
local cpr       = require("ee-cpr0-alias")
local hwaddr     = require("ee-hwaddr")

local emuObj      = getEmuObject()
local eeObj       = getEEObject()
local gsObj       = getGsObject()
local eeOverlay    = eeObj.getOverlayObject()
local iopObj  = getIOPObject()

local thresholdArea = 500

local ApplyVifCycleSettings = function()

   eeObj.Vu1MpgCycles(1000)
   eeObj.SetVifDataCycleScalar(1, 2.6)
end

ApplyVifCycleSettings()

local patcher = function()

--widescreen fix
eeObj.WriteMem32(0x002653d8,0x3c013f9d)
eeObj.WriteMem32(0x002653dc,0x44810000)
eeObj.WriteMem32(0x002653e0,0x46006302)
eeObj.WriteMem32(0x002653e4,0x3c020048)
eeObj.WriteMem32(0x002653e8,0x03e00008)
eeObj.WriteMem32(0x002653ec,0xe44c7484)

eeObj.WriteMem32(0x0037add4,0x0c0994f6)
eeObj.WriteMem32(0x003b9d14,0x0c0994f9)
eeObj.WriteMem32(0x003ba1b0,0x0c0994f9)

eeObj.WriteMem32(0x20370314,0x10820019)--60fps

end

emuObj.AddVsyncHook(patcher)


emuObj.SetGsTitleFix( "setRejectionArea", 500,{twIsNot=8, thIsNot=8 } )
emu used=jakx v2

Experimental! But very significant improvement! I bet boost mode on PS4 pro would smooth out the left over slowdown in areas.
Are these the best config files available for VCS? I am trying to get something working just like LCS and that game looked and ran absolutely amazing with the config files provided to me.
 
Hello forum members. I have a request if you can get configurations for PS2 games here is the list: BLACK, SSX: ON TOUR, QUAKE 3 REVOLUTION, NBA 2K2, SEGA SPORTS TENNIS 2K2, HEAD HUNTER, NFS MOST WANTED, CRAZY TAXI, DEAD OR ALIVE 2: HARDCORE, CRAH BANDICOOT : THE WRATH OF CORTEX, LOONEY TUNES: SPACE RACING, MAX PAYNE, SILENT HILL 2, LE MANS 24 HOURS, SILENT SCOPE, BURNOUT REVENGE, COLIN MCRAE RALLY 4?
 
Hello forum members. I have a request if you can get configurations for PS2 games here is the list: BLACK, SSX: ON TOUR, QUAKE 3 REVOLUTION, NBA 2K2, SEGA SPORTS TENNIS 2K2, HEAD HUNTER, NFS MOST WANTED, CRAZY TAXI, DEAD OR ALIVE 2: HARDCORE, CRAH BANDICOOT : THE WRATH OF CORTEX, LOONEY TUNES: SPACE RACING, MAX PAYNE, SILENT HILL 2, LE MANS 24 HOURS, SILENT SCOPE, BURNOUT REVENGE, COLIN MCRAE RALLY 4?
Most of this games are playable,use the search icon.
 
ICO EU (SCES50760) custom lua script with experimental 60 fps patch (only PAL) and widescreen support + debug menu

SCES-50760_config.lua
Code:
-- Widescreen hack by nemesis2000 / Motion blur white lines bug fix by Maori-Jigglypuff [Savas Guercebe] / opcodes and 60fps patch by SuleMareVientu

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

apiRequest(1.0)    -- Calling apiRequest() is mandatory.

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

--     Widescreen
eeInsnReplace(0x114dd0,    0x00000000, 0x3c013f40)
eeInsnReplace(0x114dd4,    0x00000000, 0x4481c000)
eeInsnReplace(0x114de0,    0x00000000, 0x46181082)

--    Render fix
eeInsnReplace(0x1146f4,    0x8f839574, 0x240302ab)
eeInsnReplace(0x54e478,    0x44bb8000, 0x44fa0000)

--    Black borders fix
eeInsnReplace(0x113450,    0x3C014300, 0x3c010000)

--    Debug Menu
eeInsnReplace(0x101f94, 0x0c045946, 0x0c06c966)
eeInsnReplace(0x1af850, 0x27bdffa0, 0x0806bd28)

--    Fix white lines bug
eeInsnReplace(0x1322f0,    0x8f869574, 0x03e00008)
eeInsnReplace(0x1322f4,    0x27bdfec0, 0x00000000)

--    Unfinished fps patch, cutscenes play as they should but in-game animations are sped up | Active only in 50 Hz mode
local fpspatch = function()
    local PAL = eeObj.ReadMem8(0x28f4c0) -- check 50 Hz
    local code_checkCTS = eeObj.ReadMem8(0x63aa08)    --    check if cutscene is playing
    local code_checkCTS2 = eeObj.ReadMem32(0x28f4c4) --    get current framestep
    if PAL == 1 then
        if code_checkCTS == 1 and code_checkCTS2 == 1 then
        eeObj.WriteMem32(0x28f4c4, 0x00000002)
        elseif code_checkCTS == 0 and code_checkCTS2 == 2 then
        eeObj.WriteMem32(0x28f4c4, 0x00000001)
        end
    elseif PAL == 0 and code_checkCTS2 == 1 then
        eeObj.WriteMem32(0x28f4c4, 0x00000002)
    end
end
emuObj.AddVsyncHook(fpspatch) -- call fpspatch every vsync
 
Fix for Scooby-Doo! Unmasked
CLI
Code:
--gs-uprender=2x2
--gs-upscale=EdgeSmooth

--host-display-mode=16:9

--ee-cycle-scalar=2.0

--iop-cycle-scalar=0.8

--vu1-jr-cache-policy=newprog

#emu used=jak tpl v1
LUA
Code:
-- Scooby-Doo! Unmasked (U)(SLUS-21091) and (E)(SLES-53100)
-- Widescreen hack by Arapapa
-- emu used=jak tpl v1

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

apiRequest(0.4)

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

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

--Zoom
--0040023c 00008244 3800a2c7
eeObj.WriteMem32(0x001daf68,0x3c023fc0)

--Y-Fov
--02100046 0800a0ac
eeObj.WriteMem32(0x0023af14,0x08030000)

eeObj.WriteMem32(0x000c0000,0x46001002)
eeObj.WriteMem32(0x000c0004,0x3c013faa)
eeObj.WriteMem32(0x000c0008,0x3421aaab)
eeObj.WriteMem32(0x000c000c,0x4481f000)
eeObj.WriteMem32(0x000c0010,0x461e0002)
eeObj.WriteMem32(0x000c0014,0x0808ebc6)


eeObj.Vu1MpgCycles(math.floor(1550))
emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(patcher)

Fix for Scooby Doo® Mystery Mayhem™
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

--host-display-mode=16:9

--ee-cycle-scalar=1.6

--vu1-no-clamping=0
--vu0-mpg-cycles=300

#emu used=jak tpl v1
LUA
Code:
-- Scooby-Doo! Mystery Mayhem (U)(SLUS-20701)
-- Widescreen hack by Arapapa
-- emu used=jak tpl v1

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

apiRequest(0.4)

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


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

--X-Fov
--43000146 0400048e
eeObj.WriteMem32(0x001978a0,0x0809fa4c)

eeObj.WriteMem32(0x0027e930,0x46010043)
eeObj.WriteMem32(0x0027e934,0x3c013f40)
eeObj.WriteMem32(0x0027e938,0x4481f000)
eeObj.WriteMem32(0x0027e93c,0x461e0842)
eeObj.WriteMem32(0x0027e940,0x08065e29)
--60 fps
eeObj.WriteMem32(0x2049AA98,0x0000003C)

eeObj.Vu1MpgCycles(math.floor(2000 * 0.75))
emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(patcher)

Fix for Scooby Doo® First Frights™
CLI
Code:
--gs-uprender=2x2
--gs-upscale=EdgeSmooth

--cdvd-sector-read-cycles=6000

--ee-cycle-scalar=1.5

--iop-cycle-scalar=1.4

#emu used=jak tpl v1
LUA
Code:
-- Scooby Doo! - First Frights (U)(SLUS-21900)
-- Native Widescreen (Full boot passing) by Arapapa
-- emu used=jak tpl v1

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

apiRequest(1.5)

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

emuObj.SetDisplayAspectWide()

local patcher = function()
--Force turn on Native Widescreen (Full boot passing) by Arapapa
eeObj.WriteMem32(0x00136dc8,0x24020002) --30420003

emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(patcher)

Fix for Scooby Doo® Night of 100 Frights™
CLI
Code:
--gs-uprender=2x2
--gs-upscale=EdgeSmooth
--gs-kernel-cl="h2lpool"
--gs-kernel-cl-up="h2lpool2x2"
--cdvd-sector-read-cycles=6000

--vu1-no-clamping=0

--ee-cycle-scalar=2.0

--iop-cycle-scalar=0.88

#emu used=jak tpl v1
LUA
Code:
-- Scooby-Doo! Night of 100 Frights (U)(SLUS-20349)
-- Widescreen hack by Arapapa
-- emu used=jak tpl v1

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

apiRequest(1.5)

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

emuObj.SetDisplayAspectWide()

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

--X-Fov
--680001c6 6c0002c6
eeObj.WriteMem32(0x001e6268,0x080a04ac) --c6010068

eeObj.WriteMem32(0x002812b0,0x3c013f40) -- 00000000
eeObj.WriteMem32(0x002812b4,0x4481f000) -- 00000000
eeObj.WriteMem32(0x002812b8,0xc6010068) -- 00000000
eeObj.WriteMem32(0x002812bc,0xc602006c) -- 00000000
eeObj.WriteMem32(0x002812c0,0x461e0843) -- 00000000
eeObj.WriteMem32(0x002812c4,0xe6010068) -- 00000000
eeObj.WriteMem32(0x002812c8,0x0807989c) -- 00000000

--60 fps
eeObj.WriteMem32(0x20131DB0,0x2C420001)
--eeObj.Vu1MpgCycles(570)
emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(patcher)

Fix for Scooby Doo® and the Spooky Swamp™
CLI
Code:
--gs-uprender=2x2
--gs-upscale=EdgeSmooth
--gs-kernel-cl="h2lpool"
--gs-kernel-cl-up="h2lpool2x2"
--cdvd-sector-read-cycles=6000
--ee-cycle-scalar=1.6
--iop-cycle-scalar=1.3

--vu1-jr-cache-policy=newprog
--vu1-di-bits=0
--vu0-di-bits=0
--vu1-opt-vf00=2
--vu0-opt-vf00=2
--vu1-injection=1

#emu used=jak tpl v1
LUA
Code:
-- Scooby Doo® and the Spooky Swamp™
-- Force turn on Native Widescreen (Full boot passing) by Arapapa
-- emu used=jak tpl v1

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

apiRequest(1.5)

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

emuObj.SetDisplayAspectWide()

local patcher = function()
--Force turn on Native Widescreen (Full boot passing) by Arapapa
eeObj.WriteMem32(0x00118fa8,0x24020002) --30420003

eeObj.Vu1MpgCycles(570)
emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(patcher)
 
Last edited:
WIP fix for Stolen NTSC
CLI
Code:
--gs-uprender=2x2
--gs-upscale=EdgeSmooth

--host-display-mode=16:9

--ee-cycle-scalar=0.35

--iop-cycle-scalar=0.5

--cdvd-sector-read-cycles=8000

#emu used=kof98um
LUA
Code:
-- Stolen SLUS-21099
-- Widescreen hack
-- emu used=kof98um

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

apiRequest(1.0)

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

local patcher = function()
--16:9
eeObj.WriteMem32(0x20ab44b0,0x3f400000)


eeObj.Vu1MpgCycles(5300)
emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(patcher)

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

Very much playable at this point, but still needs work. The game appears to not uprender?
 
WIP fix for Stolen NTSC
CLI
Code:
--gs-uprender=2x2
--gs-upscale=EdgeSmooth

--host-display-mode=16:9

--ee-cycle-scalar=0.35

--iop-cycle-scalar=0.5

--cdvd-sector-read-cycles=8000

#emu used=kof98um
LUA
Code:
-- Stolen SLUS-21099
-- Widescreen hack
-- emu used=kof98um

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

apiRequest(1.0)

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

local patcher = function()
--16:9
eeObj.WriteMem32(0x20ab44b0,0x3f400000)


eeObj.Vu1MpgCycles(5300)
emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(patcher)

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

Very much playable at this point, but still needs work. The game appears to not uprender?
Nice !! Can you test Test Drive 2002 ? Also known as TD Overdrive the Brotherhood of Speed on PAL territories
 
WIP fix for Stolen NTSC
CLI
Code:
--gs-uprender=2x2
--gs-upscale=EdgeSmooth

--host-display-mode=16:9

--ee-cycle-scalar=0.35

--iop-cycle-scalar=0.5

--cdvd-sector-read-cycles=8000

#emu used=kof98um
LUA
Code:
-- Stolen SLUS-21099
-- Widescreen hack
-- emu used=kof98um

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

apiRequest(1.0)

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

local patcher = function()
--16:9
eeObj.WriteMem32(0x20ab44b0,0x3f400000)


eeObj.Vu1MpgCycles(5300)
emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(patcher)

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

Very much playable at this point, but still needs work. The game appears to not uprender?
.Welcome back @Stayhye ! Wow i think that game was impossible for run good, i remind @kozarovv speak that few games as Stolen and marvel nemesis cant emulated good, only works on real ps2 but seems u able for run it playble!
 
@Stayhye or someone else who will know...I was found fix and able boot The Italian Job Game (SLUS20784) and game run fine, just have much bugs with texture flickering. I try fix it but i cant, maybe someone know some good tricks becouse i know another few games who have same problems!
You can see video how game run here - Video
 
@Stayhye or someone else who will know...I was found fix and able boot The Italian Job Game (SLUS20784) and game run fine, just have much bugs with texture flickering. I try fix it but i cant, maybe someone know some good tricks becouse i know another few games who have same problems!
You can see video how game run here - Video

@Work right now, but you can try these if you haven't already

--vu1-no-clamping=0
or
--vif1-instant-xfer=0
or
--vu1=jit-sync

also you can try

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

or

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

I can try later when I get home. It also looks similar to how other games that require "software mode" on PCSX2 run on PS4
 
@Work right now, but you can try these if you haven't already

--vu1-no-clamping=0
or
--vif1-instant-xfer=0
or
--vu1=jit-sync

also you can try

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

or

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

I can try later when I get home. It also looks similar to how other games that require "software mode" on PCSX2 run on PS4
was try before with mipmap comands, its not work! I will try with another after i finish with tests GT games lol
 
@Stayhye or someone else who will know...I was found fix and able boot The Italian Job Game (SLUS20784) and game run fine, just have much bugs with texture flickering. I try fix it but i cant, maybe someone know some good tricks becouse i know another few games who have same problems!
You can see video how game run here - Video

what is fix to get game to boot? So i don't waste time on that....

*edit -- Nevermind.... found it
Code:
eeObj.WriteMem32(0x00168938,0x00000000)
or
Code:
eeInsnReplace(0x00168938, 0x0c0985a8, 0x00000000)
 
Last edited:
Fix+Cheats for The Italian Job
CLI
Code:
--gs-uprender=2x2
--gs-upscale=edgesmooth

--host-display-mode=16:9

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

#emu used=jakx v2
LUA
Code:
-- The Italian Job NTSC
-- Cheats by Madcatz
-- Fix ported from PS3CONFIG
-- emu used=jakx v2

apiRequest(1.0)

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

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

local patcher = function()
--CHEATS--
--Unlock All Bonus Content by Code Master
eeObj.WriteMem32(0x202A6794,0x00000001)
--Unlock Mini Cooper - S: Black by MadCatz
eeObj.WriteMem32(0x202DC88C,0x00000001)

--Unlock Mini Cooper - S: Red by MadCatz
eeObj.WriteMem32(0x202DC888,0x00000001)

--Unlock Mini Cooper - S: Red Union Flag by MadCatz
eeObj.WriteMem32(0x202DC890,0x00000001)

--Unlock Mini Coopers: Blue by MadCatz
eeObj.WriteMem32(0x202DC87C,0x00000001)

--Unlock Mini Coopers: Blue Union Flag by MadCatz
eeObj.WriteMem32(0x202DC884,0x00000001)

--Unlock Mini Coopers: Green by MadCatz
eeObj.WriteMem32(0x202DC880,0x00000001)

--Unlock Mini Coopers: White by MadCatz
eeObj.WriteMem32(0x202DC878,0x00000001)

--Unlock Original Mini Coopers: Blue by MadCatz
eeObj.WriteMem32(0x202DC89C,0x00000001)

--Unlock Original Mini Coopers: Green Union Flag by MadCatz
eeObj.WriteMem32(0x202DC8A0,0x00000001)

--Unlock Original Mini Coopers: Red by MadCatz
eeObj.WriteMem32(0x202DC894,0x00000001)

--Unlock Original Mini Coopers: White by MadCatz
eeObj.WriteMem32(0x202DC898,0x00000001)

--Unlock Other Cars:  Armored Truck by MadCatz
eeObj.WriteMem32(0x202DC8B4,0x00000001)

--Unlock Other Cars: Cable TV Van by MadCatz
eeObj.WriteMem32(0x202DC8C8,0x00000001)

--Unlock Other Cars: Henchmen SUV by MadCatz
eeObj.WriteMem32(0x202DC8BC,0x00000001)

--Unlock Other Cars: Muscle Car by MadCatz
eeObj.WriteMem32(0x202DC8B0,0x00000001)

--Unlock Other Cars: Police Car by MadCatz
eeObj.WriteMem32(0x202DC8B8,0x00000001)

--Unlock Other Cars: Rental Car by MadCatz
eeObj.WriteMem32(0x202DC8A4,0x00000001)

--Unlock Other Cars: Saloon Car by MadCatz
eeObj.WriteMem32(0x202DC8AC,0x00000001)

--Unlock Other Cars: Supercar by MadCatz
eeObj.WriteMem32(0x202DC8C0,0x00000001)

--Unlock Other Cars: Surveilance Van by MadCatz
eeObj.WriteMem32(0x202DC8C4,0x00000001)

--Unlock Other Cars: Truck by MadCatz
eeObj.WriteMem32(0x202DC8A8,0x00000001)

--Disable FMV by Code Master
--eeObj.WriteMem32(0x2026B140,0x24020001)



emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(patcher)

eeInsnReplace(0x00168938, 0x0c0985a8, 0x00000000) -- fix for title screen freeze

Fixed!

 
Last edited:
Fix for The Italian Job
CLI
Code:
--gs-uprender=2x2
--gs-upscale=edgesmooth

--host-display-mode=16:9

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

#emu used=jakx v2
LUA
Code:
apiRequest(1.0)

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

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

local patcher = function()


emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(patcher)

eeInsnReplace(0x00168938, 0x0c0985a8, 0x00000000)

Fixed!

Great Job as always! Interesting, you take value from ps3 config?
 
If you want you can take a look for another game - Hot Wheels World Race (SLUS20737)
It have same issue as Italian Job

Fix for Hot Wheels - World Race
CLI
Code:
--gs-uprender=2x2
--gs-upscale=EdgeSmooth

--host-display-mode=16:9

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

#emu used=jakx v2
LUA
Code:
-- Hot Wheels - World Race (U)(SLUS-20737)
-- Widescreen hack by Arapapa
-- fix ported from PS3CONFIG
-- ported to PS4

apiRequest(0.4)

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

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

local patches = function()
--Widescreen hack 16:9

--X-Fov
--803f013c 00008144 1000b07f
eeObj.WriteMem32(0x0028ba2c,0x3c013fab)

emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(patches)

--DC 7B 1A 00 0A BC 0A 0C 00 00 00 00

eeInsnReplace(0x001a7bdc, 0x0c0abc0a, 0x00000000)

Fixed as well!

 
Last edited:
Fix for Hot Wheels - World Race
CLI
Code:
--gs-uprender=2x2
--gs-upscale=EdgeSmooth

--host-display-mode=16:9

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

#emu used=jakx v2
LUA
Code:
-- Hot Wheels - World Race (U)(SLUS-20737)
-- Widescreen hack by Arapapa
-- fix ported from PS3CONFIG
-- ported to PS4

apiRequest(0.4)

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

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

local patches = function()
--Widescreen hack 16:9

--X-Fov
--803f013c 00008144 1000b07f
eeObj.WriteMem32(0x0028ba2c,0x3c013fab)

emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(patches)

--DC 7B 1A 00 0A BC 0A 0C 00 00 00 00

eeInsnReplace(0x001a7bdc, 0x0c0abc0a, 0x00000000)

Fixed as well!

Proffisional work!!!:encouragement::encouragement::encouragement:
 
Fix for Raging Blades PAL
CLI
Code:
--gs-uprender=2x2
--gs-upscale=edgesmooth

--host-display-mode=16:9
#emu used=psychonauts v2
LUA
Code:
-- Raging Blades (E)(SLES-51235)
-- Widescreen hack by Arapapa
-- No Interlace by zoli576 
-- emu used=psychonauts v2

apiRequest(1.0)

local gpr       = require("ee-gpr-alias")
local cpr       = require("ee-cpr0-alias")
local hwaddr     = require("ee-hwaddr")

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

local patcher = function()
--Widescreen hack 16:9
--X-fov
eeObj.WriteMem32(0x0022d420,0x3c013f40) --3c013f80
--Render fix
eeObj.WriteMem32(0x002e4b70,0x43e00000) --43a00000
--no interlace
eeObj.WriteMem32(0x2026410C,0x00000000)
eeObj.WriteMem32(0x20264194,0x00000000)
eeObj.WriteMem32(0x2022B1EC,0x00000000)
eeObj.WriteMem32(0x2022B254,0x00000000)
eeObj.WriteMem32(0x202E3C90,0x00001480)
eeObj.WriteMem32(0x202E3CB8,0x00001480)
eeObj.WriteMem32(0x202E3FC0,0x00001480)
eeObj.WriteMem32(0x202E3FE8,0x00001480)

emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(patcher)

No interlace is VERY important for this game to run on PS4. The game jumps like crazy without it!
 

Similar threads

Back
Top