Sorry for necroing this thread for the second time I'm sure you just need to create the interface with CreateShadowPlayApiInterface and call the right function (CShadowPlayApi::DisableShadowPlay) At that point I already wasted too much time, but if anyone wants to give it a go, please report your findings back here :D. Unfortunately it enables SP again, but you could call that function in an interval.īasically it disables ShadowPlay before the driver reload and it ends up calling a function in ipccommon.dll. There are a few ordinal exports (13, 15) you can call with "-org=DriverReload", this will disable ShadowPlay and reload the driver, which is pretty fast, and it deletes the cache. Pfnnvspapi_15 ( 0, 0, L "-org=DriverReload", 0 ) Typedef int ( WINAPI * nvspapi_15_t )( int a1, int a2, const wchar_t * parameters, int a4 ) //parameters = L"-org=ServiceRestart" L"-org=DriverReload", but can be 0, its basically (HWND hwnd, HINSTANCE hinst, LPWSTR lpszCmdLine, int nCmdShow) but unfortunately as its unicode can't be called with rundll32 nvspapi_15_t pfnnvspapi_15 = ( nvspapi_15_t ) GetProcAddress ( LoadLibrary ( L "C:\\Program Files (x86)\\NVIDIA Corporation\\ShadowPlay I need it to prevent my backup software from backing up 10gb of SP recordings daily, as it copies the disk blocks (and I don't shut down my PC).Īfter wasting so many hours reversing that b*tch that is the only way I found: Unfortunately, the guys at Nvidia removed the exports from nvspcap64.dll back in 2015/2016 and there is no easy way now to disable/enable SP that I know of. Sorry for the late reply, but I never thought I'd get any more questions. The files from the guide are now attachments, so you can just get the reg file if you wish. The registry override is a string value or reg_sz OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, IN NO EVENT SHALL THEĪUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,įITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR Here is an example of what it looks like in 32 bit nvspcaps :įor people that are not familiar with editing executables I have included an aac package that will allow you to easily make the changes yourself.Īll download links ( same as the ones above in the article ) Using either a hex editor or debugger, one can find and modify the value in nvspcaps to what they wish. If we convert the int32 to Hex, we get 2E E0 and finally flip the values around to make them little-endian = E0 2E. The default as we know is 96, but the encoder expects one of the supported UINT32 values, which means its 12000. Fortunately we don’t have to stay at that setting ! With a simple hex edit you can change that value to one of the 4 available : 96, 128, 160, 192 The bitrate is variable, but may not be sufficient for every user at 96 Kbps. More information is available on the MSDN page. 2.2.2.0 and older.īackground information : Shadowplay uses the AAC Encoder included with windows for audio encoding and by default it uses 96 Kbps as the bitrate. To do this, press Alt+Z to access the GeForce overlay, click Settings > Highlights and select your preferred limit.*** As of version 2.4.1.21 the bitrate is now 192 Kbps by default *** You can also set storage limits so your highlights don’t take up all the space on your HDD. From here, you can view, save and upload the various highlights you’ve captured.If you don’t see the icon, you haven’t captured any highlights. Once the game is over, you can access your new highlights in the post-game lobby by clicking on the dedicated highlights button in the bottom-right of the display.When you’ve performed an impressive attack, you’ll get a notification in the top-right of your display letting you know that a highlight has been saved.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |