VOGONS

Common searches


First post, by SwordAngel

User metadata
Rank Newbie
Rank
Newbie

I'm running it on Mac OS X 10.4.10.

The latest version of DOSBox seems to be unstable.

While playing Uncharted Waters II (traditional Chinese version), if I hold the left mouse button on a menu item, DOSBox would crash without error message.

Playing Romance of the Three Kingdoms - Legend of Heroes (traditional Chinese version) would also make DOSBox crash spontaneously.

I have played both games using the exact same binaries in DOSBox for Windows before and both games ran fine back then, so these crashes are certainly a DOSBox Mac build issue.

Reply 1 of 10, by IIGS_User

User metadata
Rank Oldbie
Rank
Oldbie

On DOSBox crash there should be created some files called "stdout.txt" and/or "stdout.err". I'm not sure about their location on your hard disk, maybe in the application's (DOSBox) folder.

If so, what's written in these files?

Klimawandel.

Reply 3 of 10, by IIGS_User

User metadata
Rank Oldbie
Rank
Oldbie

Another idea: Make a console window for Mac port of DOSBox and see what it will output:

Do
• Open the Terminal (Applications/Utilities)
• Do a right-click onto DOSBox application and choose "Show packet content"
• Open "/Contents/MacOS" inside the DOSBox application
• Drag the unix exe file "DOSBox" into the Terminal
• If you've a config file for it, add " - conf " to the Terminal line to make sure it loads your settings
• Drag your config file into the Terminal
• Press return to start DOSBox

While running, the Terminal should reply what happens (see picture).

Attachments

  • term.png
    Filename
    term.png
    File size
    13.89 KiB
    Views
    3515 views
    File comment
    Running DOSBox using the Terminal, seeing a kind of console.
    File license
    Fair use/fair dealing exception

Klimawandel.

Reply 6 of 10, by IIGS_User

User metadata
Rank Oldbie
Rank
Oldbie
SwordAngel wrote:

Before I can try that, I need to be able to build DOSBox 0.72. Currently, I'm having problem even building it from MacPorts because one of the depencies, libsdl_sound, won't build.

I think we would be interested to see how the current official build will response. 😎

Klimawandel.

Reply 8 of 10, by MiniMax

User metadata
Rank Moderator
Rank
Moderator

From the THANKS file:

We would like to thank:
<snip>
Shawn, Johannes and Marcus for creating the MAC OS X version.

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32

Reply 9 of 10, by rhoenie

User metadata
Rank Newbie
Rank
Newbie

In older versions I added some sort of a HOWTO to guide through compiling DOSBox on your own. 😀 Anyways.. it is rather straight forward!

I found that recent SVN versions of SDL_sound tend to create troubles thats why I stayed with the stable release (which is quite aged by now). So get yourself SDL_sound-stable-1.0, unpack it somewhere and compile it like this:

cd SDL_sound-stable-1.0/
make distclean
./bootstrap
./configure --prefix=/opt/dosbox-core2 --enable-static --with-sdl-prefix=/opt/dosbox-core2 \
--disable-ogg --disable-vorbis --disable-speex --disable-mikmod --disable-modplug \
--disable-smpeg --disable-flac --disable-physfs --disable-midi --enable-wav
make
make install
cd ..

(replace /opt/dosbox-core2 with the prefix where you want to install SDL_sound)

As you can see I have disabled everything besides WAV support. That's OK because none of it is needed.

Reply 10 of 10, by SwordAngel

User metadata
Rank Newbie
Rank
Newbie

I got the error message now:

== Console Output ==
DOSBox version 0.72
Copyright 2002-2007 DOSBox Team, published under GNU GPL.
---
CONFIG:Loading primary settings from config file /Users/foobar/Library/Preferences/DOSBox Preferences
Maximum memory size is 63 MB
MIDI:Opened device:coreaudio
Exit to error: Ran out of CacheBlocks

== Solution ==
Given the error message, I was able to determine that the problem is related to using the dynamic CPU option. I changed the config file to use normal CPU instead and I don't get the crash anymore.