Repository: exelix11/dvr-patches Branch: master Commit: f178945a1968 Files: 22 Total size: 6.2 KB Directory structure: gitextract_ei9hh10z/ ├── .gitattributes ├── .github/ │ ├── FUNDING.yml │ └── workflows/ │ └── DraftRelease.yml ├── LICENSE ├── am/ │ ├── 003B99F2447E33B6D814B799D4F9E16BC09FDFF6000000000000000000000000.ips │ ├── 0163E6B41B7F5A38437978BF6215A56539511470000000000000000000000000.ips │ ├── 255097EF11C0759B1F36132F73BDDB04C3EF9ABE000000000000000000000000.ips │ ├── 2C1AD224328D2AF8B2C1A240D0175A108916AC8C000000000000000000000000.ips │ ├── 487DDD36EC9BBDAA4B983A6E3F7E69841FCF44C6000000000000000000000000.ips │ ├── 511A399C6DFF0071E975E9FCDD875277CA0D4D2F000000000000000000000000.ips │ ├── 53BAD888AF0ED4A7D2992F01445A2E1B542B54A1000000000000000000000000.ips │ ├── 5E5F1CC24D374591AFC2A2336C9453CCFA3961C1000000000000000000000000.ips │ ├── 5FFC05C2FD582EAD08BEFD32EBBAC778E532EA6C000000000000000000000000.ips │ ├── 677F3AA70E0FC1306D74C472A360FB16CBFFE18C000000000000000000000000.ips │ ├── 75A273B296056EAC7A453C4C5B38C257EA9F4A6E000000000000000000000000.ips │ ├── 8A94FE28430F4D964F607B7E223D1677289D3BEE000000000000000000000000.ips │ ├── A314886778C19B34168EEF92C6058DEBDD5EC4BD000000000000000000000000.ips │ ├── B337F7C5AD53E55F3D920FCD394B4DE7C3B7D606000000000000000000000000.ips │ ├── D5A8BA90D4E8310C5A0ABFCA901D5E0AFD313C19000000000000000000000000.ips │ ├── E3722DA984D9ED4ADBFEBF8F4F9B1050996F3FC3000000000000000000000000.ips │ └── FC0A72DAE4C818A3176D5A49F19FC2D4034E1CF6000000000000000000000000.ips └── readme.md ================================================ FILE CONTENTS ================================================ ================================================ FILE: .gitattributes ================================================ # Auto detect text files and perform LF normalization * text=auto ================================================ FILE: .github/FUNDING.yml ================================================ # These are supported funding model platforms github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] patreon: open_collective: # Replace with a single Open Collective username ko_fi: exelix11 tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry liberapay: # Replace with a single Liberapay username issuehunt: # Replace with a single IssueHunt username otechie: # Replace with a single Otechie username custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] ================================================ FILE: .github/workflows/DraftRelease.yml ================================================ name: Prepare release on: push: branches: [ master ] paths: - '**.ips' # Allows you to run this workflow manually from the Actions tab workflow_dispatch: jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Pack files for atmosphere run: | mkdir -p atmosphere/exefs_patches/ mv am atmosphere/exefs_patches/ zip -r dvr-patches.zip atmosphere/ - name: Prepare draft uses: softprops/action-gh-release@v1 with: files: dvr-patches.zip fail_on_unmatched_files: true draft: true token: ${{ secrets.GITHUB_TOKEN }} ================================================ FILE: LICENSE ================================================ BSD 3-Clause License https://github.com/exelix11/dvr-patches Copyright (c) 2022, exelix11 All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ================================================ FILE: readme.md ================================================ # dvr-patches [![Discord](https://img.shields.io/discord/643436008452521984.svg?logo=discord&logoColor=white&label=Discord&color=7289DA )](https://discord.gg/rqU5Tf8) [![Latest release](https://img.shields.io/github/v/release/exelix11/dvr-patches)](https://github.com/exelix11/dvr-patches/releases) [![Downloads](https://img.shields.io/github/downloads/exelix11/dvr-patches/total)](https://github.com/exelix11/dvr-patches/releases) [![ko-fi](https://img.shields.io/badge/supporting-ko--fi-f96854)](https://ko-fi.com/exelix11) This is a set of exefs patches to allow streaming incompatible games with [sysdvr](https://github.com/exelix11/SysDVR) This is experimental and I did not test it with many games, **use at your own risk: may not work at all, cause instability and crashes or degrade performances.** I doubt this can get you banned but again, **use at your own risk**. ## Firmware compatibility **All firmwares starting from 11.0 should be supported, however patches must be updated with new firmwares.** When a new firmware is released i'll try to update this repo in a timely manner, you can check if the latest firmware is supported in the [releases tab](https://github.com/exelix11/dvr-patches/releases) 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 ! I have no plans to port to older firmwares, of course pull requests are welcome. ## Installing Download `dvr-patches.zip` from latest [release](https://github.com/exelix11/dvr-patches/releases) and extract it to the root of your sd card then 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. ## Game compatibility Most games seem to work fine, a few games require additional patches to work [full list here](https://github.com/exelix11/dvr-patches/issues?q=label%3A%22Fix+available%22+label%3A%22requires+patch%22) patches are provided in the thread but i offer no support for them. A few games are not supported [full list here](https://github.com/exelix11/dvr-patches/labels/requires%20patch) if you find other games that don't work or crash open an issue, although i can't guarantee i'll be able to fix it. 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](https://github.com/exelix11/dvr-patches/wiki/Porting-notes)