Skip to content

Commit 90393e3

Browse files
committed
Replace ps5debug memory-patching with an on-console mounter.elf payload driven over TCP
Now support all jailbreakable PS5s and added PS5 games saves support. Rewritten to deploy mounter.elf via elfldr and issue save mount/search/create commands, dropping the Patch flow, per-firmware offset tables, and all RPC struct marshaling. Game titles now come from app.db.
1 parent bd3ad7d commit 90393e3

20 files changed

Lines changed: 2131 additions & 3991 deletions

ElfldrClient.cs

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
using System.Net.Sockets;
2+
3+
namespace PS4Saves;
4+
5+
public static class ElfldrClient
6+
{
7+
public const int DefaultPort = 9021;
8+
9+
public static void SendElf(string host, int port, byte[] elfData)
10+
{
11+
using var tcp = new TcpClient();
12+
tcp.Connect(host, port);
13+
using var stream = tcp.GetStream();
14+
stream.Write(elfData, 0, elfData.Length);
15+
tcp.Client.Shutdown(SocketShutdown.Send);
16+
}
17+
18+
public static void SendElf(string host, byte[] elfData) =>
19+
SendElf(host, DefaultPort, elfData);
20+
}

LICENSE

Lines changed: 674 additions & 21 deletions
Large diffs are not rendered by default.

Main.Designer.cs

Lines changed: 16 additions & 62 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)