libretro / dosbox-libretro

Port of DOSBox (upstream) to the libretro API.
GNU General Public License v2.0
62 stars 40 forks source link

Core doesn't work well with custom dosbox.conf #68

Open i30817 opened 7 years ago

i30817 commented 7 years ago

I decided to try out this core here, and besides disagreeing with scan picking up bare execs instead of only .conf, i had a problem. I'm unsure if its caused by my setup, but every single (working) conf file i try ends up with:

RetroArch [libretro INFO] :: SYSTEM_DIRECTORY: /media/i30817/Huggin/Downloads/retroarch/bios RetroArch [libretro INFO] :: SAVE_DIRECTORY: /media/i30817/Huggin/Downloads/retroarch/bios RetroArch [libretro INFO] :: CONTENT_DIRECTORY: /media/i30817/Huggin/Downloads/retroarch/downloads RetroArch [libretro INFO] :: SYSTEM_DIRECTORY: /media/i30817/Huggin/Downloads/retroarch/bios RetroArch [libretro INFO] :: SAVE_DIRECTORY: /media/i30817/Huggin/Downloads/retroarch/bios RetroArch [libretro INFO] :: CONTENT_DIRECTORY: /media/i30817/Huggin/Downloads/retroarch/downloads DOSBox said to quit. Running a dead emulator. Running a dead emulator.

I suspect this is because of the modular way i organized my .conf files. I normally load dosbox with this command line on the dir of the per game config file:

dosbox -userconf -conf dosbox.conf

This first loads the default .conf file from ~/.config/dosbox/dosbox-SVN.conf, which has some default configs, then it overrides selected settings (often only [autoexec] ) by what the game needs different.

Another possible source of errors is i guess, but not sure that if dosbox is not executing in the conf file dir. That never works for some reason, even upstream, though i suppose you should have noticed if it was that so i only mention it as a possibility to investigate.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/46755858-core-doesn-t-work-well-with-custom-dosbox-conf?utm_campaign=plugin&utm_content=tracker%2F2175333&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F2175333&utm_medium=issues&utm_source=github).
bbarcee commented 6 years ago

Im not 100% sure you can load those values to retroarch though the dosbox.conf but if so you can open the custom_dosbox.conf from retroarch and it will load auto though dosbox (assuming it was the last core you ran) From your trouble, I found turning core=normal in the config file allowed me to run extended memory games in dosbox now 👍

bidinou commented 6 years ago

Hi ! I couldn't get RA to read the config file. Are you sure the current default location is ~/.config/dosbox/dosbox-SVN.conf ? I'm using the daily build of RA (from the Ubuntu PPA) (config -wcd failed too btw) Cheers & thanks for your help !

What I'm actually trying to achieve is disable the built-in scaler (normal2x by default) to get shaders to apply properly. It seems there are applied to an already upscaled resolution so they don't look as they should in games..Of course, it'll raise a different issue, as hires gfx won't be displayed properly afterwards :)

i30817 commented 6 years ago

I don't know what is happening with this, i gave up using Retroarch for dosbox long ago and just use my ppa.

5schatten commented 6 years ago

Just a wild guess but does the maintainer of this package actually use it at all? I mean without the ability to use custom .conf files we're pretty screwed.

andres-asm commented 6 years ago

custom configs work fine for me...

On Wed, Aug 8, 2018 at 7:55 AM 5schatten notifications@github.com wrote:

Just a wild guess but does the maintainer of this package actually use it at all? I mean without the ability to use custom .conf files we're pretty screwed.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/libretro/dosbox-libretro/issues/68#issuecomment-411395022, or mute the thread https://github.com/notifications/unsubscribe-auth/ABpC0GrfHlXPVHKc-yt8zWaEXQK3rnUtks5uOt-tgaJpZM4OKWb6 .

5schatten commented 6 years ago

@fr500 Can you give us a quick overview what game you play / where the conf file is located & maybe upload it at pastebin or something? Thx!

angomania commented 6 years ago

After experimenting with DOSBox many hours I would like to share my experience. Every game has its own config. THIS is my default config for all games. You can add game specific configs, and mount points (Section: [autoexec]) here.

For example this is my [autoexec] section of Wing Commander 4 (Wing Commander 4.conf):

[autoexec] keyb.com GR 437 mount C "._roms\dosbox\Wing Commander 4" mount D "._roms\dosbox\Wing Commander 4\cd" -t cdrom C: cd \ WC4.EXE exit

My configuration files for DOSBox are in this folder: "._roms\dosbox". Every game has its own folder. (._roms\dosbox\GAME)

The matching entry in the playlist:

._roms\dosbox\Wing Commander 4.conf Wing Commander 4 .\cores\dosbox_svn_libretro.dll DETECT 0|crc DOSBox.lpl

I hope I could help.

5schatten commented 6 years ago

Well I've compared yours and mine and there is many in common but I guess midi & gus is the problem. My dosbox-conf supports both and they work. So RA needs probably proper midi & gus support first before it will work.