PS4 [Research]PS2 emulator configuration on PS4

Mercenaries: Playground of Destruction (SLUS-20932)
Code:
eeInsnReplace(0x307ca4, 0x1060002e, 0x1000002e)
Skips bloom. It actually doesn't use a separate ELF and was way easier to locate than I anticipated.
 
Mercenaries: Playground of Destruction (SLUS-20932)
Code:
eeInsnReplace(0x307ca4, 0x1060002e, 0x1000002e)
Skips bloom. It actually doesn't use a separate ELF and was way easier to locate than I anticipated.

Works, but sadly doesn't do much to speed up game. Still testing Thank you for attempt
 
Last edited:
18 Wheeler: American Pro Trucker (SLPM_622.11) (NTSC-J)

LUA
Code:
-- 18 Wheeler: American Pro Trucker (SLPM_622.11) (NTSC-J)
-- ported to PS4
-- emu used=Rogue v1

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

apiRequest(0.1)

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

eeObj.WriteMem32(0x001e8b9c,0x3c013f40) -- Widescreen (XAxisAdjust)

--eeObj.WriteMem32(0x00201ad4,0x00000001) -- VSync Option #1, 60fps ingame (too fast), huge impact on loading screens + menu
--eeObj.WriteMem32(0x00200988,0x00000001) -- VSync Option #2, 60fps ingame (too fast), stuttering at times, menus + loading okay
--emuObj.ThrottleMax() -- Rogue says NO!
end

emuObj.AddVsyncHook(patcher)

CLI
Default
Code:
--host-display-mode=16:9 //or full
--gs-uprender=2x2
--gs-upscale=EdgeSmooth

So another Sega NAOMI/Dreamcast classic that is playable on the PS4. Perhaps someone can figure out how to get this running at 60fps. I'm out of ideas for the moment. The game runs and looks pretty decent though.
 
God of War II. PS2zuPS4. Schnelltest

config-emu-ps4.txt
Code:
#Generated by PS2-FPKG v0.6
--path-vmc="/tmp/vmc"
--config-local-lua=""
--ps2-title-id=SCUS-97481
--max-disc-num=1
--gs-uprender=2x2
--gs-upscale=edgesmooth
--host-audio=1
--rom="PS20220WD20050620.crack"
--verbose-cdvd-reads=0
--host-display-mode=full
--lopnor-config=1
--path-patches="/app0/patches"
--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
--vu1-mpg-cycles=1000

config.lua
Code:
apiRequest(2.2) --make sure we are running latest emu


local emuObj = getEmuObject()
emuObj.SetGsTitleFix( "forceSimpleFetch", "reserved", { texMode=1 } )

-- Wide Screen at boot, 640x448p at boot, speedhack by removing some effects
emuMediaPatch(0x1fc, 12 + 0x6e0, { 0x27bdfee0 }, { 0x03e00008 })
emuMediaPatch(0x1fc, 12 + 0x6e4, { 0x7fb300d0 }, { 0x00000000 })
emuMediaPatch(0x1f8, 12 + 0x720, { 0x27bdff50 }, { 0x03e00008 })
emuMediaPatch(0x1f8, 12 + 0x724, { 0x3c02002d }, { 0x00000000 })
emuMediaPatch(0x2e4, 12 + 0x5b4, { 0x3c04002e }, { 0x24040001 })
emuMediaPatch(0x2e4, 12 + 0x5b8, { 0x8c8486d8 }, { 0x00000000 })
emuMediaPatch(0x40d, 12 + 0x14c, { 0x3c013faa }, { 0x3c013fe3 })
emuMediaPatch(0x40d, 12 + 0x150, { 0x3421aaab }, { 0x34218e39 })
emuMediaPatch(0x3d0, 12 + 0x608, { 0xac4086dc }, { 0xa04986dc })
emuMediaPatch(0x2e4, 12 + 0x5d4, { 0x8ca286dc }, { 0x24020001 })
emuMediaPatch(0x169, 12 + 0x6b0, { 0x27bdff60 }, { 0x03e00008 })
emuMediaPatch(0x169, 12 + 0x6b4, { 0x7fb10080 }, { 0x00000000 })

Is that correct? Or can you improve something?
 
config-emu-ps4.txt
Code:
#Generated by PS2-FPKG v0.6
--path-vmc="/tmp/vmc"
--config-local-lua=""
--ps2-title-id=SCUS-97481
--max-disc-num=1
--gs-uprender=2x2
--gs-upscale=edgesmooth
--host-audio=1
--rom="PS20220WD20050620.crack"
--verbose-cdvd-reads=0
--host-display-mode=full
--lopnor-config=1
--path-patches="/app0/patches"
--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
--vu1-mpg-cycles=1000

config.lua
Code:
apiRequest(2.2) --make sure we are running latest emu


local emuObj = getEmuObject()
emuObj.SetGsTitleFix( "forceSimpleFetch", "reserved", { texMode=1 } )

-- Wide Screen at boot, 640x448p at boot, speedhack by removing some effects
emuMediaPatch(0x1fc, 12 + 0x6e0, { 0x27bdfee0 }, { 0x03e00008 })
emuMediaPatch(0x1fc, 12 + 0x6e4, { 0x7fb300d0 }, { 0x00000000 })
emuMediaPatch(0x1f8, 12 + 0x720, { 0x27bdff50 }, { 0x03e00008 })
emuMediaPatch(0x1f8, 12 + 0x724, { 0x3c02002d }, { 0x00000000 })
emuMediaPatch(0x2e4, 12 + 0x5b4, { 0x3c04002e }, { 0x24040001 })
emuMediaPatch(0x2e4, 12 + 0x5b8, { 0x8c8486d8 }, { 0x00000000 })
emuMediaPatch(0x40d, 12 + 0x14c, { 0x3c013faa }, { 0x3c013fe3 })
emuMediaPatch(0x40d, 12 + 0x150, { 0x3421aaab }, { 0x34218e39 })
emuMediaPatch(0x3d0, 12 + 0x608, { 0xac4086dc }, { 0xa04986dc })
emuMediaPatch(0x2e4, 12 + 0x5d4, { 0x8ca286dc }, { 0x24020001 })
emuMediaPatch(0x169, 12 + 0x6b0, { 0x27bdff60 }, { 0x03e00008 })
emuMediaPatch(0x169, 12 + 0x6b4, { 0x7fb10080 }, { 0x00000000 })

Is that correct? Or can you improve something?

Is this NTSC or PAL?
 
NTSC-Version. SCUS-97481. The game is going well. It only has audio problems.
Tweaking one/all/some of these commands may help fix audio problems

CLI
Code:
--ee-sif0-cycle-scalar=0.3
--ee-sif1-cycle-scalar=0.3
--iop-sif0-cycle-scalar=0.3
--iop-sif1-cycle-scalar=0.3

values are from 0.1 to 2.0 on all of them. Jak emus, maybe others

LUA
Code:
eeObj.SchedulerDelayEvent("xxxx.dma", 0x6500)

values for "xxxx".dma are:

sif0, sif1, ipu0 and ipu1
affect audio and other things. 0x6500 can be changed as well
 
Last edited:
Improvement fix for X-Men Legends II

cli
Code:
--gs-uprender=2x2
--gs-upscale=edgesmooth

--vu0-di-bits=0
--vu1-di-bits=0

--vu1=jit-sync

--vu1-mpg-cycles=2050
--vu0-mpg-cycles=2050

--ee-cycle-scalar=2.32
--iop-cycle-scalar=2.32

--host-audio-latency=3.01

--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

Speed and gameplay much improved


sidenote: emu accepts these with no option switch(1,0)

--no-gs

I got excited and thought this would enable software mode, but sadly no. I can't see effect in games tested.

--r30=jit

again, didn't see any changes in games tested
Hi
I noticed that the game run 20% better if widescreen not patched,i also tryed to disable upscale but no affect on speed at all not even 1% lol
 
Tweaking one/all/some of these commands may help fix audio problems

CLI
Code:
--ee-sif0-cycle-scalar=0.3
--ee-sif1-cycle-scalar=0.3
--iop-sif0-cycle-scalar=0.3
--iop-sif1-cycle-scalar=0.3

values are from 0.1 to 2.0 on all of them. Jak emus, maybe others

LUA
Code:
eeObj.SchedulerDelayEvent("xxxx.dma", 0x6500)

values for "xxxx".dma are:

sif0, sif1, ipu0 and ipu1
affect audio and other things. 0x6500 can be changed as well

OK thanks. I will test through.
 
config-emu-ps4.txt
Code:
#Generated by PS2-FPKG v0.6
--path-vmc="/tmp/vmc"
--config-local-lua=""
--ps2-title-id=SCUS-97481
--max-disc-num=1
--gs-uprender=2x2
--gs-upscale=edgesmooth
--host-audio=1
--rom="PS20220WD20050620.crack"
--verbose-cdvd-reads=0
--host-display-mode=full
--lopnor-config=1
--path-patches="/app0/patches"
--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
--vu1-mpg-cycles=1000

config.lua
Code:
apiRequest(2.2) --make sure we are running latest emu


local emuObj = getEmuObject()
emuObj.SetGsTitleFix( "forceSimpleFetch", "reserved", { texMode=1 } )

-- Wide Screen at boot, 640x448p at boot, speedhack by removing some effects
emuMediaPatch(0x1fc, 12 + 0x6e0, { 0x27bdfee0 }, { 0x03e00008 })
emuMediaPatch(0x1fc, 12 + 0x6e4, { 0x7fb300d0 }, { 0x00000000 })
emuMediaPatch(0x1f8, 12 + 0x720, { 0x27bdff50 }, { 0x03e00008 })
emuMediaPatch(0x1f8, 12 + 0x724, { 0x3c02002d }, { 0x00000000 })
emuMediaPatch(0x2e4, 12 + 0x5b4, { 0x3c04002e }, { 0x24040001 })
emuMediaPatch(0x2e4, 12 + 0x5b8, { 0x8c8486d8 }, { 0x00000000 })
emuMediaPatch(0x40d, 12 + 0x14c, { 0x3c013faa }, { 0x3c013fe3 })
emuMediaPatch(0x40d, 12 + 0x150, { 0x3421aaab }, { 0x34218e39 })
emuMediaPatch(0x3d0, 12 + 0x608, { 0xac4086dc }, { 0xa04986dc })
emuMediaPatch(0x2e4, 12 + 0x5d4, { 0x8ca286dc }, { 0x24020001 })
emuMediaPatch(0x169, 12 + 0x6b0, { 0x27bdff60 }, { 0x03e00008 })
emuMediaPatch(0x169, 12 + 0x6b4, { 0x7fb10080 }, { 0x00000000 })

Is that correct? Or can you improve something?

I was able to tweak/improve performance
CLI
Code:
--gs-uprender=2x2
--gs-upscale=motionvector

--gs-adaptive-frameskip=1

--vu1-jr-cache-policy=newprog
--vu1-jalr-cache-policy=newprog
--vu0-jr-cache-policy=newprog
--vu0-jalr-cache-policy=newprog

#emu used=jakx v2
LUA
Code:
-- God of War II NTSC-Version. SCUS-97481
-- patched by Kozarovv @PCSX2 forums
-- ported to PS4 Lua
-- emu used=jakx v2

apiRequest(2.2)

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()
local eeOverlay    = eeObj.getOverlayObject()
local iopObj  = getIOPObject()
  
emuObj.SetDisplayAspectWide()
gsObj.SetDeinterlaceShift(1)

local patcher = function()

--skip renShadowClient::Prep
eeObj.WriteMem32(0x001706E0,0x03e00008)
eeObj.WriteMem32(0x001706E4,0x00000000)
--skip renPrimMaster::RenderStencilLayer
eeObj.WriteMem32(0x0016E720,0x03e00008)
eeObj.WriteMem32(0x0016E724,0x00000000)
--skip fxBloom::Client::Run
eeObj.WriteMem32(0x00126EB0,0x03e00008)
eeObj.WriteMem32(0x00126EB4,0x00000000)
--default to progressive at first run
eeObj.WriteMem32(0x0025a608,0xa04986dc)
eeObj.WriteMem32(0x001E45D4,0x24020001)
--default to ws at first run
eeObj.WriteMem32(0x001E45B4,0x24040001)
eeObj.WriteMem32(0x001E45B8,0x00000000)
eeObj.WriteMem32(0x0027894C,0x3c013fe3)
eeObj.WriteMem32(0x00278950,0x34218e39)
--allow mpeg skip by pressing x
eeObj.WriteMem32(0x001DD8C8,0x00000000)

eeObj.Vu1MpgCycles(2900)
emuObj.ThrottleMax()

end

emuObj.AddVsyncHook(patcher)

emuObj.SetGsTitleFix( "SetSelfRender", "reserved", { fbmask= 0x00FFFFFF , renderSelf=1 , zmsk=1 , alpha=0 , texMode=1  } )
emuObj.SetGsTitleFix( "forceSimpleFetch", "reserved", { texMode=1  } )


--------------------------------------------EXAMPLES----------------------------------------------

--[[

emuObj.SetGsTitleFix( "forceSimpleFetch", "reserved", { tbp=0x2a000 } )

emuObj.SetGsTitleFix( "forceSimpleFetch", "reserved", { texMode=2  } )

-- Bug 10697
emuObj.SetGsTitleFix( "ignoreSubBuffCov", "reserved", { texMode=2 , tw=6 , th=5} )

-- Fix shadow
emuObj.SetGsTitleFix( "forceSimpleFetch", "reserved", { texMode=1  } )

-- Reduce flush count
emuObj.SetGsTitleFix( "SetSelfRender", "reserved", { fbmask= 0x00FFFFFF , renderSelf=1 , zmsk=1 , alpha=0 , texMode=1  } )

-- Small triangle rejection. Works in conjunction with CLI setting  --gs-override-small-tri-area=1
-- keep default area for texture 256x256 ( no blend)  (Anakin face)
emuObj.SetGsTitleFix( "setRejectionArea", 500,{twIsNot=8, thIsNot=8 } )

-- Bug#9174 -
emuObj.SetGsTitleFix( "ignoreSubBuffCov", "reserved", { } )

-- Fix shadow
emuObj.SetGsTitleFix( "forceSimpleFetch", "reserved", { texMode=2  } )

-- Bug#9240 (Light maps uprender)
-- Copy z-buffer for future use with light maps. psm = SCE_GS_PSMZ24 (49)
emuObj.SetGsTitleFix( "forceSimpleFetch", "reserved", {tw=9, th=9, psm=49, zmsk=1 } )

-- Apply light maps texMode=2 (bilinear)  psm= SCE_GS_PSMCT32 (0)
emuObj.SetGsTitleFix( "forceSimpleFetch", "reserved", {tw=8, th=8, psm=0, ztst=1, texMode=2 } )

--  Performance  fix ( bug# 9474 )
if 0 then  -- emuObj.IsNeoMode() then  -- neo mode check disabled, due to bug #10442
  emuObj.SetGsTitleFix( "globalSet",  "reserved", { workLoadThreshold = 125000} )
else
  emuObj.SetGsTitleFix( "globalSet",  "reserved", { workLoadThreshold = 100000} )
end

emuObj.SetGsTitleFix( "ignoreUpRender", 130 , { totalArea= 700} )
emuObj.SetGsTitleFix( "trianglesAsParticles", "reserved", { hasClut=1,zmsk=1 } )

emuObj.SetGsTitleFix( "ignoreSprite", "reserved", {  texType=1 , tw=5 , th=8, zmsk=1 , alpha=0x80000044  } )
emuObj.SetGsTitleFix( "clipScissors", "reserved", {alpha = 0 , frameW = 4 , psm = 0} )
emuObj.SetGsTitleFix( "ignoreUpShiftTri", "reserved" , { fbmask = 0x00FFFFFF  } )
emuObj.SetGsTitleFix( "forceSimpleFetch",  "reserved", {prim=5, texMode=2, tbp=0x320000} )

emuObj.SetGsTitleFix( "forcePoint", "reserved", {mipIsGt=0,  mmin=0} )
emuObj.SetGsTitleFix( "setRejectionArea", 1000, {alphaIsNot=0 } )

emuObj.SetGsTitleFix( "forceSimpleFetch", "reserved", { texMode=1  } )
emuObj.SetGsTitleFix( "SetSelfRender", "reserved", { fbmask= 0x00FFFFFF , renderSelf=1 , zmsk=1 , alpha=0 , texMode=1  } )
emuObj.SetGsTitleFix( "ignoreSprite", "reserved", {  texType=1 , tw=5 , th=8, zmsk=1 , alpha=0x80000044  } )

-- Performace fix (bug #9785 )
emuObj.SetGsTitleFix( "globalSet",  "reserved", { waveThreshold = 90000} )
emuObj.SetGsTitleFix( "ignoreAreaUpdate", 0, { } )

-- Accumulate fill area only when conditions are met
emuObj.SetGsTitleFix( "includeAreaUpdate", "reserved" , {alphaIsNot = 0, zmsk = 1, tw = 6, th = 6 , tbp = 0x00302000} )
emuObj.SetGsTitleFix( "ignoreUpRender", 130 , { totalArea= 700} )

-- Reduce flush count
--emuObj.SetGsTitleFix( "SetSelfRender", "reserved", { fbmask= 0x00FFFFFF , renderSelf=1 , zmsk=1 , alpha=0 , texMode=1  } )

emuObj.SetGsTitleFix( "trianglesAsParticles", "reserved", { hasClut=1,zmsk=1 } )

-- Fix shadow
emuObj.SetGsTitleFix( "forceSimpleFetch", "reserved", { texMode=1  } )


-- bug# 9972
emuObj.SetGsTitleFix( "ignoreSubBuffCov", "reserved", { } )

]]

emu used=jakx v2

I saw no benefit from using the "lopnor" (GX or SOFT)

Needs testing and anyone willing to help edit/make perfect is more than welcome!
 
Last edited:
I was planning on making a few fkpg ps2 games for myself soon. I noticed several of the links are down on the original post. Is there an updated link to recommended settings and configurations for certain games?
 
I was planning on making a few fkpg ps2 games for myself soon. I noticed several of the links are down on the original post. Is there an updated link to recommended settings and configurations for certain games?

https://www.psdevwiki.com/ps4/Talk:PS2_Classics_Emulator_Compatibility_List

most of them are here. Also, here is my personal "important commands" template
Code:
#####################################
#---VUclampmode0---
--vu0-no-clamping=1
--vu1-no-clamping=1
--cop2-no-clamping=1

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

####################################
#---VUclampmode2---
#--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

#####################################

--vu1=jit-sync
--vif1-instant-xfer=0
--vif-ignore-invalid-cmd=1
--vif1-ignore-cmd-ints=1
--vif-thread-chunk-size=86

--iop-const-folding=All 
--iop-block-validation=ShortHash
--iop-shorthash-len=10
--iop-pc-coherency=1
--iop-evt-check-full=0
--iop-tight-slice-count=10   
--iop-validate-kernel=1

--framelimiter=1
--framelimit-fps=60.0
--framelimit-scalar=2

--vu1-mpg-cycles=150
--cdvd-sector-read-cycles=150

--fpu-no-clamping=1
--fpu-clamp-results=1
--fpu-clamp-operands=1 
--vu0-no-clamping=0
--vu0-clamp-results=1
--vu0-clamp-operands=1 
--vu1-no-clamping=0
--vu1-clamp-results=1
--vu1-clamp-operands=1 
--cop2-no-clamping=0
--cop2-clamp-results=1
--cop2-clamp-operands=1
--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

--ee-context-switch-cycles=1440 
--ee-jit-pagefault-threshold=30 
--ee-break-as-nop=1
--ee-static-block-links=JAL,COP2 
--ee-kernel-hle=1
--ee-injection-kernel=1
--ee-injection-title=1
--ee-regalloc-preserve-scalar=LoadStore
--ee-const-folding=none
--ee-load-rewrites=1   

--ee-cycle-scalar=0.5 
--ee-sif0-cycle-scalar=0.3 
--ee-sif1-cycle-scalar=0.3 
--iop-sif0-cycle-scalar=0.3
--iop-sif1-cycle-scalar=0.3
--iop-cycle-scalar=1.5

--vu-xgkick-delay=0.7

--gs-kernel-cl="mipmap"
--gs-kernel-cl-up="mipmap2x2"
--gs-use-mipmap=1

--gs-use-clut-merge=1
--gs-kernel-cl="clutmerge"
--gs-kernel-cl-up="clutmerge2x2"

--gs-kernel-cl-up="up2x2skipinterp"
--gs-optimize-30fps=1
--gs-aspect-ratio=1.77 

--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

--gs-vert-precision=8
--gs-kernel-cl="h2lpool"
--gs-kernel-cl-up="h2lpool2x2"
--gs-render-tile-threshold=300000
--vu-custom-min-max=0
--vu1-di-bits=0
--vu0-di-bits=0
--vu1-opt-vf00=2
--vu0-opt-vf00=2
--vu1-injection=1
--assert-path1-ad=0
--ee-ignore-segfault=Read
--vu1-mpg-cycles=400
--vu1-mpg-cycles=850,$000
--vu1-mpg-cycles=475,0xffffffff
--vu0-mpg-cycles=225,0xfc
--cdvd-sector-read-cycles=4000

--fpu-clamp-operands=1 
--fpu-rsqrt-fast-estimate=1 
--fpu-accurate-mul-fast=1 

--cop2-di-bits=1
--threaded-gs=0 
--gs-opt-frbuff-switch=1 
--gs-ignore-rect-correction=1 
--gs-dirty-page-policy=1 
--gs-kernel-cl="h2lpool, clutmerge, mipmap, DarkCloud2, fantavision"
--gs-kernel-cl-up="h2lpool2x2, OptRightTri, clutmerge2x2, mipmap2x2, up2x2simple, up2x2skipinterp,  up2x2tc"

--lopnor-config=1
--vu-opt-sf-check=1

--vu-branch-hazard=0
--vu-evil-branches=1
--ee-block-validation=none        #[PageProt,Hash,None]
--ee-regalloc-scalar=RW       #[0,none,ReadOnly,WriteOnly,RW]
--ee-regalloc-simd=ReadOnly           #[0,none,ReadOnly,WriteOnly,RW]
--ee-regalloc-preserve-scalar=LS      #[0,none,LoadOnly,StoreOnly,LS]
--ee-regalloc-preserve-simd=LoadOnly   #[0,none,ReadOnly,WriteOnly,RW]
--ee-const-folding=all
------------------------------------------------------------
JAK ONLY

--help
--config [filename]
--config-opt
--config-local-lua [full pathname]
--rom
--unit-test
--image
--image-disc1
--image-disc2
--image-disc3
--image-disc4
--image-disc5
--pack-image
--emulog-file
--r30
--vu0
--vu1
--cop1
--cop2
--gs-plugin
--cli-only
--no-gs
--threaded-gs
--jitproc-use-aslr
--jitproc-build-match [git hash (sha1)]
--playgo-disc-per-chunk
--external-hdd-sleep-idle [idle timeout in ms]
--external-hdd-spinup-delay [delay in ms]
--external-hdd-sim
--external-hdd-fix
--savedata-delete
--vmc1
--vmc2
--vmc-src [native,host,target,null]
--vmc-dest
--vmc1-src
--vmc1-dest
--vmc2-src
--vmc2-dest
--formatted-vmc
--mtap1
--mtap2
--spu2-update-deferral [Ts/integer]
--spu2-reverb
--spu2-c0-memin-to-bgm
--spu2-c1-memin-to-bgm
--spu2-ignore-kof
--spu2-voice-keyoff-threshold
--spu2-warnings
--pad-run
--pad-run-stop-after [800ms,1s,3m,5h]
--pad-run-exit-after
--pad-run-frame [frame_id/integer]
--pad-record
--pad-record-frame
--record-name [subdir/folder]
--record-video-hash
--record-audio-hash
--record-video-modulo [frames/integer]
--record-audio
--record-audio-img
--record-audio-image
--record-audio-ext
--max-console-spam [bytes/lifetime]
--path-snaps [dir/folder]
--path-recordings
--path-audio-images
--path-memcards
--path-vmc
--path-emulog
--path-manual
--path-patches
--path-trophydata
--path-featuredata
--path-postproc
--path-toolingscript
--snapshot-name
--snapshot-datafile
--snapshot-restore
--snapshot-save [frameId]
--snapshot-mcd-files
--snapshot-repeat [repeat_count]
--snapshot-modulo
--snapshot-debug [0,1,on,off]
--ds4-deadzone-adjust
--ds4-diagonal-adjust
--pad-analog-to-digital
--hid-pad
--host-pad-loses-focus
--host-gamepads
--host-keyboard [0-7]
--host-audio [1,0,on,off,mono]
--mute-audio [all,none,main,bgm]
--host-audio-latency [msec/float]
--host-window-scale [scale/float]
--host-window-pos [x,y]
--host-display-mode [normal/4:3,full/16:9]
--host-osd [0,off,minimal,verbose]
--host-graph [0,off,fps]
--host-dbg-kbd
--host-vsync
--host-trophy-support
--host-edit-safe-area
--rtc-epoch [unix_time (seconds since epoch)]
--framelimiter
--framelimit-fps [FPS/float]
--framelimit-scalar [scalar/float]
--framelimit-mode [normal,fast,fastest,slow,slower,slowest]
--audio-stretching
--force-pal-60hz
--force-frame-blend
--cpu-avx
--cpu-crc32
--stopped
--stop-at [frameID/integer]
--exit-at
--ee-mem-check-eob
--ee-cache-breaks-block
--ee-validate-kernel
--ee-block-validation [PageProt,Hash,None]
--ee-const-folding [None,Gpr,Fpu,All]
--ee-load-rewrites
--ee-store-rewrites
--ee-live32
--ee-kernel-hle
--ee-injection-kernel
--ee-injection-title
--ee-regalloc-scalar [0,none,ReadOnly,WriteOnly,RW]
--ee-regalloc-simd
--ee-regalloc-preserve-scalar [0,none,LoadOnly,StoreOnly,LS]
--ee-regalloc-preserve-simd
--ee-static-block-links [None,Branches,JAL,COP2,All]
--ee-insn-flush-pc
--ee-insn-callmark
--ee-peephole
--ee-ignore-break
--ee-inline-limit-full [insn_count/integer]
--ee-inline-limit-partial
--ee-jit-pagefault-threshold [fault_count/integer]
--ee-jit-opt-debug
--ee-pc-coherency
--ee-insn-marking
--ee-inst-marking
--ee-break-as-nop
--iop-block-validation [PageProt,ShortHash,Hash,None]
--iop-validate-kernel
--iop-shorthash-len
--iop-const-folding
--iop-pc-coherency
--iop-inst-marking
--fpu-to-double
--fpu-no-clamping
--fpu-clamp-operands
--fpu-clamp-results
--fpu-custom-min-max
--fpu-custom-fused-madd
--fpu-accurate-range [start,end]
--fpu-accurate-muldiv
--fpu-accurate-muldiv-range
--fpu-accurate-mul-fast
--fpu-accurate-addsub
--fpu-accurate-addsub-range
--fpu-rsqrt-fast-estimate
--fpu-no-clamp-range [start,end]
--vu-to-double
--vu-branch-hazard
--vu-evil-branches
--vu-d-bit
--vu-t-bit
--vu-inst-mflag
--vu-inst-cflag
--vu-custom-min-max
--vu-custom-fused-madd
--vu-hack-triace
--vu-xgkick-delay [vu_cycles/integer]
--vu-range-merge [vu_inst_cnt]
--vu0-opt-flags [0,1,2] - 1=safe, 2=unsafe
--vu0-opt-vf00
--vu0-opt-subroutine
--vu0-const-prop
--vu0-no-clamping
--vu0-clamp-operands
--vu0-clamp-results
--vu0-inst-q
--vu0-inst-p
--vu0-use-rcp
--vu0-use-rsqrt
--vu0-di-bits
--vu0-clamp-range
--vu0-jr-cache-policy [newprog,sameprog,auto]
--vu0-jalr-cache-policy
--vu0-mul0fix-range
--vu0-accurate-addsub-range
--vu0-aot-start-addr [start address]
--vu0-aot-outmode [out/overwrite, append]
--vu0-aot-end-addr [end address]
--vu0-aot-start-crc [verify crc]
--vu0-aot-end-crc
--vu1-opt-flags
--vu1-opt-vf00
--vu1-opt-subroutine
--vu1-const-prop
--vu1-no-clamping
--vu1-clamp-operands
--vu1-clamp-results
--vu1-inst-q
--vu1-inst-p
--vu1-use-rcp
--vu1-use-rsqrt
--vu1-di-bits
--vu1-clamp-range
--vu1-jr-cache-policy
--vu1-jalr-cache-policy
--vu1-mul0fix-range
--vu1-accurate-addsub-range
--vu1-aot-start-addr
--vu1-aot-outmode
--vu1-aot-end-addr
--vu1-aot-start-crc
--vu1-aot-end-crc
--vu0-injection
--vu1-injection
--vu1-native-patch
--cop2-opt-flags
--cop2-opt-vf00
--cop2-const-prop
--cop2-no-clamping
--cop2-clamp-operands
--cop2-clamp-results
--cop2-regalloc
--cop2-inst-q
--cop2-inst-p
--cop2-use-rcp
--cop2-use-rsqrt
--cop2-di-bits
--cop2-accurate-range
--cop2-accurate-mul
--cop2-accurate-mul-range
--cop2-accurate-addsub
--cop2-accurate-addsub-range
--cop2-no-clamp-range
--ee-jit-disasm [0,1=mips,2=x86]
--iop-jit-disasm
--vu-jit-disasm
--vtune-ee
--vtune-vu
--ee-precompile-trace
--elf-symbols
--map-symbols
--symbols
--pc-bisect-srcfile
--ee-hook
--iop-hook
--ee-evt-check-full
--ee-cycle-scalar
--ee-ignore-segfault [none,R,W,RW]
--ee-native-function [name,mipsaddr]
--ee-stlf-cycle-threshold
--iop-evt-check-full
--iop-cycle-scalar
--cdvd-sector-read-cycles [cycles_per_sector]
--cdvd-sector-seek-cycles
--cdvd-determinism
--iop-tight-slice-count [slices/int]
--vu1-mpg-cycles [cycles,$vupc,$vupc]
--vu0-mpg-cycles
--assert-path1-ad
--idec-cycles-per-qwc [int/multiplier]
--vif1-instant-xfer
--vif1-ignore-cmd-ints
--vif-ignore-invalid-cmd
--vif-thread-chunk-size [int/kilowords]
--detect-idle-vif
--detect-idle-ee
--detect-idle-iop
--detect-idle-intc
--detect-idle-chcr [none,VIF0,VIF1,GIF,fromIPU,toIPU,etc]
--mfifo-manual-drain [frame_multiplier/float]
--mfifo-chunk-drain-cycles [cycles/int]
--ee-sif0-cycle-scalar [multiplier/float]
--ee-sif1-cycle-scalar
--iop-sif0-cycle-scalar
--iop-sif1-cycle-scalar
--gs-scanout-delay [hsync_count/integer]
--gs-fieldswap-delay
--gs-use-deferred-l2h
--l2h-2d-params [TRXREG,BITBLTBUF,height]
--gs-uprender [none,2x2,interp]
--gs-upscale [none,gpu,motion,motionvec,motionvector,edgesmooth,smooth,point]
--gs-aspect-ratio [aspect/float (default=081)]
--gs-progressive
--gs-force-bilinear
--gs-use-mipmap
--gs-use-clut-merge
--gs-kernel-cl [kernelVariant]
--gs-kernel-cl-up [kernelVariantUp]
--gs-optimize-30fps
--gs-motion-factor [motion factor]
--gs-vert-precision [pixelshift]
--gs-check-trans-rejection
--gs-check-trans-rejection68
--gs-override-small-tri-area
--gs-flush-ad-xyz [always,safe,off,0]
--gs-dirty-page-policy [dirtyPagePolicy]
--gs-uv-shift-pointsampling
--gs-skip-dirty-flush-on-mipmap
--gs-packed15-fmv-opt
--gs-h2l-list-opt
--gs-h2l-accurate-hash
--gs-ignore-rect-correction
--gs-ignore-dirty-page-border
--gs-render-tile-threshold
--gs-opt-frbuff-switch
--gs-frontend-opt-mode
--gs-hdr-support
--gs-adaptive-frameskip
--safe-area-min [area/float (range 09 to 10)]
--lopnor-config
--lua-script
--lua-debug-api
--lua-use-pcall
--lua-trace-gc
--lua-trace-fn
--lua-trace-hooks
--lua-trace-vmsteps
--app-entitlement [entitlement/string]
--load-trophy-lua
--load-tooling-lua
--load-feature-lua
--trophy-support
--pcr0-delta-hack [ratio/float]
--verbose-tooling
--log-tooling
--verbose-deci2
--verbose-cdvd-reads
--verbose-cpu-cycles
--verbose-thread-id
--game-live-streaming
--game-live-streaming-record
--remote-play
--share-play
--video-recording
--mute-streaming-audio [none,all,main,bgm]
--screenshot
--screenshot-overlay-image
--screenshot-photo-title [title/string]
--screenshot-comment
--max-disc-num [1-5]
--boot-disc-id [0-4]
--switch-disc-delay [frame_count/integer]
--switch-disc-reset
--ps2-title-id [title_id (ex: SLUS-21059)]
--ps2-lang
--savedata-fingerprint [ps2tc,ps4tc,fingerprint]
--mcd1
--mcd2
--formatted-mcd
--mcd1-initialize
--mcd1-write-type
--mcd2-initialize
--mcd2-write-type
--title-id-override
--host-pad-enhance-deadzone [Legacy value/ignored]
--gs-scanout-offsetx [relative offset/ignored]
--gs-scanout-offsety
--pmc-enable.
--pmc-buffer-size [MB]
--pmc-sample-freq [Hz]
--pmc-measure-frames [frames(int)]

----------------------------------------------------------------------
ROGUE

--gpugs
--config
  %-10s:  %-28s= "%s"
  %-10s:  %s
--help
filename
--config-opt
--config-local-lua
full pathname
--rom
--unit-test
--image
--image-disc1
--image-disc2
--image-disc3
--image-disc4
--image-disc5
--pack-image
--r30
--vu0
--vu1
--cop1
--cop2
--gs-plugin
--cli-only
--no-gs
--threaded-gs
--savedata-delete
--vmc1
--vmc2
--vmc-src
native,host,target,null
--vmc-dest
--vmc1-src
--vmc1-dest
--vmc2-src
--vmc2-dest
--formatted-vmc
--mtap1
--mtap2
--spu2-update-deferral
T-count/integer
--spu2-reverb
--pad-run
--pad-run-stop-after
[800ms,1s,3m,5h]
--pad-run-exit-after
--pad-run-frame
frame_id/integer
--pad-record
--pad-record-frame
--record-name
subdir/folder
--record-video-hash
--record-audio-hash
--record-video-modulo
frames/integer
--record-audio
--record-audio-img
--record-audio-image
--record-audio-ext
--max-console-spam
bytes/lifetime
--path-snaps
dir/folder
--path-recordings
--path-audio-images
--path-memcards
--path-vmc
--path-emulog
--path-manual
--path-patches
--path-trophydata
--path-featuredata
--path-postproc
--path-toolingscript
--snapshot-name
--snapshot-datafile
--snapshot-restore
--snapshot-save
frameId
--snapshot-mcd-files
--snapshot-repeat
repeat_count
--snapshot-modulo
--ds4-deadzone-adjust
--ds4-diagonal-adjust
--host-pad-loses-focus
--host-gamepads
--host-keyboard
slot [0-7]
--host-audio
[1,0,on,off,mono]
--host-audio-latency
msec/float
--host-window-scale
scale/float
--host-window-pos
--host-display-mode
[normal,full,4:3,16:9]
--host-osd
[0,off,minimal,verbose]
--host-vsync
--host-trophy-support
--rtc-epoch
unix_time (seconds since epoch)
--framelimiter
--framelimit-fps
FPS/float
--framelimit-scalar
scalar/float
--framelimit-mode
[normal,fast,fastest,slow,slower,slowest]
--audio-stretching
--cpu-avx
--stopped
--stop-at
frameID/integer
--exit-at
--ee-cache-breaks-block
--ee-validate-kernel
--ee-block-validation
[PageProt,ShortHash,Hash,None]
--ee-shorthash-len
inst_count/integer
--ee-const-folding
--ee-load-rewrites
--ee-store-rewrites
--ee-live32
--ee-pc-coherency
--ee-inst-marking
--ee-kernel-hle
--ee-regalloc-scalar
[0,none,ReadOnly,WriteOnly,RW]
--ee-regalloc-simd
--ee-regalloc-preserve-scalar
[0,none,LoadOnly,StoreOnly,LS]
--ee-regalloc-preserve-simd
--ee-static-block-links
Type,Type,... [None,Branches,JAL,COP2,All]
--iop-block-validation
--iop-validate-kernel
--iop-shorthash-len
--iop-const-folding
--iop-pc-coherency
--iop-inst-marking
--fpu-to-double
--fpu-no-clamping
--fpu-clamp-operands
--fpu-clamp-results
--fpu-custom-min-max
--fpu-custom-fused-madd
--fpu-accurate-range
start,end
--fpu-accurate-muldiv
--fpu-accurate-muldiv-range
--fpu-accurate-mul-fast
--fpu-accurate-addsub
--fpu-accurate-addsub-range
--vu-to-double
--vu-branch-hazard
--vu-evil-branches
--vu-d-bit
--vu-t-bit
--vu-inst-mflag
--vu-inst-cflag
--vu-custom-min-max
--vu-custom-fused-madd
--vu-opt-jr-caching
--vu-opt-sf-check
--vu-hack-triace
--vu-xgkick-delay
vu_cycles/integer
--vu0-opt-flags
[0,1,2] - 1=safe, 2=unsafe
--vu0-opt-vf00
--vu0-opt-subroutine
--vu0-const-prop
--vu0-no-clamping
--vu0-clamp-operands
--vu0-clamp-results
--vu0-inst-q
--vu0-inst-p
--vu0-use-rcp
--vu0-use-rsqrt
--vu0-di-bits
--vu1-opt-flags
--vu1-opt-vf00
--vu1-opt-subroutine
--vu1-const-prop
--vu1-no-clamping
--vu1-clamp-operands
--vu1-clamp-results
--vu1-inst-q
--vu1-inst-p
--vu1-use-rcp
--vu1-use-rsqrt
--vu1-di-bits
--vu1-injection
enable/disable
--cop2-opt-flags
--cop2-opt-vf00
--cop2-const-prop
--cop2-no-clamping
--cop2-clamp-operands
--cop2-clamp-results
--cop2-regalloc
--cop2-inst-q
--cop2-inst-p
--cop2-use-rcp
--cop2-use-rsqrt
--cop2-di-bits
--cop2-accurate-range
--cop2-accurate-mul
--cop2-accurate-mul-range
--cop2-accurate-addsub
--cop2-accurate-addsub-range
--no-trace-logging
--verbose-cdvd-reads
--verbose-tooling
--log-tooling
--eTrace
traceName,traceName,...
--iTrace
--spu2Trace
--ee-jit-disasm
[0,1=mips,2=x86]
--iop-jit-disasm
--vu-jit-disasm
--vtune-ee
--vtune-vu
--ee-hook
--vu1-mpg-cycles
cycles_per_Microprogram
--ee-context-switch-cycles
--assert-path1-ad
--ee-evt-check-full
--iop-evt-check-full
--ee-cycle-scalar
--iop-cycle-scalar
--ee-mem-check-eob
--cdvd-sector-read-cycles
cycles_per_sector
--vif1-instant-xfer
--detect-idle-vif
--detect-idle-ee
--detect-idle-iop
--detect-idle-intc
--detect-idle-chcr
dmaChan,dmaChan,... [none,VIF0,VIF1,GIF,fromIPU,toIPU,etc]
--gs-scanout-delay
hsync_count/integer
--gs-fieldswap-delay
--gs-use-deferred-l2h
--l2h-2d-params
TRXREG,BITBLTBUF,height
--gs-uprender
[none,2x2]
--gs-upscale
[none,gpu,edgesmooth,motionvec]
--gs-aspect-ratio
aspect/float (default=0.81)
--gs-progressive
--gs-force-bilinear
--gs-use-mipmap
--gs-use-clut-merge
--gs-kernel-cl
kernelVariant
--gs-kernel-cl-up
kernelVariantUp
--gs-optimize-30fps
--gs-motion-factor
motion factor
--gs-check-trans-rejection
--gs-skip-dirty-flush-on-mipmap
--gs-packed15-fmv-opt
--lopnor-config
--lua-script
--lua-debug-api
--app-entitlement
entitlement/string
--load-trophy-lua
--load-tooling-lua
--load-feature-lua
--trophy-support
--game-live-streaming
--game-live-streaming-record
--remote-play
--share-play
--video-recording
--screenshot
--screenshot-overlay-image
--screenshot-photo-title
title/string
--screenshot-comment
--max-disc-num
[1-5]
--boot-disc-id
[0-4]
--switch-disc-delay
frame_count/integer
--ps2-title-id
title_id (ex: SLUS-21059)
--ps2-lang
--ps2-default-lang
--mcd1
--mcd2
--formatted-mcd
--mcd1-initialize
--mcd1-write-type
--mcd2-initialize
--mcd2-write-type
--title-id-override
--host-pad-enhance-deadzone
Legacy value/ignored
--gs-scanout-offsetx
relative offset/ignored
--gs-scanout-offsety
native
host

---------------------------------------------------------------------------------
??????

--unit-test
--config=filename
--config-opt
--hid-pad
--snapshot-debug
--pc-bisect-srcfile
--pack-image
--pad-analog-to-digital
--pad-run
--pad-run-stop-after=[800ms,1s,3m,5h]
--pad-run-exit-after
--pad-run-frame=frame_id/integer
--pad-record
--pad-record-frame
--record-name=subdir/folder
--record-video-hash
--record-video-modulo=rames/integer.
--record-audio-hash.
--r30
--vu0
--vu1=jit-sync,jit-async.
--cop1
--cop2
--gs-plugin
--cli-only
--no-gs
--jitproc-use-aslr
--jitproc-build-match=git hash (sha1)
--playgo-disc-per-chunk
--external-hdd-sleep-idle=idle timeout in ms
--external-hdd-spinup-delay=delay in ms
--external-hdd-sim
--external-hdd-fix
--savedata-delete
--vmc1
--vmc2
--vmc-src= possible values ? =================>(native,host,target,null)
--vmc-dest
--vmc1-src
--vmc1-dest
--vmc2-src
--vmc2-dest
--formatted-vmc
--cpu-avx
--cpu-crc32
--stopped
--stop-at=frameID/integer
--exit-at
--ee-jit-opt-debug
--ee-precompile-trace
--ee-peephole
--ee-penalize-short-blocks
--ee-stlf-cycle-threshold
--ee-validate-kernel
--ee-injection-kernel
--ee-injection-title
--spu2-update-deferral=Ts/integer
--spu2-reverb
--spu2-c0-memin-to-bgm
--spu2-c1-memin-to-bgm
--spu2-ignore-kof
--spu2-voice-keyoff-threshold
--spu2-warnings
--vu1-native-patch
--vu1-aot-start-addr
--vu1-aot-outmode
--vu1-aot-end-addr
--vu1-aot-start-crc
--vu0-aot-start-addr=start addres
--vu0-aot-outmode=out/overwrite, append
--vu0-aot-end-addr=end address
--vu0-aot-start-crc=verify crc
--vu0-aot-end-crc
--vu1-aot-end-crc
--vtune-ee
--vtune-vu
--vif1-ignore-cmd-ints
--assert-path1-ad
--detect-idle-vif
--detect-idle-ee
--detect-idle-iop
--detect-idle-intc
--detect-idle-chcr= dmaChan,dmaChan,... [none,VIF0,VIF1,GIF,fromIPU,toIPU,etc].
--mfifo-manual-drain.frame_multiplier/float
--mfifo-chunk-drain-cycles.cycles/int
--iop-hook
--lua-script
--lua-debug-api
--lua-use-pcall
--lua-trace-gc
--lua-trace-fn
--lua-trace-hooks
--lua-trace-vmsteps
--app-entitlement.entitlement/string
--load-trophy-lua
--load-feature-lua
--trophy-support
--pcr0-delta-hack.ratio/float
--verbose-tooling
--log-tooling
--verbose-deci2
--verbose-cdvd-reads
--verbose-cpu-cycles
--verbose-thread-id
--game-live-streaming
--game-live-streaming-record
--switch-disc-delay=frame_count/integer
--switch-disc-reset
--savedata-fingerprint=posssible values ?===============>ps2tc,ps4tc,fingerprint
--mcd1
--mcd2
--formatted-mcd
--mcd1-initialize
--mcd1-write-type
--mcd2-initialize
--mcd2-write-type
--title-id-override
--pmc-enable
--pmc-buffer-size=MB
--pmc-sample-freq=Hz
--pmc-measure-frames=frames(int)
--cdvd-sector-read-cycles=cycles_per_sector
--cdvd-sector-seek-cycles
--cdvd-determinism
--elf-symbols
--map-symbols
--symbols
 

Attachments

Similar threads

Back
Top