Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP 11.00 Support #156

Merged
merged 3 commits into from
May 21, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions include/orbis_patches.h
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,18 @@ const orbis_patch_t scesavedata_patches_900[] = {
{0x00000FA1, "\x1F", 1}, // by GRModSave_Username
{0, NULL, 0},
};
/* 11.00 WIP patches by LM and SocraticBliss */
const orbis_patch_t scesavedata_patches_1100[] = {
{0x0355E8, (char*)"\x00", 1}, // 'sce_' patch

//{0x00034679, (char*)"\x00", 1}, // patch commented out as idk WTF it does

{0x0033E49, (char*)"\x00", 1},
{0x0035AA6, (char*)"\x00", 1},
{0xFB8 , (char*)"\x1F", 1}, // sb
{0, NULL, 0},
};


// SHELLCORE PATCHES (SceShellCore)

Expand Down Expand Up @@ -218,3 +230,20 @@ const orbis_patch_t shellcore_patches_900[] = {
{0x0006B51E, "\x90\xE9", 2}, //always jump
{0, NULL, 0}
};

/* 11.00 WIP patches by LM and SocraticBliss */
const orbis_patch_t shellcore_patches_1100[] = {
{0x0E26439, (char*)"\x00", 1}, // 'sce_sdmemory' patch 1
{0x0E26478, (char*)"\x00", 1}, // 'sce_sdmemory1' patch
{0x0E26486, (char*)"\x00", 1}, // 'sce_sdmemory2' patch
{0xE26494, (char*)"\x00", 1}, // 'sce_sdmemory3' patch
{0x08BAF40, (char*)"\x48\x31\xC0\xC3", 4}, //verify keystone patch
{0x06B630, (char*)"\x31\xC0\xC3", 3}, //transfer mount permission patch eg mount foreign saves with write permission
{0x0C7060, (char*)"\x31\xC0\xC3", 3}, //patch psn check to load saves saves foreign to current account
{0x6CFA5, (char*)"\x90\x90", 2}, // ^ (thanks to GRModSave_Username)
{0x06B177, (char*)"\x90\x90\x90\x90\x90\x90", 6}, // something something patches...
{0x06AB32, (char*)"\x90\x90\x90\x90\x90\x90", 6}, // don't even remember doing this
{0x06A394, (char*)"\x90\x90", 2}, //nevah jump
{0x06A5EE, (char*)"\xE9\xC8\x00", 3}, //always jump
{0, NULL, 0}
};
5 changes: 5 additions & 0 deletions source/orbis_jbc.c
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,11 @@ int patch_save_libraries(void)
savedata_patch = scesavedata_patches_900;
shellcore_patch = shellcore_patches_900;
break;

case 0x1100:
savedata_patch = scesavedata_patches_1100;
shellcore_patch = shellcore_patches_1100;
break;

default:
notify_popup("cxml://psnotification/tex_icon_ban", "Unsupported firmware version %X.%02X", version >> 8, version & 0xFF);
Expand Down
Loading