Editing Custom Configuration Files
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
Configuration files created by users, to improve PS2 emulator compatibility on PS4. | Configuration files created by users, to improve PS2 emulator compatibility on PS4. | ||
* Describing | * Describing what Your configuration is doing is recommended | ||
* On cli you can do it with <code>#</code> and on a lua you can do it with <code>--</code> | * On cli you can do it with <code>#</code> and on a lua you can do it with <code>--</code> | ||
Line 14: | Line 14: | ||
====18 Wheeler - American Pro Trucker==== | ====18 Wheeler - American Pro Trucker==== | ||
<br>NTSC | <br>NTSC | ||
Line 44: | Line 43: | ||
--math.random() + math.random(1, 99) | --math.random() + math.random(1, 99) | ||
</pre> | </pre> | ||
====24 The Game==== | ====24 The Game==== | ||
'''''CLI''''' | '''''CLI''''' | ||
<pre> | <pre> | ||
--gs-uprender=2x2 | |||
--gs-upscale=edgesmooth | |||
--host-display-mode=16:9 | |||
--ee-kernel-hle=1 | |||
--ee-injection-kernel=1 | |||
--ee-injection-title=1 | |||
--ee-cycle-scalar=1.9 | --ee-cycle-scalar=1.9 | ||
--safe-area-min=1.0 | --safe-area-min=1.0 | ||
--vu0-no-clamping=0 | --vu0-no-clamping=0 | ||
--vu0-clamp-operands=1 | |||
--vu0-clamp-results=1 | |||
--vu1-no-clamping=0 | --vu1-no-clamping=0 | ||
--vu1-clamp-operands=1 | |||
--vu1-clamp-results=1 | |||
--cop2-no-clamping=0 | --cop2-no-clamping=0 | ||
--cop2-clamp-operands=1 | |||
--cop2-clamp-results=1 | |||
Line 68: | Line 80: | ||
local gpr = require("ee-gpr-alias") | local gpr = require("ee-gpr-alias") | ||
apiRequest(0 | apiRequest(1.0) | ||
local eeObj = getEEObject() | local eeObj = getEEObject() | ||
Line 153: | Line 165: | ||
<br>SCES_504.10 | <br>SCES_504.10 | ||
<pre>apiRequest( | <pre>apiRequest(2.2) -- request version 0.1 API. Calling apiRequest() is mandatory. | ||
-- Wrong sky shader | -- Wrong sky shader | ||
Line 189: | Line 201: | ||
<br>SCES_540.41 | <br>SCES_540.41 | ||
<pre>apiRequest( | <pre>apiRequest(2.2) -- request version 0.1 API. Calling apiRequest() is mandatory. | ||
-- Wrong sky shader | -- Wrong sky shader | ||
Line 245: | Line 257: | ||
<pre>--emu used=jakx v2 | <pre>--emu used=jakx v2 | ||
apiRequest(0 | apiRequest(1.0) | ||
local eeObj = getEEObject() | local eeObj = getEEObject() | ||
local emuObj = getEmuObject() | local emuObj = getEmuObject() | ||
Line 295: | Line 307: | ||
<br>All Versions | <br>All Versions | ||
<pre> | <pre> | ||
--gs-uprender=2x2 | |||
--gs-upscale=EdgeSmooth | |||
--host-display-mode=16:9 | |||
--vif1-instant-xfer=0 | --vif1-instant-xfer=0 | ||
--vu0-no-clamping=0 | --vu0-no-clamping=0 | ||
--vu0-clamp-results=1 | |||
--vu1-no-clamping=0 | --vu1-no-clamping=0 | ||
--vu1-clamp-results=1 | |||
</pre> | </pre> | ||
Line 319: | Line 339: | ||
<pre>--vu0-no-clamping=0 | <pre>--vu0-no-clamping=0 | ||
--vu0-clamp-results=1 | |||
--vu1-no-clamping=0 | --vu1-no-clamping=0 | ||
--vu1-clamp-results=1 | |||
--cop2-no-clamping=0 | --cop2-no-clamping=0 | ||
--cop2-clamp-results=1 | |||
#SPS Fix</pre> | #SPS Fix</pre> | ||
Line 354: | Line 377: | ||
eeInsnReplace(0x262608, 0xE4400000, 0xAC410000) | eeInsnReplace(0x262608, 0xE4400000, 0xAC410000) | ||
eeInsnReplace(0x2564A8, 0x8F829764, 0x24020000)</pre> | eeInsnReplace(0x2564A8, 0x8F829764, 0x24020000)</pre> | ||
====Castlevania: Curse of Darkness==== | ====Castlevania: Curse of Darkness==== | ||
Line 439: | Line 454: | ||
==== Call of Duty: World at War - Final Fronts ==== | ==== Call of Duty: World at War - Final Fronts ==== | ||
<pre> | <pre> | ||
--ee-kernel-hle=1 | |||
--ee-injection-kernel=1 | |||
--ee-injection-title=1 | |||
--ee-cycle-scalar=1.9 | --ee-cycle-scalar=1.9 | ||
--safe-area-min=1.0 | --safe-area-min=1.0 | ||
--vu0-no-clamping=0 | --vu0-no-clamping=0 | ||
--vu0-clamp-operands=1 | |||
--vu0-clamp-results=1 | |||
--vu1-no-clamping=0 | --vu1-no-clamping=0 | ||
--vu1-clamp-operands=1 | |||
--vu1-clamp-results=1 | |||
--cop2-no-clamping=0 | --cop2-no-clamping=0 | ||
--cop2-clamp-operands=1 | |||
--cop2-clamp-results=1 | |||
# Fixed low framrate issue, !!!JAK EMULATOR Used!!! | # Fixed low framrate issue, !!!JAK EMULATOR Used!!! | ||
</pre> | </pre> | ||
Line 453: | Line 477: | ||
<pre>--vu0-no-clamping=0 | <pre>--vu0-no-clamping=0 | ||
--vu1-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.</pre> | # fix graphic and physics, there are still issue with fmv, and minor stering issue.</pre> | ||
Line 473: | Line 501: | ||
-- emu used=KOF 98 | -- emu used=KOF 98 | ||
apiRequest(0 | apiRequest(1.0) | ||
local gpr = require("ee-gpr-alias") | local gpr = require("ee-gpr-alias") | ||
Line 521: | Line 549: | ||
-- emu used=KOF 2000 | -- emu used=KOF 2000 | ||
apiRequest(0 | apiRequest(1.0) | ||
local gpr = require("ee-gpr-alias") | local gpr = require("ee-gpr-alias") | ||
Line 545: | Line 573: | ||
'''SLPM-62114_cli.conf''' | '''SLPM-62114_cli.conf''' | ||
<pre> | <pre> | ||
--gs-uprender=2x2 | |||
--gs-upscale=edgesmooth | |||
--host-display-mode=16:9 | |||
--force-frame-blend=1 | --force-frame-blend=1 | ||
--gs-kernel-cl="h2lpool" | --gs-kernel-cl="h2lpool" | ||
Line 558: | Line 589: | ||
-- emu used=KOF 98 | -- emu used=KOF 98 | ||
apiRequest(0 | apiRequest(1.0) | ||
local gpr = require("ee-gpr-alias") | local gpr = require("ee-gpr-alias") | ||
Line 689: | Line 720: | ||
<br>'''''CLI''''' | <br>'''''CLI''''' | ||
<pre> | <pre> | ||
--gs-uprender=2x2 | |||
--gs-upscale=edgesmooth | |||
--gs-adaptive-frameskip=1 | --gs-adaptive-frameskip=1 | ||
--force-frame-blend=1 | --force-frame-blend=1 | ||
--vu0-no-clamping=0 | --vu0-no-clamping=0 | ||
--vu1-no-clamping=0 | --vu1-no-clamping=0 | ||
--vu1-di-bits=0 | --vu1-di-bits=0 | ||
--vu1=jit-sync | --vu1=jit-sync | ||
--vu1-mpg-cycles=2200 | --vu1-mpg-cycles=2200 | ||
--vu1-jalr-cache-policy=newprog | --vu1-jalr-cache-policy=newprog | ||
Line 710: | Line 745: | ||
local gpr = require("ee-gpr-alias") | local gpr = require("ee-gpr-alias") | ||
apiRequest(0 | apiRequest(2.0) | ||
local emuObj = getEmuObject() | local emuObj = getEmuObject() | ||
Line 780: | Line 815: | ||
--DOA 2 Hardcore NTSC US | --DOA 2 Hardcore NTSC US | ||
apiRequest( | apiRequest(2.2) | ||
local gpr = require("ee-gpr-alias") | local gpr = require("ee-gpr-alias") | ||
Line 831: | Line 866: | ||
<pre> | <pre> | ||
#Fix for game being stuck | #Fix for game being stuck at main menu with selections moving very fast | ||
--fpu-no-clamping=1 | --fpu-no-clamping=1 | ||
#Speedhack | #Speedhack | ||
Line 925: | Line 960: | ||
#Fix for being stuck in Faerie land. | #Fix for being stuck in Faerie land. | ||
--fpu-accurate-range=0x00693f88,0x00693f88 | --fpu-accurate-range=0x00693f88,0x00693f88 | ||
</pre> | </pre> | ||
Line 951: | Line 968: | ||
#Slowdown fixes | #Slowdown fixes | ||
--vu1-di-bits=0 | --vu1-di-bits=0 | ||
--vu1-mpg-cycles= | --vu1-mpg-cycles=600 | ||
--ee-cycle-scalar=1.2 | |||
#Disable try to fix graphics if creating using ps2fpkg v0.6 | #Disable try to fix graphics if creating using ps2fpkg v0.6 | ||
</pre> | </pre> | ||
Line 1,003: | Line 1,022: | ||
# Emu used = Primal | # Emu used = Primal | ||
</pre> | </pre> | ||
Line 1,027: | Line 1,029: | ||
<br>All Versions | <br>All Versions | ||
<pre> | <pre>--gs-uprender=2x2 | ||
--gs-upscale=EdgeSmooth | |||
--host-display-mode=16:9 | |||
--framelimit-mode=normal | --framelimit-mode=normal | ||
#Fix for missing character/world parts | #Fix for missing character/world parts | ||
Line 1,056: | Line 1,061: | ||
#Missing textures fix</pre> | #Missing textures fix</pre> | ||
====Fire Pro Wrestling Z™®==== | ====Fire Pro Wrestling Z™®==== | ||
Line 1,146: | Line 1,135: | ||
#use the rest just in case | #use the rest just in case | ||
--vu0-no-clamping=0 | --vu0-no-clamping=0 | ||
--vu0-clamp-operands=1 | |||
--vu0-clamp-results=1 | |||
--vu1-clamp-operands=1 | |||
--vu1-clamp-results=1 | |||
--cop2-no-clamping=0 | --cop2-no-clamping=0 | ||
--cop2-clamp-operands=1 | |||
--cop2-clamp-results=1 | |||
#Fixes disappearing models during cutscenes and during gameplay</pre> | #Fixes disappearing models during cutscenes and during gameplay</pre> | ||
Line 1,153: | Line 1,148: | ||
<br>CLI | <br>CLI | ||
<pre>--fpu-no-clamping=0 | <pre>--fpu-no-clamping=0 | ||
--fpu-clamp-results=1 | |||
--vu0-no-clamping=0 | --vu0-no-clamping=0 | ||
--vu0-clamp-results=1 | |||
--vu1-no-clamping=0 | --vu1-no-clamping=0 | ||
--vu1-clamp-results=1 | |||
--cop2-no-clamping=0 | --cop2-no-clamping=0 | ||
--cop2-clamp-results=1 | |||
#fix for missing character models | #fix for missing character models | ||
--vu-xgkick-delay=0 | --vu-xgkick-delay=0.58 | ||
#KOF98Emu used</pre> | #KOF98Emu used</pre> | ||
====Galarians: Ash==== | ====Galarians: Ash==== | ||
'''''CLI''''' | '''''CLI''''' | ||
<pre> | <pre>--gs-uprender=2x2 | ||
--gs-upscale=EdgeSmooth | |||
--gs-adaptive-frameskip=1 | --gs-adaptive-frameskip=1 | ||
Line 1,176: | Line 1,176: | ||
</pre> | </pre> | ||
'''''LUA file''''' | '''''LUA file''''' | ||
<pre> | <pre> | ||
Line 1,184: | Line 1,183: | ||
local gpr = require("ee-gpr-alias") | local gpr = require("ee-gpr-alias") | ||
apiRequest( | apiRequest(2.2) | ||
local eeObj = getEEObject() | local eeObj = getEEObject() | ||
Line 1,196: | Line 1,195: | ||
end | end | ||
emuObj.AddVsyncHook(patcher) | emuObj.AddVsyncHook(patcher) | ||
</pre> | </pre> | ||
Line 1,402: | Line 1,384: | ||
<br>CLI | <br>CLI | ||
<pre> | <pre> | ||
--gs-uprender=2x2 | |||
--gs-upscale=edgesmooth | |||
--gs-kernel-cl="h2lpool" | --gs-kernel-cl="h2lpool" | ||
--gs-kernel-cl-up="h2lpool2x2" | --gs-kernel-cl-up="h2lpool2x2" | ||
--host-display-mode=16:9 | |||
#emu used=psychonauts v2 | #emu used=psychonauts v2 | ||
</pre> | </pre> | ||
Line 1,411: | Line 1,397: | ||
local gpr = require("ee-gpr-alias") | local gpr = require("ee-gpr-alias") | ||
apiRequest(0 | apiRequest(1.0) | ||
local eeObj = getEEObject() | local eeObj = getEEObject() | ||
Line 1,453: | Line 1,439: | ||
<br>CLI | <br>CLI | ||
<pre> | <pre> | ||
--gs-uprender=2x2 | |||
--gs-upscale=edgesmooth | |||
--gs-kernel-cl="h2lpool" | --gs-kernel-cl="h2lpool" | ||
--gs-kernel-cl-up="h2lpool2x2" | --gs-kernel-cl-up="h2lpool2x2" | ||
Line 1,470: | Line 1,458: | ||
<pre>--vu0-no-clamping=0 | <pre>--vu0-no-clamping=0 | ||
--vu1-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-no-clamping=0 | ||
--cop2-clamp-operands=1 | |||
--cop2-clamp-results=1 | |||
#fix for graphical glitches, specially the missing ground. | #fix for graphical glitches, specially the missing ground. | ||
Line 1,495: | Line 1,489: | ||
<br>'''US''' | <br>'''US''' | ||
<pre> | <pre> | ||
--gs-uprender=2x2 | |||
--gs-upscale=EdgeSmooth | |||
--gs-adaptive-frameskip=1 | --gs-adaptive-frameskip=1 | ||
--gs-kernel-cl="h2lpool" | --gs-kernel-cl="h2lpool" | ||
Line 1,501: | Line 1,497: | ||
--ee-cycle-scalar=2.0 | --ee-cycle-scalar=2.0 | ||
--vu1-mpg-cycles=2000 | --vu1-mpg-cycles=2000 | ||
--vu1-di-bits=0 | --vu1-di-bits=0 | ||
--vu1=trans | |||
#Cdvd timing | #Cdvd timing | ||
--iop-cycle-scalar=0.20 | --iop-cycle-scalar=0.20 | ||
Line 1,514: | Line 1,512: | ||
-- 03 Corrupted green lines around the objects, uprendering problem | -- 03 Corrupted green lines around the objects, uprendering problem | ||
-- Slowdowns and performances patched in cli.conf file | -- Slowdowns and performances patched in cli.conf file | ||
apiRequest( | apiRequest(2.2) | ||
local emuObj = getEmuObject() | local emuObj = getEmuObject() | ||
Line 1,528: | Line 1,526: | ||
====God of War 2==== | ====God of War 2==== | ||
'''''CLI''''' | '''''CLI''''' | ||
<pre> | <pre>--gs-uprender=2x2 | ||
--gs-upscale=edgesmooth | |||
--gs-adaptive-frameskip=1 | --gs-adaptive-frameskip=1 | ||
--ee-cycle-scalar=0.62 | --ee-cycle-scalar=0.62 | ||
Line 1,536: | Line 1,535: | ||
--vu1-jalr-cache-policy=newprog | --vu1-jalr-cache-policy=newprog | ||
--cdvd-sector-read-cycles=4000 | --cdvd-sector-read-cycles=4000 | ||
--host-audio-latency=1.6 | |||
--host-display-mode=16:9 | |||
*Jakx Emu used*</pre> | *Jakx Emu used*</pre> | ||
Line 1,543: | Line 1,544: | ||
-- ported to PS4 | -- ported to PS4 | ||
apiRequest( | apiRequest(2.2) | ||
local gpr = require("ee-gpr-alias") | local gpr = require("ee-gpr-alias") | ||
Line 1,644: | Line 1,645: | ||
end | end | ||
emuObj.AddVsyncHook(patcher) | emuObj.AddVsyncHook(patcher) | ||
</pre> | </pre> | ||
Line 1,662: | Line 1,652: | ||
<br>All Versions | <br>All Versions | ||
<pre> | <pre>--gs-uprender=2x2 | ||
--gs-upscale=EdgeSmooth | |||
--host-display-mode=16:9 | |||
--vu1-no-clamping=0 | --vu1-no-clamping=0 | ||
#fix for graphical glitches. | #fix for graphical glitches. | ||
</pre> | </pre> | ||
Line 1,707: | Line 1,703: | ||
====Jaws Unleashed==== | ====Jaws Unleashed==== | ||
<br>'''''LUA file''''' | <br>'''''LUA file''''' | ||
<pre> | <pre> | ||
apiRequest(0 | apiRequest(1.0) | ||
local eeObj = getEEObject() | local eeObj = getEEObject() | ||
local emuObj = getEmuObject() | local emuObj = getEmuObject() | ||
Line 1,755: | Line 1,738: | ||
<pre>--vu0-no-clamping=0 | <pre>--vu0-no-clamping=0 | ||
--vu0-clamp-operands=1 | |||
--vu0-clamp-results=1 | |||
--vu1-no-clamping=0 | --vu1-no-clamping=0 | ||
--vu1-clamp-operands=1 | |||
--vu1-clamp-results=1 | |||
#fix for flickering polygons.</pre> | #fix for flickering polygons.</pre> | ||
Line 1,913: | Line 1,900: | ||
<br>SLES-51093 | <br>SLES-51093 | ||
<br>'''''CLI''''' | <br>'''''CLI''''' | ||
<pre> | <pre>--gs-uprender=2x2 | ||
--gs-upscale=EdgeSmooth | |||
--host-display-mode=16:9 | |||
--cdvd-sector-read-cycles=5000 | --cdvd-sector-read-cycles=5000 | ||
#emu used=rotk v1 | #emu used=rotk v1 | ||
Line 1,990: | Line 1,979: | ||
-- emu used=KOF2000 -- | -- emu used=KOF2000 -- | ||
apiRequest(0 | apiRequest(1.0) | ||
local eeObj = getEEObject() | local eeObj = getEEObject() | ||
Line 2,107: | Line 2,096: | ||
<pre>-- emu used=kinetica v2 | <pre>-- emu used=kinetica v2 | ||
apiRequest(0 | apiRequest(1.0) | ||
local gpr = require("ee-gpr-alias") | local gpr = require("ee-gpr-alias") | ||
Line 2,138: | Line 2,127: | ||
'''''CLI''''' | '''''CLI''''' | ||
<pre> | <pre> | ||
--ee-kernel-hle=1 | |||
--ee-injection-kernel=1 | |||
--ee-injection-title=1 | |||
--ee-block-validation=PageProt | --ee-block-validation=PageProt | ||
--vu1-opt-flags=2 | --vu1-opt-flags=2 | ||
Line 2,170: | Line 2,162: | ||
--vu0-no-clamping=0 | --vu0-no-clamping=0 | ||
--vu1-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-no-clamping=0 | ||
--cop2-clamp-operands=1 | |||
--cop2-clamp-results=1 | |||
# Fixed green, blue and red graphical issues. The game works better. | # Fixed green, blue and red graphical issues. The game works better. | ||
</pre> | </pre> | ||
Line 2,269: | Line 2,267: | ||
</pre> | </pre> | ||
====Need for Speed Underground 2==== | ====Need for Speed Underground 2==== | ||
Line 2,304: | Line 2,273: | ||
<br>SLUS-21065 | <br>SLUS-21065 | ||
<pre>apiRequest(0 | <pre>apiRequest(1.0) | ||
local eeObj = getEEObject() | local eeObj = getEEObject() | ||
Line 2,339: | Line 2,308: | ||
--gs-kernel-cl-up="mipmap2x2" | --gs-kernel-cl-up="mipmap2x2" | ||
--vu0-no-clamping=0 | --vu0-no-clamping=0 | ||
--vu0-clamp-results=1 | |||
--vu1-no-clamping=0 | --vu1-no-clamping=0 | ||
--vu1-clamp-results=1 | |||
--cop2-clamp-results=1 | |||
--cop2-no-clamping=0 | --cop2-no-clamping=0 | ||
#Fixes for slowdowns | #Fixes for slowdowns | ||
Line 2,385: | Line 2,357: | ||
<br>SLES-53959 | <br>SLES-53959 | ||
<pre> | <pre> | ||
--gs-uprender=2x2 | |||
--gs-upscale=edgesmooth | |||
--cdvd-sector-read-cycles=2000 | --cdvd-sector-read-cycles=2000 | ||
--host-display-mode=16:9 | |||
#Fix for fmvs showing black screen with subtitles | #Fix for fmvs showing black screen with subtitles | ||
--fpu-accurate-range=0x3f3068,0x3f32bc | --fpu-accurate-range=0x3f3068,0x3f32bc | ||
Line 2,548: | Line 2,523: | ||
--vu1-no-clamping=0 | --vu1-no-clamping=0 | ||
--vu0-no-clamping=0 | --vu0-no-clamping=0 | ||
# | #Optional Clamping | ||
--fpu-no-clamping=0 | |||
#Speedup | |||
--vu1-di-bits=0 | |||
#underclocking the animation offsets | |||
--ee-hook=0x0028A808,AdvanceClock,,500 | |||
--ee-hook=0x0028A574,AdvanceClock,,500 | |||
--ee-hook=0x0028A4F4,AdvanceClock,,500 | |||
--ee-hook=0x0028A4E4,AdvanceClock,,500 | |||
--ee-hook=0x0028A6EC,AdvanceClock,,500 | |||
--ee-hook=0x0028A460,AdvanceClock,,500 | |||
--ee-hook=0x0028A278,AdvanceClock,,500 | --ee-hook=0x0028A278,AdvanceClock,,500 | ||
--ee-hook=0x0028A410,AdvanceClock,,500 | |||
--ee-hook=0x0028A288,AdvanceClock,,500 | |||
--ee-hook=0x0028A294,AdvanceClock,,500 | |||
--ee-hook=0x0028A4A0,AdvanceClock,,500 | |||
--ee-hook=0x0028A36C,AdvanceClock,,500 | |||
--ee-hook=0x0028A6BC,AdvanceClock,,500 | |||
--ee-hook=0x0028A488,AdvanceClock,,500 | |||
--ee-hook=0x0028A65C,AdvanceClock,,500 | |||
--ee-hook=0x0028A68C,AdvanceClock,,500 | |||
--ee-hook=0x0028A6D4,AdvanceClock,,500 | |||
--ee-hook=0x0028A6A4,AdvanceClock,,500 | |||
--ee-hook=0x0028A5D4,AdvanceClock,,500 | --ee-hook=0x0028A5D4,AdvanceClock,,500 | ||
</pre><br>'''LUA''' | </pre><br>'''LUA''' | ||
Line 2,556: | Line 2,552: | ||
-- emu used=KOF 2000 | -- emu used=KOF 2000 | ||
apiRequest(0 | apiRequest(1.0) | ||
local gpr = require("ee-gpr-alias") | local gpr = require("ee-gpr-alias") | ||
Line 2,829: | Line 2,825: | ||
<pre>--gs-upscale=point | <pre>--gs-upscale=point | ||
--gs-uprender=2x2 | |||
--gs-motion-factor=25 | |||
--host-audio-latency=0.01 | |||
--gs-ignore-dirty-page-border=1 | --gs-ignore-dirty-page-border=1 | ||
--gs-kernel-cl="h2lpool" | --gs-kernel-cl="h2lpool" | ||
Line 2,834: | Line 2,833: | ||
--gs-h2l-list-opt=1 | --gs-h2l-list-opt=1 | ||
--gs-h2l-accurate-hash=1 | --gs-h2l-accurate-hash=1 | ||
#same as Anthology, which VI is a patched-out section of; substantial slowdown during combat has been mitigated.</pre> | #same as Anthology, which VI is a patched-out section of; substantial slowdown during combat has been mitigated.</pre> | ||
Line 3,074: | Line 3,074: | ||
</pre> | </pre> | ||
====Shin Megami Tensei | ====Shin Megami Tensei: Persona 3 FES==== | ||
<br>'''NTSC''' | <br>'''NTSC''' | ||
<br>'''CLI''' | |||
<pre> | <pre> | ||
# | # Misc | ||
--host-display-mode=full | |||
--force-frame-blend=0 | --force-frame-blend=0 | ||
--gs-progressive=1 | |||
--ee-cycle-scalar=0.62 | |||
--host-audio-latency=0.05 | |||
# Mipmapping | |||
--gs-use-mipmap=1 | |||
--gs-kernel-cl="mipmap" | |||
--gs-kernel-cl-up="mipmap2x2" | |||
# VU Speedhacks | # VU Speedhacks | ||
--vu0-const-prop=1 | |||
--vu1-const-prop=1 | |||
--vu1-di-bits=0 | --vu1-di-bits=0 | ||
--vu1-mpg-cycles= | --vu0-di-bits=0 | ||
--vu1-opt-vf00=2 | |||
--vu0-opt-vf00=2 | |||
--vu1-mpg-cycles=1400 | |||
--vu-custom-min-max=0 | |||
# IOP Speedhacks | |||
--iop-const-folding=All | |||
--iop-cycle-scalar=0.1 | |||
--cdvd-sector-seek-cycles=0.1 | |||
--cdvd-sector-read-cycles=0.1 | |||
# Default Optimizations | |||
--fpu-no-clamping=0 | |||
--fpu-clamp-operands=1 | |||
--fpu-clamp-results=1 | |||
--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 | |||
--vu0-opt-flags=1 | |||
--vu1-opt-flags=1 | |||
--cop2-opt-flags=1 | |||
--vu1-jr-cache-policy=newprog | |||
--vu1-jalr-cache-policy=newprog | |||
--vu0-jr-cache-policy=newprog | |||
--vu0-jalr-cache-policy=newprog | |||
#User Emu = kof98um | #User Emu = kof98um | ||
</pre> | </pre> | ||
* Config and icons [https://www.psx-place.com/threads/research-ps2-emulator-configuration-on-ps4.16131/page-243 Download] | |||
====Shin Megami Tensei: Persona 4==== | ====Shin Megami Tensei: Persona 4==== | ||
Line 3,200: | Line 3,229: | ||
'''''LUA''''' | '''''LUA''''' | ||
<br>(SLUS-20228) | <br>(SLUS-20228) | ||
<pre>apiRequest(0 | <pre>apiRequest(1.0) | ||
local eeObj = getEEObject() | local eeObj = getEEObject() | ||
Line 3,253: | Line 3,282: | ||
ALL | ALL | ||
<br>CLI | <br>CLI | ||
<pre> | <pre>--gs-uprender=2x2 | ||
--gs-upscale=edgesmooth | |||
--gs-kernel-cl-up="up2x2skipinterp" | --gs-kernel-cl-up="up2x2skipinterp" | ||
Line 3,272: | Line 3,302: | ||
-- emu used=jakx v2 | -- emu used=jakx v2 | ||
apiRequest( | apiRequest(2.3) | ||
local gpr = require("ee-gpr-alias") | local gpr = require("ee-gpr-alias") | ||
Line 3,296: | Line 3,326: | ||
</pre> | </pre> | ||
====Spider-Man 3 ==== | ====Spider-Man 3 ==== | ||
ALL | ALL | ||
Line 3,314: | Line 3,336: | ||
--vu1-mpg-cycles=600 | --vu1-mpg-cycles=600 | ||
--host-audio-latency=2.21 | |||
#Fix for slowdown and micro-freezes</pre> | #Fix for slowdown and micro-freezes</pre> | ||
Line 3,325: | Line 3,349: | ||
#Rest might be unnecessary | #Rest might be unnecessary | ||
--vu0-no-clamping=0 | --vu0-no-clamping=0 | ||
--vu0-clamp-operands=1 | |||
--vu0-clamp-results=1 | |||
--vu1-clamp-operands=1 | |||
--vu1-clamp-results=1 | |||
--cop2-no-clamping=0 | --cop2-no-clamping=0 | ||
--cop2-clamp-operands=1 | |||
--cop2-clamp-results=1 | |||
</pre> | </pre> | ||
Line 3,332: | Line 3,362: | ||
<br>'''''CLI''''' | <br>'''''CLI''''' | ||
<pre> | <pre> | ||
#Speedhacks | #Speedhacks + Clamping | ||
--vu1-di-bits=0 | --vu1-di-bits=0 | ||
--vu1-mpg-cycles= | --vu1-const-prop=1 | ||
--vu1-mpg-cycles=800 | |||
-- | --ee-cycle-scalar=1.2 | ||
#Jakv2 Emu Used | #Jakv2 Emu Used | ||
</pre> | </pre> | ||
Line 3,353: | Line 3,383: | ||
<pre> | <pre> | ||
--iop-cycle-scalar=1.8 | --iop-cycle-scalar=1.8 | ||
--host-audio-latency=1.1 | |||
#Use JakX v2 emu</pre> | #Use JakX v2 emu</pre> | ||
Line 3,410: | Line 3,441: | ||
--vu0-di-bits=0 | --vu0-di-bits=0 | ||
--vu1-di-bits=0 | --vu1-di-bits=0 | ||
--vu0-const-prop=1 | |||
--vu1-const-prop=1 | |||
--ee-cycle-scalar=1.5 | --ee-cycle-scalar=1.5 | ||
--gs-adaptive-frameskip=1 | --gs-adaptive-frameskip=1 | ||
--vu1-injection=1 | --vu1-injection=1 | ||
#Misc | |||
--host-audio-latency=0.01 | |||
#PS4 Pro required for full speed | #PS4 Pro required for full speed | ||
Line 3,427: | Line 3,462: | ||
#Fix for graphical glitches.</pre> | #Fix for graphical glitches.</pre> | ||
====Sword of | ====Sword of etheria==== | ||
'''CLI''' | '''CLI''' | ||
<br>All versions | <br>All versions | ||
<pre> | <pre> | ||
# | #Fix for game's graphics being missing And game crashing | ||
--vu-custom-min-max=0 | --vu-custom-min-max=0 | ||
#Jakv2 emu used | #Jakv2 emu used | ||
Line 3,491: | Line 3,526: | ||
'''''CLI''''' | '''''CLI''''' | ||
<pre> | <pre> | ||
--gs-uprender=2x2 | |||
--gs-upscale=EdgeSmooth | |||
--fpu-accurate-range=0x27FFFC,0x27FFFF | --fpu-accurate-range=0x27FFFC,0x27FFFF | ||
Line 3,498: | Line 3,535: | ||
--vu1-no-clamping=0 | --vu1-no-clamping=0 | ||
--cop2-no-clamping=0 | --cop2-no-clamping=0 | ||
--host-display-mode=16:9 | |||
</pre> | </pre> | ||
'''''LUA file''''' | '''''LUA file''''' | ||
Line 3,770: | Line 3,809: | ||
<pre> | <pre> | ||
-- Fix for thin vertical lines that separate screen picture, misallignment/tearing of screen during upscaling (was used in official PSN Red Dead Revolver) | -- Fix for thin vertical lines that separate screen picture, misallignment/tearing of screen during upscaling (was used in official PSN Red Dead Revolver) | ||
apiRequest(0 | apiRequest(1.0) | ||
local emuObj = getEmuObject() | local emuObj = getEmuObject() | ||
-- psm= SCE_GS_PSMCT32 (0) | -- psm= SCE_GS_PSMCT32 (0) | ||
Line 3,784: | Line 3,823: | ||
<pre>--vu0-no-clamping=0 | <pre>--vu0-no-clamping=0 | ||
--vu1-no-clamping=0 | --vu1-no-clamping=0 | ||
--vu0-clamp-results=1 | |||
--vu1-clamp-results=1 | |||
--fpu-no-clamping=0 | --fpu-no-clamping=0 | ||
--cop2-no-clamping=0 | --cop2-no-clamping=0 | ||
--fpu-clamp-results=1 | |||
--cop2-clamp-results=1 | |||
#SPS Fix</pre> | #SPS Fix</pre> | ||
Line 3,896: | Line 3,939: | ||
<pre> | <pre> | ||
--gs-uprender=2x2 | |||
--gs-upscale=EdgeSmooth | |||
--force-frame-blend=1 | --force-frame-blend=1 | ||
Line 3,909: | Line 3,954: | ||
-- Urban Reign NTSC (SLUS-21209) | -- Urban Reign NTSC (SLUS-21209) | ||
-- Multitap fix by Kozarovv | -- Multitap fix by Kozarovv | ||
-- Cheats from GameHacking.org | |||
-- ported to PS4 by Stayhye | -- ported to PS4 by Stayhye | ||
-- emu used=kof98um | -- emu used=kof98um | ||
Line 3,927: | Line 3,973: | ||
local WS = function() | local WS = function() | ||
--Unlock Free Mode by MadCatz | |||
eeObj.WriteMem32(0x00946634,0x00010001) | |||
-- Init first mtap | -- Init first mtap | ||
eeObj.WriteMem32(0x12BA88,0x24040000) | eeObj.WriteMem32(0x12BA88,0x24040000) | ||
Line 3,938: | Line 3,986: | ||
eeObj.WriteMem32(0x0ffc1c,0x24030070) | eeObj.WriteMem32(0x0ffc1c,0x24030070) | ||
eeObj.WriteMem32(0x3172ec,0x0803ff00) | eeObj.WriteMem32(0x3172ec,0x0803ff00) | ||
--Unlock Challenge Mode by MadCatz | |||
eeObj.WriteMem32(0x00946636,0x00010001) | |||
--Unlock All Weapons by MadCatz | |||
eeObj.WriteMem32(0x20274774,0x24030001) | |||
eeObj.WriteMem32(0x2027477C,0xA443000E) | |||
--Brad Hawk by Code Master | |||
eeObj.WriteMem32(0x0094668E,0x00010001) | |||
--Glen by Code Master | |||
eeObj.WriteMem32(0x00946694,0x00010001) | |||
--Torque by Code Master | |||
eeObj.WriteMem32(0x00946696,0x00010001) | |||
--Rod by Code Master | |||
eeObj.WriteMem32(0x00946698,0x00010001) | |||
--Seth by Code Master | |||
eeObj.WriteMem32(0x0094669A,0x00010001) | |||
--Nas-Tiii by Code Master | |||
eeObj.WriteMem32(0x0094669C,0x00010001) | |||
--Em Cee by Code Master | |||
eeObj.WriteMem32(0x0094669E,0x00010001) | |||
--Real Deal by Code Master | |||
eeObj.WriteMem32(0x009466A0,0x00010001) | |||
--Ty by Code Master | |||
eeObj.WriteMem32(0x009466A2,0x00010001) | |||
--Miguel by Code Master | |||
eeObj.WriteMem32(0x009466A4,0x00010001) | |||
eeObj.WriteMem32( | |||
--Ramon by Code Master | |||
eeObj.WriteMem32(0x009466A6,0x00010001) | |||
-- | |||
eeObj.WriteMem32( | |||
--Jose by Code Master | |||
eeObj.WriteMem32(0x009466A8,0x00010001) | |||
--Emilio by Code Master | |||
eeObj.WriteMem32(0x009466AA,0x00010001) | |||
--Kadonashi by Code Master | |||
eeObj.WriteMem32(0x009466AC,0x00010001) | |||
-- | --Reggie by Code Master | ||
eeObj.WriteMem32(0x009466AE,0x00010001) | |||
-- | --Zach by Code Master | ||
eeObj.WriteMem32(0x009466B0,0x00010001) | |||
-- | --Colin by Code Master | ||
eeObj.WriteMem32(0x009466B2,0x00010001) | |||
--Jake by Code Master | |||
eeObj.WriteMem32(0x009466B4,0x00010001) | |||
--Tong Yoon by Code Master | |||
eeObj.WriteMem32(0x009466B6,0x00010001) | |||
--Grimm by Code Master | |||
eeObj.WriteMem32(0x009466B8,0x00010001) | |||
--BK by Code Master | |||
eeObj.WriteMem32(0x009466BA,0x00010001) | |||
--Grave Digga' by Code Master | |||
eeObj.WriteMem32(0x009466BC,0x00010001) | |||
--Bones by Code Master | |||
eeObj.WriteMem32(0x009466BE,0x00010001) | |||
--Booma by Code Master | |||
eeObj.WriteMem32(0x009466C0,0x00010001) | |||
-- | |||
eeObj.WriteMem32( | |||
--Busta by Code Master | |||
eeObj.WriteMem32(0x009466C2,0x00010001) | |||
--Spider by Code Master | |||
eeObj.WriteMem32(0x009466C4,0x00010001) | |||
--Pain Killah by Code Master | |||
eeObj.WriteMem32(0x009466C6,0x00010001) | |||
--Dwayne by Code Master | |||
eeObj.WriteMem32(0x009466C8,0x00010001) | |||
--Dwayne 2? by Code Master | |||
eeObj.WriteMem32(0x009466CA,0x00010001) | |||
--Shun Ying Lee by Code Master | |||
eeObj.WriteMem32(0x009466CC,0x00010001) | |||
--GD-05 by Code Master | |||
eeObj.WriteMem32(0x009466CE,0x00010001) | |||
--DR-88 by Code Master | |||
-- | eeObj.WriteMem32(0x009466D0,0x00010001) | ||
--FK-71 by Code Master | |||
eeObj.WriteMem32(0x009466D2,0x00010001) | |||
--PT-22 by Code Master | |||
eeObj.WriteMem32(0x009466D4,0x00010001) | |||
--Bain by Code Master | |||
eeObj.WriteMem32(0x009466D6,0x00010001) | |||
--Cooper by Code Master | |||
eeObj.WriteMem32( | eeObj.WriteMem32(0x009466D8,0x00010001) | ||
--Anderson by Code Master | |||
eeObj.WriteMem32(0x009466DA,0x00010001) | |||
-- | --Taylor by Code Master | ||
eeObj.WriteMem32(0x009466DC,0x00010001) | |||
-- | --Chris by Code Master | ||
eeObj.WriteMem32(0x009466DE,0x00010001) | |||
--Park by Code Master | |||
eeObj.WriteMem32(0x009466E0,0x00010001) | |||
--Alex by Code Master | |||
eeObj.WriteMem32(0x009466E2,0x00010001) | |||
--McKinzie by Code Master | |||
eeObj.WriteMem32(0x009466E4,0x00010001) | |||
-- | --Napalm 99 by Code Master | ||
eeObj.WriteMem32(0x009466E6,0x00010001) | |||
--Golem by Code Master | |||
eeObj.WriteMem32(0x009466E8,0x00010001) | |||
-- | |||
-- | --Riki by Code Master | ||
-- | eeObj.WriteMem32(0x009466EA,0x00010001) | ||
--Masa by Code Master | |||
eeObj.WriteMem32(0x009466EC,0x00010001) | |||
--Hiro by Code Master | |||
eeObj.WriteMem32(0x009466EE,0x00010001) | |||
--Ryuji by Code Master | |||
eeObj.WriteMem32(0x009466F0,0x00010001) | |||
--Ye Wei by Code Master | |||
eeObj.WriteMem32(0x009466F2,0x00010001) | |||
--Sha Ying by Code Master | |||
eeObj.WriteMem32(0x009466F4,0x00010001) | |||
--Yan Jun by Code Master | |||
eeObj.WriteMem32(0x009466F6,0x00010001) | |||
--Shinkai by Code Master | |||
eeObj.WriteMem32(0x009466F8,0x00010001) | |||
--Lin Fong Lee by Code Master | |||
eeObj.WriteMem32(0x009466FA,0x00010001) | |||
--Bordin by Code Master | |||
eeObj.WriteMem32(0x009466FC,0x00010001) | |||
--Lilian by Code Master | |||
eeObj.WriteMem32(0x009466FE,0x00010001) | |||
--Kelly by Code Master | |||
eeObj.WriteMem32(0x00946700,0x00010001) | |||
--Vera Ross by Code Master | |||
eeObj.WriteMem32(0x00946702,0x00010001) | |||
--Paul Phoenix by Code Master | |||
eeObj.WriteMem32(0x00946704,0x00010001) | |||
--Marshall Law by Code Master | |||
eeObj.WriteMem32(0x00946706,0x00010001) | |||
--KG by Code Master | |||
eeObj.WriteMem32(0x00946718,0x00010001) | |||
eeObj.WriteMem32( | |||
emuObj.ThrottleMax() | emuObj.ThrottleMax() | ||
end | end | ||
Line 4,178: | Line 4,183: | ||
</pre> | </pre> | ||
==== | ====Valkyrie Profile 2: Silmeria==== | ||
'''''CLI''''' | |||
<br> | |||
<br>All versions | |||
<pre> | <pre> | ||
# | #emu used Star Ocean 3 for black screen upon leaving town and corrupted world map | ||
-- | --gs-progressive=1 | ||
-- | --vu-hack-triace=1 | ||
-- | --gs-use-mipmap=1 | ||
--gs-kernel-cl="mipmap" | |||
-- | --gs-kernel-cl-up="mipmap2x2" | ||
</pre> | </pre> | ||
'''''LUA file''''' | |||
<br>SLUS_21452 | |||
<pre>--Proper Widescreen and No ghosting | |||
--Valkyrie Profile 2 - Silmeria (USA) SLUS_214.52 | |||
apiRequest(1.0) | |||
local eeObj = getEEObject() | |||
local emuObj = getEmuObject() | |||
local patcher = function() | |||
local code_check = eeObj.ReadMem16(0x37984C) | |||
if code_check == 0x0800 then | |||
eeObj.WriteMem32(0x37984C,0x0803FC00) | |||
end | |||
eeObj.WriteMem32(0x000FF000, 0x3C043F40) | |||
eeObj.WriteMem32(0x000FF004, 0x44840800) | |||
eeObj.WriteMem32(0x000FF008, 0x46000802) | |||
eeObj.WriteMem32(0x000FF00C, 0x080DE615) | |||
eeObj.WriteMem32(0x000FF010, 0xC66100C8) | |||
-- | --No ghosting in battle | ||
eeObj.WriteMem32(0x0035FA38, 0x46001030) | |||
end | |||
emuObj.AddVsyncHook(patcher) | |||
</pre> | </pre> | ||
==== | ====Vampire: Darkstalkers Collection==== | ||
ALL | |||
<br>CLI | |||
<pre>--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.</pre> | |||
====Van Helsing==== | |||
ALL | |||
<br>CLI | <br>CLI | ||
<pre> | <pre> | ||
--gs-uprender=2x2 | |||
--gs-kernel-cl=" | --gs-upscale=edgesmooth | ||
--gs-kernel-cl-up=" | --gs-kernel-cl="h2lpool" | ||
--gs- | --gs-kernel-cl-up="h2lpool2x2" | ||
--gs-adaptive-frameskip=1 | |||
-- | --cdvd-sector-read-cycles=2000 | ||
-- | --gs-progressive=1 | ||
# | |||
-- | #--vu0-di-bits=0 | ||
-- | #--vu1-di-bits=0 | ||
--vu1-mpg-cycles=358 | |||
--ee-cycle-scalar=2.8 | |||
--iop-cycle-scalar=0.9 | |||
= | --vif1-instant-xfer=0</pre> | ||
''' | <br>'''LUA''' | ||
<pre> | <pre> | ||
-- Van Helsing (SLUS-20738) | |||
-- | -- Wide screen patch 16:9 by paul_met | ||
-- | -- ported to PS4 Lua by Stayhye | ||
-- | -- emu used=jakx v2 | ||
apiRequest(2.2) | |||
-- | local gpr = require("ee-gpr-alias") | ||
local emuObj = getEmuObject() | |||
local eeObj = getEEObject() | |||
local gsObj = getGsObject() | |||
local eeOverlay = eeObj.getOverlayObject() | |||
local iopObj = getIOPObject() | |||
emuObj.SetDisplayAspectWide() | |||
gsObj.SetDeinterlaceShift(1) | |||
local WS = function() | |||
--16:9 | |||
eeObj.WriteMem32(0x002E7FA0,0x3FE38E38) | |||
--Access All Cheats by GameMasterZer0 | |||
eeObj.WriteMem32(0x2019FFB0,0x24100001) | |||
emuObj.ThrottleMax() | |||
end | |||
emuObj.AddVsyncHook(WS) | |||
</pre> | </pre> | ||
==== | ====Wallace & Gromit in Project Zoo==== | ||
'''CLI''' | '''CLI''' | ||
<br>All | <br>All Versions | ||
<pre> | <pre> | ||
--gs-uprender=2x2 | |||
--gs-upscale=EdgeSmooth | |||
--gs-progressive=1 | |||
--gs-force-bilinear=1 | |||
--cdvd-sector-read-cycles=2000 | |||
--force-frame-blend=1 | |||
--vif1-instant-xfer=0 | |||
--vu0-di-bits=0 | |||
--vu1-di-bits=0 | --vu1-di-bits=0 | ||
--vu1-mpg-cycles=800 | |||
--vu1-mpg-cycles= | --ee-cycle-scalar=1.5 | ||
-- | |||
</pre> | </pre> | ||
==== | ====Whiplash==== | ||
All versions | |||
<br> | <br>CLI | ||
<pre> | <pre>--gs-kernel-cl="mipmap" | ||
--gs-kernel-cl-up="mipmap2x2" | |||
--gs-use-mipmap=1 | --gs-use-mipmap=1 | ||
#Fix for texture glitches</pre> | |||
</pre> | |||
====WinBack: Covert Operations==== | |||
All versions | |||
<br>CLI | |||
<pre>--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 texture glitches</pre> | |||
====X-Files - Resist or Serve==== | |||
<br>'''''CLI''''' | |||
<pre>--gs-uprender=2x2 | |||
--gs-upscale=EdgeSmooth | |||
--gs-adaptive-frameskip=1 | |||
--vu0-no-clamping=0 | |||
--vu1-no-clamping=0 | |||
--cdvd-sector-read-cycles=3000 | |||
#emu used=jak tpl v1 | |||
</pre> | |||
-- | ==== X-Men Legends==== | ||
'''CLI''' | |||
<br>All versions | |||
<pre> | |||
--gs-uprender=2x2 | |||
--gs-upscale=motionvector | |||
--gs-optimize-30fps=1 | |||
--cdvd-sector-read-cycles=2000 | |||
--vu-custom-min-max=0 | |||
--vu1-di-bits=0 | |||
--vu0-di-bits=0 | |||
--vu1-opt-vf00=2 | |||
--vu0-opt-vf00=2 | |||
--vu1-injection=1 | |||
--vu1=jit-sync | |||
--vu1-jr-cache-policy=newprog | |||
--vu1-jalr-cache-policy=newprog | |||
--vu0-jr-cache-policy=newprog | |||
--vu0-jalr-cache-policy=newprog | |||
--ee-cycle-scalar=1.5 | |||
</pre> | |||
'''LUA''' | |||
<br>NTSC only | |||
<pre> | |||
-- X-Men™ Legends® | |||
-- ported to PS4 Lua by Stayhye | |||
-- emu used=jakx v2 | |||
apiRequest(2.2) | |||
local | local gpr = require("ee-gpr-alias") | ||
local emuObj = getEmuObject() | |||
local eeObj = getEEObject() | |||
local gsObj = getGsObject() | |||
local | local eeOverlay = eeObj.getOverlayObject() | ||
local | local iopObj = getIOPObject() | ||
local | |||
local | |||
local | |||
emuObj.PadSetLightBar(0, 10,50,145) | |||
emuObj.SetDisplayAspectWide() | |||
gsObj.SetDeinterlaceShift(0) | |||
local WS = function() | |||
--eeObj.WriteMem32(0x005cc888,0x3c023f34) | |||
eeObj.WriteMem32(0x20720920,0x3FE147AE) --In-game width widescreen 16:9 | |||
eeObj.WriteMem32(0x2072094c,0x3F000000) --Fonts Width | |||
eeObj.WriteMem32(0x20720950,0x3F000000) --Fonts Height | |||
eeObj.WriteMem32(0x20720958,0x3F8CCCCD) --HUD & Menu Height | |||
--eeObj.WriteMem32(0x20720954,0x3FA00000) --HUD & Menu Width | |||
eeObj.WriteMem32(0x20D85448,0x3F666666) --HUD Height | |||
eeObj.WriteMem32(0x20D85430,0x3F59999A) --HUD Width | |||
eeObj.Vu1MpgCycles(3450) | |||
emuObj.ThrottleMax() | emuObj.ThrottleMax() | ||
end | end | ||
emuObj.AddVsyncHook( | emuObj.AddVsyncHook(WS) | ||
= | emuObj.SetGsTitleFix( "globalSet", "reserved", { workLoadThreshold = 100000} ) | ||
emuObj.SetGsTitleFix( "globalSet", "reserved", { waveThreshold = 90000} ) | |||
emuObj.SetGsTitleFix( "ignoreAreaUpdate", 0, { } ) | |||
</pre> | |||
-- | ==== Yu-Gi-Oh! Capsule Monsters Colosseum==== | ||
--vu1 | All | ||
<br>CLI | |||
<pre>--vu1=jit-sync | |||
# | #MTVU Incompatibilty, Fix for Black Screen, RECVX Emu Needed | ||
</pre> | </pre> | ||
====Zatch Bell! Mamodo Battles™==== | |||
<br> | NTSC/U | ||
<br>CLI | |||
<pre> | <pre> | ||
-- | #Graphical glitches fix | ||
-- | --gs-kernel-cl="mipmap" | ||
--gs-kernel-cl-up="mipmap2x2" | |||
--gs-use-mipmap=1 | |||
#Clamping, also for graphics | |||
--vu0-no-clamping=0 | |||
--vu1-no-clamping=0 | |||
#likely unnecessary commands | |||
--vu0-clamp-results=1 | |||
--vu1-clamp-results=1 | |||
--cop2-no-clamping=0 | |||
--cop2-clamp-results=1 | |||
--fpu-no-clamping=0 | |||
--fpu-clamp-results=1 | |||
#Jak Emu used*</pre> | |||
====Zombie Hunters 2==== | |||
-- | '''CLI''' | ||
<br>All versions | |||
-- | <pre> | ||
#Speedhacks | |||
--vu1-di-bits=0 | |||
-- | --ee-cycle-scalar=1.2 | ||
--vu1-mpg-cycles=150 | |||
#Graphics clean up | |||
--gs-use-clut-merge=1 | |||
--gs-kernel-cl="clutmerge" | |||
--gs-kernel-cl-up="clutmerge2x2" | |||
--vu1-no-clamping=0 | |||
</pre> | </pre> | ||
==== | ====Zombie Zone==== | ||
'''CLI''' | '''CLI''' | ||
<br>All versions | <br>All versions | ||
<pre> | <pre> | ||
-- | #Speedhacks | ||
-- | --vu1-di-bits=0 | ||
--ee-cycle-scalar=1.2 | |||
# | --vu1-mpg-cycles=150 | ||
#Graphics clean up | |||
--gs-use-clut-merge=1 | |||
--gs-kernel-cl="clutmerge" | |||
--gs-kernel-cl-up="clutmerge2x2" | |||
</pre> | </pre> | ||
====Coraline==== | |||
'''CLI''' | |||
<br>All versions | |||
<pre> | |||
--gs-uprender=2x2 | |||
--gs-upscale=EdgeSmooth | |||
--gs-use-mipmap=1 | |||
--gs-kernel-cl-up="mipmap2x2" | |||
--gs-scanout-offsetx=27 | |||
--gs-scanout-offsety=27 | |||
--safe-area-min=0.9 | |||
--cdvd-sector-read-cycles=2000 | |||
</pre> | |||
'''LUA''' | '''LUA''' | ||
<br>PAL | <br>PAL | ||
<pre> | <pre> | ||
-- | -- Coraline | ||
-- emu used= | -- emu used=KOF 98 | ||
apiRequest(1.0) | |||
local | local gpr = require("ee-gpr-alias") | ||
local eeObj = getEEObject() | |||
local emuObj = getEmuObject() | |||
local patcher = function() | |||
--Widescreen hack | |||
--Gameplay 16:9 | |||
--eeObj.WriteMem32(0x0026432C,0x3C014440) --3C014480 (Increases hor. axis) | |||
eeObj.WriteMem32( | |||
--Render fix | --Render fix | ||
eeObj.WriteMem32(0x001A6548,0x3C013C2E) --3C013C0E | |||
eeObj.WriteMem32( | |||
emuObj. | --Get rid of black bar | ||
eeObj.WriteMem32(0x00225ea8,0x3c014000) --3c014299 | |||
eeObj.WriteMem32(0x00225eac,0x00000000) --3421999a | |||
eeObj.WriteMem32(0x002644ec,0x3c014440) -- hor fov | |||
local pad_bits = emuObj.GetPad() | |||
local UP = pad_bits & 0x0010 | |||
local DOWN = pad_bits & 0x0040 | |||
local LEFT = pad_bits & 0x0080 | |||
local RIGHT = pad_bits & 0x0020 | |||
local Triangle = pad_bits & 0x1000 | |||
local Cross = pad_bits & 0x4000 | |||
local Square = pad_bits & 0x8000 | |||
local Circle = pad_bits & 0x2000 | |||
local L1 = pad_bits & 0x0400 | |||
local L2 = pad_bits & 0x0100 | |||
local L3 = pad_bits & 0x0002 | |||
local R1 = pad_bits & 0x0800 | |||
local R2 = pad_bits & 0x0200 | |||
local R3 = pad_bits & 0x0004 | |||
local Select = pad_bits & 0x0001 | |||
local Start = pad_bits & 0x0008 | |||
if (R1 ~= 0 and LEFT ~= 0) then --L3 Normal Screen | |||
eeObj.WriteMem32(0x0026432C,0x3C014480) -- original value | |||
end | |||
if (R1 ~= 0 and RIGHT ~= 0) then --R3 Widescreen Screen | |||
eeObj.WriteMem32(0x0026432C,0x3C014440) --3C014480 (Increases hor. axis) | |||
end | end | ||
emuObj.AddVsyncHook( | emuObj.ThrottleMax() | ||
end | |||
emuObj.AddVsyncHook(patcher) | |||
</pre> | </pre> | ||
==== | ====Total Overdose==== | ||
'''CLI''' | '''CLI''' | ||
< | <br>All versions | ||
<pre> | <pre> | ||
--host-display-mode=16:9 | --host-display-mode=16:9 | ||
-- | --host-vsync=1 | ||
-- | --gs-optimize=60fps | ||
--cdvd-sector-read-cycles=2000 | |||
--ps2-lang=system | |||
-- | |||
-- | |||
--gs-progressive=1 | |||
--gs-motion-factor=50 | |||
--vu0-no-clamping=0 | |||
--vu1-no-clamping=0 | |||
-- | --gs-ignore-rect-correction=1 | ||
#ADK Damashii Emu used | |||
</pre> | |||
'''LUA''' | '''LUA''' | ||
<br>PAL - | <br>PAL - SLES53492 | ||
<pre> | <pre> | ||
-- | -- Total Overdose (E)(SLES-53492) | ||
-- emu used=ADK | |||
-- emu used= | |||
apiRequest(1.0) | |||
local eeObj = getEEObject() | local eeObj = getEEObject() | ||
local emuObj = getEmuObject() | local emuObj = getEmuObject() | ||
local patcher = function() | local patcher = function() | ||
--Widescreen hack 16:9 | |||
-- | --00 00 80 3F 83 F9 22 3F DB 0F C9 3F 00 00 00 BF | ||
eeObj.WriteMem32( | eeObj.WriteMem32(0x20692A2C,0x3F47AE14) -- Zoom | ||
--00 00 80 3F 00 00 00 00 00 00 00 00 2F 00 00 00 | |||
eeObj.WriteMem32(0x206C64C4,0x3F400000) -- Vert fov | |||
end | |||
emuObj.AddVsyncHook(patcher) | |||
emuObj.SetGsTitleFix( "forceSimpleFetch", "reserved", { texMode=1 } ) | |||
emuObj.SetGsTitleFix( "forceSimpleFetch", "reserved", { texMode=2 } ) | |||
emuObj.SetGsTitleFix( "forceSimpleFetch", "reserved", {psm=0} ) | |||
emuObj. | emuObj.SetGsTitleFix( "fetchFromCurrBuff", "reserved", {psm=0} ) | ||
</pre> | </pre> | ||
==== | ====Dark Summit==== | ||
'''CLI''' | |||
<br>All versions | |||
<pre> | <pre> | ||
-- | --host-display-mode=16:9 | ||
-- | --force-pal-60hz=1 | ||
-- | |||
# Fahrenheit Emu used | |||
</pre> | |||
apiRequest(0.1) | '''LUA''' | ||
<br>PAL - SLES50575 | |||
<pre> | |||
-- Dark Summit (PAL) | |||
-- emu used=Fahrenheit | |||
apiRequest(1.2) -- request version 0.1 API. Calling apiRequest() is mandatory. | |||
local emuObj = getEmuObject() | local emuObj = getEmuObject() | ||
local | local eeObj = getEEObject() | ||
local WS = function() | |||
-- | --Widescreen hack 16:9 | ||
-- | --X-Fov | ||
eeObj.WriteMem32( | --02000446 280100ae 42080546 | ||
eeObj.WriteMem32( | eeObj.WriteMem32(0x003d37d0,0x08030000) | ||
eeObj.WriteMem32(0x000c0000,0x46040002) | |||
eeObj.WriteMem32(0x000c0004,0x3c013f40) | |||
eeObj.WriteMem32(0x000c0008,0x00000000) | |||
eeObj.WriteMem32(0x000c000c,0x4481f000) | |||
eeObj.WriteMem32(0x000c0010,0x461e0002) | |||
eeObj.WriteMem32(0x000c0014,0x080f4df5) | |||
--Render fix | |||
--003f013c 00a88144 0000b07f | |||
eeObj.WriteMem32(0x0036444c,0x3c013f2b) --3c013f00 | |||
emuObj.ThrottleMax() | |||
end | end | ||
emuObj.AddVsyncHook( | |||
emuObj.AddVsyncHook(WS) | |||
</pre> | |||
====Nightshade==== | |||
'''CLI''' | |||
<P> | |||
ALL versions | |||
<pre> | |||
--host-display-mode=16:9 | |||
--gs-vert-precision=8 | |||
--force-frame-blend=1 | |||
</pre> | </pre> | ||
'''LUA''' | |||
<br>NTSC- | <br>NTSC - SLUS20810 | ||
<pre> | <pre> | ||
-- | -- Nightshade (SLUS-20810) | ||
-- Total Repair by nifengyuexia | -- Total Repair by nifengyuexia | ||
-- emu used=jak v2 | -- emu used=jak v2 | ||
apiRequest(0 | apiRequest(1.0) | ||
local eeObj = getEEObject() | local eeObj = getEEObject() | ||
Line 4,520: | Line 4,661: | ||
--Disable the fade-in effect to fix framerate drops caused by excessive enemies | --Disable the fade-in effect to fix framerate drops caused by excessive enemies | ||
eeObj.WriteMem32( | eeObj.WriteMem32(0x1d1048,0x1000000f) | ||
--Disable shadows to fix square bugs around characters | --Disable shadows to fix square bugs around characters | ||
eeObj.WriteMem32( | eeObj.WriteMem32(0x322060,0x03e00008) | ||
eeObj.WriteMem32( | eeObj.WriteMem32(0x322064,0x00000000) | ||
--Disable haze effect to fix charged attack frame rate drop | --Disable haze effect to fix charged attack frame rate drop | ||
eeObj.WriteMem32( | eeObj.WriteMem32(0x30f3f4,0x00000000) | ||
end | end | ||
emuObj.AddVsyncHook(patcher) | emuObj.AddVsyncHook(patcher) | ||
</pre> | </pre> | ||
'''LUA''' | |||
<br>PAL - SLES52238 | |||
''' | |||
< | |||
<pre> | <pre> | ||
-- | -- Nightshade(SLES-52238) | ||
-- | -- Total Repair by nifengyuexia | ||
-- | -- emu used=jak v2 | ||
apiRequest(1.0) | |||
= | local eeObj = getEEObject() | ||
local emuObj = getEmuObject() | |||
local patcher = function() | |||
--Disable the fade-in effect to fix framerate drops caused by excessive enemies | |||
eeObj.WriteMem32(0x1d1f38,0x1000000f) | |||
--Disable shadows to fix square bugs around characters | |||
eeObj.WriteMem32(0x326370,0x03e00008) | |||
eeObj.WriteMem32(0x326374,0x00000000) | |||
--Disable haze effect to fix charged attack frame rate drop | |||
eeObj.WriteMem32(0x3135f4,0x00000000) | |||
end | end | ||
emuObj.AddVsyncHook(patcher) | |||
emuObj. | |||
</pre> | </pre> | ||
'''LUA''' | |||
<br>Kunoichi | |||
<br>NTSC-J SLAJ-25031 | |||
<pre> | |||
-- Kunoichi(SLAJ-25031) | |||
-- Total Repair by nifengyuexia | |||
-- emu used=jak v2 | |||
apiRequest(1.0) | |||
local eeObj = getEEObject() | |||
local emuObj = getEmuObject() | |||
local patcher = function() | |||
--Disable the fade-in effect to fix framerate drops caused by excessive enemies | |||
eeObj.WriteMem32(0x1d10f8,0x1000000f) | |||
--Disable shadows to fix square bugs around characters | |||
eeObj.WriteMem32(0x324450,0x03e00008) | |||
eeObj.WriteMem32(0x324454,0x00000000) | |||
-- | --Disable haze effect to fix charged attack frame rate drop | ||
eeObj.WriteMem32(0x3117f4,0x00000000) | |||
end | end | ||
emuObj.AddVsyncHook(patcher) | emuObj.AddVsyncHook(patcher) | ||
</pre> | </pre> | ||
'''LUA''' | |||
<br> | <br>NTSC-J SLPM-65447 | ||
<pre> | <pre> | ||
-- Kunoichi(SLPM-65447) | |||
-- Total Repair by nifengyuexia | |||
-- emu used=jak v2 | |||
apiRequest(1.0) | |||
local eeObj = getEEObject() | local eeObj = getEEObject() | ||
local emuObj = getEmuObject() | local emuObj = getEmuObject() | ||
local patcher = function() | local patcher = function() | ||
eeObj.WriteMem32( | --Disable the fade-in effect to fix framerate drops caused by excessive enemies | ||
eeObj.WriteMem32( | eeObj.WriteMem32(0x1d1058,0x1000000f) | ||
--Disable shadows to fix square bugs around characters | |||
eeObj.WriteMem32(0x321c70,0x03e00008) | |||
eeObj.WriteMem32(0x321c74,0x00000000) | |||
--Disable haze effect to fix charged attack frame rate drop | |||
eeObj.WriteMem32(0x30f004,0x00000000) | |||
end | end | ||
emuObj.AddVsyncHook(patcher) | emuObj.AddVsyncHook(patcher) | ||
</pre> | </pre> | ||
==== | ====Jak and Daxter: The Lost Frontier==== | ||
'''CLI''' | |||
<P> | |||
< | ALL versions | ||
<pre> | <pre> | ||
-- | --vu1-di-bits=0 | ||
-- | --vu0-di-bits=1 | ||
--gs- | --gs-optimize=60fps | ||
= | # Emu used = Red Dead Revolver | ||
</pre> | </pre> | ||
==== | ====Sled Storm==== | ||
<P> | |||
ALL versions | |||
<pre> | <pre> | ||
--cdvd-sector-read-cycles=2000 | |||
--vu0-no-clamping=0 | |||
--vu1-no-clamping=0 | --vu1-no-clamping=0 | ||
--host-gamepads=2 | |||
# Emu used = Rogue v1 | |||
# | |||
</pre> | </pre> | ||
{{Reverse Engineering}}<noinclude> | {{Reverse Engineering}}<noinclude>[[Category:Main]]</noinclude> | ||
[[Category:Main]] | |||
</noinclude> |