PS4 [Research]PS2 emulator configuration on PS4

--fpu-accurate-range=0x162800,0x162900 Found it!

Proper fix for Need for Speed Carbon

cli
Code:
--host-audio-latency=2.77

--verbose-cdvd-reads=700

--gs-uprender=2x2
--gs-upscale=edgesmooth
--gs-optimize-30fps=1

--fpu-accurate-range=0x162800,0x162900

--ee-cycle-scalar=1.35

--vu1-mpg-cycles=1170

--vu0-opt-flags=1
--vu1-opt-flags=1
--cop2-opt-flags=1
--vu0-const-prop=0
--vu1-const-prop=0
--vu1-jr-cache-policy=newprog
--vu1-jalr-cache-policy=newprog
--vu0-jr-cache-policy=newprog
--vu0-jalr-cache-policy=newprog

2x2 for those that need it.

Hello, after many attempts, I need to ask for help, to make Need For Speed Carbon work.

In the eur (spanish) version, it freezes on the title screen. (But in the compatibility list it says that it works with the config file)

I have copied the code to a txt, and it still doesn't work. The same thing always happens, does anyone know why it doesn't work? yes, im noob :(

edit: the txt file, I put it in the ps2-fpkg v0.6, and also in the markus script, and it doesn't work either.

Thanks.

(I copy it as is)


--host-audio-latency=2.77

--verbose-cdvd-reads=700

--gs-uprender=2x2
--gs-upscale=edgesmooth
--gs-optimize-30fps=1

--fpu-accurate-range=0x162800,0x162900

--ee-cycle-scalar=1.35

--vu1-mpg-cycles=1170

--vu0-opt-flags=1
--vu1-opt-flags=1
--cop2-opt-flags=1
--vu0-const-prop=0
--vu1-const-prop=0
--vu1-jr-cache-policy=newprog
--vu1-jalr-cache-policy=newprog
--vu0-jr-cache-policy=newprog
--vu0-jalr-cache-policy=newprog
 
"--fpu-accurate-range=0x162800,0x162900" this is for NTSC only. If you find the value for PAL, it should work

My big mistake, I thought it was also for pal. I'll try random numbers, if by a miracle I find it I'll share it, although I don't have much hope.

Thanks for the quick reply
 
Add this to lua:

emuObj.SetGsTitleFix( "forceSimpleFetch", "reserved", { texMode=1 } ) --> fix outlines/bloom fx

emuObj.SetGsTitleFix( "forceSimpleFetch", "reserved", { texMode=2 } ) --> fix outlines/bloom fx

this one worked like charm! thank you so much, game looks great now on my ps4.
 
Need some help.

I would like to create my own PS2 to PS4 games with the configs (*.txt & *.lua) of this forum.
But I´m missing some emus listed in the configs.

What do these abbreviations mean: jak v1, jakx v2, psychonauts v2, swrr v1, Red Dead and ADK ?

I´ve own some emus with nearly the same name: jak v2, Jak X CombatRacing, psychonauts v1.0, jak 2 , jak 3.
Got the names from the file /docs/revision.h . Are those the same emus?


I also got a compile error with PS2Fpkg on some emus (Red Faction, Fatal Fury Battle Archive v2 and Art Of Fighting Anthology)
: Could not open or read input file. (sce_sys/shareparam.json).
Is it ok to copy the missing files (shareparam.json & param.sfo) from another emu (maybe from Jak v2)?
 
They are not. Unfortunately, Limited Run physicals or dumping them yourself from primary ps4. Param.sfo can be new. shareparam.json can be removed with no issues
 
DMC 3 Dante's Awakening Special Edition (Graphics Booster) PAL (SLES54186)
Cheats was used - Progressive mode 256p - is a field renderer game (FiX Broken 60hz Mode), Bypass Interleacing f (Fix Screen shaking issue), Disable Blur Effect, Complex Control-System for World and Characters brighter without additional Lights - Characters true Shape and Skin will be revealed now), and Widescreen patch, FMV's fix and Open All Levels Cheat

Before-After FiX Comparison Video

Me find and test cheats, @Kugozx adapt and test also!

Wich emu?
 
Sorry I bother you but I Need more infos about the name convention in the configs.
Is "SWRR" = Star Wars Racer Revenge ?
"Psychonauts v1" = Psychonauts 1.0 ?
"Psychonauts v2" = Psychonauts 1.01 ?

I´ve ripped all emus by myself! But I´m confused about the name conventions here. I can't find any info anywhere else about the emus used in this forum.
 
Sorry I bother you but I Need more infos about the name convention in the configs.
Is "SWRR" = Star Wars Racer Revenge ?
"Psychonauts v1" = Psychonauts 1.0 ?
"Psychonauts v2" = Psychonauts 1.01 ?

I´ve ripped all emus by myself! But I´m confused about the name conventions here. I can't find any info anywhere else about the emus used in this forum.

yes and yes
 
if u want u will also try
//All Kontent And Vs Characters Open
patch=1,EE,205D8588,extended,FFFFFFFF
patch=1,EE,205D858C,extended,FFFFFFFF
patch=1,EE,205D8590,extended,FFFFFFFF
patch=1,EE,205D8594,extended,FFFFFFFF
patch=1,EE,205D8598,extended,FFFFFFFF
patch=1,EE,205D859C,extended,FFFFFFFF
patch=1,EE,205D85A0,extended,FFFFFFFF
patch=1,EE,205D85A4,extended,FFFFFFFF
patch=1,EE,205D85A8,extended,FFFFFFFF
patch=1,EE,205D85AC,extended,FFFFFFFF

...again the old chap need help :cower:
How do I add these to lua?
 
...again the old chap need help :cower:
How do I add these to lua?
this cheat was for pal version of MK but i test it and sadly it not works!

...again the old chap need help :cower:
How do I add these to lua?
if u need Pal version lua, u can try this

Code:
-- Mortal Kombat - Shaolin Monks (SLES-53524)
-- Widescreen, no interlace + Cheats
-- ported to PS4 LUA
-- emu used=jakx v2

apiRequest(2.3)

local gpr     = require("ee-gpr-alias")
local cpr     = require("ee-cpr0-alias")
local hwaddr  = require("ee-hwaddr")

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

gsObj.SetDeinterlaceShift(1)

emuObj.SetGsTitleFix( "ignoreSubBuffCov", "reserved", { } )

eeInsnReplace(0x0023e418, 0x14440011, 0x10000011) -- speed fix alt

local WS = function()

eeObj.Vu1MpgCycles(100)

-- 16:9
eeObj.WriteMem32(0x004f4e08,0x3f400000) --3f800000
--patch=1,EE,004f4e08,word,3f400000 //3f800000

-- black border fix
--eeObj.WriteMem32(0x00323204,0x3c013f80) --3c0142b0
--patch=1,EE,00323204,word,3c013f80 //3c0142b0

-- FMV's fix
--eeObj.WriteMem32(0x002724c8,0x240302aa) --8d03c084
--patch=1,EE,002724c8,word,240302aa //8d03c084

--eeObj.WriteMem32(0x00272750,0x240b02aa) --8c6bc084
--patch=1,EE,00272750,word,240b02aa //8c6bc084

-- no interlace
eeObj.WriteMem32(0x2024a20c,0x00000000)
--patch=1,EE,2024a20c,extended,00000000

eeObj.WriteMem32(0x00274760,0xAE600034)
--patch=1,EE,202744A8,extended,AE600034

--Disable Bloom
eeObj.WriteMem32(0x004f4e38,0x00000000)

--Disable Characters Shadow
--eeObj.WriteMem32(0x004f4e7c,0x0)
--eeObj.WriteMem32(0x004f5358,0x0)

--patch=1,EE,004F4BAC,byte,0
--patch=1,EE,004F5088,byte,0

--Disable Characters Glow Effect
--eeObj.WriteMem32(0x004f5364,0x0)

--patch=1,EE,004F5094,byte,0

--Disable Fog
--eeObj.WriteMem32(0x004f4ed8,0x00000000)

--Disable Light on Characters Skills
--eeObj.WriteMem32(0x004f4f68,0x00000000)

--Disable Characters Skinning
--eeObj.WriteMem32(0x004f4f14,0x00000000)


--Unlock All Characters in vs. Mode
eeObj.WriteMem32(0x205D8588,0xFFFFFFFF)

--Single PLayer Chars
eeObj.WriteMem32(0x205D85B4,0x00000001)
eeObj.WriteMem32(0x205D85B8,0x00000001)

--Boss Fix code
--eeObj.WriteMem32(0x20299060,0x00000000)

--Unlock Mortal Kombat II
eeObj.WriteMem32(0x205D85B0,0x00000001)

--Replace Options With Debug Menu In Game
eeObj.WriteMem32(0x004c72d0,0x0000019F)
eeObj.WriteMem32(0x004c72d4,0x001AB150)


eeObj.WriteMem32(0x205D8588,0xFFFFFFFF)
eeObj.WriteMem32(0x205D858C,0xFFFFFFFF)
eeObj.WriteMem32(0x205D8590,0xFFFFFFFF)
eeObj.WriteMem32(0x205D8594,0xFFFFFFFF)
eeObj.WriteMem32(0x205D8598,0xFFFFFFFF)
eeObj.WriteMem32(0x205D859C,0xFFFFFFFF)
eeObj.WriteMem32(0x205D85A0,0xFFFFFFFF)
eeObj.WriteMem32(0x205D85A4,0xFFFFFFFF)
eeObj.WriteMem32(0x205D85A8,0xFFFFFFFF)
eeObj.WriteMem32(0x205D85AC,0xFFFFFFFF)

emuObj.ThrottleMax()

end

emuObj.AddVsyncHook(WS)
 
Last edited by a moderator:
Hello, I'm new here, I want to share this fix here:


The Sims 2+cheats [SLES-53718]

Code:
--gs-uprender=2x2
--gs-upscale=edgesmooth
--host-display-mode=full
--vu0-no-clamping=0 -->flickering fix
--vu1-no-clamping=0 -->flickering fix
--force-pal-60hz=1
#Emu=Jakxv2

Lua:
Code:
apiRequest(1.0)

local eeObj    = getEEObject()
local emuObj   = getEmuObject()
local patcher = function()
eeObj.WriteMem32(0x2052026c,0x000000d7)
end
emuObj.ThrottleFast()
emuObj.AddVsyncHook(patcher)

Not working for me.
Thats the only working LUA I´ve found for [SLES-53718]:

Code:
-- The Sims 2 emu used=JakX v2
apiRequest(1.0)
local gpr = require("ee-gpr-alias")
local eeObj = getEEObject()
local emuObj = getEmuObject()
emuObj.SetGsTitleFix( "forceSimpleFetch", "reserved", { texMode=1 } )
local patcher = function()
--Widescreen hack 16:9
--aa3f013c abaa2134 00008144 0800e003 00000000 00000000 0800e003
eeObj.WriteMem32(0x003db168,0x3c013fe3) --3c013faa
eeObj.WriteMem32(0x003db16c,0x34218e2a) --3421aaab
emuObj.ThrottleMax()
end
emuObj.AddVsyncHook(patcher)
 
Last edited:
...I like to thank you guys.
I'm surprised how well games are running from a 20 year old console on the PS4.

I´m an old chap (60+), my first computer was the ZX81!
Emulators are my passion. I try to implement emulators on every console/pc. I'm only satisfied when things are going right.
It's not playing, it's fumbling that I enjoy.

Funny background, I even resold my PS5. I can't find the difference between the consoles that big.
 
Tekken 5
SCES532.02

lua
Code:
apiRequest(1.0)
local eeObj = getEEObject()
local emuObj = getEmuObject()
local patcher = function()

local code_check1 = eeObj.ReadMem16(0x1FFEF20)
if code_check1 == 0xB0F0 then
eeObj.WriteMem32(0x4039F0,0x00000001)
eeObj.WriteMem32(0x10213C,0x3C050000)
eeObj.WriteMem32(0x102144,0x3C060050)
eeObj.WriteMem32(0x10214C,0x3C070001)
eeObj.WriteMem32(0x1DF1F0,0x00009400)
eeObj.WriteMem32(0x1DF1FC,0x001BF9FF)
eeObj.WriteMem32(0x1DF218,0x00009400)
eeObj.WriteMem32(0x1DF224,0x001BF9FF)
end
local code_check2 = eeObj.ReadMem16(0x1FFEF20)
if code_check2 == 0x3B70 then
eeObj.WriteMem32(0x261C84,0x34029400)
eeObj.WriteMem32(0x2619F4,0x3C050000)
eeObj.WriteMem32(0x2619FC,0x3C060050)
eeObj.WriteMem32(0x261A04,0x3C070001)
eeObj.WriteMem32(0x36725C,0x001BF9FF)
eeObj.WriteMem32(0x367284,0x001BF9FF)
end
local code_check3 = eeObj.ReadMem16(0x1FFEF20)
if code_check3 == 0xBDF0 then
eeObj.WriteMem32(0x14CBB4,0x3c050000)
eeObj.WriteMem32(0x14CBBC,0x3C060050)
eeObj.WriteMem32(0x14CBC4,0x3c070001)
end
local code_check4 = eeObj.ReadMem16(0x1FFEF20)
if code_check4 == 0x3B70 then
eeObj.WriteMem32(0x15CD74,0x3c050000)
eeObj.WriteMem32(0x15CD7C,0x3C060050)
eeObj.WriteMem32(0x15CD84,0x3c070001)
end
local code_check5 = eeObj.ReadMem16(0x1FFEF20)
if code_check5 == 0x30F0 then
eeObj.WriteMem32(0x1E24F4,0x3c050000)
eeObj.WriteMem32(0x1E24FC,0x3C060050)
eeObj.WriteMem32(0x1E2504,0x3c070001)
end
end
emuObj.AddVsyncHook(patcher)

--Fix lines appearing in some areas
emuObj.SetGsTitleFix( "forceSimpleFetch", "reserved", { texMode=2  } )

Added PAL480p 60 frame code and Sharp framebuffer code, now the definition is the same as when NTSC turns on 480P mode. The arcade mode Tekken 123 still has image errors, and there will be an area box in the upper left corner of some areas of Tekken 5.

JakV2 emus

Love it.
Unfortunately, the analog sticks do not work ...
Is there a fix?
 
Last edited:

Similar threads

Back
Top