Talk:PS2 Classics Emulator Compatibility List: Difference between revisions

From PS4 Developer wiki
Jump to navigation Jump to search
(Added entries for SF Alpha Anthology and Vampire Darkstalkers Collection.)
Line 235: Line 235:
====Phantasy Star Universe====
====Phantasy Star Universe====
ALL
ALL
<br>Test
<br>Text
<pre>--gs-use-clut-merge=1
<pre>--gs-use-clut-merge=1
--gs-kernel-cl="clutmerge"
--gs-kernel-cl="clutmerge"

Revision as of 18:57, 5 August 2018

Official PS2emu Configuration Files

Here are configuration files extracted from official packages, to improve PS2 emulator compatibility on PS4. Most of them require also emulator/recompiler files from extracted pkg to work correctly.

Canis Canem Edit/Bully

SLES 535.61
LUA

apiRequest(0.1)

-- Bully bug 9392
-- Performance fix
local emuObj = getEmuObject()	
local thresholdArea = 600
emuObj.SetGsTitleFix( "ignoreUpRender", thresholdArea , {alpha=0x80000044 , zmsk=1 , tw=4, th=4  } )


Text

--fpu-accurate-mul-fast=1
--fpu-accurate-muldiv-range=0x3fa5c0,0x3fa5c0
--gs-flush-ad-xyz=SafeZWrite
--vu1-opt-vf00=2
--vu1-di-bits=0
--ee-hook=0x001f3ef4,FastForwardClock
--gs-use-deferred-l2h=0
--vu1-injection=1
--vu1-mpg-cycles=2500
--fpu-rsqrt-fast-estimate=0
--safe-area-min=1.0

Samurai Shodown Anthology

SLUS_216.29
Text

--gs-upscale=point
--gs-uprender=2x2
--gs-motion-factor=25
--host-audio-latency=0.01
--gs-ignore-dirty-page-border=1
--gs-kernel-cl="h2lpool"
--gs-kernel-cl-up="h2lpool2x2"
--gs-h2l-list-opt=1
--gs-h2l-accurate-hash=1
#fix for substantial slowdown during combat.

Manhunt

SLUS_208.27
Text

--ee-hook=0x4329e0,FastForwardClock,0x1600fff1
--gs-uv-shift-pointsampling=1
--ee-hook=0x1d1d60,AdvanceClock,0x27bdffb0,225
--ee-hook=0x1d71e0,AdvanceClock,0x0c09a4d0,100
#Fix crane issue, and probably fixing lightsourcing.

SLUS_208.27
Lua

-- Manhunt [US]

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

apiRequest(0.1)	-- request version 0.1 API. Calling apiRequest() is mandatory.

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

-- Bug #9413
-- Disable uprender on the draw command which samples the framebuffer (0x3200) using bilinear sampling (texMode=2)
-- All lighting effects use TriFan prim type, so use that as well to filter against.
 
emuObj.SetGsTitleFix( "forceSimpleFetch",  "reserved", {prim=5, texMode=2, tbp=0x320000} )

-- Bug#9277
-- Shorten the timeout period for some particular execution command(s).
-- When entering the crane, some instruction is executed with a wait period of 0x7333.
-- Shortening the wait period to 0x4000 it.  Note that 0x5000 is enough to fix entering the
-- crane once, but a more aggressive value was needed for subsequent entry into the crane.

local FixBug9277 = function()
	local s0 = eeObj.GetGpr(gpr.s0)
	--local v0 = eeObj.GetGpr(gpr.v0)
	--print( string.format("-------- v0=0x%08x s0=0x%08x", v0, s0) )
	if s0 == 0x7333 then 
		eeObj.SetGpr(gpr.s0, 0x5800)
	end
end

-- No longer seems necessary, when FastForwardClock is applied here instead (see _cli.conf)
eeObj.AddHookJT(0x1d71f8, 0x10000036, FixBug9277)
#Further bug fixes as well as fixing bloom/overglare from lightsources.

Custom PS2emu Configuration Files

Here are configuration files created by users, to improve PS2 emulator compatibility on PS4

Ace Combat 4

All versions
Text

--gs-kernel-cl="mipmap"
--gs-kernel-cl-up="mipmap2x2"
--gs-use-mipmap=1
#Fix for terrain textures

Ace Combat 5

All versions
Text

--gs-kernel-cl="mipmap"
--gs-kernel-cl-up="mipmap2x2"
--gs-use-mipmap=1
#Same fix for terrain textures

AirBlade

All versions
Text

--vu0-no-clamping=0
--vu0-clamp-operands=1
--vu0-clamp-results=1
--vu1-no-clamping=0
--vu1-clamp-operands=1
--vu1-clamp-results=1
--cop2-no-clamping=0
--cop2-clamp-operands=1
--cop2-clamp-results=1
#Fix for flickering models and textures

Ape Escape 2

All versions
Text

--gs-use-mipmap=1
--gs-kernel-cl="mipmap"
--gs-kernel-cl-up="mipmap2x2"
#Fix for flickering textures

Bloody Roar 4

All
Text

--vu0-no-clamping=0
--vu0-clamp-results=1
--vu1-no-clamping=0
--vu1-clamp-results=1
--cop2-no-clamping=0
--cop2-clamp-results=1
#SPS Fix

Cold Winter

All
Text

--vu0-no-clamping=0
--vu1-no-clamping=0
--vu0-clamp-operands=1
--vu0-clamp-results=1
--vu1-clamp-operands=1
--vu1-clamp-results=1
# fix graphic and physics, there are still issue with fmv, and minor stering issue.

Dead or Alive 2: Hardcore

SLUS_200.71
Lua

apiRequest(0.1)

-- Fix hang, fix music, and sounds effects

emuMediaPatch(0x186A71, 12 + 0x7e4, { 0x2404002b }, { 0x27c40010 })
emuMediaPatch(0x186A71, 12 + 0x7e8, { 0x0c0032b3 }, { 0x0c0032b7 })
emuMediaPatch(0x186A71, 12 + 0x7ec, { 0x27c50010 }, { 0x00000000 })
emuMediaPatch(0x186A71, 12 + 0x5e8, { 0x27bdfff0 }, { 0x03e00008 })
emuMediaPatch(0x186A71, 12 + 0x5ec, { 0xafbe0008 }, { 0x00000000 })
emuMediaPatch(0x186A7B, 12 + 0x6fc, { 0x27bdfff0 }, { 0x03e00008 })
emuMediaPatch(0x186A7B, 12 + 0x700, { 0xafbe0008 }, { 0x00000000 })
emuMediaPatch(0x186A85, 12 + 0x164, { 0x27bdfff0 }, { 0x03e00008 })
emuMediaPatch(0x186A85, 12 + 0x168, { 0xafbe0008 }, { 0x00000000 })
emuMediaPatch(0x186A85, 12 + 0x10c, { 0x27bdfff0 }, { 0x03e00008 })
emuMediaPatch(0x186A85, 12 + 0x110, { 0xafbe0008 }, { 0x00000000 })
emuMediaPatch(0x186A85, 12 + 0x1bc, { 0x27bdfff0 }, { 0x03e00008 })
emuMediaPatch(0x186A85, 12 + 0x1c0, { 0xafbe0008 }, { 0x00000000 })
emuMediaPatch(0x186A86, 12 + 0x7f0, { 0x27bdfff0 }, { 0x03e00008 })
emuMediaPatch(0x186A86, 12 + 0x7f4, { 0xafbe0008 }, { 0x00000000 })
emuMediaPatch(0x186C38, 12 + 0x6ec, { 0x24060001 }, { 0x24060000 })

Frogger: Ancient Shadow

SLUS_210.98
Text

--vu0-no-clamping=0
--vu1-no-clamping=0
--vu0-clamp-operands=1
--vu0-clamp-results=1
--vu1-clamp-operands=1
--vu1-clamp-results=1
--cop2-no-clamping=0
--cop2-clamp-operands=1
--cop2-clamp-results=1 
#Fixes disappearing models during cutscenes and during gameplay

Klonoa 2

All versions
Text

--fpu-no-clamping=1
#Fix for misplaced objects, still require fix for texturing problems. Require Rogue Galaxy emu

Metal Saga

All versions
Text

--vif1-ignore-cmd-ints=1

#Fix for black-screen on SatCom/Equip menus. Game still unplayable due to immediate freeze during combat.

Need for Speed Carbon

SLES_543.22
Text

--fpu-accurate-range=0x150000,0x170000
# Fix loading freeze, game still unplayable due to 1 fps in-game. 

NBA Street Vol.2

All versions
Text

--vu1-no-clamping=0
--vu1-clamp-operands=1
--vu1-clamp-results=1
--gs-adaptive-frameskip=1
# Fix for graphical corruptions, require "JAK" emu.

Oni

SLES_501.34 SLES_501.76 SLES_501.77 SLES_501.78 SLES_501.79
Lua

apiRequest(0.1)

-- Fix for hang at loading screen

eeInsnReplace(0x1CEF7C, 0x4100FFFF, 0x00000000)

SLUS_200.64
Lua

apiRequest(0.1)

-- Fix for hang at loading screen

eeInsnReplace(0x1CF3CC, 0x4100FFFF, 0x00000000)

Phantasy Star Universe

ALL
Text

--gs-use-clut-merge=1
--gs-kernel-cl="clutmerge"
--gs-kernel-cl-up="clutmerge2x2"
#Fix for flickering textures and geometry

Rygar: The Legendary Adventure

SLUS_204.71
Text

--fpu-accurate-range=0x147CC0,0x147EA0
#Fix for freeze after leaving the first area.

SNK vs Capcom: SVC Chaos

ALL
Text

--gs-use-clut-merge=1
--gs-kernel-cl="clutmerge"
--gs-kernel-cl-up="clutmerge2x2"
#Fixes missing hud/UI elements.

Street Fighter Alpha Anthology

ALL
Text

--gs-motion-factor=50
--host-audio-latency=0.01
--gs-kernel-cl="h2lpool"
--gs-kernel-cl-up="h2lpool2x2"
--gs-h2l-list-opt=1
--gs-h2l-accurate-hash=1
#Fix for performance issues. PS4 Pro required for full speed.

Tales of Destiny: Directors Cut

SLPS-25842, SLPS-25841, SCKA-20119
Text

--fpu-accurate-range=0x1C0000,0x1D0000 
--gs-use-clut-merge=1 
--gs-kernel-cl="clutmerge"
--gs-kernel-cl-up="clutmerge2x2" 
# Fix control after exiting the menu, and graphic bugs. 0x1C0000,0x1D0000 range can be clamped is someone will find it slow.

Tales of The Abyss

SLUS_213.86
Text

--gs-uprender=none
--gs-upscale=none
#fix coruption lines caused by upscsaler, remember to remove 2x2 that already exist in config
--fpu-accurate-range=0x27FFFC,0x27FFFF
--fpu-accurate-range=0x2921F4,0x2921F8
#choral castle soft lock fix
--fpu-no-clamping=0
--vu0-no-clamping=0
--vu1-no-clamping=0
--cop2-no-clamping=0
--fpu-clamp-results=1
--vu0-clamp-results=1
--vu1-clamp-results=1
--cop2-clamp-results=1
#Seems to fix not renedering characters in cut scenes

Tony Hawk Pro Skater 3

All
Text

--vu0-no-clamping=0
--vu1-no-clamping=0
--vu0-clamp-results=1
--vu1-clamp-results=1
--fpu-no-clamping=0
--cop2-no-clamping=0
--fpu-clamp-results=1
--cop2-clamp-results=1
#SPS Fix

Valkyrie Profile 2: Silmeria

All versions
Text

--gs-progressive=1
--gs-uprender=2x2
--gs-upscale=Point
--vu-hack-triace=1
--gs-kernel-cl-up="up2x2simple"
#Looks like it fix all graphical issues excluding purple effect in Forest at start of game

Vampire: Darkstalkers Collection

ALL
Text

--gs-motion-factor=50
--host-audio-latency=0.01
--gs-kernel-cl="h2lpool"
--gs-kernel-cl-up="h2lpool2x2"
--gs-h2l-list-opt=1
--gs-h2l-accurate-hash=1
#Fix for performance issues. PS4 Pro required for full speed.

Whiplash

All versions
Text

--gs-kernel-cl="mipmap"
--gs-kernel-cl-up="mipmap2x2"
--gs-use-mipmap=1
#Fix for texture glitches

X files - resist or serve

NTSC/U
Text

--vu0-no-clamping=0
--vu0-clamp-results=1
--vu1-no-clamping=0
--vu1-clamp-results=1
--cop2-no-clamping=0
--cop2-clamp-results=1
#fix for missing models