I'm trying to play Project: Nomad, with DOSBox, but I have a trouble. It throws me this error: "Unable to redirect output to NUL", and DOSBox hangs heavely.
The error don't shows on the status window of the DOSBox. It shows on DOSBox main window, so I suppose that it's an error from Nomad.
I've found on this forum other thread about Nomad, for a problem on errors with the sound on 0.57, but the game itself works great. From 0.58 onwards, the game never works again. Nevertheless i've followed the method showed in that post, but I get the same error.
Some ideas on that?
PD: Someone has version 0.57 of DOSBox to try it? At Sourceforge page I only found 0.58+
Thanks in Advance.
--------------------------------------
AMD Athlon XP 2000+
Onboard Realtek Soundcard
nVidia FX 5200
Win XP Pro
I've messing around with the code on CVS and using the debugger (impressive... very very useful.. 😀 ) and i've found the problem (i think)
Digging a little the code, i've added the NUL device starting from the code of CON device. The device works ok, but I think (back on the old times of programming DOS) that certain device files (STDIN, STDOUT, NUL...) have fixed handles: Well. On DOSBox have different ones depending on what order has been opened for the first time. (look dos_files.cpp - DOS_Openfiles() )
So, back to the game, it tries to open NUL and waits for DOS to return it in handle 1! Hardcoded, no other options, sorry 😜 and DOSBox returns it on handle 8. Inmediatly, a fatal error develops...
Maybe all that text are bullshit to the programmers... I don't know very good the code yet, and I don't know if i'm doing a very bad thing... But, in fact, changing the return value of the handle and later restoring it with the debugger, the game works. Perfectly. With sound.
Can anyone of the programmers look at that? Please? Don't hesitate on asking me anything about the subject.
Remind me of testing it.. I rewrote devices support so the problems described in the first section (missing nul + opening of it on number 1) should be fixed.
(except it they start it like this nomad.exe >nul )