Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add an option to disable logging to file completely #253

Open
eadmaster opened this issue Jan 12, 2021 · 4 comments
Open

add an option to disable logging to file completely #253

eadmaster opened this issue Jan 12, 2021 · 4 comments

Comments

@eadmaster
Copy link

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

@Jamiras
Copy link
Member

Jamiras commented Jan 12, 2021

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).

@eadmaster
Copy link
Author

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.

@meleu
Copy link
Contributor

meleu commented Jan 12, 2021

[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)?

@eadmaster
Copy link
Author

eadmaster commented Jan 12, 2021

[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
````

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants