dev updates and error fixes

This commit is contained in:
Lazorne 2024-03-06 20:11:08 +01:00
parent b7429d1975
commit 1ccf112e96
2 changed files with 60 additions and 6 deletions

View file

@ -0,0 +1,51 @@
# RetroDECK Debug Mode
It's possible to enter a debug mode via the flatpak shell.
```
flatpak run --command=bash net.retrodeck.retrodeck
```
NOTE: on wayland in some cases it's needed to enter with the command above otherwise some emulators will not run:
```
flatpak run --command=sh --nosocket=fallback-x11 --socket=x11 net.retrodeck.retrodeck
```
### Launch ES-DE in Debug Mode:
```
es-de --debug --home /var/config/emulationstation
or
es-de --debug --home /var/config/ES-DE
```
### List runnable components in Debug Mode
You cam list all the available components via the command:
```
ls /app/bin
```
### How to run a component?
Just type the compoants name directly into the flatpak shell CLI.
Example:
- `retrodeck` launches full RetroDECK.
You can also launch specific components by running them, example:
- `retroarch` launches RetroArch.
This is useful when for example a game is not starting and you want the output printed in the terminal.
### Run a component with a specific game or content
The easiest way is to run the `retrodeck` command. Launch RetroDECK and go into the ES-DE interface and try to launch the game from there.
In the terminal ES-DE will spit out the total runnable path to that game or content.

View file

@ -77,7 +77,7 @@ From CLI run:
The `Developer Options Menu` should show up inside the Configurator. The `Developer Options Menu` should show up inside the Configurator.
## Debug Mode ## Debug Mode
It's possible to enter in a sort of debug mode, it's actually the flatpak shell. It's possible to enter in a sort of debug mode via the flatpak shell.
Enter in the flatpak shell: Enter in the flatpak shell:
@ -90,13 +90,18 @@ NOTE: on wayland in some cases it's needed to enter with the command above other
flatpak run --command=sh --nosocket=fallback-x11 --socket=x11 net.retrodeck.retrodeck flatpak run --command=sh --nosocket=fallback-x11 --socket=x11 net.retrodeck.retrodeck
``` ```
Launch ES-DE in Debug Mode: ### Launch ES-DE in Debug Mode:
``` ```
emulationstation --debug --home /var/config/emulationstation es-de --debug --home /var/config/emulationstation
or
es-de --debug --home /var/config/ES-DE
``` ```
Launch a component in Debug Mode: ### Launch a component in Debug Mode:
To get the list of the available binaries to launch, then just write the command: To get the list of the available binaries to launch, then just write the command:
@ -107,5 +112,3 @@ ls /app/bin
`retrodeck` for the whole application or certain components like `ryujinx` or `retroarch`. `retrodeck` for the whole application or certain components like `ryujinx` or `retroarch`.
This is useful when for example a game is not starting and you want the output printed in the terminal. This is useful when for example a game is not starting and you want the output printed in the terminal.