PS4 [Research]PS2 emulator configuration on PS4

mips R3000, shouldn't it be the abbreviation of PSX? R5900L seems to be the abbreviation of PS2, right?
PS2 have both r5900, and r3000. r3000 work in 2 modes in ps2. As compatibility PS1 processor, and in second mode as IOP (input/output processor). Emu of course care only about ps2 mode.
 
PS2 have both r5900, and r3000. r3000 work in 2 modes in ps2. As compatibility PS1 processor, and in second mode as IOP (input/output processor). Emu of course care only about ps2 mode.
Seeing your explanation, the IOP corresponds to PSX, so in the game where we repair the simulated PS2, is the IOP command unnecessary?
 
fix for Van Helsing NTSC

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

--vu1-mpg-cycles=358
--vu0-mpg-cycles=358

--ee-cycle-scalar=2.8
--iop-cycle-scalar=2.8

--host-audio-latency=1.511

gameplay is perfect. minor flicker in pause menu and title screen.

intro of game fixed now, also if use forced mode on ps4 pro, game runs good in progressive scan mode!
 
Improvement fix for Marvel: Ultimate Alliance

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

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

--vu1=jit-sync

--vu1-mpg-cycles=1950
--vu0-mpg-cycles=1950

--ee-cycle-scalar=2.45
--iop-cycle-scalar=2.45

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

Very much playable now.

 
Last edited:
Improvement fix for Marvel: Ultimate Alliance

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

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

--vu1=jit-sync

--vu1-mpg-cycles=1950
--vu0-mpg-cycles=1950

--ee-cycle-scalar=2.45
--iop-cycle-scalar=2.45

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

Very much playable now.

There are still audio knots, but it is much better than before. Now we already know how to fix these speed-related games, please keep working hard;)
 
Improvement fix for Marvel: Ultimate Alliance 2

cli
Code:
--gs-uprender=none
--gs-upscale=none

--vu1=jit-sync

--iop-cycle-scalar=2.67

--vu1-mpg-cycles=1985
--vu0-mpg-cycles=1985

--ee-cycle-scalar=1.11

audio pops and slight stutter in heavy action scenes
 
So I tried to get Buffy Chaos Bleeds running. But I'm out of ideas at the moment. The game seems to boot up with the emus in the 3-4Meg range like Rogue v1/v2. But then the game actually freezes later on at the press start button menu. What is interesting here: PCSX2 throws some VIF1: unknown vifcmd! errors, when the game enters this main menu. The corresponding commands in PS2emu seems to be --vif1-ignore-cmd-ints=1 and --vif-ignore-invalid-cmd=1 to handle this. When I set either one of these cli commands the game will not start at all exiting with the annoying PS4 BSOD errorcode. So it seems that these older emus can't handle these newer cli commands? When I switch to something newer like Jak v2 with the ignore commands set like mentioned above the game boots up, but immediately freezes/crashes at the first loading screen. Perhaps there is something in lua to address these vifcmd errors from PCSX2?
 
Perhaps there is something in lua to address these vifcmd errors from PCSX2?

Either that way, or patch the ISO directly.

@Manu Mx ,

Code:
--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]

you can try these. I believe they only work on later emus(2017 -->). The file attached is a list of commands that are specific to the "rogue" emu and probably others from around the same build date.
 

Attachments

Last edited:
Either that way, or patch the ISO directly.

@Manu Mx ,

Code:
--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]

you can try these. I believe they only work on later emus(2017 -->). The file attached is a list of commands that are specific to the "rogue" emu and probably others from around the same build date.

Thanks @Stayhe. Tried some of the more interesting vif commmands. Still no progress. Most of them crash the Rogue emu immediately. I guess it's time to move to some other game.
 
lua
Code:
--Haunting Ground [SLES-52877] (E)
--Patches/Codes Hacked By Maori-Jigglypuff [Savas Guercebe]

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

local patcher = function()

--Thanks to Maori-Jigglypuff for reversing this game, it looks like another new game

-- Maximum Graphics Booster Control Unit
-- [Disable vivid Light Intensity and max out Game Sharpness]
eeObj.WriteMem32(0x002392d0,0x27bdffC0)
eeObj.WriteMem32(0x002392d4,0x3c050047)
eeObj.WriteMem32(0x002392d8,0xFFBF0010)
eeObj.WriteMem32(0x002392dc,0x2403ffff)
eeObj.WriteMem32(0x002392e0,0x7FB00000)
eeObj.WriteMem32(0x002392e4,0x24A5E8C0)
eeObj.WriteMem32(0x002392e8,0xAFA30024)
eeObj.WriteMem32(0x002392ec,0xAFA50020)
eeObj.WriteMem32(0x002392f0,0x3C04017F)
eeObj.WriteMem32(0x002392f4,0x24907670)
eeObj.WriteMem32(0x002392f8,0x8E050014)
eeObj.WriteMem32(0x002392fc,0x8E070018)
eeObj.WriteMem32(0x00239300,0x27A40020)
eeObj.WriteMem32(0x00239304,0x3C0EFFFF)
eeObj.WriteMem32(0x00239308,0x35CFFFFF)
eeObj.WriteMem32(0x0023930c,0x10AF0008)
eeObj.WriteMem32(0x00239310,0x24020001)
eeObj.WriteMem32(0x00239314,0x2C430001)
eeObj.WriteMem32(0x00239318,0x3C188024)
eeObj.WriteMem32(0x0023931c,0x37182424)
eeObj.WriteMem32(0x00239320,0x0303280B)
eeObj.WriteMem32(0x00239324,0x3C19C024)
eeObj.WriteMem32(0x00239328,0x37392424)
eeObj.WriteMem32(0x0023932c,0x0323280A)
eeObj.WriteMem32(0x00239330,0x0C08EE0C)
eeObj.WriteMem32(0x00239334,0x24060001)
eeObj.WriteMem32(0x00239338,0x00000000)
eeObj.WriteMem32(0x0023933c,0x00000000)
eeObj.WriteMem32(0x00239340,0x00000000)
eeObj.WriteMem32(0x00239344,0x00000000)
eeObj.WriteMem32(0x00239348,0x00000000)
eeObj.WriteMem32(0x0023934c,0x00000000)
eeObj.WriteMem32(0x00239350,0x00000000)
eeObj.WriteMem32(0x00239354,0x00000000)
eeObj.WriteMem32(0x00239358,0xDFBF0010)
eeObj.WriteMem32(0x0023935c,0x7BB00000)
eeObj.WriteMem32(0x00239360,0x03e00008)
eeObj.WriteMem32(0x00239364,0x27BD0040)

-- Disable Blur-Effect
eeObj.WriteMem32(0x0019f080,0x100000A8)
eeObj.WriteMem32(0x0019f324,0x24043f80)
eeObj.WriteMem32(0x0019f328,0x00042c00)
eeObj.WriteMem32(0x0019f32c,0x34a60000)
eeObj.WriteMem32(0x0019f330,0x44860000)
eeObj.WriteMem32(0x0019f334,0x46000064)
eeObj.WriteMem32(0x0019f338,0x44070800)
eeObj.WriteMem32(0x0019f33c,0x00e01821)
eeObj.WriteMem32(0x0019f340,0x03E00008)
eeObj.WriteMem32(0x0019f344,0x0003100B)

-- Disable briefly emerging Blur-Effects and the
-- constant Blur-Effects on some foreground Objects
eeObj.WriteMem32(0x002935f0,0x3c043f80)
eeObj.WriteMem32(0x002935f8,0x44840000)
eeObj.WriteMem32(0x002935fc,0x46000064)
eeObj.WriteMem32(0x00293600,0x44020800)
eeObj.WriteMem32(0x00293608,0x0002880b)

-- All Characters real Light enhanced
-- and all kind of extra Light disabled
eeObj.WriteMem32(0x001dcd94,0x3c024240)
eeObj.WriteMem32(0x001dcd98,0x44820000)
eeObj.WriteMem32(0x001dcd9c,0x3c033f80)
eeObj.WriteMem32(0x001dcda0,0x34630000)
eeObj.WriteMem32(0x001dcda4,0xe7c00030)
eeObj.WriteMem32(0x001dcda8,0xe7c00034)
eeObj.WriteMem32(0x001dcdac,0xe7c00038)
eeObj.WriteMem32(0x001dcdb0,0xafc3003c)
eeObj.WriteMem32(0x001dc6ac,0x00000000)
eeObj.WriteMem32(0x001dc6b0,0x00000000)
eeObj.WriteMem32(0x001dc6b4,0x00000000)
eeObj.WriteMem32(0x001dc6b8,0x3C024240)
eeObj.WriteMem32(0x001dc6bc,0x34420000)
eeObj.WriteMem32(0x001dc6c0,0x44820000)
eeObj.WriteMem32(0x001dc6c4,0xE6200030)
eeObj.WriteMem32(0x001dc6c8,0xE6200034)
eeObj.WriteMem32(0x001dc6cc,0xE6200038)
eeObj.WriteMem32(0x001dc6d0,0x00000000)
eeObj.WriteMem32(0x001dc6d4,0x00000000)
eeObj.WriteMem32(0x001dc6d8,0x00000000)
eeObj.WriteMem32(0x001dc7f0,0x00000000)
eeObj.WriteMem32(0x001dc7f4,0x00000000)
eeObj.WriteMem32(0x001dc7f8,0x3C030000)
eeObj.WriteMem32(0x001dc7fc,0x34630000)
eeObj.WriteMem32(0x001dc800,0x44830000)
eeObj.WriteMem32(0x001dc804,0xE6600000)
eeObj.WriteMem32(0x001dc808,0xE6600010)
eeObj.WriteMem32(0x001dc80c,0xE6600020)
eeObj.WriteMem32(0x001dc810,0xe6400000)
eeObj.WriteMem32(0x001dc814,0xe6400004)
eeObj.WriteMem32(0x001dc818,0xe6400008)
eeObj.WriteMem32(0x001dc81c,0x00000000)
eeObj.WriteMem32(0x001dc820,0x00000000)
eeObj.WriteMem32(0x001dc828,0x00000000)
eeObj.WriteMem32(0x001dcb1c,0x3c024240)
eeObj.WriteMem32(0x001dcb20,0x44820000)
eeObj.WriteMem32(0x001dcb24,0xe7c00030)
eeObj.WriteMem32(0x001dcb28,0xe7c00034)
eeObj.WriteMem32(0x001dcb2c,0xe7c00038)
eeObj.WriteMem32(0x001dca48,0xAE000000)
eeObj.WriteMem32(0x001dca60,0xAE000004)
eeObj.WriteMem32(0x001dca78,0xAE000008)
eeObj.WriteMem32(0x001DC990,0xAC400000)
eeObj.WriteMem32(0x001DC994,0xAC400004)
eeObj.WriteMem32(0x001DC998,0xAC400008)

-- Fiona never gets into Panic
eeObj.WriteMem32(0x00384888,0x3C043F80)
eeObj.WriteMem32(0x0038488c,0x34850000)
eeObj.WriteMem32(0x00384890,0x44850000)
eeObj.WriteMem32(0x00384894,0x46000064)
eeObj.WriteMem32(0x00384898,0x44030800)
eeObj.WriteMem32(0x0038489c,0x0060100A)

-- No Lantern Light and no vivid Windows
eeObj.WriteMem32(0x0023D024,0x24020000)

-- No foggy black Door Shadows and
-- no Shadow of Fiona's Body on the Ground
eeObj.WriteMem32(0x001db8e8,0x24030000)
eeObj.WriteMem32(0x001db8ec,0x2C620001)
eeObj.WriteMem32(0x001db8f0,0x0002180B)
eeObj.WriteMem32(0x001db8f4,0x14600017)

-- Triangles Brightness on the four Screen Corners Fix
eeObj.WriteMem32(0x001EEFB8,0x24020000)

-- No black Borders
eeObj.WriteMem32(0x0035e628,0x24030001)

-- LANGUAGE-, Select your language.- and Language-Selector
-- Letters correct Brightness Adjustment
eeObj.WriteMem32(0x003426D0,0x24020060)
eeObj.WriteMem32(0x00342700,0x24020060)
eeObj.WriteMem32(0x00342748,0x24020060)

-- Haunting Ground Letter at "Press Start Button"-Screen
-- Brightness and Color (Intensifier/Modifier) Adjust
eeObj.WriteMem32(0x00340a68,0x3C034300)
eeObj.WriteMem32(0x00340ac0,0x3c030044)
eeObj.WriteMem32(0x00340ac8,0x34634444)

-- Snake Image at "Press Start Button"-Screen Brightness Adjust
eeObj.WriteMem32(0x00340d10,0x3C034284)

-- Capcom Co. , LTD. 2005 ALL RIGHTS RESERVED. and
-- "Press Start Button" Letters correct Brightness Adjust
eeObj.WriteMem32(0x0038B42c,0x3C034280)

-- Art Gallery correct Brightness Adjust
eeObj.WriteMem32(0x0034a708,0x34038050)
eeObj.WriteMem32(0x0034a718,0x34675050)

-- Remove translucent black Borders in Art Gallery
--eeObj.WriteMem32(0x00349f7c,0x24030000)

-- Entire Game-System RGB highly enhanced
-- [Side Effect: Fiona and Hewie not visible on Capcom Logo]
eeObj.WriteMem32(0x0019db14,0x3C1880F8)
eeObj.WriteMem32(0x0019db34,0x3719F8F8)
eeObj.WriteMem32(0x0019db38,0xFC790098)

end

emuObj.AddVsyncHook(patcher)

This should work.
Just test that config! Seems it work! just little bit slowdowns but looks playble!
 
@Stayhye Did u test Rule of Rose game? I was test pal version, it FMVs have significant audio stutter. Maybe will be have some fix for pal or ntsc version of this game? Gamplay looks playble.
 
@Stayhye Did u test Rule of Rose game? I was test pal version, it FMVs have significant audio stutter. Maybe will be have some fix for pal or ntsc version of this game? Gamplay looks playble.
The Rose Rule has been patched for a long time, and there are no audio problems in my test. This patch is as disruptive as Haunting Ground, but I am still not satisfied, and there will still be many small parts of graphics flickering!You @Stayhye, just wait for him to post it!
 
The Rose Rule has been patched for a long time, and there are no audio problems in my test. This patch is as disruptive as Haunting Ground, but I am still not satisfied, and there will still be many small parts of graphics flickering!You @Stayhye, just wait for him to post it!

do you have link to pnach?

*edit - found it
 
The Rose Rule has been patched for a long time, and there are no audio problems in my test. This patch is as disruptive as Haunting Ground, but I am still not satisfied, and there will still be many small parts of graphics flickering!You @Stayhye, just wait for him to post it!
Which version pal or ntsc? Yes hope @Stayhye post soon!
 
I could only find the pnach for the NTSC verion

lua
Code:
--gametitle=Rule of Rose [SLUS-21448] (U)
--comment=Patches/Codes Hacked By Maori-Jigglypuff [Savas Guercebe]

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

local patcher = function()

--Thanks to Maori-Jigglypuff for reversing this game, it looks like another new game

--60)fps
eeObj.WriteMem32(0x20296198,0x00000001)
eeObj.WriteMem32(0x206FE890,0x3F000000)
eeObj.WriteMem32(0x202EA740,0x3F000000)
eeObj.WriteMem32(0x202EA744,0x3F000000)

-- Noise Filter Off
eeObj.WriteMem32(0x0073D6A0,0x00000000)
eeObj.WriteMem32(0x001d3a3C,0x0000182d)

-- Contrast 6  [C1=20;C2=38;C3=50;C4=68;C5=80;C6=98;C7=B0;C8=C8;C9=E0]
--eeObj.WriteMem32(0x00780D04,0x00000098)
--eeObj.WriteMem32(0x001c9c94,0x00000000)

-- No Background Music but Voices and Sound
-- Effects of the Environment still audible
--eeObj.WriteMem32(0x001805C4,0x24020000)

-- Remove Black Bars in Cutscenes
eeObj.WriteMem32(0x00190d58,0x24020000)

-- Remove Black Bars in Cutscenes (alt.)
--eeObj.WriteMem32(0x00190d50,0x00000000)

-- Remove Black Bars in Cutscenes (alt.2)
--eeObj.WriteMem32(0x00299ABC,0x00000000)
--eeObj.WriteMem32(0x00299AC0,0x00000000)
--eeObj.WriteMem32(0x00299AF4,0x00000000)
--eeObj.WriteMem32(0x00299AF8,0x00000000)

-- Remove Black Bars in Cutscenes (alt.3)
--eeObj.WriteMem32(0x00190d54,0x0000202d)

-- Remove Black Bars in Cutscenes (alt.4)
--eeObj.WriteMem32(0x00299bf4,0x00000000)
--eeObj.WriteMem32(0x00299c28,0x00000000)

-- Remove Black Bars in Cutscenes (alt.5)
--eeObj.WriteMem32(0x00299b48,0x00000000)
--eeObj.WriteMem32(0x00299b60,0x00000000)

-- Camera Symmetry Modifier
-- [First Code affects x-Axis,
--  Second Code affects y-Axis]
--eeObj.WriteMem32(0x00726950,0x3F800000)
--eeObj.WriteMem32(0x00726954,0x3F800000)

-- Camera Zoom Out
--eeObj.WriteMem32(0x00726958,0x3F400000)

-- Move Camera Forward/Backward (Originalvalue: 00000000)
-- [Positive Value like 3F800000: Forward,
--  Negative Value like BF800000: Backward]
--eeObj.WriteMem32(0x00726960,0x3F800000)

-- Move Camera Up/Down (Originalvalue: 00000000)
-- [Positive Value like 3F800000: Downward,
--  Negative Value like BF800000: Upward]
--eeObj.WriteMem32(0x00726964,0x00000000)

-- Move Camera to the Left/Right (Originalvalue: 00000000)
-- [Positive Value like 3F800000: Leftward,
--  Negative Value like BF800000: Rightward]
--eeObj.WriteMem32(0x00726968,0x00000000)

-- Pan Camera Up/Down (Originalvalue: 00000000)
-- [Positive Value like 3F800000: Upward,
--  Negative Value like BF800000: Downward]
--eeObj.WriteMem32(0x00726970,0x00000000)

-- Pan Camera to the Left/Right (Originalvalue: 00000000)
-- [Positive Value like 3F800000: Rightward,
--  Negative Value like BF800000: Leftward]
--eeObj.WriteMem32(0x00726974,0x00000000)

-- Rotate Camera to the Left/Right (Originalvalue: 00000000)
-- [Positive Value like 3F800000: Rightward,
--  Negative Value like BF800000: Leftward]
--eeObj.WriteMem32(0x00726978,0x00000000)

-- ANYTHING BRIGHT AND CLEARLY VISIBLE!
-- (ALL ROOMS AND OUTSIDE AROUND YOU,
-- ALL CHARACTERS, ENTIRE TOWN/OUTSKIRTS
-- (Streets, Trees, Grass, Buildings etc.))
--eeObj.WriteMem32(0x006FDDC4,0x009B9E40)
--eeObj.WriteMem32(0x006FDDD0,0x009B9CC0)
--eeObj.WriteMem32(0x006FDDD4,0x009B9D40)
--eeObj.WriteMem32(0x006FDDD8,0x009B9E40)
--eeObj.WriteMem32(0x006FDDDC,0x009BA040)
--eeObj.WriteMem32(0x009B9CC0,0x40200000)
--eeObj.WriteMem32(0x009B9CC4,0x40200000)
--eeObj.WriteMem32(0x009B9CC8,0x40200000)
--eeObj.WriteMem32(0x009B9CCC,0x3F800000)
--eeObj.WriteMem32(0x009B9CD0,0x3F600000)
--eeObj.WriteMem32(0x009B9CD4,0x3F600000)
--eeObj.WriteMem32(0x009B9CD8,0x3F600000)
--eeObj.WriteMem32(0x009B9CDC,0x3F800000)
--eeObj.WriteMem32(0x009B9CE0,0x40200000)
--eeObj.WriteMem32(0x009B9CE4,0x40200000)
--eeObj.WriteMem32(0x009B9CE8,0x40200000)
--eeObj.WriteMem32(0x009B9CEC,0x3F800000)
--eeObj.WriteMem32(0x009B9D40,0x00000000)
--eeObj.WriteMem32(0x009B9D44,0x00000000)
--eeObj.WriteMem32(0x009B9D48,0x00000000)
--eeObj.WriteMem32(0x009B9D4C,0x00000000)
--eeObj.WriteMem32(0x009B9D50,0x00000000)
--eeObj.WriteMem32(0x009B9D54,0x00000000)
--eeObj.WriteMem32(0x009B9D58,0x00000000)
--eeObj.WriteMem32(0x009B9D5C,0x00000000)
--eeObj.WriteMem32(0x009B9D60,0x00000000)
--eeObj.WriteMem32(0x009B9D64,0x00000000)
--eeObj.WriteMem32(0x009B9D68,0x00000000)
--eeObj.WriteMem32(0x009B9D6C,0x00000000)
--eeObj.WriteMem32(0x009B9D70,0x00000000)
--eeObj.WriteMem32(0x009B9D74,0x00000000)
--eeObj.WriteMem32(0x009B9D78,0x00000000)
--eeObj.WriteMem32(0x009B9D7C,0x00000000)
--eeObj.WriteMem32(0x009B9E40,0x461C4000)
--eeObj.WriteMem32(0x009B9E44,0x461C4000)
--eeObj.WriteMem32(0x009B9E48,0x461C4000)
--eeObj.WriteMem32(0x009B9E4C,0x00000000)
--eeObj.WriteMem32(0x009B9E50,0x00000000)
--eeObj.WriteMem32(0x009B9E54,0x00000000)
--eeObj.WriteMem32(0x009B9E58,0x00000000)
--eeObj.WriteMem32(0x009B9E5C,0x00000000)
--eeObj.WriteMem32(0x009B9E60,0x461C4000)
--eeObj.WriteMem32(0x009B9E64,0x461C4000)
--eeObj.WriteMem32(0x009B9E68,0x461C4000)
--eeObj.WriteMem32(0x009B9E6C,0x00000000)
--eeObj.WriteMem32(0x009B9E70,0x00000000)
--eeObj.WriteMem32(0x009B9E74,0x00000000)
--eeObj.WriteMem32(0x009B9E78,0x00000000)
--eeObj.WriteMem32(0x009B9E7C,0x00000000)
--eeObj.WriteMem32(0x009B9E80,0x461C4000)
--eeObj.WriteMem32(0x009B9E84,0x461C4000)
--eeObj.WriteMem32(0x009B9E88,0x461C4000)
--eeObj.WriteMem32(0x009B9E8C,0x00000000)
--eeObj.WriteMem32(0x009B9E90,0x00000000)
--eeObj.WriteMem32(0x009B9E94,0x00000000)
--eeObj.WriteMem32(0x009B9E98,0x00000000)
--eeObj.WriteMem32(0x009B9E9C,0x00000000)
--eeObj.WriteMem32(0x009B9EA0,0x461C4000)
--eeObj.WriteMem32(0x009B9EA4,0x461C4000)
--eeObj.WriteMem32(0x009B9EA8,0x461C4000)
--eeObj.WriteMem32(0x009B9EAC,0x00000000)
--eeObj.WriteMem32(0x009B9EB0,0x00000000)
--eeObj.WriteMem32(0x009B9EB4,0x00000000)
--eeObj.WriteMem32(0x009B9EB8,0x00000000)
--eeObj.WriteMem32(0x009B9EBC,0x00000000)
--eeObj.WriteMem32(0x009B9EC0,0x461C4000)
--eeObj.WriteMem32(0x009B9EC4,0x461C4000)
--eeObj.WriteMem32(0x009B9EC8,0x461C4000)
--eeObj.WriteMem32(0x009B9ECC,0x00000000)
--eeObj.WriteMem32(0x009B9ED0,0x00000000)
--eeObj.WriteMem32(0x009B9ED4,0x00000000)
--eeObj.WriteMem32(0x009B9ED8,0x00000000)
--eeObj.WriteMem32(0x009B9EDC,0x00000000)
--eeObj.WriteMem32(0x009B9EE0,0x461C4000)
--eeObj.WriteMem32(0x009B9EE4,0x461C4000)
--eeObj.WriteMem32(0x009B9EE8,0x461C4000)
--eeObj.WriteMem32(0x009B9EEC,0x00000000)
--eeObj.WriteMem32(0x009B9EF0,0x00000000)
--eeObj.WriteMem32(0x009B9EF4,0x00000000)
--eeObj.WriteMem32(0x009B9EF8,0x00000000)
--eeObj.WriteMem32(0x009B9EFC,0x00000000)
--eeObj.WriteMem32(0x009B9F00,0x461C4000)
--eeObj.WriteMem32(0x009B9F04,0x461C4000)
--eeObj.WriteMem32(0x009B9F08,0x461C4000)
--eeObj.WriteMem32(0x009B9F0C,0x00000000)
--eeObj.WriteMem32(0x009B9F10,0x00000000)
--eeObj.WriteMem32(0x009B9F14,0x00000000)
--eeObj.WriteMem32(0x009B9F18,0x00000000)
--eeObj.WriteMem32(0x009B9F1C,0x00000000)
--eeObj.WriteMem32(0x009B9F20,0x461C4000)
--eeObj.WriteMem32(0x009B9F24,0x461C4000)
--eeObj.WriteMem32(0x009B9F28,0x461C4000)
--eeObj.WriteMem32(0x009B9F2C,0x00000000)
--eeObj.WriteMem32(0x009B9F30,0x00000000)
--eeObj.WriteMem32(0x009B9F34,0x00000000)
--eeObj.WriteMem32(0x009B9F38,0x00000000)
--eeObj.WriteMem32(0x009B9F3C,0x00000000)

-- Maximum far clear Sight
-- Outdoors and in Rooms (DON'T USE WITH WIDESCREEN PATCH)
eeObj.WriteMem32(0x00726794,0x461C4000)
eeObj.WriteMem32(0x007268E0,0x00000000)
eeObj.WriteMem32(0x007268E4,0x00000000)
eeObj.WriteMem32(0x00726860,0x00000000)
eeObj.WriteMem32(0x00726864,0x00000000)
eeObj.WriteMem32(0x00726868,0x00000000)
eeObj.WriteMem32(0x0072686C,0x00000000)
eeObj.WriteMem32(0x00726870,0x461C4000)
eeObj.WriteMem32(0x00726874,0x00000000)
eeObj.WriteMem32(0x00726878,0x00000000)
eeObj.WriteMem32(0x0072687C,0x3F800000)

-- Remove all Characters Body Shadow on the
-- Ground and the Shadow around their Feet
--eeObj.WriteMem32(0x0013A874,0x0000202D)

-- No Thunderstorm Outside and
-- No Beam of Sunlight and vivid
-- Flash of Lightning through Window Panes
--eeObj.WriteMem32(0x00175d7c,0x24020000)
--eeObj.WriteMem32(0x00228CC8,0x24020000)

-- No Thunderstorm Outside and
-- No Beam of Sunlight and vivid
-- Flash of Lightning through Window Panes (alt.)
--eeObj.WriteMem32(0x00175df8,0x24020000)
--eeObj.WriteMem32(0x00175dfc,0x24030001)
--eeObj.WriteMem32(0x00175e04,0x00000000)
--eeObj.WriteMem32(0x0022a520,0x00005025)

-- Disable Candle Light [fire1]
--eeObj.WriteMem32(0x00170E08,0x24020000)

-- Disable Candle Light [fire1] (alt.)
--eeObj.WriteMem32(0x00170E2C,0x0000B02D)

-- No escaping Steam from Airship Engines [fog2]
--eeObj.WriteMem32(0x0017225C,0x24020000)

-- No escaping Steam from Airship Engines [fog2] (alt.)
--eeObj.WriteMem32(0x00172064,0x0000802D)

-- Disable Extra Light [light1]
--eeObj.WriteMem32(0x0017508C,0x44800000)
--eeObj.WriteMem32(0x00175090,0x44800800)

-- Disable Extra Light [light1] (alt.)
--eeObj.WriteMem32(0x00174ec0,0x0000882D)

-- Disable Extra Light [light2]
--eeObj.WriteMem32(0x001754D4,0x44800000)
--eeObj.WriteMem32(0x001754DC,0x44801000)

-- Disable Extra Light [light2] (alt.)
--eeObj.WriteMem32(0x00175390,0x0000902D)

-- Last Part of the Game where
-- Jennifer is a little Girl
-- completely in Real-Colours!
eeObj.WriteMem32(0x006FE04C,0x00000000)
eeObj.WriteMem32(0x00144eb8,0x24030000)

-- Jennifer Never gets Exhausted
eeObj.WriteMem32(0x00726C10,0x000003E8)
eeObj.WriteMem32(0x001211d4,0x0000202D)

-- Infinite Health Jennifer
eeObj.WriteMem32(0x001FB1D4,0x0000202D)

-- Infinite Health Brown
eeObj.WriteMem32(0x001FAFDC,0x0000282D)


-- ************************************************************
-- **************** BEGINN OF SPECIAL SECTION *****************
-- ************************************************************

-- == Room Brightness Modifier via RGB Assignment ==
-- Effect of this Code-Segment already in
-- "ANYTHING BRIGHT AND CLEARLY VISIBLE!"-Code.
-- IF YOU WANT TO USE THIS CODE DISABLE FIRST
-- "ANYTHING BRIGHT AND CLEARLY VISIBLE!"-Code
-- above and definitely enable the Code below
-- "Characters Brightness Modifier via RGB Assignment".
--eeObj.WriteMem32(0x00112728,0x0C099CA8)
--eeObj.WriteMem32(0x002672A0,0x3C014020)
--eeObj.WriteMem32(0x002672A4,0xAC810000)
--eeObj.WriteMem32(0x002672A8,0xAC810004)
--eeObj.WriteMem32(0x002672AC,0xAC810008)
--eeObj.WriteMem32(0x002672B0,0x03E00008)

-- == Characters Brightness Modifier via RGB Assignment ==
-- Effect of this Code-Segment already in
-- "ANYTHING BRIGHT AND CLEARLY VISIBLE!"-Code.
-- IF YOU WANT TO USE THIS CODE DISABLE FIRST
-- "ANYTHING BRIGHT AND CLEARLY VISIBLE!"-Code
-- above and definitely enable the Code above
-- "Room Brightness Modifier via RGB Assignment".
--eeObj.WriteMem32(0x00112738,0x3c013f80)
--eeObj.WriteMem32(0x0011273c,0x44810000)
--eeObj.WriteMem32(0x00112740,0xe7a00000)
--eeObj.WriteMem32(0x00112744,0xe7a00004)
--eeObj.WriteMem32(0x00112748,0xe7a00008)
--eeObj.WriteMem32(0x0011274c,0x00000000)
--eeObj.WriteMem32(0x00112750,0x00000000)
--eeObj.WriteMem32(0x00112754,0x00000000)
--eeObj.WriteMem32(0x00112758,0x00000000)

-- Remove all Characters Body Shadow on the
-- Ground and the Shadow around their Feet (alt.)
--eeObj.WriteMem32(0x0013a8c0,0x0000482D)

-- Disable "SHADOW_BLACKNESS"
-- Same Effect of this Code-Segment is in
-- "ANYTHING BRIGHT AND CLEARLY VISIBLE!"-Code
--eeObj.WriteMem32(0x00237ba0,0x03E00008)
--eeObj.WriteMem32(0x00237ba4,0x00000000)

-- Disable "SHADOW_BLACKNESS" (alt.)
-- Same Effect of this Code-Segment is in
-- "ANYTHING BRIGHT AND CLEARLY VISIBLE!"-Code.
eeObj.WriteMem32(0x00237bb0,0x0000A82D)
eeObj.WriteMem32(0x00237bc0,0x0000982D)
eeObj.WriteMem32(0x00237bc8,0x0000A02D)

-- Disable "AMBIENT_EXTRA"
-- Same Effect of this Code is in
-- "ANYTHING BRIGHT AND CLEARLY VISIBLE!"-Code.
-- Highly recommended to enable this Code if you
-- want to use both Codes above in this Section
-- "Room Brightness Modifier via RGB Assignment" and
-- "Characters Brightness Modifier via RGB Assignment".
--eeObj.WriteMem32(0x0013bec4,0x0000302D)

-- ************************************************************
-- ****************** END OF SPECIAL SECTION ******************
-- ************************************************************


-- All Costumes in "Four Leaf Clover"-Room unlocked
eeObj.WriteMem32(0x00836200,0x80B70000)

end

emuObj.AddVsyncHook(patcher)

You may have to include the patches you want enabled by removing the "--" before the code
 
Rule of Rose PAL

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

local patcher = function()

--Thanks to Maori-Jigglypuff for reversing this game, it looks like another new game

-- Noise Filter Off
-- [Control Address and its Value: 007675A0 00000000]
eeObj.WriteMem32(0x001d4d88,0x64050000)

-- Contrast 6  [C1=20;C2=38;C3=50;C4=68;C5=80;C6=98;C7=B0;C8=C8;C9=E0]
--eeObj.WriteMem32(0x007aac14,0x00000098)
--eeObj.WriteMem32(0x001cafbc,0x00000000)

-- No Background Music but Voices and Sound
-- Effects of the Environment still audible
--eeObj.WriteMem32(0x00180C94,0x24020000)

-- Remove Black Bars in Cutscenes
eeObj.WriteMem32(0x001914AC,0x24030000)

-- Remove Black Bars in Cutscenes (alt.)
--eeObj.WriteMem32(0x0019149C,0x00000000)

-- Remove Black Bars in Cutscenes (alt.2)
--eeObj.WriteMem32(0x0029D89C,0x00000000)
--eeObj.WriteMem32(0x0029D8A0,0x00000000)
--eeObj.WriteMem32(0x0029D8D4,0x00000000)
--eeObj.WriteMem32(0x0029D8D8,0x00000000)

-- Camera Zoom Out
eeObj.WriteMem32(0x00750878,0x3F400000)

--ANYTHING BRIGHT AND CLEARLY VISIBLE!:
--(ALL ROOMS AND OUTSIDE AROUND YOU,
--ALL CHARACTERS, ENTIRE TOWN/OUTSKIRTS
--(Streets, Trees, Grass, Buildings etc.))
eeObj.WriteMem32(0x00727B84,0x009E3D40)
eeObj.WriteMem32(0x00727B90,0x009E3BC0)
eeObj.WriteMem32(0x00727B94,0x009E3C40)
eeObj.WriteMem32(0x00727B98,0x009E3D40)
eeObj.WriteMem32(0x00727B9C,0x009E3F40)
eeObj.WriteMem32(0x009E3BC0,0x40200000)
eeObj.WriteMem32(0x009E3BC4,0x40200000)
eeObj.WriteMem32(0x009E3BC8,0x40200000)
eeObj.WriteMem32(0x009E3BCC,0x3F800000)
eeObj.WriteMem32(0x009E3BD0,0x3F600000)
eeObj.WriteMem32(0x009E3BD4,0x3F600000)
eeObj.WriteMem32(0x009E3BD8,0x3F600000)
eeObj.WriteMem32(0x009E3BDC,0x3F800000)
eeObj.WriteMem32(0x009E3BE0,0x40200000)
eeObj.WriteMem32(0x009E3BE4,0x40200000)
eeObj.WriteMem32(0x009E3BE8,0x40200000)
eeObj.WriteMem32(0x009E3BEC,0x3F800000)
eeObj.WriteMem32(0x009E3C40,0x00000000)
eeObj.WriteMem32(0x009E3C44,0x00000000)
eeObj.WriteMem32(0x009E3C48,0x00000000)
eeObj.WriteMem32(0x009E3C4C,0x00000000)
eeObj.WriteMem32(0x009E3C50,0x00000000)
eeObj.WriteMem32(0x009E3C54,0x00000000)
eeObj.WriteMem32(0x009E3C58,0x00000000)
eeObj.WriteMem32(0x009E3C5C,0x00000000)
eeObj.WriteMem32(0x009E3C60,0x00000000)
eeObj.WriteMem32(0x009E3C64,0x00000000)
eeObj.WriteMem32(0x009E3C68,0x00000000)
eeObj.WriteMem32(0x009E3C6C,0x00000000)
eeObj.WriteMem32(0x009E3C70,0x00000000)
eeObj.WriteMem32(0x009E3C74,0x00000000)
eeObj.WriteMem32(0x009E3C78,0x00000000)
eeObj.WriteMem32(0x009E3C7C,0x00000000)
eeObj.WriteMem32(0x009E3D40,0x461C4000)
eeObj.WriteMem32(0x009E3D44,0x461C4000)
eeObj.WriteMem32(0x009E3D48,0x461C4000)
eeObj.WriteMem32(0x009E3D4C,0x00000000)
eeObj.WriteMem32(0x009E3D50,0x00000000)
eeObj.WriteMem32(0x009E3D54,0x00000000)
eeObj.WriteMem32(0x009E3D58,0x00000000)
eeObj.WriteMem32(0x009E3D5C,0x00000000)
eeObj.WriteMem32(0x009E3D60,0x461C4000)
eeObj.WriteMem32(0x009E3D64,0x461C4000)
eeObj.WriteMem32(0x009E3D68,0x461C4000)
eeObj.WriteMem32(0x009E3D6C,0x00000000)
eeObj.WriteMem32(0x009E3D70,0x00000000)
eeObj.WriteMem32(0x009E3D74,0x00000000)
eeObj.WriteMem32(0x009E3D78,0x00000000)
eeObj.WriteMem32(0x009E3D7C,0x00000000)
eeObj.WriteMem32(0x009E3D80,0x461C4000)
eeObj.WriteMem32(0x009E3D84,0x461C4000)
eeObj.WriteMem32(0x009E3D88,0x461C4000)
eeObj.WriteMem32(0x009E3D8C,0x00000000)
eeObj.WriteMem32(0x009E3D90,0x00000000)
eeObj.WriteMem32(0x009E3D94,0x00000000)
eeObj.WriteMem32(0x009E3D98,0x00000000)
eeObj.WriteMem32(0x009E3D9C,0x00000000)
eeObj.WriteMem32(0x009E3DA0,0x461C4000)
eeObj.WriteMem32(0x009E3DA4,0x461C4000)
eeObj.WriteMem32(0x009E3DA8,0x461C4000)
eeObj.WriteMem32(0x009E3DAC,0x00000000)
eeObj.WriteMem32(0x009E3DB0,0x00000000)
eeObj.WriteMem32(0x009E3DB4,0x00000000)
eeObj.WriteMem32(0x009E3DB8,0x00000000)
eeObj.WriteMem32(0x009E3DBC,0x00000000)
eeObj.WriteMem32(0x009E3DC0,0x461C4000)
eeObj.WriteMem32(0x009E3DC4,0x461C4000)
eeObj.WriteMem32(0x009E3DC8,0x461C4000)
eeObj.WriteMem32(0x009E3DCC,0x00000000)
eeObj.WriteMem32(0x009E3DD0,0x00000000)
eeObj.WriteMem32(0x009E3DD4,0x00000000)
eeObj.WriteMem32(0x009E3DD8,0x00000000)
eeObj.WriteMem32(0x009E3DDC,0x00000000)
eeObj.WriteMem32(0x009E3DE0,0x461C4000)
eeObj.WriteMem32(0x009E3DE4,0x461C4000)
eeObj.WriteMem32(0x009E3DE8,0x461C4000)
eeObj.WriteMem32(0x009E3DEC,0x00000000)
eeObj.WriteMem32(0x009E3DF0,0x00000000)
eeObj.WriteMem32(0x009E3DF4,0x00000000)
eeObj.WriteMem32(0x009E3DF8,0x00000000)
eeObj.WriteMem32(0x009E3DFC,0x00000000)
eeObj.WriteMem32(0x009E3E00,0x461C4000)
eeObj.WriteMem32(0x009E3E04,0x461C4000)
eeObj.WriteMem32(0x009E3E08,0x461C4000)
eeObj.WriteMem32(0x009E3E0C,0x00000000)
eeObj.WriteMem32(0x009E3E10,0x00000000)
eeObj.WriteMem32(0x009E3E14,0x00000000)
eeObj.WriteMem32(0x009E3E18,0x00000000)
eeObj.WriteMem32(0x009E3E1C,0x00000000)
eeObj.WriteMem32(0x009E3E20,0x461C4000)
eeObj.WriteMem32(0x009E3E24,0x461C4000)
eeObj.WriteMem32(0x009E3E28,0x461C4000)
eeObj.WriteMem32(0x009E3E2C,0x00000000)
eeObj.WriteMem32(0x009E3E30,0x00000000)
eeObj.WriteMem32(0x009E3E34,0x00000000)
eeObj.WriteMem32(0x009E3E38,0x00000000)
eeObj.WriteMem32(0x009E3E3C,0x00000000)

-- Maximum far clear Sight
-- Outdoors and in Rooms
eeObj.WriteMem32(0x007506B4,0x461C4000)
eeObj.WriteMem32(0x00750800,0x00000000)
eeObj.WriteMem32(0x00750804,0x00000000)
eeObj.WriteMem32(0x00750780,0x00000000)
eeObj.WriteMem32(0x00750784,0x00000000)
eeObj.WriteMem32(0x00750788,0x00000000)
eeObj.WriteMem32(0x0075078C,0x00000000)
eeObj.WriteMem32(0x00750790,0x461C4000)
eeObj.WriteMem32(0x00750794,0x00000000)
eeObj.WriteMem32(0x00750798,0x00000000)
eeObj.WriteMem32(0x0075079C,0x3F800000)

-- Remove all Characters Body Shadow on the
-- Ground and the Shadow around their Feet
eeObj.WriteMem32(0x0013AA8C,0x00000000)

-- No Thunderstorm Outside and
-- No Beam of Sunlight and vivid
-- Flash of Lightning through Window Panes
eeObj.WriteMem32(0x0017638C,0x24020000)
eeObj.WriteMem32(0x0022ABF0,0x24020000)

-- Disable Candle Light [fire1]
--eeObj.WriteMem32(0x00171418,0x24020000)

-- Disable Candle Light [fire1] (alt.)
eeObj.WriteMem32(0x00171460,0x24030004)

-- No escaping Steam from Airship Engines [fog2]
--eeObj.WriteMem32(0x0017286C,0x24020000)

-- No escaping Steam from Airship Engines [fog2] (alt.)
eeObj.WriteMem32(0x00172690,0x24040000)
eeObj.WriteMem32(0x00172694,0x24030000)

-- Disable Extra Light [light1]
eeObj.WriteMem32(0x0017569C,0x44800000)
eeObj.WriteMem32(0x001756A0,0x44800800)

-- Disable Extra Light [light2]
eeObj.WriteMem32(0x00175AE4,0x44800000)
eeObj.WriteMem32(0x00175AEC,0x44801000)

-- Last Part of the Game where
-- Jennifer is a little Girl
-- completely in Real-Colours!
-- [Control Address and its Value: 00727F64 00000000]
eeObj.WriteMem32(0x00145454,0x24030000)

-- Jennifer Never gets Exhausted
-- [Control Address and its Value: 00750B30 000003E8]
eeObj.WriteMem32(0x0011bf70,0x2402FFFF)

-- Infinite Health Jennifer
eeObj.WriteMem32(0x001FC874,0x10000008)

-- Infinite Health Brown
eeObj.WriteMem32(0x001FC680,0x10000007)


-- ************************************************************
-- **************** BEGINN OF SPECIAL SECTION *****************
-- ************************************************************

-- == Room Brightness Modifier via RGB Assignment ==
-- Effect of this Code-Segment already in
-- "ANYTHING BRIGHT AND CLEARLY VISIBLE!"-Code.
-- IF YOU WANT TO USE THIS CODE DISABLE FIRST
-- "ANYTHING BRIGHT AND CLEARLY VISIBLE!"-Code
-- above and definitely enable the Code below
-- "Characters Brightness Modifier via RGB Assignment".
--eeObj.WriteMem32(0x001127BC,0x0c09a478)
--eeObj.WriteMem32(0x002691E0,0x3C014020)
--eeObj.WriteMem32(0x002691E4,0xAC810000)
--eeObj.WriteMem32(0x002691E8,0xAC810004)
--eeObj.WriteMem32(0x002691EC,0xAC810008)
--eeObj.WriteMem32(0x002691F0,0x03E00008)

-- == Characters Brightness Modifier via RGB Assignment ==
-- Effect of this Code-Segment already in
-- "ANYTHING BRIGHT AND CLEARLY VISIBLE!"-Code.
-- IF YOU WANT TO USE THIS CODE DISABLE FIRST
-- "ANYTHING BRIGHT AND CLEARLY VISIBLE!"-Code
-- above and definitely enable the Code above
-- "Room Brightness Modifier via RGB Assignment".
--eeObj.WriteMem32(0x001127CC,0x3c013f80)
--eeObj.WriteMem32(0x001127D0,0x44810000)
--eeObj.WriteMem32(0x001127D4,0xe7a00000)
--eeObj.WriteMem32(0x001127D8,0xe7a00004)
--eeObj.WriteMem32(0x001127DC,0xe7a00008)
--eeObj.WriteMem32(0x001127E0,0x00000000)
--eeObj.WriteMem32(0x001127E4,0x00000000)
--eeObj.WriteMem32(0x001127E8,0x00000000)
--eeObj.WriteMem32(0x001127EC,0x00000000)

-- Remove all Characters Body Shadow on the
-- Ground and the Shadow around their Feet (alt.)
eeObj.WriteMem32(0x0013aa64,0x44800000)
eeObj.WriteMem32(0x0013aa6c,0x44800800)

-- Disable "SHADOW_BLACKNESS"
-- Same Effect of this Code-Segment is in
-- "ANYTHING BRIGHT AND CLEARLY VISIBLE!"-Code
--eeObj.WriteMem32(0x00239ac8,0x03E00008)
--eeObj.WriteMem32(0x00239acc,0x00000000)

-- Disable "SHADOW_BLACKNESS" (alt.)
-- Same Effect of this Code-Segment is in
-- "ANYTHING BRIGHT AND CLEARLY VISIBLE!"-Code.
eeObj.WriteMem32(0x00239ac8,0x03E00008)
eeObj.WriteMem32(0x00239acc,0x00000000)

-- Disable "AMBIENT_EXTRA"
-- Same Effect of this Code is in
-- "ANYTHING BRIGHT AND CLEARLY VISIBLE!"-Code.
-- Highly recommended to enable this Code if you
-- want to use both Codes above in this Section
-- "Room Brightness Modifier via RGB Assignment" and
-- "Characters Brightness Modifier via RGB Assignment".
--eeObj.WriteMem32(0x0013c0b8,0x0000302D)

-- ************************************************************
-- ****************** END OF SPECIAL SECTION ******************
-- ************************************************************


-- All Costumes in "Four Leaf Clover"-Room unlocked
eeObj.WriteMem32(0x00860100,0x80B70000)

end

emuObj.AddVsyncHook(patcher)

remove or add "--" to enable/disable code
 

Similar threads

Back
Top