Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

DVR-Patches Switch: Difference between revisions

From GameBrew
No edit summary
Tag: Manual revert
No edit summary
Line 1: Line 1:
{{Infobox Switch Homebrews
{{Infobox Switch Homebrews
|title=DVR-Patches
|title=DVR-Patches
|image=dvrpatchesswitch.png
|image=dvrpatchesnx.png
|description=System patches to stream most switch games with sysdvr.
|description=System patches to stream most switch games with sysdvr.
|author=exelix11
|author=exelix11
Line 8: Line 8:
|version=fw-16.0
|version=fw-16.0
|license=Mixed
|license=Mixed
|download=https://dlhb.gamebrew.org/switchhomebrews/dvrpatchesswitch.7z
|download=https://dlhb.gamebrew.org/switchhomebrews/dvrpatchesnx.7z
|website=https://github.com/exelix11/dvr-patches/
|website=https://github.com/exelix11/dvr-patches/
|source=https://github.com/exelix11/dvr-patches
|source=https://github.com/exelix11/dvr-patches
|donation=  
|donation=https://ko-fi.com/exelix11
}}
}}
{{#seo:
DVR-Patches is a collection of exefs patches that enables streaming incompatible games using [[SysDVR Switch|SysDVR]].
|title=Switch Homebrew Apps (Other Apps) - GameBrew
 
|title_mode=append
This is experimental and has not been extensively testedc use at your own risk: may not work at all, cause instability and crashes or degrade performances.
|image=dvrpatchesswitch.png
 
|image_alt=DVR-Patches
While it is unlikely that this can get you banned but again, use at your own risk.
}}
 
DVR-Patches is a collection of EXEFS patches that enables streaming of incompatible games using [https://github.com/exelix11/SysDVR SysDVR]. This feature is experimental and has not been extensively tested with numerous games. It is important to note that there is a risk of instability, crashes, and performance degradation. Thus, users should proceed at their own risk. While the likelihood of being banned is low, but '''use at your own risk.'''
==Installation==
Patches are bundled in a zip file ready for Atmosphere, just extract the dvr-patches.zip file to the root of your SD card. Reboot your console. Now streaming should just work™.
 
Every time you install a new firmware update you'll probably need to download a new version of these patches which may not be available right away, check the commit messages to know when support for a new firmware is added.
 
==User guide==
===What does it do===
The Nintendo Switch has a build-in record function that can capture a short video of your gameplay, however there are some games such as Smash & Paladins, that does not allow you to record the last 30 seconds of gameplay.  
 
With these patches, it becomes possible to record the last 30 seconds of games that are not typically supported. The quality is capped at 720p 30fps. However, if you overclock the system, you can record 60fps replays.
 
===Game compatibility===
Most games seem to work fine, a few have been reported to not work or crash, check out the [https://github.com/exelix11/dvr-patches/issues issues page] for a list.
 
If you get a crash with title id 0100000000000023 it's most likely because of this.


==Firmware compatibility==
===Technical stuff===
Regarding firmware compatibility, DVR-Patches supports all firmware versions starting from 11.0. However, it is necessary to update the patches with new [https://github.com/exelix11/dvr-patches/releases firmware releases]. To ensure that the latest firmware is supported, users can check the releases tab or enable GitHub notifications for this repository.
'''What do these patches do?'''


Notably, some firmware updates do not require new patches. For example, 14.0 and 14.1 use the same patches since the relevant system module (am) was not modified. Before reporting any issues with a new firmware release, it is advisable to try running the patches first.
Currently only the AM sysmodule is patched, the following changes are made:


==Installing==
*All games that don't support recording will behave as if they have auto recording enabled in the nacp.
It is worth mentioning that DVR-Patches is not compatible with older firmware versions, and there are no plans to port it to them.
*All games will have screenshots enabled in the nacp.
*Am's code flow is adjusted to avoid crashing when memory allocation for auto recording fails.
*The function to block recording in certain sections of the game is stubbed .
*As a nice bonus, the function games use to load an overlay image is stubbed.


To install DVR-Patches, simply download the latest release's "[https://github.com/exelix11/dvr-patches/releases dvr-patches.zip]" file and extract it to the root directory of your SD card. After doing so, reboot your console, and streaming should work seamlessly.
If you want to port these patches to different firmware versions, check out [https://github.com/exelix11/dvr-patches/wiki/Porting-notes porting notes].


==Media==
==Media==
'''Testing DVR Patches - ([https://www.youtube.com/watch?v=swEh0pVzcSk Nin10Doug])'''<br>
'''Testing DVR Patches ([https://www.youtube.com/watch?v=swEh0pVzcSk Nin10Doug])'''<br>
<youtube>swEh0pVzcSk</youtube>
<youtube>swEh0pVzcSk</youtube>


==Game compatibility==
==Compatibility==
It is essential to note that every time you update your console's firmware, you will likely need to download a new version of these patches. However, these patches may not be immediately available, so it is recommended to check the commit messages to know when support for a new firmware is added.
All firmwares starting from 11.0 should be supported, however patches must be updated with new firmwares.
 
While most games appear to work well with DVR-Patches, a few games have been reported to either not work or crash. Users can check out the [https://github.com/exelix11/dvr-patches/issues issues tab] for a list of these games. If users encounter such issues, they should open a new issue, although it cannot be guaranteed that it will be resolved. If users encounter a crash with the title ID 0100000000000023, it is likely due to a specific issue.
 
==Technical stuff==
'''What do these patches do?'''<br>
The technical aspects of DVR-Patches involve patching the AM sysmodule. Specifically, the following changes are implemented:


* All games that do not support recording will behave as if they have auto-recording enabled in the NACP.
You can check if the latest firmware is supported in the [https://github.com/exelix11/dvr-patches/releases releases tab] or enable GitHub notifications for this repo to get notified of updates.
* Screenshots are enabled in the NACP for all games.
* The code flow of AM is adjusted to prevent crashes when memory allocation for auto-recording fails.
* The function that blocks recording in certain parts of the game is stubbed.
* Additionally, the function games use to load an overlay image is also stubbed.


If users intend to port these patches to other firmware versions, they should refer to the [https://github.com/exelix11/dvr-patches/wiki/Porting-notes porting notes].
Sometimes firmware updates don't need new patches, for example 14.0 uses the same ones as 14.1 because the relevant system module (am) was not changed, before opening an issue when a new firmware releases try running the patches.


==Changelog==
==Changelog==
Line 61: Line 68:
'''fw-13.1'''
'''fw-13.1'''
*Support for firmware 13.1 + 13.2 as well.
*Support for firmware 13.1 + 13.2 as well.
'''v.2.0'''
'''v2.0'''
* Added patches for 13.0
* Added patches for 13.0.
* Prevent applications from blocking screenshots to support more games.
* Prevent applications from blocking screenshots to support more games.
'''v.1.0'''
'''v1.0'''
* First Release.
* First Release.
* Support games that disable screenshots in the nacp.
* Support games that disable screenshots in the nacp.
Line 72: Line 79:


== External links ==
== External links ==
* Github - https://github.com/exelix11/dvr-patches
* GitHub - https://github.com/exelix11/dvr-patches

Revision as of 12:21, 20 April 2023

DVR-Patches
Dvrpatchesnx.png
General
Authorexelix11
TypeOther Apps
Versionfw-16.0
LicenseMixed
Last Updated2023/02/28
Links
Download
Website
Source
Support Author

DVR-Patches is a collection of exefs patches that enables streaming incompatible games using SysDVR.

This is experimental and has not been extensively testedc use at your own risk: may not work at all, cause instability and crashes or degrade performances.

While it is unlikely that this can get you banned but again, use at your own risk.

Installation

Patches are bundled in a zip file ready for Atmosphere, just extract the dvr-patches.zip file to the root of your SD card. Reboot your console. Now streaming should just work™.

Every time you install a new firmware update you'll probably need to download a new version of these patches which may not be available right away, check the commit messages to know when support for a new firmware is added.

User guide

What does it do

The Nintendo Switch has a build-in record function that can capture a short video of your gameplay, however there are some games such as Smash & Paladins, that does not allow you to record the last 30 seconds of gameplay.

With these patches, it becomes possible to record the last 30 seconds of games that are not typically supported. The quality is capped at 720p 30fps. However, if you overclock the system, you can record 60fps replays.

Game compatibility

Most games seem to work fine, a few have been reported to not work or crash, check out the issues page for a list.

If you get a crash with title id 0100000000000023 it's most likely because of this.

Technical stuff

What do these patches do?

Currently only the AM sysmodule is patched, the following changes are made:

  • All games that don't support recording will behave as if they have auto recording enabled in the nacp.
  • All games will have screenshots enabled in the nacp.
  • Am's code flow is adjusted to avoid crashing when memory allocation for auto recording fails.
  • The function to block recording in certain sections of the game is stubbed .
  • As a nice bonus, the function games use to load an overlay image is stubbed.

If you want to port these patches to different firmware versions, check out porting notes.

Media

Testing DVR Patches (Nin10Doug)

Compatibility

All firmwares starting from 11.0 should be supported, however patches must be updated with new firmwares.

You can check if the latest firmware is supported in the releases tab or enable GitHub notifications for this repo to get notified of updates.

Sometimes firmware updates don't need new patches, for example 14.0 uses the same ones as 14.1 because the relevant system module (am) was not changed, before opening an issue when a new firmware releases try running the patches.

Changelog

fw-16.0

  • This update adds support for firmware 16.0 + 16.0.1>

fw-15.0

  • Support for firmwares 15.0.

fw-14.0

  • Support for firmwares 14.0, 14.1 and 14.1.1.

fw-13.1

  • Support for firmware 13.1 + 13.2 as well.

v2.0

  • Added patches for 13.0.
  • Prevent applications from blocking screenshots to support more games.

v1.0

  • First Release.
  • Support games that disable screenshots in the nacp.
  • Don't crash when launching certain games that already support recording like splatoon 2.
  • Old games and homebrew that allocate too much memory shouldn't crash anymore.
    • But streming won't work, those games require game-specific patches.

External links

Advertising: