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> | ||
====18 Wheeler - American Pro Trucker==== | ====18 Wheeler - American Pro Trucker==== | ||
<br>NTSC | <br>NTSC | ||
Line 44: | Line 33: | ||
--math.random() + math.random(1, 99) | --math.random() + math.random(1, 99) | ||
</pre> | </pre> | ||
====24 The Game==== | ====24 The Game==== | ||
'''''CLI''''' | '''''CLI''''' | ||
Line 379: | Line 367: | ||
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 876: | Line 856: | ||
<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 1,032: | Line 1,012: | ||
# Emu used = Primal | # Emu used = Primal | ||
</pre> | </pre> | ||
Line 1,088: | Line 1,051: | ||
#Missing textures fix</pre> | #Missing textures fix</pre> | ||
====Fire Pro Wrestling Z™®==== | ====Fire Pro Wrestling Z™®==== | ||
Line 1,688: | Line 1,635: | ||
end | end | ||
emuObj.AddVsyncHook(patcher) | emuObj.AddVsyncHook(patcher) | ||
</pre> | </pre> | ||
Line 1,757: | Line 1,693: | ||
====Jaws Unleashed==== | ====Jaws Unleashed==== | ||
<br>'''''LUA file''''' | <br>'''''LUA file''''' | ||
Line 2,335: | Line 2,258: | ||
</pre> | </pre> | ||
====Need for Speed Underground 2==== | |||
'''''LUA''''' | |||
====Need for Speed Underground 2==== | |||
'''''LUA''''' | |||
<br>SLUS-21065 | <br>SLUS-21065 | ||
Line 3,458: | Line 3,352: | ||
<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 4,050: | Line 3,944: | ||
-- 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 4,068: | Line 3,963: | ||
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 4,079: | Line 3,976: | ||
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) | |||
--Ramon by Code Master | |||
eeObj.WriteMem32(0x009466A6,0x00010001) | |||
--Jose by Code Master | |||
eeObj.WriteMem32(0x009466A8,0x00010001) | |||
--Emilio by Code Master | |||
eeObj.WriteMem32(0x009466AA,0x00010001) | |||
eeObj.WriteMem32( | |||
--Kadonashi by Code Master | |||
eeObj.WriteMem32(0x009466AC,0x00010001) | |||
-- | |||
eeObj.WriteMem32( | |||
--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) | |||
--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) | |||
-- | |||
eeObj.WriteMem32( | |||
--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(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( | 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( | eeObj.WriteMem32(0x009466FA,0x00010001) | ||
eeObj.WriteMem32( | |||
eeObj.WriteMem32( | --Bordin by Code Master | ||
eeObj.WriteMem32( | eeObj.WriteMem32(0x009466FC,0x00010001) | ||
eeObj.WriteMem32( | |||
--Lilian by Code Master | |||
eeObj.WriteMem32( | eeObj.WriteMem32(0x009466FE,0x00010001) | ||
eeObj.WriteMem32( | |||
--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) | |||
emuObj.ThrottleMax() | emuObj.ThrottleMax() | ||
end | end | ||
Line 4,332: | Line 4,173: | ||
</pre> | </pre> | ||
==== | ====Valkyrie Profile 2: Silmeria==== | ||
'''''CLI''''' | |||
<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="mipmap" | ||
--gs-kernel-cl-up="mipmap2x2" | --gs-kernel-cl-up="mipmap2x2" | ||
</pre> | |||
'''''LUA file''''' | |||
<br>SLUS_21452 | |||
<pre>--Proper Widescreen and No ghosting | |||
''' | --Valkyrie Profile 2 - Silmeria (USA) SLUS_214.52 | ||
<br> | apiRequest(1.0) | ||
<pre> | 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> | <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 | |||
<pre> | <pre> | ||
--gs-uprender=2x2 | --gs-uprender=2x2 | ||
--gs-upscale= | --gs-upscale=edgesmooth | ||
--gs- | --gs-kernel-cl="h2lpool" | ||
--gs-kernel-cl-up=" | --gs-kernel-cl-up="h2lpool2x2" | ||
--gs- | --gs-adaptive-frameskip=1 | ||
--cdvd-sector-read-cycles=2000 | --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> | ||
-- | -- 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() | ||
eeObj.WriteMem32( | --16:9 | ||
eeObj.WriteMem32( | eeObj.WriteMem32(0x002E7FA0,0x3FE38E38) | ||
--Access All Cheats by GameMasterZer0 | |||
eeObj.WriteMem32(0x2019FFB0,0x24100001) | |||
emuObj.ThrottleMax() | |||
end | |||
emuObj.AddVsyncHook(WS) | |||
emuObj.AddVsyncHook( | |||
</pre> | </pre> | ||
==== | ====Wallace & Gromit in Project Zoo==== | ||
'''CLI''' | '''CLI''' | ||
<br>All | <br>All Versions | ||
<pre> | <pre> | ||
-- | --gs-uprender=2x2 | ||
-- | --gs-upscale=EdgeSmooth | ||
--gs- | --gs-progressive=1 | ||
--gs-force-bilinear=1 | |||
--cdvd-sector-read-cycles=2000 | --cdvd-sector-read-cycles=2000 | ||
-- | --force-frame-blend=1 | ||
--vif1-instant-xfer=0 | |||
--gs- | --vu0-di-bits=0 | ||
--gs- | --vu1-di-bits=0 | ||
--vu1-mpg-cycles=800 | |||
--ee-cycle-scalar=1.5 | |||
</pre> | |||
====Whiplash==== | |||
All versions | |||
<br>CLI | |||
<pre>--gs-kernel-cl="mipmap" | |||
--gs-kernel-cl-up="mipmap2x2" | |||
--gs-use-mipmap=1 | |||
#Fix for texture glitches</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 | --vu0-no-clamping=0 | ||
--vu1-no-clamping=0 | --vu1-no-clamping=0 | ||
-- | --cdvd-sector-read-cycles=3000 | ||
# | #emu used=jak tpl v1 | ||
</pre> | </pre> | ||
''' | ==== X-Men Legends==== | ||
<br> | '''CLI''' | ||
<br>All versions | |||
<pre> | <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> | </pre> | ||
'''LUA''' | |||
<br>NTSC only | |||
''' | |||
<br> | |||
<pre> | <pre> | ||
-- | -- X-Men™ Legends® | ||
-- | -- 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.PadSetLightBar(0, 10,50,145) | |||
emuObj.SetDisplayAspectWide() | |||
gsObj.SetDeinterlaceShift(0) | |||
local WS = function() | 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) | |||
eeObj. | |||
emuObj.ThrottleMax() | emuObj.ThrottleMax() | ||
end | end | ||
emuObj.AddVsyncHook(WS) | emuObj.AddVsyncHook(WS) | ||
= | emuObj.SetGsTitleFix( "globalSet", "reserved", { workLoadThreshold = 100000} ) | ||
emuObj.SetGsTitleFix( "globalSet", "reserved", { waveThreshold = 90000} ) | |||
emuObj.SetGsTitleFix( "ignoreAreaUpdate", 0, { } ) | |||
</pre> | </pre> | ||
==== Yu-Gi-Oh! Capsule Monsters Colosseum==== | |||
All | |||
<br>CLI | |||
<pre>--vu1=jit-sync | |||
#MTVU Incompatibilty, Fix for Black Screen, RECVX Emu Needed | |||
</pre> | |||
====Zatch Bell! Mamodo Battles™==== | |||
NTSC/U | |||
<br>CLI | |||
<br> | |||
<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> | |||
-- | ====Zombie Zone==== | ||
'''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" | |||
</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> | </pre> | ||
'''LUA''' | |||
<br>PAL | |||
<pre> | |||
-- Coraline | |||
-- emu used=KOF 98 | |||
apiRequest(1.0) | |||
local gpr = require("ee-gpr-alias") | |||
local eeObj = getEEObject() | local eeObj = getEEObject() | ||
local emuObj = getEmuObject() | local emuObj = getEmuObject() | ||
local patcher = function() | local patcher = function() | ||
-- | --Widescreen hack | ||
eeObj.WriteMem32( | --Gameplay 16:9 | ||
--eeObj.WriteMem32(0x0026432C,0x3C014440) --3C014480 (Increases hor. axis) | |||
--Render fix | |||
eeObj.WriteMem32(0x001A6548,0x3C013C2E) --3C013C0E | |||
-- | --Get rid of black bar | ||
eeObj.WriteMem32( | eeObj.WriteMem32(0x00225ea8,0x3c014000) --3c014299 | ||
eeObj.WriteMem32( | eeObj.WriteMem32(0x00225eac,0x00000000) --3421999a | ||
eeObj.WriteMem32(0x002644ec,0x3c014440) -- hor fov | |||
eeObj.WriteMem32( | |||
local pad_bits = emuObj.GetPad() | |||
emuObj. | |||
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( | eeObj.WriteMem32(0x0026432C,0x3C014440) --3C014480 (Increases hor. axis) | ||
end | |||
emuObj.ThrottleMax() | |||
end | end | ||
emuObj.AddVsyncHook(patcher) | emuObj.AddVsyncHook(patcher) | ||
</pre> | </pre> | ||
==== | ====Total Overdose==== | ||
'''CLI''' | '''CLI''' | ||
< | <br>All versions | ||
<pre> | <pre> | ||
-- | --host-display-mode=16:9 | ||
-- | --host-vsync=1 | ||
--gs-optimize=60fps | --gs-optimize=60fps | ||
--cdvd-sector-read-cycles=2000 | |||
--ps2-lang=system | |||
--gs-progressive=1 | |||
--gs-motion-factor=50 | |||
--vu0-no-clamping=0 | --vu0-no-clamping=0 | ||
--vu1-no-clamping=0 | --vu1-no-clamping=0 | ||
# Emu used | --gs-ignore-rect-correction=1 | ||
#ADK Damashii Emu used | |||
</pre> | </pre> | ||
'''LUA''' | |||
< | <br>PAL - SLES53492 | ||
<pre> | |||
-- Total Overdose (E)(SLES-53492) | |||
-- emu used=ADK | |||
apiRequest(1.0) | apiRequest(1.0) | ||
eeObj | local eeObj = getEEObject() | ||
emuObj = getEmuObject() | local emuObj = getEmuObject() | ||
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(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 | end | ||
emuObj. | emuObj.AddVsyncHook(patcher) | ||
emuObj.SetGsTitleFix( "forceSimpleFetch", "reserved", { texMode=1 } ) | |||
emuObj.SetGsTitleFix( "forceSimpleFetch", "reserved", { texMode=2 } ) | |||
emuObj.SetGsTitleFix( "forceSimpleFetch", "reserved", {psm=0} ) | |||
emuObj.SetGsTitleFix( "fetchFromCurrBuff", "reserved", {psm=0} ) | |||
</pre> | </pre> | ||
= | ====Dark Summit==== | ||
< | '''CLI''' | ||
<br>All versions | |||
<pre> | |||
--host-display-mode=16:9 | |||
--force-pal-60hz=1 | |||
# Fahrenheit Emu used | |||
</pre> | |||
'''LUA''' | '''LUA''' | ||
<br> | <br>PAL - SLES50575 | ||
<pre> | <pre> | ||
apiRequest(0.1) | -- 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 eeObj = getEEObject() | |||
local | local WS = function() | ||
- | --Widescreen hack 16:9 | ||
--X-Fov | |||
--02000446 280100ae 42080546 | |||
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 | |||
emuObj.AddVsyncHook(WS) | |||
</pre> | </pre> | ||
==== | ====Nightshade==== | ||
< | '''CLI''' | ||
<P> | |||
ALL versions | |||
<pre> | <pre> | ||
--host-display-mode=16:9 | |||
--gs-vert-precision=8 | |||
--force-frame-blend=1 | |||
</pre> | </pre> | ||
'''LUA''' | |||
<br>NTSC - SLUS20810 | |||
<br>NTSC | |||
<pre> | <pre> | ||
-- | -- Nightshade (SLUS-20810) | ||
-- | -- Total Repair by nifengyuexia | ||
-- | -- emu used=jak v2 | ||
apiRequest(1.0) | |||
apiRequest(0 | |||
local eeObj = getEEObject() | local eeObj = getEEObject() | ||
local emuObj = getEmuObject() | local emuObj = getEmuObject() | ||
local patcher = function() | local patcher = function() | ||
--Disable the fade-in effect to fix framerate drops caused by excessive enemies | |||
eeObj.WriteMem32(0x1d1048,0x1000000f) | |||
-- | |||
--Disable shadows to fix square bugs around characters | |||
eeObj.WriteMem32(0x322060,0x03e00008) | |||
eeObj.WriteMem32(0x322064,0x00000000) | |||
--Disable haze effect to fix charged attack frame rate drop | |||
eeObj.WriteMem32(0x30f3f4,0x00000000) | |||
end | |||
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) | |||
apiRequest(0 | |||
local eeObj = getEEObject() | local eeObj = getEEObject() | ||
local emuObj = getEmuObject() | local emuObj = getEmuObject() | ||
local patcher = function() | local patcher = function() | ||
-- | --Disable the fade-in effect to fix framerate drops caused by excessive enemies | ||
eeObj.WriteMem32(0x1d1f38,0x1000000f) | |||
- | |||
eeObj.WriteMem32( | |||
--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 | |||
emuObj.AddVsyncHook(patcher) | |||
< | </pre> | ||
<br> | '''LUA''' | ||
<br> | <br>Kunoichi | ||
<br>NTSC-J SLAJ-25031 | |||
<pre> | <pre> | ||
-- | -- Kunoichi(SLAJ-25031) | ||
-- | -- Total Repair by nifengyuexia | ||
-- emu used=jak v2 | |||
apiRequest(1.0) | apiRequest(1.0) | ||
local eeObj = getEEObject() | local eeObj = getEEObject() | ||
local emuObj = getEmuObject() | local emuObj = getEmuObject() | ||
local patcher = function() | local patcher = function() | ||
-- | --Disable the fade-in effect to fix framerate drops caused by excessive enemies | ||
eeObj.WriteMem32(0x1d10f8,0x1000000f) | |||
- | |||
eeObj.WriteMem32( | |||
--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 | |||
emuObj.AddVsyncHook(patcher) | |||
</pre> | </pre> | ||
'''LUA''' | '''LUA''' | ||
<br> | <br>NTSC-J SLPM-65447 | ||
<pre> | <pre> | ||
apiRequest(0 | -- 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() | |||
--Disable the fade-in effect to fix framerate drops caused by excessive enemies | |||
-- | eeObj.WriteMem32(0x1d1058,0x1000000f) | ||
eeObj.WriteMem32( | |||
--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) | |||
eeObj.WriteMem32( | |||
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 | |||
--host-gamepads=2 | |||
# Emu used = Rogue v1 | |||
</pre> | </pre> | ||
{{Reverse Engineering}}<noinclude> | {{Reverse Engineering}}<noinclude>[[Category:Main]]</noinclude> | ||
[[Category:Main]] | |||
</noinclude> |