Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Red dead redemption 2 error to suspend #197

Closed
ErayOzcanUCLL opened this issue Oct 31, 2023 · 8 comments
Closed

Red dead redemption 2 error to suspend #197

ErayOzcanUCLL opened this issue Oct 31, 2023 · 8 comments

Comments

@ErayOzcanUCLL
Copy link

Greetings
I wanted to test this application out on a game RDR2. I got an error and the possible reason in the error was that it could be because of anti cheat. I have searched it up but this game does not have any anti-cheat. Is there something i am doing wrong or is it a limitation of Nyrna?
logs:

`

2023-10-31 21:01:38


2023-10-31 21:03:45

INFO ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
INFO │ #0 LoggingManager.initialize (package:nyrna/logs/logging_manager.dart:58)
INFO │ #1
INFO ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
INFO │ 💡 Logger initialized.
INFO └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
INFO ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
INFO │ #0 _WindowTileState.build.. (package:nyrna/apps_list/widgets/window_tile.dart:94)
INFO │ #1 _InkResponseState.handleTap (package:flutter/src/material/ink_well.dart:1154)
INFO ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
INFO │ 💡 WindowTile clicked: Window(id: 12781702, process: Process(executable: RDR2.exe, pid: 12888, status: ProcessStatus.normal), title: Red Dead Redemption 2)
INFO └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
INFO ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
INFO │ #0 AppsListCubit.toggle (package:nyrna/apps_list/cubit/apps_list_cubit.dart:130)
INFO │ #1
INFO ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
INFO │ 💡 Beginning suspend for window: Window(id: 12781702, process: Process(executable: RDR2.exe, pid: 12888, status: ProcessStatus.normal), title: Red Dead Redemption 2)
INFO └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
INFO ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
INFO │ #0 Win32.minimizeWindow (package:nyrna/native_platform/src/win32/win32.dart:104)
INFO │ #1 AppsListCubit._minimize (package:nyrna/apps_list/cubit/apps_list_cubit.dart:256)
INFO ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
INFO │ 💡 Minimizing window with id 12781702
INFO └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
INFO ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
INFO │ #0 Win32ProcessRepository.suspend (package:nyrna/native_platform/src/process/repository/src/win32_process_repository.dart:108)
INFO │ #1 AppsListCubit._suspend (package:nyrna/apps_list/cubit/apps_list_cubit.dart:244)
INFO ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
INFO │ 💡 Suspending 12888 was successful: false
INFO └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
INFO ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
INFO │ #0 Win32.restoreWindow (package:nyrna/native_platform/src/win32/win32.dart:111)
INFO │ #1 AppsListCubit._restore (package:nyrna/apps_list/cubit/apps_list_cubit.dart:268)
INFO ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
INFO │ 💡 Restoring window with id 12781702
INFO └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
INFO ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
INFO │ #0 AppsListCubit.toggle (package:nyrna/apps_list/cubit/apps_list_cubit.dart:138)
INFO │ #1
INFO ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
INFO │ 💡 suspend was successful: false
INFO └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
INFO ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
INFO │ #0 AppsListCubit.toggle (package:nyrna/apps_list/cubit/apps_list_cubit.dart:140)
INFO │ #1
INFO ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
INFO │ 💡 Window after interaction: Window(id: 12781702, process: Process(executable: RDR2.exe, pid: 12888, status: ProcessStatus.normal), title: Red Dead Redemption 2)
INFO └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────


2023-10-31 21:04:16

INFO ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
INFO │ #0 LoggingManager.initialize (package:nyrna/logs/logging_manager.dart:58)
INFO │ #1
INFO ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
INFO │ 💡 Logger initialized.
INFO └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
INFO ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
INFO │ #0 main (package:nyrna/main.dart:53)
INFO │ #1
INFO ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
INFO │ 💡 Starting Nyrna v2.17.2
INFO └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
INFO ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
INFO │ #0 HotkeyService.addHotkey (package:nyrna/hotkey/hotkey_service.dart:34)
INFO │ #1
INFO ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
INFO │ 💡 Registered hotkey: Pause
INFO └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
INFO ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
INFO │ #0 LoadingCubit.checkDependencies (package:nyrna/loading/cubit/loading_cubit.dart:23)
INFO │ #1 new LoadingCubit (package:nyrna/loading/cubit/loading_cubit.dart:19)
INFO ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
INFO │ 💡 Checking dependencies..
INFO └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
INFO ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
INFO │ #0 _WindowTileState.build.. (package:nyrna/apps_list/widgets/window_tile.dart:94)
INFO │ #1 _InkResponseState.handleTap (package:flutter/src/material/ink_well.dart:1154)
INFO ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
INFO │ 💡 WindowTile clicked: Window(id: 12781702, process: Process(executable: RDR2.exe, pid: 12888, status: ProcessStatus.normal), title: Red Dead Redemption 2)
INFO └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
INFO ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
INFO │ #0 AppsListCubit.toggle (package:nyrna/apps_list/cubit/apps_list_cubit.dart:130)
INFO │ #1
INFO ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
INFO │ 💡 Beginning suspend for window: Window(id: 12781702, process: Process(executable: RDR2.exe, pid: 12888, status: ProcessStatus.normal), title: Red Dead Redemption 2)
INFO └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
INFO ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
INFO │ #0 Win32.minimizeWindow (package:nyrna/native_platform/src/win32/win32.dart:104)
INFO │ #1 AppsListCubit._minimize (package:nyrna/apps_list/cubit/apps_list_cubit.dart:256)
INFO ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
INFO │ 💡 Minimizing window with id 12781702
INFO └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
INFO ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
INFO │ #0 Win32ProcessRepository.suspend (package:nyrna/native_platform/src/process/repository/src/win32_process_repository.dart:108)
INFO │ #1 AppsListCubit._suspend (package:nyrna/apps_list/cubit/apps_list_cubit.dart:244)
INFO ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
INFO │ 💡 Suspending 12888 was successful: false
INFO └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
INFO ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
INFO │ #0 Win32.restoreWindow (package:nyrna/native_platform/src/win32/win32.dart:111)
INFO │ #1 AppsListCubit._restore (package:nyrna/apps_list/cubit/apps_list_cubit.dart:268)
INFO ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
INFO │ 💡 Restoring window with id 12781702
INFO └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
INFO ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
INFO │ #0 AppsListCubit.toggle (package:nyrna/apps_list/cubit/apps_list_cubit.dart:138)
INFO │ #1
INFO ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
INFO │ 💡 suspend was successful: false
INFO └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
INFO ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
INFO │ #0 AppsListCubit.toggle (package:nyrna/apps_list/cubit/apps_list_cubit.dart:140)
INFO │ #1
INFO ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
INFO │ 💡 Window after interaction: Window(id: 12781702, process: Process(executable: RDR2.exe, pid: 12888, status: ProcessStatus.normal), title: Red Dead Redemption 2)
INFO └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
`

@Merrit
Copy link
Owner

Merrit commented Nov 1, 2023

Thanks for opening the issue! I will take a look at it when I get a chance and see if there is something special about this case.

@Merrit
Copy link
Owner

Merrit commented Nov 13, 2023

Seems to work over here, at least on a cracked copy. Leads me to believe there is something about their DRM causing the issue, or something about your computer specifically.

What version of Windows are you using?

Try suspending it from the Resource Monitor manually:

  • In Start menu search for Resource Monitor
  • Find the program in the list, probably RDR2.exe
  • Right click it and select Suspend
  • Check if the column for Status has changed to Suspended or not

@ErayOzcanUCLL
Copy link
Author

I have a cracked copy as well. I have a Windows 11 home version 10.0.22631 Build 22631.
I have followed your steps and rdr2 does suspend and i can resume the process and all works well. When i try to do it with Nyrna, i still get the this window:
image

@Merrit
Copy link
Owner

Merrit commented Nov 15, 2023

Maybe a difference in the crack, if you have a different one? Possible it hasn't entirely removed the DRM.. I tried with Build 1436.28 from EMPRESS.

Hm, not sure at the moment what else to try, suspending things on Windows is very not supported. I will give it a think though, see if I can come up with any ideas.

@ErayOzcanUCLL
Copy link
Author

I have the 1311.23 build by EMPRESS + Mr_Goldberg a FitgirlRepack. its weird that the suspending of the game through windows itself works but not with Nyrna.. doesnt nyrna normally do the same thing in the windows resource monitor?

@Merrit
Copy link
Owner

Merrit commented Nov 15, 2023

Possibly, but there isn't really any way to know. Everything Windows is closed-source, so we can't see how the Resource Monitor does it, and the API that Nyrna uses to suspend and resume are undocumented, unofficial, and not supported.

On Linux I could easily compare implementations, but on Windows...

¯\_(ツ)_/¯

@ErayOzcanUCLL
Copy link
Author

I really thought I had tried this but seems like that's not true. When Nyrna is run with administrator rights, then it does work.

@Merrit
Copy link
Owner

Merrit commented Nov 16, 2023

Awesome, glad to hear it is working! Thanks for the follow-up~

I will add a note about trying with admin to the error description :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants