mirror of
https://github.com/RetroDECK/RetroQUEST.git
synced 2025-04-21 01:24:06 +00:00
55 lines
2.5 KiB
Bash
Executable file
55 lines
2.5 KiB
Bash
Executable file
clear
|
|
rm "prompt.md"
|
|
|
|
write(){
|
|
echo "$1" >> ./prompt.md
|
|
}
|
|
|
|
write "RetroQUEST is an application mainly written for Meta Quest 3 with Linux non-VR support in Godot 4.3.
|
|
In the future will be added supporto for Widnows, Mac and other VRs as well.
|
|
The app is working mainly with VR controls but can be used even with desktop controls (mouse, keyboard, controllers).
|
|
The app is Quest Native and not PCVR."
|
|
|
|
write "The scope of this application is to emulate games and render them on a virtual CRT TV in the VR space, more features will be added later."
|
|
write "The first iteration will be to be able to run the rom "roms/megadrive/Sonic the Hedgehog.bin" with the libretro core "cores/genesis_plus_gx_libretro.so", more features will be added later, for now I will be happy to see the game just running."
|
|
write "For this scope I am using gdlibretro (https://github.com/gabrielmedici/gdlibretro) with some modifications to make it work on Linux and Android."
|
|
|
|
write "Here is my directory structure"
|
|
write "$(tree . -L 2)"
|
|
|
|
write "Now I will cat you the main files for you to understand better the project."
|
|
|
|
files="project.godot main.tscn scripts/emulate.gd scripts/libretro_loader.gd addons/gdlibretro.gdextension addons/LibRetroHost.gdextension gdlibretro/src/CoreEnvironment.cpp gdlibretro/src/RetroHost.cpp gdlibretro/src/RetroHost.hpp gdlibretro/src/Video.cpp gdlibretro/src/RegisterExtension.cpp gdlibretro/src/CMakeLists.txt"
|
|
|
|
for file in $files; do
|
|
if [ -f "$file" ]; then
|
|
write "--- $file ---"
|
|
write "$(cat $file)"
|
|
write "--- end of $file ---"
|
|
write ""
|
|
fi
|
|
done
|
|
|
|
write "--- logs/gdextension.log ---"
|
|
write "$(cat logs/gdextension.log)"
|
|
|
|
write ""
|
|
write "My issue now is the following, can you help me to fix it?"
|
|
write '
|
|
My issue is that I am not able to start the emulated game, I am getting the following error:
|
|
|
|
Godot Engine v4.3.stable.flathub.77dcf97d8 - https://godotengine.org
|
|
OpenGL API 4.6 (Core Profile) Mesa 24.2.7 (git-3900828265) - Compatibility - Using Device: Intel - Mesa Intel(R) Graphics (ADL GT2)
|
|
|
|
[RetroHost] Initializing extension...
|
|
[RetroHost] RetroHost class registered.
|
|
[RetroHost] Constructor called. Initializing singleton.
|
|
[RetroHost] Initialization complete.
|
|
[RetroHost] Singleton created successfully.
|
|
[RetroHost] Singleton registered successfully.
|
|
--- Debugging process stopped ---
|
|
|
|
Albeit I added the suggested edits the game still crashes, so it might be something previous of those log entries
|
|
'
|
|
|
|
echo "Prompt generated in prompt.md" |