-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
269 additions
and
0 deletions.
There are no files selected for viewing
139 changes: 139 additions & 0 deletions
139
mods/cosmetic/sly2/unintrusive_pause_menu/07652DD9.unintrusive_pause_menu.pnach
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,139 @@ | ||
gametitle=Sly 2: Band of Thieves (NTSC) [SCUS-97316] [08/13/04 00:32] | ||
|
||
[Cosmetic\Unintrusive Pause Menu] | ||
comment=A simplified and stripped down pause menu. | ||
author=zami3333 | ||
|
||
|
||
patch=1,EE,E0830001,extended,103043DC | ||
patch=1,EE,E1820001,extended,003D9EF4 | ||
patch=1,EE,203D9EF8,extended,00000004 | ||
patch=1,EE,E101002C,extended,003D9F1A | ||
patch=1,EE,203D9F14,extended,00000002 | ||
patch=1,EE,E101002F,extended,003D9F1A | ||
patch=1,EE,203D9F14,extended,00000009 | ||
patch=1,EE,202F65D0,extended,00000039 | ||
patch=1,EE,202F65D4,extended,001B0270 | ||
patch=1,EE,202F65D8,extended,00000000 | ||
patch=1,EE,202F65DC,extended,00000000 | ||
patch=1,EE,202F65E0,extended,00000000 | ||
patch=1,EE,202F65E4,extended,00000000 | ||
patch=1,EE,202F65E8,extended,00000000 | ||
patch=1,EE,202F65EC,extended,00000000 | ||
patch=1,EE,202F65F0,extended,00000042 | ||
patch=1,EE,202F65F4,extended,001B06D8 | ||
patch=1,EE,202F65F8,extended,00000002 | ||
patch=1,EE,202F65FC,extended,002C0068 | ||
patch=1,EE,202F6600,extended,00000000 | ||
patch=1,EE,202F6604,extended,00000000 | ||
patch=1,EE,202F6608,extended,00000000 | ||
patch=1,EE,202F660C,extended,00000002 | ||
patch=1,EE,202F6610,extended,0000002C | ||
patch=1,EE,202F6614,extended,001B04E0 | ||
patch=1,EE,202F6618,extended,00000000 | ||
patch=1,EE,202F661C,extended,00000000 | ||
patch=1,EE,202F6620,extended,00000000 | ||
patch=1,EE,202F6624,extended,00000000 | ||
patch=1,EE,202F6628,extended,00000000 | ||
patch=1,EE,202F662C,extended,00000000 | ||
patch=1,EE,202F6630,extended,00000046 | ||
patch=1,EE,202F6634,extended,001B06D8 | ||
patch=1,EE,202F6638,extended,00000002 | ||
patch=1,EE,202F663C,extended,002C0028 | ||
patch=1,EE,202F6640,extended,001B0848 | ||
patch=1,EE,202F6644,extended,00000000 | ||
patch=1,EE,202F6648,extended,00000000 | ||
patch=1,EE,202F664C,extended,00000000 | ||
patch=1,EE,202F6570,extended,00000048 | ||
patch=1,EE,202F6574,extended,001AFFC0 | ||
patch=1,EE,202F6578,extended,00000002 | ||
patch=1,EE,202F657C,extended,002BFD68 | ||
patch=1,EE,202F6580,extended,00000000 | ||
patch=1,EE,202F6584,extended,001AF9C8 | ||
patch=1,EE,202F6588,extended,00000000 | ||
patch=1,EE,202F658C,extended,00000000 | ||
patch=1,EE,E054FFFF,extended,003DA190 | ||
patch=1,EE,203E22E4,extended,00000000 | ||
patch=1,EE,203E2324,extended,00000000 | ||
patch=1,EE,203E2364,extended,00000000 | ||
patch=1,EE,203E2264,extended,00000000 | ||
patch=1,EE,203E23E4,extended,00000000 | ||
patch=1,EE,203E2424,extended,00000000 | ||
patch=1,EE,203E2464,extended,00000000 | ||
patch=1,EE,203E24A4,extended,00000000 | ||
patch=1,EE,203E24E4,extended,00000000 | ||
patch=1,EE,203E2524,extended,00000000 | ||
patch=1,EE,203E2564,extended,00000000 | ||
patch=1,EE,203E25A4,extended,00000000 | ||
patch=1,EE,203F23A4,extended,441D8000 | ||
patch=1,EE,203F2444,extended,441D8000 | ||
patch=1,EE,203F2AC4,extended,441D8000 | ||
patch=1,EE,203F3024,extended,441D8000 | ||
patch=1,EE,203F3384,extended,441D8000 | ||
patch=1,EE,203F3874,extended,441D8000 | ||
patch=1,EE,203F44E4,extended,441D8000 | ||
patch=1,EE,203F4F04,extended,441D8000 | ||
patch=1,EE,203F5734,extended,441D8000 | ||
patch=1,EE,203F5CB4,extended,441D8000 | ||
patch=1,EE,203F5FE4,extended,441D8000 | ||
patch=1,EE,203F6954,extended,441D8000 | ||
patch=1,EE,203F7374,extended,441D8000 | ||
patch=1,EE,203F7BC4,extended,441D8000 | ||
patch=1,EE,203F8144,extended,441D8000 | ||
patch=1,EE,203F8474,extended,441D8000 | ||
patch=1,EE,203F8DE4,extended,441D8000 | ||
patch=1,EE,203F9824,extended,441D8000 | ||
patch=1,EE,203FA074,extended,441D8000 | ||
patch=1,EE,203FA5F4,extended,441D8000 | ||
patch=1,EE,203FC5A4,extended,441D8000 | ||
patch=1,EE,203FD1D4,extended,441D8000 | ||
patch=1,EE,203F3324,extended,441D8000 | ||
patch=1,EE,203F2390,extended,40800000 | ||
patch=1,EE,203F2430,extended,40800000 | ||
patch=1,EE,203F2AB0,extended,40800000 | ||
patch=1,EE,203F3010,extended,40800000 | ||
patch=1,EE,203F3370,extended,40800000 | ||
patch=1,EE,203F3860,extended,40800000 | ||
patch=1,EE,203F44D0,extended,40800000 | ||
patch=1,EE,203F4EF0,extended,40800000 | ||
patch=1,EE,203F5720,extended,40800000 | ||
patch=1,EE,203F5CA0,extended,40800000 | ||
patch=1,EE,203F5FD0,extended,40800000 | ||
patch=1,EE,203F6940,extended,40800000 | ||
patch=1,EE,203F7360,extended,40800000 | ||
patch=1,EE,203F7BB0,extended,40800000 | ||
patch=1,EE,203F8130,extended,40800000 | ||
patch=1,EE,203F8460,extended,40800000 | ||
patch=1,EE,203F8DD0,extended,40800000 | ||
patch=1,EE,203F9810,extended,40800000 | ||
patch=1,EE,203FA060,extended,40800000 | ||
patch=1,EE,203FA5E0,extended,40800000 | ||
patch=1,EE,203FC590,extended,40800000 | ||
patch=1,EE,203FD1C0,extended,40800000 | ||
patch=1,EE,203F3310,extended,40800000 | ||
patch=1,EE,203F239C,extended,404B851F | ||
patch=1,EE,203F243C,extended,404B851F | ||
patch=1,EE,203F2ABC,extended,404B851F | ||
patch=1,EE,203F301C,extended,404B851F | ||
patch=1,EE,203F337C,extended,404B851F | ||
patch=1,EE,203F386C,extended,404B851F | ||
patch=1,EE,203F44DC,extended,404B851F | ||
patch=1,EE,203F4EFC,extended,404B851F | ||
patch=1,EE,203F572C,extended,404B851F | ||
patch=1,EE,203F5CAC,extended,404B851F | ||
patch=1,EE,203F5FDC,extended,404B851F | ||
patch=1,EE,203F694C,extended,404B851F | ||
patch=1,EE,203F736C,extended,404B851F | ||
patch=1,EE,203F7BBC,extended,404B851F | ||
patch=1,EE,203F813C,extended,404B851F | ||
patch=1,EE,203F846C,extended,404B851F | ||
patch=1,EE,203F8DDC,extended,404B851F | ||
patch=1,EE,203F981C,extended,404B851F | ||
patch=1,EE,203FA06C,extended,404B851F | ||
patch=1,EE,203FA5EC,extended,404B851F | ||
patch=1,EE,203FC59C,extended,404B851F | ||
patch=1,EE,203FD1CC,extended,404B851F | ||
patch=1,EE,203F331C,extended,404B851F | ||
patch=1,EE,203F2C44,extended,43E18000 | ||
patch=1,EE,203F2FA4,extended,43E18000 | ||
patch=1,EE,203F2A24,extended,43E18000 |
130 changes: 130 additions & 0 deletions
130
mods/cosmetic/sly2/unintrusive_pause_menu/unintrusive_pause_menu.clps2c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,130 @@ | ||
SR "gametitle=Sly 2: Band of Thieves (NTSC) [SCUS-97316] [08/13/04 00:32]\n\n" | ||
SR "[Cosmetic\Unintrusive Pause Menu] \n" | ||
SR "comment=A simplified and stripped down pause menu.\n" | ||
SR "author=zami3333\n\n" | ||
|
||
Set padStart 2E0CB5 | ||
Set tnStatus 3DA190 | ||
Set isPaused 3D9EF4 | ||
Set isGadgets 3043DC | ||
Set menuDisplayedItems 3D9EF8 | ||
Set subMenuDisplayedItems 3D9F14 | ||
Set menuSlot1 2F65D0 | ||
Set menuSlot2 2F65F0 | ||
Set menuSlot3 2F6610 | ||
Set menuSlot4 2F6630 | ||
Set optionSlot9 2F6570 | ||
Set itemKeepPlaying "39 00 00 00 70 02 1B 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00" | ||
Set itemEpisodeMenu "42 00 00 00 D8 06 1B 00 02 00 00 00 68 00 2C 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 00 00" | ||
Set itemQuitGame "46 00 00 00 D8 06 1B 00 02 00 00 00 28 00 2C 00 48 08 1B 00 00 00 00 00 00 00 00 00 00 00 00 00" | ||
Set itemOptions "2C 00 00 00 E0 04 1B 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00" | ||
Set itemVibrations "48 00 00 00 C0 FF 1A 00 02 00 00 00 68 FD 2B 00 00 00 00 00 C8 F9 1A 00 00 00 00 00 00 00 00 00" | ||
Set whichSubmenu 3D9F1A // check byte of pointer of what submenu is currently open, then set displayed ítems accordingly | ||
// 2c = exit to episode menu/quit game 2f = options | ||
// unsure if at any point this pointer decides to shift in memory | ||
|
||
IF isGadgets !: 1 | ||
IF isPaused =. 1 | ||
W32 menuDisplayedItems 4 | ||
|
||
IF whichSubmenu =. 0x2C | ||
W32 subMenuDisplayedItems 2 | ||
EI | ||
IF whichSubmenu =. 0x2F | ||
W32 subMenuDisplayedItems 9 | ||
EI | ||
|
||
WB menuSlot1 itemKeepPlaying | ||
WB menuSlot2 itemEpisodeMenu | ||
WB menuSlot3 itemOptions | ||
WB menuSlot4 itemQuitGame | ||
WB optionSlot9 itemVibrations // replaces "center screen" | ||
|
||
IF tnStatus =: 0xFFFF | ||
W32 3E22E4 0 // remove murray | ||
W32 3E2324 0 // remove bentley | ||
W32 3E2364 0 // remove carmelita | ||
W32 3E2264 0 // remove sly | ||
W32 3E23E4 0 // remove "we'll be right back" | ||
W32 3E2424 0 | ||
W32 3E2464 0 | ||
W32 3E24A4 0 | ||
W32 3E24E4 0 | ||
W32 3E2524 0 | ||
W32 3E2564 0 | ||
W32 3E25A4 0 | ||
WF 3F23A4 630 // black box vpos | ||
WF 3F2444 630 | ||
WF 3F2AC4 630 | ||
WF 3F3024 630 | ||
WF 3F3384 630 | ||
WF 3F3874 630 | ||
WF 3F44E4 630 | ||
WF 3F4F04 630 | ||
WF 3F5734 630 | ||
WF 3F5CB4 630 | ||
WF 3F5FE4 630 | ||
WF 3F6954 630 | ||
WF 3F7374 630 | ||
WF 3F7BC4 630 | ||
WF 3F8144 630 | ||
WF 3F8474 630 | ||
WF 3F8DE4 630 | ||
WF 3F9824 630 | ||
WF 3FA074 630 | ||
WF 3FA5F4 630 | ||
WF 3FC5A4 630 | ||
WF 3FD1D4 630 | ||
WF 3F3324 630 | ||
WF 3F2390 4 // black box hscale | ||
WF 3F2430 4 | ||
WF 3F2AB0 4 | ||
WF 3F3010 4 | ||
WF 3F3370 4 | ||
WF 3F3860 4 | ||
WF 3F44D0 4 | ||
WF 3F4EF0 4 | ||
WF 3F5720 4 | ||
WF 3F5CA0 4 | ||
WF 3F5FD0 4 | ||
WF 3F6940 4 | ||
WF 3F7360 4 | ||
WF 3F7BB0 4 | ||
WF 3F8130 4 | ||
WF 3F8460 4 | ||
WF 3F8DD0 4 | ||
WF 3F9810 4 | ||
WF 3FA060 4 | ||
WF 3FA5E0 4 | ||
WF 3FC590 4 | ||
WF 3FD1C0 4 | ||
WF 3F3310 4 | ||
WF 3F239C 3.18 // black box vscale | ||
WF 3F243C 3.18 | ||
WF 3F2ABC 3.18 | ||
WF 3F301C 3.18 | ||
WF 3F337C 3.18 | ||
WF 3F386C 3.18 | ||
WF 3F44DC 3.18 | ||
WF 3F4EFC 3.18 | ||
WF 3F572C 3.18 | ||
WF 3F5CAC 3.18 | ||
WF 3F5FDC 3.18 | ||
WF 3F694C 3.18 | ||
WF 3F736C 3.18 | ||
WF 3F7BBC 3.18 | ||
WF 3F813C 3.18 | ||
WF 3F846C 3.18 | ||
WF 3F8DDC 3.18 | ||
WF 3F981C 3.18 | ||
WF 3FA06C 3.18 | ||
WF 3FA5EC 3.18 | ||
WF 3FC59C 3.18 | ||
WF 3FD1CC 3.18 | ||
WF 3F331C 3.18 | ||
WF 3F2C44 451 // text vpos | ||
WF 3F2FA4 451 | ||
WF 3F2A24 451 | ||
EI | ||
EI | ||
EI |