exelix11 / dvr-patches

System patches to stream most switch games with sysdvr
BSD 3-Clause "New" or "Revised" License
157 stars 2 forks source link

13.1 Support #10

Closed exelix11 closed 2 years ago

exelix11 commented 2 years ago

Am got updated so new patches are needed, will work on them when i have some free time, hopefully soon.

Lesking72 commented 2 years ago

This is a "dirty" port made by comparing the 13.0.0 and 13.1.0 binaries and updating the offsets. Tested apps with auto recording, manual recording, recording disabled, and apps that allocate too much memory. Haven't tested games that actively block recording/screenshots or those that add an overlay.

dvr-patches-13.1.0.zip

exelix11 commented 2 years ago

Thank you, i can't test as I didn't update yet but it's worth posting it here for people who want a workaround till i get some time to do it. If you just ported the raw bytes keep in mind that there are some jmp instructions, if the relative offsets changed those may break, iirc they're only used for error handling so you may not notice in normal usage. FYI If you're interested in the internals you can find the explaination for every patch piece in my patch notes.

Lesking72 commented 2 years ago

I also tested loading the 13.0.0 AM binary via LayeredFS and didn't have problems in normal usage.

As for proper patching, I loaded the binary in ghidra and stared at it for a little bit before giving up. It's above my skill level for now.

exelix11 commented 2 years ago

I also tested loading the 13.0.0 AM binary via LayeredFS and didn't have problems in normal usage.

I'd reccomend against doing that cause you never know what changed.

Anyway, finally managed to get some time to make the new patch: atmosphere.zip There are a few different bytes from yours but didn't check what changes exactly, I did not test either so let me know if it breaks

exelix11 commented 2 years ago

Update: the previous version doesn't work, this one should

Lesking72 commented 2 years ago

Can confirm this patch works.

exelix11 commented 2 years ago

The patch is now out in releases