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
 
(5 intermediate revisions by 2 users not shown)
Line 4: Line 4:
|description=System patches to stream most switch games with sysdvr.
|description=System patches to stream most switch games with sysdvr.
|author=exelix11
|author=exelix11
|lastupdated=2023/02/28
|lastupdated=2024/11/03
|type=Other Apps
|type=Other Apps
|version=fw-16.0
|version=fw-19.1
|license=Mixed
|license=Mixed
|download=https://dlhb.gamebrew.org/switchhomebrews/dvrpatchesnx.7z
|download=https://dlhb.gamebrew.org/switchhomebrews/dvrpatchesnx.7z
Line 20: Line 20:


==Installation==
==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™.
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.
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.
Line 60: Line 60:


==Changelog==
==Changelog==
'''fw-19.1'''
*19.0.1 support.
'''fw-19.0'''
*This update adds support for firmware 19.0.
'''fw-18.0'''
*This update adds support for firmware 18.0.
'''fw-17.0-fix'''
* Some games started using a new API to block streaming only of the audio channel (SetRecordVolumeMuted). This update blocks this function system-wide so sounds can be streamed.
* This new patch will be maintained only for the 17.0 firmware and going forward, I don't plan to backport it right now.
'''fw-17.0'''
*This update adds support for firmware 17.0.
'''fw-16.0'''
'''fw-16.0'''
*This update adds support for firmware 16.0 + 16.0.1.
*This update adds support for firmware 16.0 + 16.0.1.

Latest revision as of 09:09, 9 November 2024

DVR-Patches
Dvrpatchesnx.png
General
Authorexelix11
TypeOther Apps
Versionfw-19.1
LicenseMixed
Last Updated2024/11/03
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-19.1

  • 19.0.1 support.

fw-19.0

  • This update adds support for firmware 19.0.

fw-18.0

  • This update adds support for firmware 18.0.

fw-17.0-fix

  • Some games started using a new API to block streaming only of the audio channel (SetRecordVolumeMuted). This update blocks this function system-wide so sounds can be streamed.
  • This new patch will be maintained only for the 17.0 firmware and going forward, I don't plan to backport it right now.

fw-17.0

  • This update adds support for firmware 17.0.

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: