PS4 [Research]PS2 emulator configuration on PS4

Code:
--progressive mode 256p (is a field renderer game)
eeObj.WriteMem32(0x201029C4,0x3C050000)
eeObj.WriteMem32(0x201029CC,0x3C060050)
eeObj.WriteMem32(0x201029D4,0x3C070001)
eeObj.WriteMem32(0x20102C84,0x3C0700E0)
eeObj.WriteMem8(0x01D10742,0x02) --vf
I'm only curious about what this line of code does to the game:
Code:
eeObj.WriteMem32(0x20102C84,0x3C0700E0)
 
Code:
--progressive mode 256p (is a field renderer game)
eeObj.WriteMem32(0x201029C4,0x3C050000)
eeObj.WriteMem32(0x201029CC,0x3C060050)
eeObj.WriteMem32(0x201029D4,0x3C070001)
eeObj.WriteMem32(0x20102C84,0x3C0700E0)
eeObj.WriteMem8(0x01D10742,0x02) --vf
I'm only curious about what this line of code does to the game:
Code:
eeObj.WriteMem32(0x20102C84,0x3C0700E0)

--progressive mode 256p (is a field renderer game) fix this!

DMC3-Bug.png
 
Red Dead Revolver (EU)+ Character Swap by JuanoV (Single player and showdown)
Code:
--gs-kernel-cl-up="up2x2skipInterp"
--fpu-rsqrt-fast-estimate=0
--mtap1=Always
--vif1-ignore-cmd-ints=1
--iop-cycle-scalar=0.80
--iop-hook=0x0086ac,FastForwardClock
--ee-sif0-cycle-scalar=2.0
--ee-sif1-cycle-scalar=2.0
--iop-sif1-cycle-scalar=5.0
--iop-sif0-cycle-scalar=5.0
--iop-tight-slice-count=12
--cdvd-sector-read-cycles=5000
--ee-hook=0x354D38,AdvanceClock,0x0C0F02AC,4500
--ee-hook=0x3B7430,FastForwardClock,0x00481024
--ee-hook=0x4721E8,FastForwardClock,0x8ca30000
--ee-hook=0x4721A4,FastForwardClock,0x8c620000
--ee-hook=0x4721E8,MfifoDrain,0x8ca30000
--ee-hook=0x4721A4,MfifoDrain,0x8c620000
--mfifo-manual-drain=0.30
--mfifo-chunk-drain-cycles=210000
--trophy-support=0
--force-pal-60hz=1
--gs-uprender=2x2
--gs-upscale=edgesmooth
Emu=Jakv2

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

apiRequest(1.6)

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

--Remove blur by kozarovv (i just ported to sles ver.)
eeObj.WriteMem32(0x004C4CD8,0x03e00008)
eeObj.WriteMem32(0x004C4CDC,0x00000000)
--Open Characters in Multi-Missions by codejunkies
eeObj.WriteMem32(0x2A8F3101,0x24020001)


------ Character Selector--------

local pad_bits  = emuObj.GetPad()
local UP      = pad_bits &  0x0010
local DOWN    = pad_bits &  0x0040
local LEFT    = pad_bits &  0x0080
local RIGHT    = pad_bits &  0x0020
local Triangle    = pad_bits &  0x1000
local Cross    = pad_bits &  0x4000
local Square    = pad_bits &  0x8000
local Circle    = pad_bits &  0x2000
local L1      = pad_bits &  0x0400
local L2      = pad_bits &  0x0100
local L3      = pad_bits &  0x0002
local R1      = pad_bits &  0x0800
local R2        = pad_bits &  0x0200
local R3      = pad_bits &  0x0004
local Select    = pad_bits &  0x0001
local Start    = pad_bits &  0x0008

if (L3 ~= 0) then
--jack
eeObj.WriteMem32(0x2074043C,0x6B636A6D)
end
if (L3 ~= 0 and UP ~= 0) then
--cristina
eeObj.WriteMem32(0x2074043C,0x6E74636D)
end
if (L3 ~= 0 and DOWN ~= 0) then
--red color 2
eeObj.WriteMem32(0x2074043C,0x6472736D)
eeObj.WriteMem32(0x20740488,0x00000002)
end
if (L3 ~= 0 and LEFT ~= 0) then
--annie stoakes
eeObj.WriteMem32(0x2074043C,0x696E616D)
end
if (L3 ~= 0 and RIGHT ~= 0) then
--wisckey treadwell
eeObj.WriteMem32(0x2074043C,0x6B73776D)
end
if (L3 ~= 0 and Square ~= 0) then
--red jr
eeObj.WriteMem32(0x2074043C,0x0064726D)
end
if (L3 ~= 0 and R1 ~= 0) then
--manequin
eeObj.WriteMem32(0x2074043C,0x6B6F6D6D)
end
if (L3 ~= 0 and L2 ~= 0) then
--nate harlow
eeObj.WriteMem32(0x2074043C,0x6461646D)
end
if (L3 ~= 0 and R3 ~= 0) then
--pig josh
eeObj.WriteMem32(0x2074043C,0x6A67706D)
end
if (L3 ~= 0 and R2 ~= 0) then
--holstein hall
eeObj.WriteMem32(0x2074043C,0x6263746D)
end
if (L3 ~= 0 and Select ~= 0) then
--professor perry
eeObj.WriteMem32(0x2074043C,0x7972706D)
end
if (L3 ~= 0 and Start ~= 0) then
--the blade slade
eeObj.WriteMem32(0x2074043C,0x6977626D)
end
if (L1 ~= 0 and UP ~= 0) then
--hedgehog thornton
eeObj.WriteMem32(0x2074043C,0x6864686D)
end
if (L1 ~= 0 and DOWN ~= 0) then
--sissy fess
eeObj.WriteMem32(0x2074043C,0x6F74736D)
end
if (L1 ~= 0 and RIGHT ~= 0) then
--smiley fawler
eeObj.WriteMem32(0x2074043C,0x616B616D)
end
if (L1 ~= 0 and LEFT ~= 0) then
--ugly chris
eeObj.WriteMem32(0x2074043C,0x6C67756D)
end
if (L1 ~= 0 and L2 ~= 0) then
--gigolo hancock
eeObj.WriteMem32(0x2074043C,0x6C67676D)
end
if (L1 ~= 0 and L3 ~= 0) then
--gabriel navarro
eeObj.WriteMem32(0x2074043C,0x747A7A6D)
end
if (L1 ~= 0 and R3 ~= 0) then
--mathias lampry
eeObj.WriteMem32(0x2074043C,0x0032706E)
end
if (L1 ~= 0 and Start ~= 0) then
--lilly belle parsons
eeObj.WriteMem32(0x2074043C,0x0062706E)
end
if (L2 ~= 0 and UP ~= 0) then
--willy wilson
eeObj.WriteMem32(0x2074043C,0x00646F6E)
end
if (L2 ~= 0 and DOWN ~= 0) then
--atlas jones
eeObj.WriteMem32(0x2074043C,0x006B6F72)
end
if (L2 ~= 0 and RIGHT ~= 0) then
--hank pullman
eeObj.WriteMem32(0x2074043C,0x00766474)
end
if (L2 ~= 0 and LEFT ~= 0) then
--npc
eeObj.WriteMem32(0x2074043C,0x00627262)
end
if (L2 ~= 0 and Triangle ~= 0) then
--npc 2
eeObj.WriteMem32(0x2074043C,0x00646872)
end
if (L2 ~= 0 and Cross ~= 0) then
--sam boss
eeObj.WriteMem32(0x2074043C,0x006B6374)
end
if (L2 ~= 0 and Square ~= 0) then
--rat chavez
eeObj.WriteMem32(0x2074043C,0x00686473)
end
if (L2 ~= 0 and Circle ~= 0) then
--cheryl-lynn
eeObj.WriteMem32(0x2074043C,0x00616D62)
end
if (L2 ~= 0 and R2 ~= 0) then
--jesse lynch
eeObj.WriteMem32(0x2074043C,0x0073656A)
end
if (Select ~= 0) then
--general diego
eeObj.WriteMem32(0x2074043C,0x6F67646D)
end
if (Select ~= 0 and R1 ~= 0) then
--bad bessie
eeObj.WriteMem32(0x2074043C,0x7974626D)
end
if (Select ~= 0 and R2 ~= 0) then
--abigail peppercorn
eeObj.WriteMem32(0x2074043C,0x0061706E)
end
if (Select ~= 0 and UP ~= 0) then
--verne wiggins
eeObj.WriteMem32(0x2074043C,0x0034706E)
end
--[[
--Player 1 codes = 0x2074043C
--Player 2 codes = 0x20740498
--CRISTINA
eeObj.WriteMem32(0x2074043C,0x6E74636D)
--RED
eeObj.WriteMem32(0x2074043C,0x6472736D)
--ANNIE STOAKES
eeObj.WriteMem32(0x2074043C,0x696E616D)
--JACK
eeObj.WriteMem32(0x2074043C,0x6B636A6D)
--"WISCKEY" TREADWELL
eeObj.WriteMem32(0x2074043C,0x6B73776D)
--RED JR
eeObj.WriteMem32(0x2074043C,0x0064726D)
--MANEQUIN
eeObj.WriteMem32(0x2074043C,0x6B6F6D6D)
--NATE HARLOW
eeObj.WriteMem32(0x2074043C,0x6461646D)
--PIG JOSH
eeObj.WriteMem32(0x2074043C,0x6263746D)
--HOLSTEIN HALL
eeObj.WriteMem32(0x2074043C,0x6263746D)
--PROFESSOR PERRY
eeObj.WriteMem32(0x2074043C,0x7972706D)
--THE BLADE SLADE
eeObj.WriteMem32(0x2074043C,0x6977626D)
--HEDGEHOG THORNTON
eeObj.WriteMem32(0x2074043C,0x6864686D)
--SISSY FESS
eeObj.WriteMem32(0x2074043C,0x6F74736D)
--SMILEY FAWLER
eeObj.WriteMem32(0x2074043C,0x616B616D)
--UGLY CHRIS
eeObj.WriteMem32(0x2074043C,0x6C67756D)
--GIGOLO HANCOCK
eeObj.WriteMem32(0x2074043C,0x6C67676D)
--GABRIEL NAVARRO
eeObj.WriteMem32(0x2074043C,0x747A7A6D)
--DIG FOWLER
eeObj.WriteMem32(0x2074043C,0x6B77676D)
--SAM
eeObj.WriteMem32(0x2074043C,0x6B63746D)
--DAN
eeObj.WriteMem32(0x2074043C,0x6764626D)
--GRIZZLY
eeObj.WriteMem32(0x2074043C,0x74736D6D)
--STANDING SNAKE
eeObj.WriteMem32(0x2074043C,0x6B736D6D)
--MR BLACK
eeObj.WriteMem32(0x2074043C,0x6B6C626D)
--CURLY SHAW
eeObj.WriteMem32(0x2074043C,0x7068736D)
--BLOODY TOM
eeObj.WriteMem32(0x2074043C,0x7961676D)
--RICO PEDROSA
eeObj.WriteMem32(0x2074043C,0x6172626D)
--GOBERNOR GRIFFON
eeObj.WriteMem32(0x2074043C,0x6E79776D)
--FIDGIT
eeObj.WriteMem32(0x2074043C,0x67646D6D)
--SHADOW WOLF
eeObj.WriteMem32(0x2074043C,0x6B74746D)
--TWIGGY PHELPS
eeObj.WriteMem32(0x2074043C,0x6777746D)
--FALLING STAR
eeObj.WriteMem32(0x2074043C,0x6D6F6D6D)
--BUFFALO
eeObj.WriteMem32(0x2074043C,0x7366626D)
--UDO KANG
eeObj.WriteMem32(0x2074043C,0x6E6F6D6D)
--COLONEL DAREN
eeObj.WriteMem32(0x2074043C,0x7264796D)
--COOPER
eeObj.WriteMem32(0x2074043C,0x746B626D)
--MR KELLEY
eeObj.WriteMem32(0x2074043C,0x6B726D6D)
--NATALIE
eeObj.WriteMem32(0x2074043C,0x6C746E6D)
--CHICKEN
eeObj.WriteMem32(0x2074043C,0x6B68636D)
--GENERAL DIEGO
eeObj.WriteMem32(0x2074043C,0x6F67646D)
--SHERIFF OGRADY
eeObj.WriteMem32(0x2074043C,0x736C636D)
--KATIE OGRADY
eeObj.WriteMem32(0x2074043C,0x69746B6D)
--SMITTY
eeObj.WriteMem32(0x2074043C,0x62636E6D)
--BAD BESSIE
eeObj.WriteMem32(0x2074043C,0x7974626D)
--JASON CORNET
eeObj.WriteMem32(0x2074043C,0x7665736D)
--SHERIFF BARTLETT
eeObj.WriteMem32(0x2074043C,0x676E6B6D)
--BIG OAF WHITNEY
eeObj.WriteMem32(0x2074043C,0x6B72666D)
--KID COUGAR
eeObj.WriteMem32(0x2074043C,0x746C656D)
--NPC
eeObj.WriteMem32(0x2074043C,0x006A7468)
--UGLY CHRIS BOSS
eeObj.WriteMem32(0x2074043C,0x006C6775)
--MATHIAS LAMPRY
eeObj.WriteMem32(0x2074043C,0x0032706E)
--HANZ KENYON
eeObj.WriteMem32(0x2074043C,0x00317462)
--ABIGAIL PEPPERCORN
eeObj.WriteMem32(0x2074043C,0x0061706E)
--LILLY BELLE PARSONS
eeObj.WriteMem32(0x2074043C,0x0062706E)
--WILLY WILSON
eeObj.WriteMem32(0x2074043C,0x00646F6E)
--ATLAS JONES
eeObj.WriteMem32(0x2074043C,0x00766474)
--HANK PULLMAN
eeObj.WriteMem32(0x2074043C,0x0032706E)
--NPC
eeObj.WriteMem32(0x2074043C,0x00627262)
--NPC
eeObj.WriteMem32(0x2074043C,0x00646872)
--SAM BOSS
eeObj.WriteMem32(0x2074043C,0x006B6374)
--PEDROSA
eeObj.WriteMem32(0x2074043C,0x00327A7A)
--RAT CHAVEZ
eeObj.WriteMem32(0x2074043C,0x00686473)
--CHERYL-LYNN
eeObj.WriteMem32(0x2074043C,0x00616D62)
--JESSE LYNCH
eeObj.WriteMem32(0x2074043C,0x0073656A)
--NPC
eeObj.WriteMem32(0x2074043C,0x00726470)
--LAROUCHE
eeObj.WriteMem32(0x2074043C,0x00706967)
--NPC
eeObj.WriteMem32(0x2074043C,0x006B7767)
--JODY
eeObj.WriteMem32(0x2074043C,0x0079646A)
--NPC HEADLESS
eeObj.WriteMem32(0x2074043C,0x00766573)
--PICK AXE MILLER
eeObj.WriteMem32(0x2074043C,0x006B6370)
--NPC
eeObj.WriteMem32(0x2074043C,0x00676D61)
--VERNE WIGGINS
eeObj.WriteMem32(0x2074043C,0x0034706E)
--BLUE SOLDIER
eeObj.WriteMem32(0x2074043C,0x00647362)
--GREEN SOLDIER
eeObj.WriteMem32(0x2074043C,0x0061796B)
--SANDY DODGE
eeObj.WriteMem32(0x2074043C,0x0033706E)
--GEORGE WHITNEY
eeObj.WriteMem32(0x2074043C,0x006A7266)
--SERGIO
eeObj.WriteMem32(0x2074043C,0x00776473)
--JEBIDAH COLE
eeObj.WriteMem32(0x2074043C,0x0031706E)
--JAQUES MARKUS
eeObj.WriteMem32(0x2074043C,0x00706E73)
--TED BUFIAS
eeObj.WriteMem32(0x2074043C,0x00766673)
--BOB LARSON
eeObj.WriteMem32(0x2074043C,0x00646C70)
--NPC BOSS
eeObj.WriteMem32(0x2074043C,0x006E7977)
--"CURLY" SHAW
eeObj.WriteMem32(0x2074043C,0x00706873)
--JUAN SANCHEZ
eeObj.WriteMem32(0x2074043C,0x0061676E)
--PRIVATE RIPPER HERNANDEZ
eeObj.WriteMem32(0x2074043C,0x0064736E)
--DRISCOLL
eeObj.WriteMem32(0x2074043C,0x00646373)
--SAM BOSS
eeObj.WriteMem32(0x2074043C,0x006B6374)
--NPC
eeObj.WriteMem32(0x2074043C,0x00617262)
--NPC
eeObj.WriteMem32(0x2074043C,0x00676473)
--NPC
eeObj.WriteMem32(0x2074043C,0x00327A7A)
--GRIZZLY BOSS
eeObj.WriteMem32(0x2074043C,0x0074736D)
--BANDIT
eeObj.WriteMem32(0x2074043C,0x00616B61)
--BANDIT 2
eeObj.WriteMem32(0x2074043C,0x006F7473)
--COLONEL
eeObj.WriteMem32(0x2074043C,0x00726479)
--BANDIT 3
eeObj.WriteMem32(0x2074043C,0x00616374)
--DIEGO SOLDIER
eeObj.WriteMem32(0x2074043C,0x00647372)
--DIEGO SOLDIER 2
eeObj.WriteMem32(0x2074043C,0x0061796B)
--DIEGO SOLDIER 3
eeObj.WriteMem32(0x2074043C,0x00776473)
--TONY
eeObj.WriteMem32(0x2074043C,0x00766673)
--NPC
eeObj.WriteMem32(0x2074043C,0x00646C70)
--HARRY SCHULTZ
eeObj.WriteMem32(0x2074043C,0x0061676E)
--NPC
eeObj.WriteMem32(0x2074043C,0x00646373)
--]]
emuObj.ThrottleNorm()
end
emuObj.SetGsTitleFix( "forceSimpleFetch",  "reserved", {psm=0} )
emuObj.SetGsTitleFix( "fetchFCromCurrBuff", "reserved", {psm=0} )
emuObj.AddVsyncHook(patcher)

The game has little freezes, so i dont know how to fixed :confusion: (edit: work fine with red dead emu lol)
thanks Stayhye for lua example in mksm replacement mod :encouragement:

Blur/Post Processing removal cheat was incorrect in your lua.
I was make my own lua file!

LUA.
Code:
-- Red Dead Revolver PAL
-- emu used=red dead

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

apiRequest(0.1)

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 LEFT    = pad_bits &  0x0080
local RIGHT    = pad_bits &  0x0020
local Triangle  = pad_bits &  0x1000
local Cross    = pad_bits &  0x4000
local Square    = pad_bits &  0x8000
local Circle  = pad_bits &  0x2000
local L1    = pad_bits &  0x0400
local L2    = pad_bits &  0x0100
local L3    = pad_bits &  0x0002
local R1    = pad_bits &  0x0800
local R2    = pad_bits &  0x0200
local R3    = pad_bits &  0x0004
local Select  = pad_bits &  0x0001
local Start    = pad_bits &  0x0008

if (L3 ~= 0) then
--jack
eeObj.WriteMem32(0x2074043C,0x6B636A6D)
end
if (L3 ~= 0 and UP ~= 0) then
--cristina
eeObj.WriteMem32(0x2074043C,0x6E74636D)
end
if (L3 ~= 0 and DOWN ~= 0) then
--red color 2
eeObj.WriteMem32(0x2074043C,0x6472736D)
eeObj.WriteMem32(0x20740488,0x00000002)
end
if (L3 ~= 0 and LEFT ~= 0) then
--annie stoakes
eeObj.WriteMem32(0x2074043C,0x696E616D)
end
if (L3 ~= 0 and RIGHT ~= 0) then
--wisckey treadwell
eeObj.WriteMem32(0x2074043C,0x6B73776D)
end
if (L3 ~= 0 and Square ~= 0) then
--red jr
eeObj.WriteMem32(0x2074043C,0x0064726D)
end
if (L3 ~= 0 and R1 ~= 0) then
--manequin
eeObj.WriteMem32(0x2074043C,0x6B6F6D6D)
end
if (L3 ~= 0 and L2 ~= 0) then
--nate harlow
eeObj.WriteMem32(0x2074043C,0x6461646D)
end
if (L3 ~= 0 and R3 ~= 0) then
--pig josh
eeObj.WriteMem32(0x2074043C,0x6A67706D)
end
if (L3 ~= 0 and R2 ~= 0) then
--holstein hall
eeObj.WriteMem32(0x2074043C,0x6263746D)
end
if (L3 ~= 0 and Select ~= 0) then
--professor perry
eeObj.WriteMem32(0x2074043C,0x7972706D)
end
if (L3 ~= 0 and Start ~= 0) then
--the blade slade
eeObj.WriteMem32(0x2074043C,0x6977626D)
end
if (L1 ~= 0 and UP ~= 0) then
--hedgehog thornton
eeObj.WriteMem32(0x2074043C,0x6864686D)
end
if (L1 ~= 0 and DOWN ~= 0) then
--sissy fess
eeObj.WriteMem32(0x2074043C,0x6F74736D)
end
if (L1 ~= 0 and RIGHT ~= 0) then
--smiley fawler
eeObj.WriteMem32(0x2074043C,0x616B616D)
end
if (L1 ~= 0 and LEFT ~= 0) then
--ugly chris
eeObj.WriteMem32(0x2074043C,0x6C67756D)
end
if (L1 ~= 0 and L2 ~= 0) then
--gigolo hancock
eeObj.WriteMem32(0x2074043C,0x6C67676D)
end
if (L1 ~= 0 and L3 ~= 0) then
--gabriel navarro
eeObj.WriteMem32(0x2074043C,0x747A7A6D)
end
if (L1 ~= 0 and R3 ~= 0) then
--mathias lampry
eeObj.WriteMem32(0x2074043C,0x0032706E)
end
if (L1 ~= 0 and Start ~= 0) then
--lilly belle parsons
eeObj.WriteMem32(0x2074043C,0x0062706E)
end
if (L2 ~= 0 and UP ~= 0) then
--willy wilson
eeObj.WriteMem32(0x2074043C,0x00646F6E)
end
if (L2 ~= 0 and DOWN ~= 0) then
--atlas jones
eeObj.WriteMem32(0x2074043C,0x006B6F72)
end
if (L2 ~= 0 and RIGHT ~= 0) then
--hank pullman
eeObj.WriteMem32(0x2074043C,0x00766474)
end
if (L2 ~= 0 and LEFT ~= 0) then
--npc
eeObj.WriteMem32(0x2074043C,0x00627262)
end
if (L2 ~= 0 and Triangle ~= 0) then
--npc 2
eeObj.WriteMem32(0x2074043C,0x00646872)
end
if (L2 ~= 0 and Cross ~= 0) then
--sam boss
eeObj.WriteMem32(0x2074043C,0x006B6374)
end
if (L2 ~= 0 and Square ~= 0) then
--rat chavez
eeObj.WriteMem32(0x2074043C,0x00686473)
end
if (L2 ~= 0 and Circle ~= 0) then
--cheryl-lynn
eeObj.WriteMem32(0x2074043C,0x00616D62)
end
if (L2 ~= 0 and R2 ~= 0) then
--jesse lynch
eeObj.WriteMem32(0x2074043C,0x0073656A)
end
if (Select ~= 0) then
--general diego
eeObj.WriteMem32(0x2074043C,0x6F67646D)
end
if (Select ~= 0 and R1 ~= 0) then
--bad bessie
eeObj.WriteMem32(0x2074043C,0x7974626D)
end
if (Select ~= 0 and R2 ~= 0) then
--abigail peppercorn
eeObj.WriteMem32(0x2074043C,0x0061706E)
end
if (Select ~= 0 and UP ~= 0) then
--verne wiggins
eeObj.WriteMem32(0x2074043C,0x0034706E)
end

end

emuObj.AddVsyncHook(CheckInputs)

emuObj.SetDisplayAspectWide()

local patcher = function()

--Blur/Post Processing removal
eeObj.WriteMem32(0x004C71F8,0x03e00008) -- 27BDFFF0
eeObj.WriteMem32(0x004C71FC,0x00000000) -- FFBF0000

--Open Characters in Multi-Missions by codejunkies
eeObj.WriteMem32(0x2013FC3C,0x24020001)

--Open Multi-Missions by Codejunkies
eeObj.WriteMem32(0x20132794,0x24020001)

--Open Journal by Codejunkies
eeObj.WriteMem32(0x2011CCF8,0x24020001)

--Unlock Journal/Multiplayer by Codejunkies
eeObj.WriteMem32(0x201003F4,0x24020001)

emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(patcher)

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

emuObj.SetGsTitleFix( "forceSimpleFetch",  "reserved", {psm=0} )
emuObj.SetGsTitleFix( "fetchFromCurrBuff", "reserved", {psm=0} )

Red Dead Revolver|Blur FiX|Bonus Characters in Story|Multi-Missions| PS2toPS4 Review
 
Blur/Post Processing removal cheat was incorrect in your lua.
I was make my own lua file!

LUA.
Code:
-- Red Dead Revolver PAL
-- emu used=red dead

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

apiRequest(0.1)

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 LEFT    = pad_bits &  0x0080
local RIGHT    = pad_bits &  0x0020
local Triangle  = pad_bits &  0x1000
local Cross    = pad_bits &  0x4000
local Square    = pad_bits &  0x8000
local Circle  = pad_bits &  0x2000
local L1    = pad_bits &  0x0400
local L2    = pad_bits &  0x0100
local L3    = pad_bits &  0x0002
local R1    = pad_bits &  0x0800
local R2    = pad_bits &  0x0200
local R3    = pad_bits &  0x0004
local Select  = pad_bits &  0x0001
local Start    = pad_bits &  0x0008

if (L3 ~= 0) then
--jack
eeObj.WriteMem32(0x2074043C,0x6B636A6D)
end
if (L3 ~= 0 and UP ~= 0) then
--cristina
eeObj.WriteMem32(0x2074043C,0x6E74636D)
end
if (L3 ~= 0 and DOWN ~= 0) then
--red color 2
eeObj.WriteMem32(0x2074043C,0x6472736D)
eeObj.WriteMem32(0x20740488,0x00000002)
end
if (L3 ~= 0 and LEFT ~= 0) then
--annie stoakes
eeObj.WriteMem32(0x2074043C,0x696E616D)
end
if (L3 ~= 0 and RIGHT ~= 0) then
--wisckey treadwell
eeObj.WriteMem32(0x2074043C,0x6B73776D)
end
if (L3 ~= 0 and Square ~= 0) then
--red jr
eeObj.WriteMem32(0x2074043C,0x0064726D)
end
if (L3 ~= 0 and R1 ~= 0) then
--manequin
eeObj.WriteMem32(0x2074043C,0x6B6F6D6D)
end
if (L3 ~= 0 and L2 ~= 0) then
--nate harlow
eeObj.WriteMem32(0x2074043C,0x6461646D)
end
if (L3 ~= 0 and R3 ~= 0) then
--pig josh
eeObj.WriteMem32(0x2074043C,0x6A67706D)
end
if (L3 ~= 0 and R2 ~= 0) then
--holstein hall
eeObj.WriteMem32(0x2074043C,0x6263746D)
end
if (L3 ~= 0 and Select ~= 0) then
--professor perry
eeObj.WriteMem32(0x2074043C,0x7972706D)
end
if (L3 ~= 0 and Start ~= 0) then
--the blade slade
eeObj.WriteMem32(0x2074043C,0x6977626D)
end
if (L1 ~= 0 and UP ~= 0) then
--hedgehog thornton
eeObj.WriteMem32(0x2074043C,0x6864686D)
end
if (L1 ~= 0 and DOWN ~= 0) then
--sissy fess
eeObj.WriteMem32(0x2074043C,0x6F74736D)
end
if (L1 ~= 0 and RIGHT ~= 0) then
--smiley fawler
eeObj.WriteMem32(0x2074043C,0x616B616D)
end
if (L1 ~= 0 and LEFT ~= 0) then
--ugly chris
eeObj.WriteMem32(0x2074043C,0x6C67756D)
end
if (L1 ~= 0 and L2 ~= 0) then
--gigolo hancock
eeObj.WriteMem32(0x2074043C,0x6C67676D)
end
if (L1 ~= 0 and L3 ~= 0) then
--gabriel navarro
eeObj.WriteMem32(0x2074043C,0x747A7A6D)
end
if (L1 ~= 0 and R3 ~= 0) then
--mathias lampry
eeObj.WriteMem32(0x2074043C,0x0032706E)
end
if (L1 ~= 0 and Start ~= 0) then
--lilly belle parsons
eeObj.WriteMem32(0x2074043C,0x0062706E)
end
if (L2 ~= 0 and UP ~= 0) then
--willy wilson
eeObj.WriteMem32(0x2074043C,0x00646F6E)
end
if (L2 ~= 0 and DOWN ~= 0) then
--atlas jones
eeObj.WriteMem32(0x2074043C,0x006B6F72)
end
if (L2 ~= 0 and RIGHT ~= 0) then
--hank pullman
eeObj.WriteMem32(0x2074043C,0x00766474)
end
if (L2 ~= 0 and LEFT ~= 0) then
--npc
eeObj.WriteMem32(0x2074043C,0x00627262)
end
if (L2 ~= 0 and Triangle ~= 0) then
--npc 2
eeObj.WriteMem32(0x2074043C,0x00646872)
end
if (L2 ~= 0 and Cross ~= 0) then
--sam boss
eeObj.WriteMem32(0x2074043C,0x006B6374)
end
if (L2 ~= 0 and Square ~= 0) then
--rat chavez
eeObj.WriteMem32(0x2074043C,0x00686473)
end
if (L2 ~= 0 and Circle ~= 0) then
--cheryl-lynn
eeObj.WriteMem32(0x2074043C,0x00616D62)
end
if (L2 ~= 0 and R2 ~= 0) then
--jesse lynch
eeObj.WriteMem32(0x2074043C,0x0073656A)
end
if (Select ~= 0) then
--general diego
eeObj.WriteMem32(0x2074043C,0x6F67646D)
end
if (Select ~= 0 and R1 ~= 0) then
--bad bessie
eeObj.WriteMem32(0x2074043C,0x7974626D)
end
if (Select ~= 0 and R2 ~= 0) then
--abigail peppercorn
eeObj.WriteMem32(0x2074043C,0x0061706E)
end
if (Select ~= 0 and UP ~= 0) then
--verne wiggins
eeObj.WriteMem32(0x2074043C,0x0034706E)
end

end

emuObj.AddVsyncHook(CheckInputs)

emuObj.SetDisplayAspectWide()

local patcher = function()

--Blur/Post Processing removal
eeObj.WriteMem32(0x004C71F8,0x03e00008) -- 27BDFFF0
eeObj.WriteMem32(0x004C71FC,0x00000000) -- FFBF0000

--Open Characters in Multi-Missions by codejunkies
eeObj.WriteMem32(0x2013FC3C,0x24020001)

--Open Multi-Missions by Codejunkies
eeObj.WriteMem32(0x20132794,0x24020001)

--Open Journal by Codejunkies
eeObj.WriteMem32(0x2011CCF8,0x24020001)

--Unlock Journal/Multiplayer by Codejunkies
eeObj.WriteMem32(0x201003F4,0x24020001)

emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(patcher)

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

emuObj.SetGsTitleFix( "forceSimpleFetch",  "reserved", {psm=0} )
emuObj.SetGsTitleFix( "fetchFromCurrBuff", "reserved", {psm=0} )

Red Dead Revolver|Blur FiX|Bonus Characters in Story|Multi-Missions| PS2toPS4 Review
Hello friend, I want credits for the playable npcs in red dead revolver (it took me time to find them), thanks
 
D.I.C.E. (DNA Integrated Cybernetic Enterprises) SLUS21181


CLI
Code:
--gs-uprender=2x2
--gs-upscale=EdgeSmooth
--host-display-mode=16:9
--ee-cycle-scalar=2.0

Lua
Code:
-- D.I.C.E. (DNA Integrated Cybernetic Enterprises) SLUS21181
-- emu kof98um

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

apiRequest(0.1)

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

--I fixed blur in the lighting
emuObj.SetGsTitleFix( "forceSimpleFetch",  "reserved", {psm=0} )
emuObj.SetGsTitleFix( "fetchFromCurrBuff", "reserved", {psm=0} )

local patcher = function()

emuObj.ThrottleMax()
end
emuObj.AddVsyncHook(patcher)
 
Malice SLUS-20358

Lua


Code:
-- Malice SLUS-20358
-- ps3 config by mrjaredbeta
-- jakv2

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

apiRequest(0.1)

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

local patcher = function()

-- ps3 config (Fixes slowdown)
-- 3D 00 00 00 57 44 00 00 0A 00 00 00 01 00 00 00
-- 74 5E 16 00  10 E1 62 AC  10 E1 60 AC

eeObj.WriteMem32(0x00165e74,0xac60e110)

-- no interlaced
eeObj.WriteMem32(0x002550bc,0x00000000) --64420008

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

--gfx fix
emuObj.SetGsTitleFix( "forceSimpleFetch",  "reserved", {psm=0} )
emuObj.SetGsTitleFix( "fetchFromCurrBuff", "reserved", {psm=0} )
 
Dragon Quest V - Tenkuu no Hanayome [NTSC-J] (SLPM-65555)

Lua

Code:
-- Dragon Quest V - Tenkuu no Hanayome [NTSC-J] (SLPM-65555)
-- Widescreen hack by kerostar (Font fix by Arapapa)
-- emu wotm

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

apiRequest(0.1)

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

local patcher = function()

-- 16:9
eeObj.WriteMem32(0x2081B5E0,0x3F400000) --town
eeObj.WriteMem32(0x2081A8D0,0x3F400000) --map
eeObj.WriteMem32(0x2057BD14,0x3C033F4e) --battle
eeObj.WriteMem32(0x2057BD1C,0x3463F9da)

-- Font fix by Arapapa
eeObj.WriteMem32(0x207454C4,0x3F400000)

end
emuObj.AddVsyncHook(patcher)


Notes

The wotm emu was used. This emulator corrects the audio in the menu to type the name of the character.

-- patch by asasega
eeObj.WriteMem32(0x2070F6F0,0x00000000) --60fps
eeObj.WriteMem32(0x20546E5C,0x3C023F00) --traverse speed
eeObj.WriteMem32(0x204B9C04,0x3C083F00) --anim speed
60 fps patch, causes freezing in cutscenes.
 
Spider-Man™2® (NTSC-U)

CLI
Code:
--gs-adaptive-frameskip=1
--vu1-mpg-cycles=700
--vu1-jr-cache-policy=newprog
--vu1-jalr-cache-policy=newprog
LUA
Code:
-- Spider-Man™2® (NTSC-U)
-- disable shadows by Stayhye
-- Widescreen fix by flameofrecca
-- ported to PS4 lua
-- emu used=jakx v2

apiRequest(2.3)

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

emuObj.PadSetLightBar(0, 255, 0, 255)
emuObj.SetDisplayAspectWide()
emuObj.SetDeinterlace(true)

gsObj.SetL2HMode(true)
--gsObj.SetUpscaleMode("EdgeSmooth")
--gsObj.SetUprenderMode("none")
gsObj.SetDeinterlaceShift(1)

local WS = function()
--no building shadows
eeObj.WriteMem32(0x003af284,0x00000000) -- 0x0c0eafa3  >> jal $003abe8c

local pad_bits = emuObj.GetPad()

local UP     = pad_bits &  0x0010
local DOWN     = pad_bits &  0x0040
local LEFT     = pad_bits &  0x0080
local RIGHT     = pad_bits &  0x0020

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

if (R1 ~= 0 and LEFT ~= 0) then --R1+LEFT disable2x2
gsObj.SetUpscaleMode("EdgeSmooth")
gsObj.SetUprenderMode("none")
end

if (R1 ~= 0 and RIGHT ~= 0) then --R1+RIGHT enable2x2
gsObj.SetUpscaleMode("EdgeSmooth")
gsObj.SetUprenderMode("2x2")
end

if (L1 ~= 0 and LEFT ~= 0) then --L1+LEFT 16:9
emuObj.SetDisplayAspectWide()
end

if (L1 ~= 0 and RIGHT ~= 0) then --L1+RIGHT 4:3
emuObj.SetDisplayAspectNormal()
end

--[[
--16:9
eeObj.WriteMem32(0x2067a910,0x3f947ae1)  -- vertical fov
eeObj.WriteMem32(0x2067a8ec,0x3ec00000)  -- zoom value

--Map Screen HUD, text fixes
--search the 206d**** address range for more map screen hud fixes
eeObj.WriteMem32(0x206db628,0x41580000)  -- star icon fix
eeObj.WriteMem32(0x206db634,0x41580000)  -- star icon fix
eeObj.WriteMem32(0x206dfab8,0x3f400000)  -- "500m" text
eeObj.WriteMem32(0x206df9e8,0x3f400000)  -- "key locations" text
eeObj.WriteMem32(0x206df918,0x3f400000)  -- "challenges" text
eeObj.WriteMem32(0x206df848,0x3f400000)  -- "general" text
eeObj.WriteMem32(0x206d8034,0x425c0000)  -- compass size fix
eeObj.WriteMem32(0x206d8048,0x42fa0000)  -- compass size fix

--Onscreen HUD
eeObj.WriteMem32(0x20720ff4,0x42340000)  -- health
eeObj.WriteMem32(0x207223f0,0x42900000)  -- spidey symbol
eeObj.WriteMem32(0x20722404,0x42900000)
eeObj.WriteMem32(0x20722418,0x42f40000)
eeObj.WriteMem32(0x2072242c,0x42f40000)
eeObj.WriteMem32(0x20720d08,0x43140000)  --HUD perimeter
eeObj.WriteMem32(0x20720d1c,0x43140000)
eeObj.WriteMem32(0x20720cf4,0x42680000)
eeObj.WriteMem32(0x20720ce0,0x42680000)
eeObj.WriteMem32(0x2072a0d8,0x43140000)  --HUD shadow
eeObj.WriteMem32(0x2072a0ec,0x43140000)
eeObj.WriteMem32(0x2072a180,0x43140000)
eeObj.WriteMem32(0x2072a194,0x43140000)
eeObj.WriteMem32(0x2072a158,0x42680000)
eeObj.WriteMem32(0x2072a16c,0x42680000)
eeObj.WriteMem32(0x2072a0c4,0x42680000)
eeObj.WriteMem32(0x2072a0b0,0x42680000)
eeObj.WriteMem32(0x207212b4,0x421c0000)  --yellow jump meter
-- 60 fps
--eeObj.WriteMem32(0x2060A9A0,0x00000001)
--no spiderman
--eeObj.WriteMem32(0x003ae794,0x00000000)
--]]

emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(WS)

  • No more issues.
  • Shadow issue fixed.
  • Added upscale/resolution switch.
Use toggle to fix lines at spider-mans feet(this way we can get 2x2 without crappy graphics with 2x2simple) Widescreen code causes issues at screen edges and with Spider-man's shadow, so disabled.
 
Last edited:
Ultimate Spider-Man™ Limited Edition®

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

--host-display-mode=16:9

--vu1-mpg-cycles=750

--ee-hook=0x002a08a0,FastForwardClock #lhu a0, $0016(a1)
--ee-hook=0x0058e9f8,AdvanceClock,0x8e42000c,0x2500 #lw v0, $000c(s2)
LUA
Code:
-- Ultimate Spider-Man™ Limited Edition®
-- Freeze fix by Stayhye
-- Building Shadow disable by Kozarovv
-- Widescreen hack by Arapapa
-- 60fps by Asasega
-- ported to PS4 lua
-- emu used=swrr v1

apiRequest(0.4)

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


local WS = function()
--16:9
eeObj.WriteMem32(0x0058b210,0x08030000) -- 0x3c030074 >> lui v1, $0074 --X-Fov
eeObj.WriteMem32(0x000c0000,0x3c030074)  
eeObj.WriteMem32(0x000c0004,0x3c013faa)
eeObj.WriteMem32(0x000c0008,0x3421aaab)
eeObj.WriteMem32(0x000c000c,0x4481f000)
eeObj.WriteMem32(0x000c0010,0x461e18c2)
eeObj.WriteMem32(0x000c0014,0x08162c85)

--FMV freeze fix(PS4)
eeObj.WriteMem32(0x0057dc68,0x3c036000) -- 0x3c031f00 >> lui v1, $1f00
--remove building shadows
eeObj.WriteMem32(0x00295894,0x00000000)

--Access All Characters/Covers/Concept Art/Landmarks by Code Master
eeObj.WriteMem32(0x2066FBF8,0x00000001)

--enable FPS meter only
--eeObj.WriteMem32(0x00580CE4,0x00000000)
--60fps
--eeObj.WriteMem32(0x20311F18,0x00000000)
--eeObj.WriteMem32(0x2069FE20,0x00000001)


emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(WS)

Big thanks to Kozarovv for building shadow fix! Proper FMV fix, audio is no longer out of sync.
 
Ultimate Spider-Man™ Limited Edition®

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

--host-display-mode=16:9

--vu1-mpg-cycles=750

--ee-hook=0x002a08a0,FastForwardClock #lhu a0, $0016(a1)
--ee-hook=0x0058e9f8,AdvanceClock,0x8e42000c,0x2500 #lw v0, $000c(s2)
LUA
Code:
-- Ultimate Spider-Man™ Limited Edition®
-- Freeze fix by Stayhye
-- Building Shadow disable by Kozarovv
-- Widescreen hack by Arapapa
-- 60fps by Asasega
-- ported to PS4 lua
-- emu used=swrr v1

apiRequest(0.4)

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


local WS = function()
--16:9
eeObj.WriteMem32(0x0058b210,0x08030000) -- 0x3c030074 >> lui v1, $0074 --X-Fov
eeObj.WriteMem32(0x000c0000,0x3c030074) 
eeObj.WriteMem32(0x000c0004,0x3c013faa)
eeObj.WriteMem32(0x000c0008,0x3421aaab)
eeObj.WriteMem32(0x000c000c,0x4481f000)
eeObj.WriteMem32(0x000c0010,0x461e18c2)
eeObj.WriteMem32(0x000c0014,0x08162c85)

--FMV freeze fix(PS4)
eeObj.WriteMem32(0x0057dc68,0x3c036000) -- 0x3c031f00 >> lui v1, $1f00
--remove building shadows
eeObj.WriteMem32(0x00295894,0x00000000)

--Access All Characters/Covers/Concept Art/Landmarks by Code Master
eeObj.WriteMem32(0x2066FBF8,0x00000001)

--enable FPS meter only
--eeObj.WriteMem32(0x00580CE4,0x00000000)
--60fps
--eeObj.WriteMem32(0x20311F18,0x00000000)
--eeObj.WriteMem32(0x2069FE20,0x00000001)


emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(WS)

Big thanks to Kozarovv for building shadow fix! Proper FMV fix, audio is no longer out of sync.
did u ever test spider man 3? Is it still have broken image and slowdowns?
 

Similar threads

Back
Top