From 8fb749f7b15209d707745fcef299005d1c77d5ce Mon Sep 17 00:00:00 2001 From: Lazorne Date: Thu, 7 Mar 2024 07:16:06 +0100 Subject: [PATCH] wiki --- .../wiki_development/general/debug-mode.md | 23 +++++++++++++++---- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/wiki-rtd/docs/wiki_development/general/debug-mode.md b/wiki-rtd/docs/wiki_development/general/debug-mode.md index 997458b..bef9f8c 100644 --- a/wiki-rtd/docs/wiki_development/general/debug-mode.md +++ b/wiki-rtd/docs/wiki_development/general/debug-mode.md @@ -23,7 +23,9 @@ This is can be used as a `RetroDECK Debug Mode`. From the RetroDECK Debug Mode use the following command to open ES-DE in Debug Mode. -`es-de --debug --home /var/config/` +``` +es-de --debug --home /var/config/ +``` --- @@ -59,7 +61,12 @@ This is useful when for example a game is not starting and you want the output p ## Run a component with a specific game or content -The easiest way is to run the `es-de --debug --home /var/config/` +The easiest way is to run: + + +``` +es-de --debug --home /var/config/ +``` Then start or try to start the game or content you want to debug. @@ -72,7 +79,9 @@ This tell you the dynamic pathing to the core file + rom file. Example output of amstrad game being launch via the RetroArch core: -`Debug: %EMULATOR_RETROARCH% -L %CORE_RETROARCH%/cap32_libretro.so %ROM%` +``` +Debug: %EMULATOR_RETROARCH% -L %CORE_RETROARCH%/cap32_libretro.so %ROM% +``` This tells that the Emulator that is launched is retroarch and the core is cap32 via the selected `%ROM%` @@ -83,7 +92,9 @@ This is the fullcommand to launch the file Example output of the game above, a game called Dank Rider: -`Info: /app/bin/retroarch -L /app/share/libretro/cores/cap32_libretro.so /home/deck/retrodeck/roms/amstradcpc/1001\ BC\ (1984)(Dank Rider)(fr).zip` +``` +Info: /app/bin/retroarch -L /app/share/libretro/cores/cap32_libretro.so /home/deck/retrodeck/roms/amstradcpc/1001\ BC\ (1984)(Dank Rider)(fr).zip +``` ### Deeper per game / contant debugging @@ -91,6 +102,8 @@ If we want to debug a game or content copy and run the full `Expanded emulator l Example debugging of Dank Rider: -`/app/bin/retroarch -L /app/share/libretro/cores/cap32_libretro.so /home/deck/retrodeck/roms/amstradcpc/1001\ BC\ (1984)(Dank Rider)(fr).zip` +``` +/app/bin/retroarch -L /app/share/libretro/cores/cap32_libretro.so /home/deck/retrodeck/roms/amstradcpc/1001\ BC\ (1984)(Dank Rider)(fr).zip +``` This will give you the raw RetroArch output.