RALibretro icon indicating copy to clipboard operation
RALibretro copied to clipboard

add an option to disable logging to file completely

Open eadmaster opened this issue 4 years ago • 4 comments

everytime i start RALibretro from the cmdline a log.txt file is created in the CWD, which is annoying...

eadmaster avatar Jan 12 '21 01:01 eadmaster

Logging is desirable.

I'm going to treat this as a bug. The file should be written in the same directory as the RALibretro.exe, not the current directory.

I'm genuinely curious why you start it from the command line when it doesn't have any command line parameters. Even a desktop shortcut allows you to specify a startup directory (which defaults to the executable's location).

Jamiras avatar Jan 12 '21 04:01 Jamiras

Actually i am launching RALibretro on ubuntu via wine + a wrapper script. I tought i could pass a rom file as a parameter and it will autodetect the core like vanilla RetroArch, but it is not the case.

eadmaster avatar Jan 12 '21 05:01 eadmaster

[off-topic] @eadmaster

  • does RALibretro runs via Wine "out-of-the-box" or does it need some tweaks?
    • If it needs, would you mind sharing the tweaks you've made?
  • could you share the versions of the softwares you're using (Ubuntu, Wine and RALibretro)?

meleu avatar Jan 12 '21 08:01 meleu

[off-topic] @eadmaster

* does RALibretro runs via Wine "out-of-the-box" or does it need some tweaks?
  
  * If it needs, would you mind sharing the tweaks you've made?

* could you share the versions of the softwares you're using (Ubuntu, Wine and RALibretro)?

sure, no problem:_ My ubuntu version is 18.04.2 LTS (bionic). I am running RALibretro v1.3.4-x64 on Wine Staging 5.1 with the following winetricks installed:

remove_mono
winxp
dotnet40
w_workaround_wine_bug-30718
xna40
remove_mono
dotnet20sp2
xna31
winxp
devenum
dmband
dmcompos
dmime
dmloader
dmscript
dmstyle
dmsynth
dmusic
dmusic32
dsound
dswave
directmusic
winxp
arial
calibri
comicsans
consolas
andale
courier
georgia
impact
times
trebuchet
verdana
webdings
corefonts
droid
lucida
meiryo
tahoma
takao
mfc42

this is the launcher script i am using currently:

#!/bin/sh

# fix for SDL apps https://wiki.winehq.org/Sound#SDL_applications
unset SDL_AUDIODRIVER

wine64 "$HOME/opt/RALibRetro/RALibretro.exe" "$(winepath --windows "$@")"

# TODO: disable logfile
cat log.txt
rm log.txt
````

eadmaster avatar Jan 12 '21 11:01 eadmaster