RETROBAT Official Board
Would you like to react to this message? Create an account in a few clicks or log in to continue.

DOSBox closes immediately, but log command works in run

Go down

DOSBox closes immediately, but log command works in run Empty DOSBox closes immediately, but log command works in run

Post by IceTee 17/07/23, 07:39 am

I'm trying to set up exodos to run through Retrobat using Voljega's excellent converter, and it's not acting like it should.
When I choose a game, the dosbox window appears, then immediately closes and it returns to Retrobat.

The weird part is that the emulatorLauncher.log file shows the command used to open the game, and it works just fine when run in windows by itself. It seems there is some issues with Retrobat itself, some conflict or something where DOSBox is closed prematurely.
Here is an example of the command in the log file. Works perfectly fine without retrobat when I put it in a batch file:
Code:
2023-07-16 21:46:47.644 [INFO]      --------------------------------------------------------------
2023-07-16 21:46:47.647 [INFO]      [Startup] "H:\Retrobat\emulationstation\emulatorLauncher.exe"  -gameinfo "C:\Users\DNSDies\AppData\Local\Temp\emulationstation.tmp\game.xml"  -system dos -emulator dosbox -core  -rom "H:\Retrobat\roms\dos\Adventure-Visual\King's Quest VI - Heir Today, Gone Tomorrow (1992).pc"
2023-07-16 21:46:47.693 [INFO]      [Game] King's Quest VI: Heir Today, Gone Tomorrow
2023-07-16 21:46:47.761 [INFO]      [Generator] Using DosBoxGenerator
2023-07-16 21:46:47.822 [INFO]      [PadToKey] Loaded H:\Retrobat\emulationstation\.emulationstation\es_padtokey.cfg
2023-07-16 21:46:47.825 [INFO]      [Running] H:\Retrobat\emulators\dosbox\dosbox.exe "H:\Retrobat\roms\dos\Adventure-Visual\King's Quest VI - Heir Today, Gone Tomorrow (1992).pc\dosbox.bat" -conf "H:\Retrobat\roms\dos\Adventure-Visual\King's Quest VI - Heir Today, Gone Tomorrow (1992).pc\dosbox.cfg" -fullscreen -noconsole -exit -c "set ROOT=H:\Retrobat\roms\dos\Adventure-Visual\King's Quest VI - Heir Today, Gone Tomorrow (1992).pc"
2023-07-16 21:48:07.630 [INFO]      --------------------------------------------------------------2023-07-16 22:21:33.568 [INFO]      [Startup] "H:\Retrobat\emulationstation\emulatorLauncher.exe"  -gameinfo "C:\Users\DNSDies\AppData\Local\Temp\emulationstation.tmp\game.xml"  -system dos -emulator dosbox -core  -rom "H:\Retrobat\roms\dos\Action-Adventure\AAARGH (1988).pc"
2023-07-16 22:21:33.612 [INFO]      [Game] AAARGH!
2023-07-16 22:21:33.680 [INFO]      [Generator] Using DosBoxGenerator
2023-07-16 22:21:33.744 [INFO]      [PadToKey] Loaded H:\Retrobat\emulationstation\.emulationstation\es_padtokey.cfg
2023-07-16 22:21:33.748 [INFO]      [Running] H:\Retrobat\emulators\dosbox\dosbox.exe "H:\Retrobat\roms\dos\Action-Adventure\AAARGH (1988).pc\dosbox.bat" -conf "H:\Retrobat\roms\dos\Action-Adventure\AAARGH (1988).pc\dosbox.cfg" -fullscreen -noconsole -exit -c "set ROOT=H:\Retrobat\roms\dos\Action-Adventure\AAARGH (1988).pc"

Is there something I'm missing? Can I edit the command to remove the -exit flag and maybe see whatever error is being passed along?
I've tried it with multiple games and I'm at my wit's end.

-edit-
I tried choosing a game and alt-tabbing out of retrobat before it launched DOSBox, then manually clicking on the dosbox window to focus and it successfully launches the game this way.
Could that be part of the problem with it losing focus and retrobat thinking that DOSBox has closed?

-edit2-
I seem to have fixed this by editing the dosbox.cfg to output to "openglnb" instead of "overlay"
I don't think this is intended behavior for the overlay setting, is this a bug?
IceTee
IceTee

Messages : 1
Date d'inscription : 2023-07-17

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum