Hello,
I found a funny meme sound effect which sounds like FAHH, I thought it’s the same sound my soul makes when I get an error.Soo! that’s it! I made a plugin! it plays the Fahh sound whenever you get an error!
How it works?
It depends on the godot.log file, but it’s not possible to read it, because Godot blocks it at runtime for some reason. Soo I have to run a batch file every second that will read the godot.log file and dump it into a godot_log_fahh.log file which is readable. And yeah! running a batch file was not a thing(Malwares are easy :> )
I cooked my ear while using debugging it …FAHHHH
Just to let you guys know that you have to convert this batch file to a Linux batch(do they even exist? lol)
@echo off
setlocal
if "%~1"=="" (
echo Usage:
echo read_godot_log.bat "C:\Path\To\Godot\logs"
exit /b 1
)
set "LOG_DIR=%~1"
set "INPUT_FILE=%LOG_DIR%\godot.log"
set "OUTPUT_FILE=%LOG_DIR%\godot_fahh.txt"
if not exist "%INPUT_FILE%" (
echo File not found:
echo %INPUT_FILE%
exit /b 1
)
copy /y "%INPUT_FILE%" "%OUTPUT_FILE%" >nul
if exist "%OUTPUT_FILE%" (
echo Log copied successfully:
echo %OUTPUT_FILE%
) else (
echo Failed to copy log.
)
endlocal