We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 3420

Summary: hg #7991 broke DOSBox on OS X
Product: SDL Reporter: Dominik Reichardt <sdl-bugzilla>
Component: mainAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: icculus
Version: HG 1.2   
Hardware: x86   
OS: Mac OS X (All)   

Description Dominik Reichardt 2016-09-06 21:21:14 UTC
DOSBox still uses SDL 1.2 and I'm providing daily snapshots for a while now and thus have been dependent on the post SDL 1.2.15 fixes.

DOSBox usually uses a config file in ~/Library/Preferences but if you place a config named dosbox.conf in the same folder as the app bundle, DOSBox will use that config instead.

I only just today realized that this is no longer working and traced it back to revision 7991.

So a built of SDL 1.2 branch before rev 7991 allows DOSBox to launch with the in-same-folder config on OS X 10.6 - 10.12 (tested on VMs of 10.6, 10.8, 10.9 and real 10.12 machine).


Still correctly working DOSBox https://dl.dropboxusercontent.com/u/7737184/Dosbox/DOSBox-0.74-1.dmg and my broken SVN built at https://dl.dropboxusercontent.com/u/7737184/Dosbox/Dosbox-Snapshot-bad.dmg

A test config is a plain text file, must be named dosbox.conf and can just have these two lines:
[autoexec]
FOOBAR

(it will say illegal command FOOBAR when launched)
Comment 1 Ryan C. Gordon 2016-09-07 22:18:53 UTC
This _should_ be fixed now with:

    https://hg.libsdl.org/SDL/rev/0c1a8b0429a9

...let me know if this fixes it for you!

--ryan.
Comment 2 Dominik Reichardt 2016-09-08 10:59:11 UTC
YES! Thanks a lot for this fast fix!