PS4 [Research]PS2 emulator configuration on PS4

Resident Evil 4 Graphics Booster (PAL)

LUA
Code:
-- Resident Evil 4 [SLES-53702] (E)
-- emu used=KOF 2000

apiRequest(1.0)   

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

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

local patcher = function()

--Progressive Scan ON
eeObj.WriteMem32(0x20F98820,0x00010100)

-- No Body Shadow of the Characters on the Ground
eeObj.WriteMem32(0x00258148,0x34020100)

-- Disable Fog
eeObj.WriteMem32(0x00229b5c,0x3C020010)

-- Disable moving Fog Clouds
eeObj.WriteMem32(0x0028f184,0x64020000)

-- Characters and World Brighter and disable all kind of their additional Lights
-- and correct Brightness and individual Color Adjust for Item Indicators
-- Stack-Pointer controlled for special Brigthness Adjust of
-- 1/3) Laboratory of Plaga Sample ("Assignment Ada")
-- 2/3) Cannons in Shipyard ("Separate Ways")
-- 3/3) Giant Salazar-Statue ("Main Game")

eeObj.WriteMem32(0x002581ac,0x0c7fac40)
eeObj.WriteMem32(0x00258c84,0x0c7fac40)
eeObj.WriteMem32(0x01FEB100,0x3c070025)
eeObj.WriteMem32(0x01FEB104,0x34e78c8c)
eeObj.WriteMem32(0x01FEB108,0x17e70012)
eeObj.WriteMem32(0x01FEB10C,0x00000000)
eeObj.WriteMem32(0x01FEB110,0x3c0242b0)
eeObj.WriteMem32(0x01FEB114,0x3c033f80)
eeObj.WriteMem32(0x01FEB118,0x0002383c)
eeObj.WriteMem32(0x01FEB11C,0x00e23825)
eeObj.WriteMem32(0x01FEB120,0x0003183c)
eeObj.WriteMem32(0x01FEB124,0x00621825)
eeObj.WriteMem32(0x01FEB128,0x70675c88)
eeObj.WriteMem32(0x01FEB12C,0x7c8b0000)
eeObj.WriteMem32(0x01FEB130,0x3c023f00)
eeObj.WriteMem32(0x01FEB134,0x3c033f80)
eeObj.WriteMem32(0x01FEB138,0x0002383c)
eeObj.WriteMem32(0x01FEB13C,0x00e23825)
eeObj.WriteMem32(0x01FEB140,0x0003183c)
eeObj.WriteMem32(0x01FEB144,0x00621825)
eeObj.WriteMem32(0x01FEB148,0x70675c88)
eeObj.WriteMem32(0x01FEB14C,0x7cab0000)
eeObj.WriteMem32(0x01FEB150,0x00000000)
eeObj.WriteMem32(0x01FEB154,0x3c070025)
eeObj.WriteMem32(0x01FEB158,0x34e781b4)
eeObj.WriteMem32(0x01FEB15C,0x17e700ae)
eeObj.WriteMem32(0x01FEB160,0x00000000)
eeObj.WriteMem32(0x01FEB164,0x3c024308)
eeObj.WriteMem32(0x01FEB168,0x3c033f80)
eeObj.WriteMem32(0x01FEB16C,0x0002383c)
eeObj.WriteMem32(0x01FEB170,0x00e23825)
eeObj.WriteMem32(0x01FEB174,0x0003183c)
eeObj.WriteMem32(0x01FEB178,0x00621825)
eeObj.WriteMem32(0x01FEB17C,0x70675c88)
eeObj.WriteMem32(0x01FEB180,0x7c8b0000)
eeObj.WriteMem32(0x01FEB184,0x3c023f80)
eeObj.WriteMem32(0x01FEB188,0x3c033f80)
eeObj.WriteMem32(0x01FEB18C,0x0002383c)
eeObj.WriteMem32(0x01FEB190,0x00e23825)
eeObj.WriteMem32(0x01FEB194,0x0003183c)
eeObj.WriteMem32(0x01FEB198,0x00621825)
eeObj.WriteMem32(0x01FEB19C,0x70675c88)
eeObj.WriteMem32(0x01FEB1A0,0x7cab0000)
eeObj.WriteMem32(0x01FEB1A4,0x00000000)
eeObj.WriteMem32(0x01FEB1A8,0x3c030002)
eeObj.WriteMem32(0x01FEB1AC,0x8cc20000)
eeObj.WriteMem32(0x01FEB1B0,0x00431024)
eeObj.WriteMem32(0x01FEB1B4,0x10400052)
eeObj.WriteMem32(0x01FEB1B8,0x00000000)
eeObj.WriteMem32(0x01FEB1BC,0x3c020032)
eeObj.WriteMem32(0x01FEB1C0,0x8c425588)
eeObj.WriteMem32(0x01FEB1C4,0x94437eb8)
eeObj.WriteMem32(0x01FEB1C8,0x2c690100)
eeObj.WriteMem32(0x01FEB1CC,0x39290001)
eeObj.WriteMem32(0x01FEB1D0,0x340a03ff)
eeObj.WriteMem32(0x01FEB1D4,0x0143502b)
eeObj.WriteMem32(0x01FEB1D8,0x394a0001)
eeObj.WriteMem32(0x01FEB1DC,0x3c080118)
eeObj.WriteMem32(0x01FEB1E0,0x112a0022)
eeObj.WriteMem32(0x01FEB1E4,0x3508100e)
eeObj.WriteMem32(0x01FEB1E8,0x340a0400)
eeObj.WriteMem32(0x01FEB1EC,0x3c08010c)
eeObj.WriteMem32(0x01FEB1F0,0x106a001e)
eeObj.WriteMem32(0x01FEB1F4,0x35081018)
eeObj.WriteMem32(0x01FEB1F8,0x340a0402)
eeObj.WriteMem32(0x01FEB1FC,0x3c080104)
eeObj.WriteMem32(0x01FEB200,0x106a001a)
eeObj.WriteMem32(0x01FEB204,0x35080c18)
eeObj.WriteMem32(0x01FEB208,0x340a0403)
eeObj.WriteMem32(0x01FEB20C,0x3c080102)
eeObj.WriteMem32(0x01FEB210,0x106a0016)
eeObj.WriteMem32(0x01FEB214,0x35080618)
eeObj.WriteMem32(0x01FEB218,0x340a0404)
eeObj.WriteMem32(0x01FEB21C,0x3c080108)
eeObj.WriteMem32(0x01FEB220,0x106a0012)
eeObj.WriteMem32(0x01FEB224,0x35080e18)
eeObj.WriteMem32(0x01FEB228,0x2c690405)
eeObj.WriteMem32(0x01FEB22C,0x39290001)
eeObj.WriteMem32(0x01FEB230,0x340a04ff)
eeObj.WriteMem32(0x01FEB234,0x0143502b)
eeObj.WriteMem32(0x01FEB238,0x394a0001)
eeObj.WriteMem32(0x01FEB23C,0x3c080118)
eeObj.WriteMem32(0x01FEB240,0x112a000a)
eeObj.WriteMem32(0x01FEB244,0x3508000c)
eeObj.WriteMem32(0x01FEB248,0x2c690500)
eeObj.WriteMem32(0x01FEB24C,0x39290001)
eeObj.WriteMem32(0x01FEB250,0x340a05ff)
eeObj.WriteMem32(0x01FEB254,0x0143502b)
eeObj.WriteMem32(0x01FEB258,0x394a0001)
eeObj.WriteMem32(0x01FEB25C,0x3c080104)
eeObj.WriteMem32(0x01FEB260,0x112a0002)
eeObj.WriteMem32(0x01FEB264,0x35080118)
eeObj.WriteMem32(0x01FEB268,0x00000000)
eeObj.WriteMem32(0x01FEB26C,0x00084e3c)
eeObj.WriteMem32(0x01FEB270,0x00094e3e)
eeObj.WriteMem32(0x01FEB274,0x44890800)
eeObj.WriteMem32(0x01FEB278,0x46800860)
eeObj.WriteMem32(0x01FEB27C,0x44090800)
eeObj.WriteMem32(0x01FEB280,0x00085a3c)
eeObj.WriteMem32(0x01FEB284,0x000b5e3e)
eeObj.WriteMem32(0x01FEB288,0x448b1800)
eeObj.WriteMem32(0x01FEB28C,0x468018e0)
eeObj.WriteMem32(0x01FEB290,0x440b1800)
eeObj.WriteMem32(0x01FEB294,0x000b583c)
eeObj.WriteMem32(0x01FEB298,0x01694825)
eeObj.WriteMem32(0x01FEB29C,0x0008543c)
eeObj.WriteMem32(0x01FEB2A0,0x000a563e)
eeObj.WriteMem32(0x01FEB2A4,0x448a1000)
eeObj.WriteMem32(0x01FEB2A8,0x468010a0)
eeObj.WriteMem32(0x01FEB2AC,0x440a1000)
eeObj.WriteMem32(0x01FEB2B0,0x0008603c)
eeObj.WriteMem32(0x01FEB2B4,0x000c663e)
eeObj.WriteMem32(0x01FEB2B8,0x448c2000)
eeObj.WriteMem32(0x01FEB2BC,0x46802120)
eeObj.WriteMem32(0x01FEB2C0,0x440c2000)
eeObj.WriteMem32(0x01FEB2C4,0x000c603c)
eeObj.WriteMem32(0x01FEB2C8,0x018a5025)
eeObj.WriteMem32(0x01FEB2CC,0x71494488)
eeObj.WriteMem32(0x01FEB2D0,0x7c880000)
eeObj.WriteMem32(0x01FEB2D4,0x3c023f80)
eeObj.WriteMem32(0x01FEB2D8,0x3c033f80)
eeObj.WriteMem32(0x01FEB2DC,0x0002383c)
eeObj.WriteMem32(0x01FEB2E0,0x00e23825)
eeObj.WriteMem32(0x01FEB2E4,0x0003183c)
eeObj.WriteMem32(0x01FEB2E8,0x00621825)
eeObj.WriteMem32(0x01FEB2EC,0x70675c88)
eeObj.WriteMem32(0x01FEB2F0,0x7cab0000)
eeObj.WriteMem32(0x01FEB2F4,0x00000000)
eeObj.WriteMem32(0x01FEB2F8,0x00000000)
eeObj.WriteMem32(0x01FEB2FC,0x00000000)
eeObj.WriteMem32(0x01FEB300,0x3c030032)
eeObj.WriteMem32(0x01FEB304,0x8c635588)
eeObj.WriteMem32(0x01FEB308,0x94627eb8)
eeObj.WriteMem32(0x01FEB30C,0x00000000)
eeObj.WriteMem32(0x01FEB310,0x34070308)
eeObj.WriteMem32(0x01FEB314,0x10470012)
eeObj.WriteMem32(0x01FEB318,0x00000000)
eeObj.WriteMem32(0x01FEB31C,0x34070309)
eeObj.WriteMem32(0x01FEB320,0x1047000f)
eeObj.WriteMem32(0x01FEB324,0x00000000)
eeObj.WriteMem32(0x01FEB328,0x3407040c)
eeObj.WriteMem32(0x01FEB32C,0x1047000c)
eeObj.WriteMem32(0x01FEB330,0x00000000)
eeObj.WriteMem32(0x01FEB334,0x3407040d)
eeObj.WriteMem32(0x01FEB338,0x10470009)
eeObj.WriteMem32(0x01FEB33C,0x00000000)
eeObj.WriteMem32(0x01FEB340,0x34070513)
eeObj.WriteMem32(0x01FEB344,0x1047000e)
eeObj.WriteMem32(0x01FEB348,0x00000000)
eeObj.WriteMem32(0x01FEB34C,0x34070226)
eeObj.WriteMem32(0x01FEB350,0x10470013)
eeObj.WriteMem32(0x01FEB354,0x00000000)
eeObj.WriteMem32(0x01FEB358,0x1000002f)
eeObj.WriteMem32(0x01FEB35C,0x00000000)
eeObj.WriteMem32(0x01FEB360,0x8fa30088)
eeObj.WriteMem32(0x01FEB364,0x8c6303e4)
eeObj.WriteMem32(0x01FEB368,0x3c020003)
eeObj.WriteMem32(0x01FEB36C,0x00431024)
eeObj.WriteMem32(0x01FEB370,0x10400029)
eeObj.WriteMem32(0x01FEB374,0x00000000)
eeObj.WriteMem32(0x01FEB378,0x10000011)
eeObj.WriteMem32(0x01FEB37C,0x00000000)
eeObj.WriteMem32(0x01FEB380,0x8fa30088)
eeObj.WriteMem32(0x01FEB384,0x8c630334)
eeObj.WriteMem32(0x01FEB388,0x3c020400)
eeObj.WriteMem32(0x01FEB38C,0x00431024)
eeObj.WriteMem32(0x01FEB390,0x10400021)
eeObj.WriteMem32(0x01FEB394,0x00000000)
eeObj.WriteMem32(0x01FEB398,0x1000000b)
eeObj.WriteMem32(0x01FEB39C,0x00000000)
eeObj.WriteMem32(0x01FEB3A0,0x8fa30088)
eeObj.WriteMem32(0x01FEB3A4,0x8C630214)
eeObj.WriteMem32(0x01FEB3A8,0x34022000)
eeObj.WriteMem32(0x01FEB3AC,0x00431024)
eeObj.WriteMem32(0x01FEB3B0,0x10400019)
eeObj.WriteMem32(0x01FEB3B4,0x00000000)
eeObj.WriteMem32(0x01FEB3B8,0x10000005)
eeObj.WriteMem32(0x01FEB3BC,0x00000000)
eeObj.WriteMem32(0x01FEB3C0,0x10000005)
eeObj.WriteMem32(0x01FEB3C4,0x3c0241d0)
eeObj.WriteMem32(0x01FEB3C8,0x10000003)
eeObj.WriteMem32(0x01FEB3CC,0x3c0242d0)
eeObj.WriteMem32(0x01FEB3D0,0x10000001)
eeObj.WriteMem32(0x01FEB3D4,0x3c0242c8)
eeObj.WriteMem32(0x01FEB3D8,0x3c033f80)
eeObj.WriteMem32(0x01FEB3DC,0x0002383c)
eeObj.WriteMem32(0x01FEB3E0,0x00e23825)
eeObj.WriteMem32(0x01FEB3E4,0x0003183c)
eeObj.WriteMem32(0x01FEB3E8,0x00621825)
eeObj.WriteMem32(0x01FEB3EC,0x70675b89)
eeObj.WriteMem32(0x01FEB3F0,0x7c8b0000)
eeObj.WriteMem32(0x01FEB3F4,0x3c023f80)
eeObj.WriteMem32(0x01FEB3F8,0x3c033f80)
eeObj.WriteMem32(0x01FEB3FC,0x0002383c)
eeObj.WriteMem32(0x01FEB400,0x00e23825)
eeObj.WriteMem32(0x01FEB404,0x0003183c)
eeObj.WriteMem32(0x01FEB408,0x00621825)
eeObj.WriteMem32(0x01FEB40C,0x70675b89)
eeObj.WriteMem32(0x01feb410,0x7cab0000)
eeObj.WriteMem32(0x01feb414,0x00000000)
eeObj.WriteMem32(0x01feb418,0x3c073f80)
eeObj.WriteMem32(0x01feb41c,0x03e00008)
eeObj.WriteMem32(0x01feb420,0x44870000)
eeObj.WriteMem32(0x00258080,0x24030009)
eeObj.WriteMem32(0x0020d214,0x64020000)

end

emuObj.AddVsyncHook(patcher)

Resident Evil 4 Graphics Booster. Deutsch Lang Test!
VIDEO
 
It's that season again, so I'll go ahead release this fix(and a few others) I've been sitting on for a while now... maybe someone else can post some new fixes as well

Tim Burton's The Nightmare Before Christmas - Oogie's Revenge (NTSC & PAL)

CLI
Code:
--gs-uprender=2x2
--gs-upscale=EdgeSmooth
--gs-vert-precision=8 #<--fixed graphical issues

--host-display-mode=16:9

--cdvd-sector-read-cycles=8000

#emu used=psychonauts v2
LUA(ntsc only)
Code:
-- Tim Burton's The Nightmare Before Christmas Oogie's Revenge(NTSC-U)(SLUS-20860)
-- Widescreen Hack by Arapapa
-- no interlace by Second Reality @PCSX2 forums
-- emu used=psychonauts v2

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

apiRequest(0.1)

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

-- no interlace
eeInsnReplace(0x2021C60C,0x30420001,0x30420000)

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

--d7a3f03e 00000045 00000045 0000a040
eeObj.WriteMem32(0x2070CDD8,0x3F206D2F) -- 3ef0a3d7

eeObj.WriteMem32(0x2151E1D4,0x3F19999A) -- 3D figures
eeObj.WriteMem32(0x206FA908,0x3F400000) -- 2D figures

eeObj.WriteMem32(0x20D5BA90,0x3F400000) --area 1
eeObj.WriteMem32(0x20D5BAE4,0x3F400000) --area 2

eeObj.WriteMem32(0x206F9D40,0x3F400000) --FMV subtitles
eeObj.WriteMem32(0x204A4500,0x3F400000) --cutscene subtitles
eeObj.WriteMem32(0x204A1200,0x3F400000) --conversation subtitles
eeObj.WriteMem32(0x204AC350,0x3F400000) --musical subtitles
eeObj.WriteMem32(0x204A1A3C,0x3F400000) --pumpkin width
eeObj.WriteMem32(0x204A0870,0x3F400000) --closet text

eeObj.WriteMem32(0x2049771C,0x3F400000) --inventory item icon
eeObj.WriteMem32(0x203A1AF0,0x3F400000) --inventory item text
eeObj.WriteMem32(0x203A1B10,0x3F400000) --inventory item description text

eeObj.WriteMem32(0x204988A8,0x3F400000) --index selected
eeObj.WriteMem32(0x20498944,0x3F400000) --index unselected
eeObj.WriteMem32(0x204989E0,0x3F400000) --index description text
eeObj.WriteMem32(0x20498A7C,0x3F400000) --index residents
eeObj.WriteMem32(0x2049880C,0x3F400000) --index portraits

eeObj.WriteMem32(0x204A50B4,0x3F400000) --shop item text
eeObj.WriteMem32(0x204A5150,0x3F400000) --shop item icon

eeObj.WriteMem32(0x204B72A8,0x3F400000) --results chapter
eeObj.WriteMem32(0x204B7424,0x3F400000) --results info
eeObj.WriteMem32(0x204B74C0,0x3F400000) --results time rank
eeObj.WriteMem32(0x204B755C,0x3F400000) --results combo rank
eeObj.WriteMem32(0x204B75F8,0x3F400000) --results damage rank
eeObj.WriteMem32(0x204B7694,0x3F400000) --results count rank
eeObj.WriteMem32(0x204B7730,0x3F400000) --results nightmare rank
eeObj.WriteMem32(0x204B7904,0x3F400000) --results "press any button"

eeObj.WriteMem32(0x204B77CC,0x3F400000) --results menu 1
eeObj.WriteMem32(0x204B7868,0x3F400000) --results menu 2


--eeObj.SchedulerDelayEvent("gif.dma", 0x8500)
emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(patcher)

Graphical issues resolved.

How do i add cli and lua files my nightmare bfore christmas looks like crap on my ps4 i tried multiple times
 
Last edited by a moderator:
config for Airblade

CLI
Code:
--vu0-no-clamping=0
--vu1-no-clamping=0

--gs-uprender=2x2
--gs-upscale=EdgeSmooth

--host-display-mode=16:9

#emu used=GTA3v1
LUA
Code:
-- Airblade
-- emu used=GTA3v1

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

apiRequest(0.1)

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

local patcher = function()

--Zoom
--8e3c023c 35fa4234 (1st)
eeObj.WriteMem32(0x00130fd4,0x3c023caf)

--Y-Fov
--803f043c c2180046
eeObj.WriteMem32(0x00130f60,0x3c043f40)

end

emuObj.AddVsyncHook(patcher)

FiX for PAL version

TXT
Code:
--host-display-mode=16:9
--vu0-no-clamping=0
--vu1-no-clamping=0
--ps2-lang=system

LUA
Code:
-- Airblade (PAL)
-- emu used=GTA3v1

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

apiRequest(0.1)

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

local patcher = function()

--Widescreen
--Zoom
eeObj.WriteMem32(0x20130FC4,0x3C023CAF)

--Y-Fov
eeObj.WriteMem32(0x20130F5C,0x3C043F40)

--All Levels And Stunt Attacks Are Unlocked
eeObj.WriteMem32(0x20327CB8,0x00000001)
eeObj.WriteMem32(0x20327CD0,0x00000001)
eeObj.WriteMem32(0x20327CE8,0x00000001)
eeObj.WriteMem32(0x20327D00,0x00000001)
eeObj.WriteMem32(0x20327D18,0x00000001)

end

emuObj.AddVsyncHook(patcher)

AirBlade. Short GamePlay!
VIDEO
 
Tom Clancy's Splinter Cell™ Chaos Theory® (SLUS_21137)

CLI
Code:
--gs-uprender=2x2
--gs-upscale=edgesmooth
--gs-kernel-cl="h2lpool"
--gs-kernel-cl-up="h2lpool2x2"

--vu1-di-bits=0

--gs-progressive=1
--cdvd-sector-read-cycles=4000
LUA
Code:
-- Tom Clancy's Splinter Cell™ Chaos Theory® (SLUS_21137)
-- Widescreen hack by nemesis2000
-- Menu/In-game Stutter fix by Stayhye
-- ported to PS4 lua
-- emu used=kof98um

apiRequest(0.1)

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

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

--in-game stutter fix
eeObj.AddHook(0x0061e108, 0x8d240000, function() -- lw a0, $0000(t1)
          eeObj.AdvanceClock(10000)
          --eeObj.Vu1MpgCycles(2500)
end)

local WS = function()
-- menu stutter fix
eeObj.WriteMem32(0x0077e968,0x10000013) -- 0x12000013 >> beq s0, zero, $0077e9b8
--16:9
eeObj.WriteMem32(0x001f2904,0xe6600084)
eeObj.WriteMem32(0x001f2908,0x3c01007e)
eeObj.WriteMem32(0x001f290c,0xc42069d0)
eeObj.WriteMem32(0x001f2910,0x24030004)
eeObj.WriteMem32(0x001f2914,0x3c023f80)
eeObj.WriteMem32(0x001f2918,0xe66000d0)
eeObj.WriteMem32(0x001f291c,0x3c01007e)
eeObj.WriteMem32(0x001f2920,0xc42069d4)
eeObj.WriteMem32(0x001f2924,0xe66000d4)
eeObj.WriteMem32(0x001f2928,0x3c01007e)
eeObj.WriteMem32(0x001f292c,0xc42069d8)
eeObj.WriteMem32(0x001f2930,0xe66000d8)
eeObj.WriteMem32(0x001f2934,0x3c01007e)
eeObj.WriteMem32(0x001f2938,0xc42069dc)
eeObj.WriteMem32(0x001f293c,0xe66000dc)
eeObj.WriteMem32(0x001f2940,0x3c01007e)
eeObj.WriteMem32(0x001f2944,0xc42069d0)
eeObj.WriteMem32(0x001f2948,0xe6600110)
eeObj.WriteMem32(0x001f294c,0x3c01007e)
eeObj.WriteMem32(0x001f2950,0xc42069d4)
eeObj.WriteMem32(0x001f2954,0xe6600114)
eeObj.WriteMem32(0x001f2958,0x3c01007e)
eeObj.WriteMem32(0x001f295c,0xc42069d8)
eeObj.WriteMem32(0x001f2960,0xe6600118)
eeObj.WriteMem32(0x001f2964,0x3c01007e)
eeObj.WriteMem32(0x001f2968,0xc42069dc)
eeObj.WriteMem32(0x001f296c,0xe660011c)
eeObj.WriteMem32(0x001f2970,0x3c01007e)
eeObj.WriteMem32(0x001f2974,0xc42069d0)
eeObj.WriteMem32(0x001f2978,0xe6600120)
eeObj.WriteMem32(0x001f297c,0x3c01007e)
eeObj.WriteMem32(0x001f2980,0xc42069d4)
eeObj.WriteMem32(0x001f2984,0xe6600124)
eeObj.WriteMem32(0x001f2988,0x3c01007e)
eeObj.WriteMem32(0x001f298c,0xc42069d8)
eeObj.WriteMem32(0x001f2990,0xe6600128)
eeObj.WriteMem32(0x001f2994,0x3c01007e)
eeObj.WriteMem32(0x001f2998,0xc42069dc)
eeObj.WriteMem32(0x001f299c,0xe660012c)
eeObj.WriteMem32(0x001f29a0,0x3c01007f)
eeObj.WriteMem32(0x001f29a4,0xae600130)
eeObj.WriteMem32(0x001f29a8,0xae600138)
eeObj.WriteMem32(0x001f29ac,0xae600134)
eeObj.WriteMem32(0x001f29b0,0xae6300a4)
eeObj.WriteMem32(0x001f29b4,0xae600098)
eeObj.WriteMem32(0x001f29b8,0xae600094)
eeObj.WriteMem32(0x001f29bc,0xae62009c)
eeObj.WriteMem32(0x001f29c0,0x3c023f80)
eeObj.WriteMem32(0x001f29c4,0xae6200a0)

eeObj.SchedulerDelayEvent("vif1.dma", 0x1600)
emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(WS)

emuObj.SetGsTitleFix( "globalSet",  "reserved", { waveThreshold = 90000} )
emuObj.SetGsTitleFix( "ignoreAreaUpdate", 0, { } )

All stutter/slowdown removed. Tested a little, Mostly the first mission.
 
Last edited:
Alien Hominid NTSC

CLI
Code:
--gs-uprender=2x2
--gs-upscale=edgesmooth
--gs-progressive=1
--cdvd-sector-read-cycles=2000
--force-frame-blend=1
--host-audio-latency=0.30
--ee-hook=0x00196ca8,AdvanceClock,,16000
--ee-hook=0x00196d80,AdvanceClock,,20000
--ee-cycle-scalar=1.3
LUA
Code:
-- Alien Hominid NTSC
-- Widescreen Hack
-- ported to PS4 Lua
-- emu used=kof98um

apiRequest(0.1)

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

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

--16:9
eeInsnReplace(0x2017C7D8,0x0160b02d,0x08030000) --Jump to Rectangle Scaling Code
eeInsnReplace(0x200C0000,0x00000000,0x3C153F40) --Rectangle Scale
eeInsnReplace(0x200C0004,0x00000000,0x44955000) --Move Rectangle Scale to F10
eeInsnReplace(0x200C0008,0x00000000,0xC4A90000) --Load Lower-Left of Rectangle into f9
eeInsnReplace(0x200C000C,0x00000000,0xC4C80000) --Load Upper-Right of Rectangle into f8
eeInsnReplace(0x200C0010,0x00000000,0xC4E70000) --Load Lower-Right of Ractangle into f7
eeInsnReplace(0x200C0014,0x00000000,0xC5060000) --Load Upper-Left of Ractangle into f7
eeInsnReplace(0x200C0018,0x00000000,0x460A4A42) --Multiply Lower-Left of Rectangle by Rectangle Scale
eeInsnReplace(0x200C001C,0x00000000,0x460A4202) --Multiply Upper-Right of Rectangle by Rectangle Scale
eeInsnReplace(0x200C0020,0x00000000,0x460A39C2) --Multiply Lower-Right of Rectangle by Rectangle Scale
eeInsnReplace(0x200C0024,0x00000000,0x460A3182) --Multiply Upper-Left of Rectangle by Rectangle Scale
eeInsnReplace(0x200C0028,0x00000000,0xE4A90000) --Update Lower-Left of Rectangle
eeInsnReplace(0x200C002C,0x00000000,0xE4C80000) --Update Upper-Right of Rectangle
eeInsnReplace(0x200C0030,0x00000000,0xE4E70000) --Update Lower-Right of Rectangle
eeInsnReplace(0x200C0034,0x00000000,0xE5060000) --Update Upper-Left of Rectangle
eeInsnReplace(0x200C0038,0x00000000,0x0805F1F8) --Return to Original Code
eeInsnReplace(0x200C003C,0x00000000,0x0160B021) --Original Instruction
eeInsnReplace(0x2013E2B8,0x144000a6,0x00000000) --Sprite Render Fix
eeInsnReplace(0x20102A20,0x00a0982d,0x24B3FF96) --Counters X Offset
eeInsnReplace(0x20102AC0,0x06600005,0x00000000) --Fix Counter Visibility Near Left Edge
eeInsnReplace(0x2014BDD0,0x24020262,0x24020337) --Walk Range Width
eeInsnReplace(0x2014BD94,0x3c024420,0x3C024455) --Object Viewport Width
eeInsnReplace(0x20129C38,0x3c034420,0x3C034455) --Background Colour Plane Width


local Cheats = function()
--PDA Games
eeObj.WriteMem32(0x00506633,0x00000001)
--Challenge by MadCatz
eeObj.WriteMem32(0x00506634,0x00000001)
--Missile Master by MadCatz
eeObj.WriteMem32(0x00506635,0x00000001)
--Neutron Ball by MadCatz
eeObj.WriteMem32(0x00506636,0x00000001)
--Pinata Boss by MadCatz
eeObj.WriteMem32(0x00506637,0x00000001)


emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(Cheats)

No issues. Tested a little.
 
Last edited:
Alien Hominid NTSC

CLI
Code:
--gs-uprender=2x2
--gs-upscale=edgesmooth
--gs-progressive=1
--cdvd-sector-read-cycles=2000
--force-frame-blend=1
--host-audio-latency=0.30
--ee-hook=0x00196ca8,AdvanceClock,,16000
--ee-hook=0x00196d80,AdvanceClock,,20000
--ee-cycle-scalar=1.3
LUA
Code:
-- Alien Hominid NTSC
-- Widescreen Hack
-- ported to PS4 Lua
-- emu used=kof98um

apiRequest(0.1)

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

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

--16:9
eeInsnReplace(0x2017C7D8,0x0160b02d,0x08030000) --Jump to Rectangle Scaling Code
eeInsnReplace(0x200C0000,0x00000000,0x3C153F40) --Rectangle Scale
eeInsnReplace(0x200C0004,0x00000000,0x44955000) --Move Rectangle Scale to F10
eeInsnReplace(0x200C0008,0x00000000,0xC4A90000) --Load Lower-Left of Rectangle into f9
eeInsnReplace(0x200C000C,0x00000000,0xC4C80000) --Load Upper-Right of Rectangle into f8
eeInsnReplace(0x200C0010,0x00000000,0xC4E70000) --Load Lower-Right of Ractangle into f7
eeInsnReplace(0x200C0014,0x00000000,0xC5060000) --Load Upper-Left of Ractangle into f7
eeInsnReplace(0x200C0018,0x00000000,0x460A4A42) --Multiply Lower-Left of Rectangle by Rectangle Scale
eeInsnReplace(0x200C001C,0x00000000,0x460A4202) --Multiply Upper-Right of Rectangle by Rectangle Scale
eeInsnReplace(0x200C0020,0x00000000,0x460A39C2) --Multiply Lower-Right of Rectangle by Rectangle Scale
eeInsnReplace(0x200C0024,0x00000000,0x460A3182) --Multiply Upper-Left of Rectangle by Rectangle Scale
eeInsnReplace(0x200C0028,0x00000000,0xE4A90000) --Update Lower-Left of Rectangle
eeInsnReplace(0x200C002C,0x00000000,0xE4C80000) --Update Upper-Right of Rectangle
eeInsnReplace(0x200C0030,0x00000000,0xE4E70000) --Update Lower-Right of Rectangle
eeInsnReplace(0x200C0034,0x00000000,0xE5060000) --Update Upper-Left of Rectangle
eeInsnReplace(0x200C0038,0x00000000,0x0805F1F8) --Return to Original Code
eeInsnReplace(0x200C003C,0x00000000,0x0160B021) --Original Instruction
eeInsnReplace(0x2013E2B8,0x144000a6,0x00000000) --Sprite Render Fix
eeInsnReplace(0x20102A20,0x00a0982d,0x24B3FF96) --Counters X Offset
eeInsnReplace(0x20102AC0,0x06600005,0x00000000) --Fix Counter Visibility Near Left Edge
eeInsnReplace(0x2014BDD0,0x24020262,0x24020337) --Walk Range Width
eeInsnReplace(0x2014BD94,0x3c024420,0x3C024455) --Object Viewport Width
eeInsnReplace(0x20129C38,0x3c034420,0x3C034455) --Background Colour Plane Width


local Cheats = function()
--PDA Games
eeObj.WriteMem32(0x00506633,0x00000001)
--Challenge by MadCatz
eeObj.WriteMem32(0x00506634,0x00000001)
--Missile Master by MadCatz
eeObj.WriteMem32(0x00506635,0x00000001)
--Neutron Ball by MadCatz
eeObj.WriteMem32(0x00506636,0x00000001)
--Pinata Boss by MadCatz
eeObj.WriteMem32(0x00506637,0x00000001)


emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(Cheats)

No issues. Tested a little.

Updated config, good!
 
Alien Hominid PAL

CLI
Code:
--gs-uprender=2x2
--gs-upscale=edgesmooth
--gs-progressive=1
--cdvd-sector-read-cycles=2000

--host-audio-latency=0.30
--ee-hook=0x00177c90,AdvanceClock,,3300
--ee-hook=0x00137014,AdvanceClock,,3100
--ee-cycle-scalar=1.3
LUA
Code:
-- Alien Hominid PAL
-- 60fps /480p by jonaand
-- emu used=kof98um

apiRequest(0.1)

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

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

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

local WS = function()
--480p SDTV progresive 60fps--
eeObj.WriteMem32(0x00199ee4,0x3c090010)
eeObj.WriteMem32(0x00199c14,0x3c050000)
eeObj.WriteMem32(0x00199c1c,0x3c060050)
eeObj.WriteMem32(0x00199c24,0x3c070001)

emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(WS)

No issues. Tested a little.
 
Tom Clancy's Splinter Cell™® NTSC

CLI
Code:
--gs-uprender=2x2
--gs-upscale=edgesmooth
--gs-kernel-cl="h2lpool"
--gs-kernel-cl-up="h2lpool2x2"

--vu1-di-bits=0

--gs-progressive=1
--cdvd-sector-read-cycles=4000
LUA
Code:
-- Tom Clancy's Splinter Cell™®
-- Widescreen hack by nemesis2000
-- Stutter fix by Stayhye
-- ported to PS4 lua
-- emu used=kof98um

apiRequest(0.1)

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

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


--in-game stutter fix A
eeObj.AddHook(0x002cc350, 0x78a30000, function() -- lq v1, $0000(a1)
          eeObj.AdvanceClock(21000)
          eeObj.Vu1MpgCycles(2000)
end)

--in-game stutter fix B
eeObj.AddHook(0x002cc354, 0x27bdffd0, function() -- addiu sp, sp, $ffd0
          eeObj.FastForwardClock()
end)

local WS = function()
--16:9
eeObj.WriteMem32(0x001cf514,0x8f828ff8)
eeObj.WriteMem32(0x001cf518,0x14400005)
eeObj.WriteMem32(0x001cf51c,0x3c040045)
eeObj.WriteMem32(0x001cf520,0x0c0776c8)
eeObj.WriteMem32(0x001cf524,0x24842c32)
eeObj.WriteMem32(0x001cf528,0x0c077680)
eeObj.WriteMem32(0x001cf52c,0xaf828ff8)
eeObj.WriteMem32(0x001cf530,0x8f848ff8)
eeObj.WriteMem32(0x001cf534,0x3c060045)
eeObj.WriteMem32(0x001cf538,0x0000282d)
eeObj.WriteMem32(0x001cf53c,0x24c62c52)
eeObj.WriteMem32(0x001cf540,0x0000382d)
eeObj.WriteMem32(0x001cf544,0x24080001)
eeObj.WriteMem32(0x001cf548,0x0c05a194)
eeObj.WriteMem32(0x001cf54c,0x0000482d)
eeObj.WriteMem32(0x001cf550,0x0040802d)
eeObj.WriteMem32(0x001cf554,0x0c0592ac)
eeObj.WriteMem32(0x001cf558,0xafa00088)
eeObj.WriteMem32(0x001cf55c,0x8fa60088)
eeObj.WriteMem32(0x001cf560,0x0200202d)
eeObj.WriteMem32(0x001cf564,0x8f89801c)
eeObj.WriteMem32(0x001cf568,0x0040282d)
eeObj.WriteMem32(0x001cf56c,0x0000382d)
eeObj.WriteMem32(0x001cf570,0x0000402d)
eeObj.WriteMem32(0x001cf574,0x0c058fdc)
eeObj.WriteMem32(0x001cf578,0x0000502d)
eeObj.WriteMem32(0x001cf57c,0x8fa3005c)
eeObj.WriteMem32(0x001cf580,0x0c05e844)
eeObj.WriteMem32(0x001cf584,0xac620060)
eeObj.WriteMem32(0x001cf588,0x8fa6005c)
eeObj.WriteMem32(0x001cf58c,0x3c023fd4)
eeObj.WriteMem32(0x001cf590,0x34437ae1)
eeObj.WriteMem32(0x001cf594,0x24050004)
eeObj.WriteMem32(0x001cf598,0x3c043f40) --hor val
eeObj.WriteMem32(0x001cf59c,0xe4c00070)
eeObj.WriteMem32(0x001cf5a0,0x8fa2005c)
eeObj.WriteMem32(0x001cf5a4,0xac4000c0)
eeObj.WriteMem32(0x001cf5a8,0x8fa2005c)
eeObj.WriteMem32(0x001cf5ac,0xac4000c4)
eeObj.WriteMem32(0x001cf5b0,0x8fa2005c)
eeObj.WriteMem32(0x001cf5b4,0xac4000c8)
eeObj.WriteMem32(0x001cf5b8,0x8fa2005c)
eeObj.WriteMem32(0x001cf5bc,0xe45400cc)
eeObj.WriteMem32(0x001cf5c0,0x8fa2005c)
eeObj.WriteMem32(0x001cf5c4,0xac4000e0)
eeObj.WriteMem32(0x001cf5c8,0x8fa2005c)
eeObj.WriteMem32(0x001cf5cc,0xac4000e4)
eeObj.WriteMem32(0x001cf5d0,0x8fa2005c)
eeObj.WriteMem32(0x001cf5d4,0xac4000e8)
eeObj.WriteMem32(0x001cf5d8,0x8fa2005c)
eeObj.WriteMem32(0x001cf5dc,0xe45400ec)
eeObj.WriteMem32(0x001cf5e0,0x8fa2005c)
eeObj.WriteMem32(0x001cf5e4,0xac4000f0)
eeObj.WriteMem32(0x001cf5e8,0x8fa2005c)
eeObj.WriteMem32(0x001cf5ec,0xac4000f4)
eeObj.WriteMem32(0x001cf5f0,0x8fa2005c)
eeObj.WriteMem32(0x001cf5f4,0xac4000f8)
eeObj.WriteMem32(0x001cf5f8,0x8fa2005c)
eeObj.WriteMem32(0x001cf5fc,0xe45400fc)
eeObj.WriteMem32(0x001cf600,0x8fa2005c)
eeObj.WriteMem32(0x001cf604,0xac400100)
eeObj.WriteMem32(0x001cf608,0x8fa2005c)
eeObj.WriteMem32(0x001cf60c,0xac400108)
eeObj.WriteMem32(0x001cf610,0x8fa2005c)
eeObj.WriteMem32(0x001cf614,0xac400104)
eeObj.WriteMem32(0x001cf618,0x8fa2005c)
eeObj.WriteMem32(0x001cf61c,0xac450090)
eeObj.WriteMem32(0x001cf620,0x8fa2005c)
eeObj.WriteMem32(0x001cf624,0xac400084)
eeObj.WriteMem32(0x001cf628,0x8fa2005c)
eeObj.WriteMem32(0x001cf62c,0xac400080)
eeObj.WriteMem32(0x001cf630,0x8fa2005c)
eeObj.WriteMem32(0x001cf634,0xac440088)
eeObj.WriteMem32(0x001cf638,0x8fa2005c)
eeObj.WriteMem32(0x001cf63c,0x3c043f80)
eeObj.WriteMem32(0x001cf640,0xac44008c)

emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(WS)

emuObj.SetGsTitleFix( "globalSet",  "reserved", { waveThreshold = 90000} )
emuObj.SetGsTitleFix( "ignoreAreaUpdate", 0, { } )

All stutter removed. FastForward/AdvanceClock probably can be reduced, but I tested with headphones on, so I might have went OCD with the value. Didn't test too much. Feedback welcome
 
Last edited:
If it freeze on splashscreen that mean u use bad emu!
Found another bug, after beating The End there is a crash while loading the tunnel with BFL (big freaking ladder), fixed it by passing the tunnel on pcsx2. Haven't found the log though.
Here is the guide how to fix it yourself
  1. Install Apollo save tool(use GOLDHen)
  2. Put in your usb drive/stick (it can be fairly small, even 256 meg ones will do)
  3. Proceed to HDD saves
  4. Find MGS3 and copy it to usb(dont use extract)
  5. Plug your usb stick into your pc, then proceed to yourdrive:PS4/APOLLO/nonsence_SLUS(your number,mine was 21379, cause i used vika23s pkg)-SLUS21359/, there you will find 2 cards and sce_sys folder
  6. Copy them to memcards folder in PCSX2 and change their extension to .ps2
  7. Insert them trough PCSX2s settings, load and proceed to climb the BFL, exit the location and save
  8. Rename them back to .card and copy them back to the original location on the usb
  9. Put the usb back to the PS4 and proceed to usb saves in Apollo save tool (You might need to restart the program if it doesnt find them)
  10. Choose MGS 3 and copy it to the HDD
  11. Play
 
Last edited by a moderator:
Tom Clancy's Splinter Cell™® NTSC

CLI
Code:
--gs-uprender=2x2
--gs-upscale=edgesmooth
--gs-kernel-cl="h2lpool"
--gs-kernel-cl-up="h2lpool2x2"

--vu1-di-bits=0

--gs-progressive=1
--cdvd-sector-read-cycles=4000
LUA
Code:
-- Tom Clancy's Splinter Cell™®
-- Widescreen hack by nemesis2000
-- Stutter fix by Stayhye
-- ported to PS4 lua
-- emu used=kof98um

apiRequest(0.1)

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

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


--in-game stutter fix A
eeObj.AddHook(0x002cc350, 0x78a30000, function() -- lq v1, $0000(a1)
          eeObj.AdvanceClock(21000)
          eeObj.Vu1MpgCycles(2000)
end)

--in-game stutter fix B
eeObj.AddHook(0x002cc354, 0x27bdffd0, function() -- addiu sp, sp, $ffd0
          eeObj.FastForwardClock(8000)
end)

local WS = function()
--16:9
eeObj.WriteMem32(0x001cf514,0x8f828ff8)
eeObj.WriteMem32(0x001cf518,0x14400005)
eeObj.WriteMem32(0x001cf51c,0x3c040045)
eeObj.WriteMem32(0x001cf520,0x0c0776c8)
eeObj.WriteMem32(0x001cf524,0x24842c32)
eeObj.WriteMem32(0x001cf528,0x0c077680)
eeObj.WriteMem32(0x001cf52c,0xaf828ff8)
eeObj.WriteMem32(0x001cf530,0x8f848ff8)
eeObj.WriteMem32(0x001cf534,0x3c060045)
eeObj.WriteMem32(0x001cf538,0x0000282d)
eeObj.WriteMem32(0x001cf53c,0x24c62c52)
eeObj.WriteMem32(0x001cf540,0x0000382d)
eeObj.WriteMem32(0x001cf544,0x24080001)
eeObj.WriteMem32(0x001cf548,0x0c05a194)
eeObj.WriteMem32(0x001cf54c,0x0000482d)
eeObj.WriteMem32(0x001cf550,0x0040802d)
eeObj.WriteMem32(0x001cf554,0x0c0592ac)
eeObj.WriteMem32(0x001cf558,0xafa00088)
eeObj.WriteMem32(0x001cf55c,0x8fa60088)
eeObj.WriteMem32(0x001cf560,0x0200202d)
eeObj.WriteMem32(0x001cf564,0x8f89801c)
eeObj.WriteMem32(0x001cf568,0x0040282d)
eeObj.WriteMem32(0x001cf56c,0x0000382d)
eeObj.WriteMem32(0x001cf570,0x0000402d)
eeObj.WriteMem32(0x001cf574,0x0c058fdc)
eeObj.WriteMem32(0x001cf578,0x0000502d)
eeObj.WriteMem32(0x001cf57c,0x8fa3005c)
eeObj.WriteMem32(0x001cf580,0x0c05e844)
eeObj.WriteMem32(0x001cf584,0xac620060)
eeObj.WriteMem32(0x001cf588,0x8fa6005c)
eeObj.WriteMem32(0x001cf58c,0x3c023fd4)
eeObj.WriteMem32(0x001cf590,0x34437ae1)
eeObj.WriteMem32(0x001cf594,0x24050004)
eeObj.WriteMem32(0x001cf598,0x3c043f40) --hor val
eeObj.WriteMem32(0x001cf59c,0xe4c00070)
eeObj.WriteMem32(0x001cf5a0,0x8fa2005c)
eeObj.WriteMem32(0x001cf5a4,0xac4000c0)
eeObj.WriteMem32(0x001cf5a8,0x8fa2005c)
eeObj.WriteMem32(0x001cf5ac,0xac4000c4)
eeObj.WriteMem32(0x001cf5b0,0x8fa2005c)
eeObj.WriteMem32(0x001cf5b4,0xac4000c8)
eeObj.WriteMem32(0x001cf5b8,0x8fa2005c)
eeObj.WriteMem32(0x001cf5bc,0xe45400cc)
eeObj.WriteMem32(0x001cf5c0,0x8fa2005c)
eeObj.WriteMem32(0x001cf5c4,0xac4000e0)
eeObj.WriteMem32(0x001cf5c8,0x8fa2005c)
eeObj.WriteMem32(0x001cf5cc,0xac4000e4)
eeObj.WriteMem32(0x001cf5d0,0x8fa2005c)
eeObj.WriteMem32(0x001cf5d4,0xac4000e8)
eeObj.WriteMem32(0x001cf5d8,0x8fa2005c)
eeObj.WriteMem32(0x001cf5dc,0xe45400ec)
eeObj.WriteMem32(0x001cf5e0,0x8fa2005c)
eeObj.WriteMem32(0x001cf5e4,0xac4000f0)
eeObj.WriteMem32(0x001cf5e8,0x8fa2005c)
eeObj.WriteMem32(0x001cf5ec,0xac4000f4)
eeObj.WriteMem32(0x001cf5f0,0x8fa2005c)
eeObj.WriteMem32(0x001cf5f4,0xac4000f8)
eeObj.WriteMem32(0x001cf5f8,0x8fa2005c)
eeObj.WriteMem32(0x001cf5fc,0xe45400fc)
eeObj.WriteMem32(0x001cf600,0x8fa2005c)
eeObj.WriteMem32(0x001cf604,0xac400100)
eeObj.WriteMem32(0x001cf608,0x8fa2005c)
eeObj.WriteMem32(0x001cf60c,0xac400108)
eeObj.WriteMem32(0x001cf610,0x8fa2005c)
eeObj.WriteMem32(0x001cf614,0xac400104)
eeObj.WriteMem32(0x001cf618,0x8fa2005c)
eeObj.WriteMem32(0x001cf61c,0xac450090)
eeObj.WriteMem32(0x001cf620,0x8fa2005c)
eeObj.WriteMem32(0x001cf624,0xac400084)
eeObj.WriteMem32(0x001cf628,0x8fa2005c)
eeObj.WriteMem32(0x001cf62c,0xac400080)
eeObj.WriteMem32(0x001cf630,0x8fa2005c)
eeObj.WriteMem32(0x001cf634,0xac440088)
eeObj.WriteMem32(0x001cf638,0x8fa2005c)
eeObj.WriteMem32(0x001cf63c,0x3c043f80)
eeObj.WriteMem32(0x001cf640,0xac44008c)

emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(WS)

emuObj.SetGsTitleFix( "globalSet",  "reserved", { waveThreshold = 90000} )
emuObj.SetGsTitleFix( "ignoreAreaUpdate", 0, { } )

All stutter removed. FastForward/AdvanceClock probably can be reduced, but I tested with headphones on, so I might have went OCD with the value. Didn't test too much. Feedback welcome
My feedback: I don't think FastForwardClock accepts any value :rolleyes new:.
 
Found another bug, after beating The End there is a crash while loading the tunnel with BFL (big freaking ladder), fixed it by passing the tunnel on pcsx2. Haven't found the log though.
Here is the guide how to fix it yourself
  1. Install Apollo save tool(use GOLDHen)
  2. Put in your usb drive/stick (it can be fairly small, even 256 meg ones will do)
  3. Proceed to HDD saves
  4. Find MGS3 and copy it to usb(dont use extract)
  5. Plug your usb stick into your pc, then proceed to yourdrive:PS4/APOLLO/nonsence_SLUS(your number,mine was 21379, cause i used vika23s pkg)-SLUS21359/, there you will find 2 cards and sce_sys folder
  6. Copy them to memcards folder in PCSX2 and change their extension to .ps2
  7. Insert them trough PCSX2s settings, load and proceed to climb the BFL, exit the location and save
  8. Rename them back to .card and copy them back to the original location on the usb
  9. Put the usb back to the PS4 and proceed to usb saves in Apollo save tool (You might need to restart the program if it doesnt find them)
  10. Choose MGS 3 and copy it to the HDD
  11. Play

The End mean end of game or its middle of game? also will be good if u attach saves from pcsx2 here for skip that tunnel or ladder!
 
Last edited by a moderator:
Johnny Bravo Date o Rama! (SLES54671)

TXT
Code:
--gs-progressive=1
--cdvd-sector-read-cycles=2000
--ee-cycle-scalar=1.8
--mtap1=always

LUA
Code:
-- Johnny Bravo Date o Rama!
-- emu used=ADK

apiRequest(1.0)   

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

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

local patcher = function()

emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(patcher)

Speed up some loading screens!

Silly game but fun :congratulatory::congratulatory::congratulatory:

Johnny Bravo Date o Rama. Short GamePlay!
VIDEO
 
Trying the impossible......

WIP fix for Marvel Nemesis™ Rise of the Imperfects® NTSC

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

--ee-cycle-scalar=1.5

--vif1-instant-xfer=0 #stops emu from crashing

--ee-static-block-links=JAL,Branches
LUA
Code:
-- Marvel Nemesis™ Rise of the Imperfects®
-- ported to PS4 Lua
-- emu used=kof98um

require("utils")

apiRequest(0.1)

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

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

local FFC = function()
   eeObj.FastForwardClock()
end

local ADVC = function()
   eeObj.AdvanceClock(7000)
end

local VU1 = function()
   eeObj.Vu1MpgCycles(500)
end

local VIF1 = function()
   eeObj.SchedulerDelayEvent("vif1.dma", 0x1500)
end
 
--FMV fix
eeObj.AddHook(0x00116ae0, 0x24100001, FFC) -- addiu s0, zero, $0001
-- Menu fix A
eeObj.AddHook(0x0032cf9c, 0x8e020058, FFC) -- lw v0, $0058(s0)
-- Menu/Select Stage Fix
eeObj.AddHook(0x0032cfb0, 0x44820000, FFC) -- mtc1 v0, $f0
-- Loading freeze W.I.P.
eeObj.AddHook(0x00554028, 0x4842e800, ADVC, VU1, VIF1) -- cfc2 v0, VPU-STAT

local WS = function()
-- Loading freeze W.I.P.
eeObj.WriteMem32(0x005588a8,0x00000000) -- 0x000015d4 
--not ideal, but full speed(PCSX2, unknown effect on PS4)
eeObj.WriteMem32(0x0054B5B8,0x10000008)

emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(WS)

local PrecompileAddrs = Queue.new( -- 0x48400801 >> cfc2.i zero, $vi1
  {
   0x00554244,
   0x005552cc,
   0x005553a0,
   0x005553d8,
   0x00555944,
   0x00555ae8,
   0x00555e5c,
   0x00556070,
   0x005566a4,
   0x005587c0,
   0x005592e8,
   0x005596b8,
   0x00559810,
   0x00559868,
   0x005598f0,
   0x005599a0,
   0x00559a4c
 
  }
)

Freeze at loading before fight. Full speed menus, FMVs, select screen, options etc. Freeze is still loading actually, but probably at 0.05 FPS.

offsets with this opcode seems to be very important(??)
  • 0x48400801 >> cfc2.i zero, $vi1
I know this will (probably) not be worth it in the end, but what if, ya know?
 
Last edited:
Pilot Down: Behind Enemy Lines (SLES_530.99)

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

--ee-hook=0x004489fc,AdvanceClock,,5000
LUA
Code:
-- Pilot Down: Behind Enemy Lines SLES_530.99
-- ported to PS4 Lua
-- emu used=psychonauts v1

apiRequest(0.1)

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


emuObj.SetDisplayAspectWide()


local FFC = function()
   eeObj.FastForwardClock()
end

local ADVC = function()
   eeObj.AdvanceClock(8000)
end

local VU1 = function()
   eeObj.Vu1MpgCycles(600)
end

-- title screen fix
eeObj.AddHook(0x00104f90, 0x8c850000, ADVC)
--in game stutter fix
eeObj.AddHook(0x00104f94, 0x30a2000c, FFC, VU1)
eeObj.AddHook(0x002d605c, 0x27bd0060, FFC, VU1)

local WS = function()
-- allow sending VU1 mpg successfully.
eeObj.WriteMem32(0x00426140,0x00000000)

emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(WS)

Total Fix. Tested a little.
 

Similar threads

Back
Top