PS4 [Research]PS2 emulator configuration on PS4

can anyone explain what this is doing command-wise?
Code:
3D 00 00 00 EC 42 00 00 46 00 00 00 48 00 00 00
01 00 00 00 90 D0 03

This is a fix for PS3 MKSM. It causes MK Shaolin Monks to crash instantly after PS2 logo if used in config in this format on PS4. I want to try to translate to see if game improves
 
Last edited:
what did you have to do to get it to boot? I does not boot on any of the jak emus for me. What is the file size of the emu eboot?
Jak X v2
MD5 | 3382F485A99E9EF21584B33978F86A6A | 13.924.042 Bytes

I added this PS3 CONFIG:

Code:
3D 00 00 00 11 11 00 00 0A 00 00 00 08 00 00 00 90 37 64 00 20 00 81 C4 08 00 E0 03 94 37 64 00 80 3F 03 3C 00 00 00 00 2C 29 64 00 12 00 01 45 12 00 00 10 A0 FF 50 00 20 43 03 3C 20 42 03 3C 9C FF 50 00 C8 42 03 3C C8 41 03 3C A8 01 51 00 16 43 03 3C 96 42 03 3C AC 01 51 00 48 43 03 3C C8 42 03 3C 50 FF 50 00 80 3F 03 3C 00 3F 03 3C 00 00 00 00
 
@Stayhye https://www.psdevwiki.com/ps3/PS2_Emulation#Config_Commands

0x46 is L2H improvement, 0x48 set at 1 with the 0x3d090 parameter is VSYNC delay by 250000 cycles(?) as NO IPU, sp no VSYNC delay during FMVs. I doubt either of these commands work with PS2emu on PS4. Maybe --gs-use-deferred-l2h is the PS4 equivalent? Anyways, I don't think 0x46 does anything for this game, and VSYNC delay slows down the game speed as well. The game on PS3 has some slowdowns caused by heavy EE/VU stuff.
 
I just downloaded the pkg update file and extracted the eboot to the jak x folder thats how i got games to work on jak x
 
can anyone explain what this is doing command-wise?
Code:
3D 00 00 00 EC 42 00 00 46 00 00 00 48 00 00 00
01 00 00 00 90 D0 03

This is a fix for PS3 MKSM. It causes MK Shaolin Monks to crash instantly after PS2 logo if used in config in this format on PS4. I want to try to translate to see if game improves
0x46 => (enable L2H Improvement)

0x48 => (VSYNC Delay) => set to aggressive

Sorry...already answered by @mrjaredbeta:beaten:
 
Last edited:
Jak X v2
MD5 | 3382F485A99E9EF21584B33978F86A6A | 13.924.042 Bytes

I added this PS3 CONFIG:

Code:
3D 00 00 00 11 11 00 00 0A 00 00 00 08 00 00 00 90 37 64 00 20 00 81 C4 08 00 E0 03 94 37 64 00 80 3F 03 3C 00 00 00 00 2C 29 64 00 12 00 01 45 12 00 00 10 A0 FF 50 00 20 43 03 3C 20 42 03 3C 9C FF 50 00 C8 42 03 3C C8 41 03 3C A8 01 51 00 16 43 03 3C 96 42 03 3C AC 01 51 00 48 43 03 3C C8 42 03 3C 50 FF 50 00 80 3F 03 3C 00 3F 03 3C 00 00 00 00
I've converted the PS3 config to PS4 to pick at it
Code:
Scarface NTSC TEST
local gpr = require("ee-gpr-alias")

apiRequest(1.5)

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

emuObj.ForceRefreshRate(60)
emuObj.SetFormattedCard("scarface.card")
emuObj.SetDisplayAspectWide()

local FIX = function()

--eeObj.WriteMem32(0x00642f40,0x03e00080)
--eeObj.WriteMem32(0x00642f44,0x00000000)
eeObj.WriteMem32(0x00643790,0x03e00080)
eeObj.WriteMem32(0x00643794,0x00000000)
eeObj.WriteMem32(0x0064292c,0x10000012)
eeObj.WriteMem32(0x0050ffa0,0x3c034220)
eeObj.WriteMem32(0x0050ff50,0x3c033f00)
--eeObj.WriteMem32(0x001b99e0,0x00000000) -- nighht
--eeObj.WriteMem32(0x20DAFABC,0x00000000) --60fps

eeObj.Vu1MpgCycles(300)

emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(FIX)

emuObj.SetGsTitleFix( "ignoreSubBuffCov", "reserved", { texMode=1 , tw=3 , th=3} )

I've seen this command "vu-xgkick-delay=" between value 3.99 and 4.00 is a threshold for the glitching to get worse, but the same type of glitches.

0.1 --> 3.99 graphics like always
4.00 --> 100? missing graphics and glitchy out of control

I can get Scarface to run just about full speed without disabling anything in LUA with this CLI
Code:
--gs-uprender=2x2
--gs-upscale=edgesmooth
--gs-kernel-cl-up="up2x2tc"

--host-display-mode=16:9

--vu1-di-bits=0
--vu1-jr-cache-policy=newprog

--ee-cycle-scalar=2.2
#emu used=psychonauts v2 or star ocean
 
Last edited:
I've converted the PS3 config to PS4 to pick at it
Code:
Scarface NTSC TEST
local gpr = require("ee-gpr-alias")

apiRequest(1.5)

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

emuObj.ForceRefreshRate(60)
emuObj.SetFormattedCard("scarface.card")
emuObj.SetDisplayAspectWide()

local FIX = function()

--eeObj.WriteMem32(0x00642f40,0x03e00080)
--eeObj.WriteMem32(0x00642f44,0x00000000)
eeObj.WriteMem32(0x00643790,0x03e00080)
eeObj.WriteMem32(0x00643794,0x00000000)
eeObj.WriteMem32(0x0064292c,0x10000012)
eeObj.WriteMem32(0x0050ffa0,0x3c034220)
eeObj.WriteMem32(0x0050ff50,0x3c033f00)
--eeObj.WriteMem32(0x001b99e0,0x00000000) -- nighht
--eeObj.WriteMem32(0x20DAFABC,0x00000000) --60fps

eeObj.Vu1MpgCycles(300)

emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(FIX)

emuObj.SetGsTitleFix( "ignoreSubBuffCov", "reserved", { texMode=1 , tw=3 , th=3} )

I've seen this command "vu-xgkick-delay=" between value 3.99 and 4.00 is a threshold for the glitching to get worse, but the same type of glitches.

0.1 --> 3.99 graphics like always
4.00 --> 100? missing graphics and glitchy out of control

I don't know, if xgkick can help with that. But this option is not comparable to PCSX2.
To me this looks like a loading/caching problem. So textures are not loaded fast enough. Something like this. Perhaps tuning "cdvd-sector-read-cycles" could help.

Is Jak X now working for you?
 
Last edited:
apologies for asking here but i'm unsure where to ask. I'm configuring a few games and am having trouble finding information/links for the kof98 emu, was hoping you lot may be able to assist.
we can not link to or share the emu files. they are copyrighted files so it is against the website's rules.

AFAIK the emus come with purchased digital games and people copy the files to use with games that can not be purchased.
 
I don't know, if xgkick can help with that. But this option is not comparable to PCSX2.
To me this looks like a loading/caching problem. So textures are not loaded fast enough. Something like this. Perhaps tuning "cdvd-sector-read-cycles" could help.

Is Jak X now working for you?
heven't been able to try yet
 
lol i mean put emus like kof, jak, red faction in root! pcsx2 its pc emulator
Well, I couldn't find that emulator however I tried to convert the ISO with PS4 PS2 Classics GUI [Previously using PS2-FPKG_v0.6] and now its working perfectly. Just thought i'd let anyone else know who has problems.
 
so i used the --fpu-accurate-range=0x100008,0x400000 with jak x emu on budokai 3 and it loads the freezing stages but its makes fps at 12ish

its a start but at least its getting past Ready fight part

--path-snaps="/tmp/snapshots"
--path-recordings="/tmp/recordings"
--path-vmc="/tmp/vmc"
--path-emulog="/tmp/recordings"
--config-local-lua=""
--config-opt=""
--load-tooling-lua=0
--path-patches="/app0/patches"
--ps2-title-id=SLES-53346
--max-disc-num=1
--trophy-support=0
--gs-uprender=2x2
--gs-upscale=EdgeSmooth
--gs-use-mipmap=1
--host-audio=1
--rom="PS20220WD20050620.crack"
--verbose-cdvd-reads=1
--host-osd=0
--host-display-mode=full
--fpu-accurate-range=0x100008,0x400000
--vu0-no-clamping=0
--vu1-no-clamping=0
--cop2-no-clamping=0
--vu0-clamp-results=1
--vu1-clamp-results=1
--cop2-clamp-results=1

these are the codes im using currently
 
Last edited by a moderator:
Awesome mate thanks for the help. Hopefully I can get this game fixed. I am working with pal version so it has the Japanese soundtrack.
This will make it full speed
Code:
--gs-uprender=2x2
--gs-upscale=EdgeSmooth
--gs-adaptive-frameskip=1
--host-display-mode=16:9

--fpu-no-clamping=1
--fpu-clamp-results=1
--fpu-clamp-operands=1
--fpu-rsqrt-fast-estimate=1
--fpu-accurate-mul-fast=1
--fpu-accurate-range=0x100008,0x400000

NTSC version(the one I tested) still needed to skip the stage intro or will still freeze, but fight and gameplay OK
 
heven't been able to try yet
What is really strange about the Jak * emus. Scarface boots into a blackscreen unless you add "eeObj.SchedulerDelayEvent("vif1.dma", 0x6500)" to the lua script. At least for me. This can even say "vif1.dma", 0x0000 and it boots up just fine. It seems that this command with the different event options could be interesting.
 
just testing that patch now for budokai 3. thanks so much Stayhye

what emu did you use its still a bit laggy my end do could be because im using pal version . kinda dont wanna use ntsc ver of this game. its the whole reason i didn't wanna get the hd collection. i love the Japanese soundtrack too much lol
 
Last edited by a moderator:
what emu did you use its still a bit laggy my end do could be because im using pal version . kinda dont wanna use ntsc ver of this game. its the whole reason i didn't wanna get the hd collection. i love the Japanese soundtrack too much lol
jak tpl v1. On PAL version, do you have to skip stage intro to bypass freeze?
 
Yeah it freezes but if I click the middle button in as it loads it bypasses the freeze. Though some emus use the middle TouchPad to bring back to main menu
 

Similar threads

Back
Top