PS4 [Research]PS2 emulator configuration on PS4

This may be more difficult. In recent Lehman games, we have tried to fix the freezing of loading characters, but there are many ways to reverse it. Fixed the freezing, but the character modeling will also be lost, I really don't know what went wrong
If Lehman mean Rayman, then i told you why character is not drawing. You literally skipped code responsible for that draw to get in game. :)
Interesting, config shouldn't mess with characters at all as it only gets rid of horizontal overlay effect. PCSX2 does a similar thing via a GSdx CRC hack to fix the speed. Maybe something else is needed to fix the characters.
Maybe you can port your NFS:U2 config to ps4 emu ;) Seems like issue is similar.
 
This code should be yours, not mine:D
I don't remember creating that code to be honest. I know i created that one for Rayman Arena SLUS

patch=1,EE,0031bba8,word,1008001f
patch=1,EE,0031bbb0,word,10090001
patch=1,EE,0031bbb8,word,10094801
patch=1,EE,0031bbc0,word,520947fe

Which of course don't worked on PS4 :P
 
I don't remember creating that code to be honest. I know i created that one for Rayman Arena SLUS

patch=1,EE,0031bba8,word,1008001f
patch=1,EE,0031bbb0,word,10090001
patch=1,EE,0031bbb8,word,10094801
patch=1,EE,0031bbc0,word,520947fe

Which of course don't worked on PS4 :P
Of course, you did not reply to the information I gave you, and it is normal to forget. Since this code does not work on PS4, let's continue to study other games.;););)
 
THUG with patched ELF and only --vu1=jit-sync
In free skate mode hangs before the level is loaded.
Sometimes freezes occur.
Video: https://filebin.net/baz2ighfzyuljr2l/video_2021-01-22_20-47-08.mp4?t=1l9w1n82

The GUN game runs on THPS engine, i'm think if patch ELF loading freeze can be skipped but the behavior will be something like THUG.

I did a little research of why this might be happening.
More answers here: https://forums.pcsx2.net/Thread-blog-Threading-VU1

UPD: I found leaked THUG source code for PS2 on GitHub:
https://github.com/thug1src/thug
UPD2: Problem in GsHandler function and while statement, THPS3 works with Vif1Handler in "Code/Gfx/NGPS/NX/interrupts.cpp".
 
Last edited:
Need for Speed Underground 2 (SLUS-21065)
Code:
apiRequest(1.0)
local eeObj = getEEObject()
local emuObj = getEmuObject()
local patcher = function()
eeObj.WriteMem32(0x001D77C8,0x100000B4)
end
emuObj.AddVsyncHook(patcher)
Possible speed fix for PS4.

Seems to work great! Nice work!

**video was removed by the tubes due to the music in the game
 
Last edited:
Thank you @mrjaredbeta for fixing the speed issue in the game. I ported it to other versions and the test is also effective.

Need for Speed - Underground 2

SLES_527.25
LUA
Code:
apiRequest(1.0)
local eeObj = getEEObject()
local emuObj = getEmuObject()
local patcher = function()
eeObj.WriteMem32(0x001D78A8,0x100000B4)
end
emuObj.AddVsyncHook(patcher)

-- Fix the horizontal lines after the background
emuObj.SetGsTitleFix( "forceSimpleFetch", "reserved", { texMode=1 } )


Need for Speed - Underground 2

SLPM_657.66
LUA
Code:
apiRequest(1.0)
local eeObj = getEEObject()
local emuObj = getEmuObject()
local patcher = function()
eeObj.WriteMem32(0x001D79D8,0x100000B4)
end
emuObj.AddVsyncHook(patcher)

-- Fix the horizontal lines after the background
emuObj.SetGsTitleFix( "forceSimpleFetch", "reserved", { texMode=1 } )


Need for Speed Underground 2 [EA Best Hits]

SLPM_660.51
LUA
Code:
apiRequest(1.0)
local eeObj = getEEObject()
local emuObj = getEmuObject()
local patcher = function()
eeObj.WriteMem32(0x001D79D8,0x100000B4)
end
emuObj.AddVsyncHook(patcher)

-- Fix the horizontal lines after the background
emuObj.SetGsTitleFix( "forceSimpleFetch", "reserved", { texMode=1 } )

Need for Speed Underground 2_20210124120040.jpg

If you can disable the lighting effects, the game will be perfect. Ghosts will appear on car lights that are too fast.
 
Last edited:
Jaws unleashed freezes at this point on ps4. This is what pcsx2 show in console..

Pagesplit @ 00194FD4 : size=11 insts
Gif Unit - GS packet size exceeded VU memory size!
Pagesplit @ 00191FF4 : size=3 insts
Pagesplit @ 00192F9C : size=25 insts
 
Jaws unleashed freezes at this point on ps4. This is what pcsx2 show in console..

Pagesplit @ 00194FD4 : size=11 insts
Gif Unit - GS packet size exceeded VU memory size!
Pagesplit @ 00191FF4 : size=3 insts
Pagesplit @ 00192F9C : size=25 insts
On pcsx2 i can fix bad gif packet by delaying XGKICK. You can try if you want.

--vu-xgkick-delay=8

Try higher values if that won't help.
 
On pcsx2 i can fix bad gif packet by delaying XGKICK. You can try if you want.

--vu-xgkick-delay=8

Try higher values if that won't help.

That got it past the freeze, only issue now is there is no menu, graphics, loading screens, etc. The only thing that displays is the FMVs. Black screen after PS2 Logo with small red square glitches until FMV then black again. But the game is running.

**Note: Graphics was not broken before, the game just froze on loading screen before title screen

 
Last edited:
**Note: Graphics was not broken before, the game just froze on loading screen before title screen
Are you sure that you didn't used other command now, or in previous test? Is hard to believe that only XGKICK do that. But if yes, then test values in 2-16 range. I see that game is loading some VU1 programs on start, so maybe it is some magic then.

Edit: I have idea, but this will take some time.
 
Last edited:
You can try this patch if you want. US version only

Code:
apiRequest(1.0)
local eeObj = getEEObject()
local emuObj = getEmuObject()
local patcher = function()
eeObj.WriteMem32(0x006758a8,0x03e42000)
eeObj.WriteMem32(0x006758b8,0x800026fc)
end
emuObj.AddVsyncHook(patcher)
 
You can try this patch if you want. US version only

Code:
apiRequest(1.0)
local eeObj = getEEObject()
local emuObj = getEmuObject()
local patcher = function()
eeObj.WriteMem32(0x006758a8,0x03e42000)
eeObj.WriteMem32(0x006758b8,0x800026fc)
end
emuObj.AddVsyncHook(patcher)

Works Perfectly now. Great Work!! Thank you! You are a genius!! Any insight on how this is done and what to look for?
 

Similar threads

Back
Top