PS4 [Research]PS2 emulator configuration on PS4

Taz Wanted NTSC - just a quick test NOT FINAL!

cli
Code:
--vu1-mpg-cycles=64
--ee-cycle-scalar=2.5
--iop-cycle-scalar=2.5
#<use jakx v2>

This randomly gets past the loading screen freeze. Still has flickering graphics/wrong textures. Will try to dial it in

edit#2 higher success rate if save is present.
 
Last edited:
would really like to get my hands on the ace combat 7 pre oder bonus ace combat 5 remaster. Or the King of Fighters 2002 UM that came out last week. One Day...
 
would really like to get my hands on the ace combat 7 pre oder bonus ace combat 5 remaster. Or the King of Fighters 2002 UM that came out last week. One Day...
The homemade version of AC5 is fine except that it cannot be archived. I seriously suspect that AC5 HD is not a PS2 emulation, but a remade version. In previous articles, the King of Fighters 2002 UM self-made version has eliminated graphical errors, and I even unlocked the unlimited release patch for all characters and MAX2. And now we already know the scan line patch for 2D battle games. I saw the official version of the demo video last week, and there is really no change.
 
The homemade version of AC5 is fine except that it cannot be archived. I seriously suspect that AC5 HD is not a PS2 emulation, but a remade version. In previous articles, the King of Fighters 2002 UM self-made version has eliminated graphical errors, and I even unlocked the unlimited release patch for all characters and MAX2. And now we already know the scan line patch for 2D battle games. I saw the official version of the demo video last week, and there is really no change.
Stayhye want emus, not games itself ;)
At some point i believed that AC5 is not emulated, but looking at KOF2002UM (also no PS2 logo) now i think it is ps2 emulator.
 
@Stayhye, Urban Reign has a double shadow in the fifteenth level, and the game starts to slow down when there are more enemies in the thirty-fifth level. This is feedback from a friend, see if you can fix it. Mortal Kombat-Shaolin Monks does not require LUA configuration. In my test, the widescreen patch is invalid. I don't know whether the widescreen patch is applied to the battle mode instead of the story mode? Now I have learned how to remove the jitter problem caused by interlacing. In PS4 emulation PS2 games, it is effective for most games. I have posted a lot of deinterlacing codes on the PCSX2 forum, but now I find that several games are more difficult. Onimusha 2, Onimusha 3 and Urban Reign cannot be eliminated on PS4.
 
@Stayhye, Mortal Kombat-Shaolin Monks does not require LUA configuration. In my test, the widescreen patch is invalid. I don't know whether the widescreen patch is applied to the battle mode instead of the story mode?

Strange...worked for me. It's even widescreen in the video I uploaded. No idea what went wrong. Here is my configs, one for widescreen and one 4:3 with scanlines and overlays

@Stayhye, Now I have learned how to remove the jitter problem caused by interlacing. In PS4 emulation PS2 games, it is effective for most games. I have posted a lot of deinterlacing codes on the PCSX2 forum, but now I find that several games are more difficult. Onimusha 2, Onimusha 3 and Urban Reign cannot be eliminated on PS4.

lua
Code:
gsObj.SetDeinterlaceShift(1)
turns off interlace instantly! no patching required! 0=on , 1=off
 

Attachments

Last edited:
Strange...worked for me. It's even widescreen in the video I uploaded. No idea what went wrong. Here is my configs, one for widescreen and one 4:3 with scanlines and overlays
You can put the CRC widescreen file into PCSX2, and compare the widescreen with and without widescreen. I have verified it many times and it has absolutely no effect. I even patched it to ELF, but it has no effect. Does the widescreen patch work in the battle mode?

gsObj.SetDeinterlaceShift(1)
I also doubt whether this command is effective for every game! I used the PCSX2 debugger to find the buffer of the game and disabled it to have an effect on PS4.
 
You can put the CRC widescreen file into PCSX2, and compare the widescreen with and without widescreen. I have verified it many times and it has absolutely no effect. I even patched it to ELF, but it has no effect. Does the widescreen patch work in the battle mode?
Looks like it work on Stayhye video. Up is pcsx2, down PS4 recorded.

Nowy Obraz JPEG.jpg

PS. Ignore better colors on pcsx2, i use reshade.
 
Strange...worked for me. It's even widescreen in the video I uploaded. No idea what went wrong. Here is my configs, one for widescreen and one 4:3 with scanlines and overlays



lua
Code:
gsObj.SetDeinterlaceShift(1)
turns off interlace instantly! no patching required! 0=on , 1=off
That part you added for mpegs isn't even called, so you can remove it.
Here i made config that hopefully.. will auto speed up loadings. Plus included all working stuff from @Stayhye config.
While a lot is removed, this config do exactly what Stayhye config, but should have faster loadings. I wasn't really able to test that on pcsx2 due to its nature, but i think my hooks are fine.

Code:
-- Mortal Kombat - Shaolin Monks (SLUS-21087)
-- ported to PS4 Lua by Stayhye

apiRequest(2.0)

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

emuObj.SetGsTitleFix( "forceSimpleFetch", "reserved", { texMode=1  } )
emuObj.SetDisplayAspectWide()
gsObj.SetDeinterlaceShift(0)

local widescreen = function()

-- 16:9
eeObj.WriteMem32(0x004f4b38,0x3f400000)

-- black border fix
eeObj.WriteMem32(0x00322f2c,0x3c013f80)

--FMV's fix
eeObj.WriteMem32(0x00272210,0x24030256)
eeObj.WriteMem32(0x00272498,0x240B0256)

--No Interlace
eeObj.WriteMem32(0x00249F7C,0x00000000)
end

emuObj.AddVsyncHook(widescreen)

local TH1A =    -- start loading screen
    function()
        emuObj.ThrottleMax()
    end

local TH1B =    -- end loading screen
    function()
        emuObj.ThrottleNorm()
    end
  
local TH1C =    -- start loading screen
    function()
        emuObj.ThrottleMax()
    end

local TH1D =    -- end loading screen
    function()
        emuObj.ThrottleNorm()
    end
  
eeObj.AddHook(0x1d4800, 0x27bdff80, TH1A)
eeObj.AddHook(0x1e15a0, 0x27bdff60, TH1C)
eeObj.AddHook(0x1e1c80, 0x03e00008, TH1B)
eeObj.AddHook(0x1d5014, 0x03e00008, TH1D)

Edit: TXT config by stayhye is still required.
 
That part you added for mpegs isn't even called, so you can remove it.
Here i made config that hopefully.. will auto speed up loadings. Plus included all working stuff from @Stayhye config.
While a lot is removed, this config do exactly what Stayhye config, but should have faster loadings. I wasn't really able to test that on pcsx2 due to its nature, but i think my hooks are fine.

Code:
-- Mortal Kombat - Shaolin Monks (SLUS-21087)
-- ported to PS4 Lua by Stayhye

apiRequest(2.0)

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

emuObj.SetGsTitleFix( "forceSimpleFetch", "reserved", { texMode=1  } )
emuObj.SetDisplayAspectWide()
gsObj.SetDeinterlaceShift(0)

local widescreen = function()

-- 16:9
eeObj.WriteMem32(0x004f4b38,0x3f400000)

-- black border fix
eeObj.WriteMem32(0x00322f2c,0x3c013f80)

--FMV's fix
eeObj.WriteMem32(0x00272210,0x24030256)
eeObj.WriteMem32(0x00272498,0x240B0256)

--No Interlace
eeObj.WriteMem32(0x00249F7C,0x00000000)
end

emuObj.AddVsyncHook(widescreen)

local TH1A =    -- start loading screen
    function()
        emuObj.ThrottleMax()
    end

local TH1B =    -- end loading screen
    function()
        emuObj.ThrottleNorm()
    end
 
local TH1C =    -- start loading screen
    function()
        emuObj.ThrottleMax()
    end

local TH1D =    -- end loading screen
    function()
        emuObj.ThrottleNorm()
    end
 
eeObj.AddHook(0x1d4800, 0x27bdff80, TH1A)
eeObj.AddHook(0x1e15a0, 0x27bdff60, TH1C)
eeObj.AddHook(0x1e1c80, 0x03e00008, TH1B)
eeObj.AddHook(0x1d5014, 0x03e00008, TH1D)

Edit: TXT config by stayhye is still required.
I did a test just now and the loading speed has indeed improved, but after the loading screen is over, the game crashes.
 
I did a test just now and the loading speed has indeed improved, but after the loading screen is over, the game crashes.
Did you added txt config from Stayhye? I think it is required to get past crash.
My config eventually will leave game running too fast if something goes wrong. But it shouldn't crash.
 
Did you added txt config from Stayhye? I think it is required to get past crash.
My config eventually will leave game running too fast if something goes wrong. But it shouldn't crash.
Yes, I added all his TXT configuration, and applied the LUA configuration you gave, it crashed after loading the game.
 

Similar threads

Back
Top