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

retroarch_debug.exe is missing #14615

Open
ghost opened this issue Nov 12, 2022 · 10 comments
Open

retroarch_debug.exe is missing #14615

ghost opened this issue Nov 12, 2022 · 10 comments

Comments

@ghost
Copy link

ghost commented Nov 12, 2022

I downloaded retroarch and in the retroarch folder I found retroarch.exe but not retroarch_debug.exe

According to hunterk in https://forums.libretro.com/t/how-do-you-debug-on-retroarch/4429 there should be retroarch_debug.exe in addition to retroarch.exe in the same folder that retroarch.exe is but in the retroarch folder I see retroarch.exe but not retroarch_debug.exe.

Is it true that retroarch_debug.exe has been removed on the recent releases of RetroArch or something or I used a RetroArch download without retroarch_debug.exe?

@LibretroAdmin
Copy link
Contributor

People complained (whether rightfully or not) that RetroArch installs were getting too bloated in size, so since this is something an average end-user would never use, we decided to remove it.

We might want to bring it back in some way for power users but we likely need to rethink about how to distribute it. It might have to be downloaded and installed from within retroarch as an optional feature.

@ghost
Copy link
Author

ghost commented Nov 12, 2022

People complained (whether rightfully or not) that RetroArch installs were getting too bloated in size, so since this is something an average end-user would never use, we decided to remove it.

We might want to bring it back in some way for power users but we likely need to rethink about how to distribute it. It might have to be downloaded and installed from within retroarch as an optional feature.

I understand and if I can get that retroarch_debug.exe after having retroarch.exe then how and where can I get it?

I want to have that retroarch_debug.exe in case I will need it in the future to solve any problem that I will encounter with retroarch.exe like graphics glitches and audio stuttering.

@sonninnos
Copy link
Collaborator

sonninnos commented Nov 12, 2022

The debug build will only be useful for actual crashes, not glitches or stutters.

Running it will also be much slower, and it is just as simple to build yourself as the normal version. So there is no need for it unless reporting stack traces and/or tracking down code errors.

@ghost
Copy link
Author

ghost commented Nov 12, 2022

The debug build will only be useful for actual crashes, not glitches or stutters.

Running it will also be much slower, and it is just as simple to build yourself as the normal version. So there is no need for it unless reporting stack traces and/or tracking down code errors.

Sorry that I was late I was busy with something.

So you say that I must build the debug version of RetroArch to have retroarch_debug.exe?
Are you sure that retroarch_debug.exe can not be downloaded somewhere?
If yes then how to build retroarch_debug.exe?
Can I use Microsoft Visual Studio 2022 for this?

@sonninnos
Copy link
Collaborator

Like Mr. Admin already said, that exe is not included anymore in the releases, so yes you need to build it manually. And again there is no need to do that if RA does not crash.

Old stable releases should have it, but running some ancient build with ancient bugs is pointless.

@ghost
Copy link
Author

ghost commented Nov 13, 2022

Like Mr. Admin already said, that exe is not included anymore in the releases, so yes you need to build it manually. And again there is no need to do that if RA does not crash.

Old stable releases should have it, but running some ancient build with ancient bugs is pointless.

Sorry that I was late again. I was sleeping deep and long and I just woke up late.

Where can I get the source code of this retroarch_debug.exe?

And can I use this retroarch_debug.exe to hack any game playable with RetroArch and make my own cheats for that game?

Even if there exist cheats that can be used for the game that I want to play and cheat still I want to learn and practice game hacking in general.

I know that I can use Cheat Engine for this but I prefer to use host tools that hack the guest machine directly and not tools that hack the guest machine through the host machine that emulates the guest machine like Cheat Engine for instance.

This is more difficult and unsafe that way.

I afraid that the answer to this question is negative according to you but I want to make sure.

If the answer to my question is negative then I will try no$psx because no$psx has tools that hack the emulated game directly without external software like Cheat Engine and the game that I want to play and hack is a PlayStation rom by the way and thank you that you answer all my questions.

@sonninnos
Copy link
Collaborator

No no no, I already told you the debug build is only meant for tracing crashes, nothing else. There is only one source code, and the debug version is built by a flag. You are 100% wasting your time if those are your goals.

And creating cheats via the menu is pretty simple: https://docs.libretro.com/guides/cheat-codes/

@ghost
Copy link
Author

ghost commented Nov 13, 2022

No no no, I already told you the debug build is only meant for tracing crashes, nothing else. There is only one source code, and the debug version is built by a flag. You are 100% wasting your time if those are your goals.

And creating cheats via the menu is pretty simple: https://docs.libretro.com/guides/cheat-codes/

There is only one source code but where is this one source code exactly?

Can you give me a download link to this one source code?

I am playing the game with RetroArch but RetroArch plays the game too fast and restart the game does not help. How to slow it down?

I found the cheat screen in the quick menu screen but I don't find creating cheats with RetroArch easy. I don't see where to input a number to look for.

I found the save state command but this command always saves state to slot 0. I would like to save state to a named file but I don't find any command that does exactly that.

@sonninnos
Copy link
Collaborator

sonninnos commented Nov 13, 2022

This repo is the source code.. If you can't find the multiple ways to download the code from the "Code" tab, you don't need the source.

Those questions do not belong here, but in the forum or Discord instead.

@ghost
Copy link
Author

ghost commented Nov 13, 2022

This repo is the source code.. If you can't find the multiple ways to download the code from the "Code" tab, you don't need the source.

Those questions do not belong here, but in the forum or Discord instead.

I understand. I can't create new topics on the forum so the Discord is the only option for me to get answers for these questions. Thank you.

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