VOGONS


First post, by rfnagel

User metadata
Rank Oldbie
Rank
Oldbie

I was extremely tickled to death to see C&C:TD for DOS running again 😀 The game runs superbly under DOSBox, and with my new(er) PC with a Sound Blaster Live, the stereo sound effects are great in conjunction with the SBLive's EAX reverb and CMSS surround.

Anyhow, this is so trivial, I'm almost embarrased to mention it. Most of the time when the cutscenes play, the border is colored. Normally the borders should be black, but sometimes they are green or red. This doesn't happen all of the time, occasionally they will be black like they should.

Attached is two pics detailing what I'm refering to. Heh, in actuality, the screenshots came out *correctly* even though when I took them, I could actually *see* the green borders in-game... after exiting the game, the resulting screenshots had the proper black border; I had to edit them to display what I'm refering to (strange).

Anyways, like I said, really trivial. Just a-wondering if there may be any sort of fix for it? If not, no biggie... I'm quite happy just being able to play C&C again 😀

Oh, and sort of OT - for anyone wondering about 'stereo' sound in C&C... something that I posted elsewhere a few years ago:

-=-=-=-=-=-=-=-=-=-
How to enable stereo sound effects in Command and Conquer for DOS

Something that drove me nutz throughout the years was that the original Command and Conquer (for DOS) didn't support stereo sound effects.

Years ago I stumbled upon the graphics within one of C&C's MIX files that seemed to indicate that Westwood had indeed thought about supporting stereo sound effects, but prolly canned the idea before the game's release. When running the game's sound setup program ("SETUP.EXE") and testing your sound device selection, EVA has a graphic for (and says) "Center". But, in the "SETUP.MIX" file there are similar graphics for "Left" and "Right" (as well as audio files of Eva saying the same) <G>.

The sound setup program for Command and Conquer for DOS has no choices for a stereo sound device when selecting the sound card of your PC. In actuality, the game does indeed support stereo sound effects, but your "CONQUER.INI" configuration file must be manually edited to enable a stereo sound device.

When running Command and Conquer's sound setup program ("SETUP.EXE"), take note of the sound card that you have selected. Then using your hex editor of choice, open the game's sound device driver file "HMIDRV.386".

Text search through the file for a stereo version of your selected sound card, and then take note of the two hex values located eight hex offsets before (to the left of) the "HMI DMA Driver" text portion of the sound device name.

These two bytes are the byte-swapped hex values that are used in the "Card=" line (located under the "[Sound]" heading) of the game's "CONQUER.INI." configuration file.

In example, if you selected "Sound Blaster Pro/Pro2" within the game's sound setup program for your sound card, the name of the sound device contained in the game's sound device driver file "HMIDRV.386" will be "HMI DMA Driver For Sound Blaster Pro 8 Mono". Using your hex editor, note that the hex values of the two bytes located eight hex offsets before the "HMI DMA Driver" text are "0f" and "e0". These two byte-swapped hex values in the game's "CONQUER.INI" configuration file will be listed in the "Card=" line as "Card=e00f".

Now using your hex editor, text search for the stereo version of this sound card, which will be "HMI DMA Driver For SBPRO 8 Stereo". Note that the two bytes located eight hex offsets before the "HMA DMA Driver" text are "01" and "e0". Then using your text editor of choice, simply open the game's "CONQUER.INI" configuration file, and edit the "Card=" line to read "Card=e001".

Bingo! Stereo sound effects in Command and Conquer for DOS, even though the game's sound setup program doesn't natively have options for stereo sound devices! Note that you may also have to text edit the "Reverse=0" line in the game's "CONQUER.INI" configuration file to read "Reverse=1" if the stereo sound effects seem to be backwards within the game.

Lastly, note that the "Channels=" line (located under the "[Sound]" heading) of the game's "CONQUER.INI" configuration file sets the total number of sound effects that can be played simultaneously within the game. Text edit this to a higher value (such as "Channels=8" or "Channels=16") to have more simultaneously played sound effects for a fuller sound within the game.
-=-=-=-=-=-=-=-=-=-

P.S. The entries that I use in my CONQUER.INI file for use with DOSBox (configured for a Sound Blaster 16):

-=-=-=-=-=-=-=-=-=-
[Sound]
Name=119
Card=e018
Port=220
IRQ=5
DMA=5
BitsPerSample=16
Channels=32
Reverse=0
Speed=1
Subtitles=0
-=-=-=-=-=-=-=-=-=-

Rich ¥Weeds¥ Nagel
http://www.richnagel.net

Reply 1 of 19, by leileilol

User metadata
Rank l33t++
Rank
l33t++

It's a video driver issue most likely (nvidia card? Windows 7?). My borders are fine and black.

apsosig.png
long live PCem

Reply 2 of 19, by robertmo

User metadata
Rank l33t++
Rank
l33t++

leileilol what output= do you use?

Reply 3 of 19, by rfnagel

User metadata
Rank Oldbie
Rank
Oldbie
leileilol wrote:

It's a video driver issue most likely (nvidia card? Windows 7?). My borders are fine and black.

I have an onboard vireo chipset (an Intel 82865G using 96MB of system RAM) running Windows XP SP2.

robertmo wrote:

leileilol what output= do you use?

"Output=surface". I then tried "Output=overlay" and "Output=ddraw" and it looked fine... I suppose that may be one way of fixing it 😀

Funny that my posted screenies above came out fine looking, and I had to edit them in PSP to *re-add* the green borders to show what I was refering to 🤣.

@All,

BTW, what is generally considered _faster_ (smoothest performance) for the "Output=" setting (surface, overlay, opengl, openglnb, or ddraw)? I seem to recall "surface" and ""ddraw" in some of the tests that I did some time ago using Duke Nukem 3D and DOOM II, but I'm not really sure.

Rich ¥Weeds¥ Nagel
http://www.richnagel.net

Reply 4 of 19, by h-a-l-9000

User metadata
Rank DOSBox Author
Rank
DOSBox Author
rfnagel wrote:

Funny that my posted screenies above came out fine looking, and I had to edit them in PSP to *re-add* the green borders to show what I was refering to 🤣.

Screenshots are recorded directly at the output of the emulated graphics card rather than from the host frame buffer. That's why glitches that appear at some point between the emulated card and the screen don't show up.

1+1=10

Reply 5 of 19, by leileilol

User metadata
Rank l33t++
Rank
l33t++
rfnagel wrote:

BTW, what is generally considered _faster_ (smoothest performance) for the "Output=" setting (surface, overlay, opengl, openglnb, or ddraw)? I seem to recall "surface" and ""ddraw" in some of the tests that I did some time ago using Duke Nukem 3D and DOOM II, but I'm not really sure.

On systems of a GHz and beyond, I hardly could tell any performance differences between these with any standard video card with full 2D accelleration (though both nVidia and ATI have their own 8-bit disadvantages with surface and SDL)

Surface is the fastest mode on slower systems, and by slower I mean 100-500MHz range. 😀

apsosig.png
long live PCem

Reply 6 of 19, by rfnagel

User metadata
Rank Oldbie
Rank
Oldbie

Thanks for the info, h-a-l-9000 and leileilol 😀 BTW, my PC is a 2.66GHZ.

Rich ¥Weeds¥ Nagel
http://www.richnagel.net

Reply 7 of 19, by robertmo

User metadata
Rank l33t++
Rank
l33t++

rfnagel

what is your dosbox version and where have you got it from?
what is your Operating System?
what are your PC specifications?

post content of "DOSBox Status Window" (in Windows: right click on its title bar -> edit)
enclose your dosbox's config file

Reply 8 of 19, by rfnagel

User metadata
Rank Oldbie
Rank
Oldbie

Hehe, similar to my other pic in this thread -> DOSBox v0.73 Paradise Support , two copies of DOSBox running Westwood Studios' "Command and Conquer: Tiberian Dawn" simultaneously with "ipx=true", "IPXNET STARTSERVER 213" for the GDI army, and "IPXNET CONNECT 127.0.0.1 213" for the NOD army <grin> 😀

Note that the screenies are from another PC of mine that I hadn't upgraded to version 0.74 of DOSBox yet (unlike the PC that I've refered to in my above posts).

Rich ¥Weeds¥ Nagel
http://www.richnagel.net

Reply 9 of 19, by robertmo

User metadata
Rank l33t++
Rank
l33t++

rfnagel can you check game Flashbak?
There was a simmilar boarder colour problem but i cannot reproduce it with 0.74 (but can with 0.73) so i wonder what is going on.

Reply 10 of 19, by rfnagel

User metadata
Rank Oldbie
Rank
Oldbie
robertmo wrote:

rfnagel can you check game Flashbak?
There was a simmilar boarder colour problem but i cannot reproduce it with 0.74 (but can with 0.73) so i wonder what is going on.

I'm trying to have a 'flashback' <grin> (my memory fades); are you refering to "Flashback"... an ancient side-scroller? I seem to remember the first cutscene was of a guy transported to another planet, directly into a pool of water?

Rich ¥Weeds¥ Nagel
http://www.richnagel.net

Reply 12 of 19, by rfnagel

User metadata
Rank Oldbie
Rank
Oldbie

Ahhh... yeah, that was what I was thinking of, "Another World" (a.k.a. "Out Of This World").

Anyhow yes, I have FB as well... and the problem you described. Like what I mentioned previously about C&C, the problem is there when "output=surface", but not when "output=overlay".

Rich ¥Weeds¥ Nagel
http://www.richnagel.net

Reply 14 of 19, by rfnagel

User metadata
Rank Oldbie
Rank
Oldbie

(edit)

I meant to say 0.73 in my previous post. On my PC, FB has the problem with v0.73 ("output=overlay" fixes it though), but not with v0.74.

Rich ¥Weeds¥ Nagel
http://www.richnagel.net

Reply 15 of 19, by robertmo

User metadata
Rank l33t++
Rank
l33t++

same results with Command and Conquer?

Reply 16 of 19, by rfnagel

User metadata
Rank Oldbie
Rank
Oldbie

With C&C I'm using v0.74... same problem (have to use "overlay" to fix it).

Rich ¥Weeds¥ Nagel
http://www.richnagel.net

Reply 17 of 19, by robertmo

User metadata
Rank l33t++
Rank
l33t++

does it happen in C&C with 0.73?

Reply 18 of 19, by rfnagel

User metadata
Rank Oldbie
Rank
Oldbie
robertmo wrote:

does it happen in C&C with 0.73?

Yep... but like I said, I can fix it (in v0.74 as well) with "output=overlay", works fne like that 😀

@All,

BTW, I noticed a real nice speed/performance increase with C&C from DOSBox v0.73 to v0.74... version 0.74 runs C&C considerably smoother 😀 Especially when I'm messing with things such as this:

http://www.cmoo.com/snor/weeds/Command_and_Co … uer/C&C_HOE.gif

( http://www.cmoo.com/snor/weeds/Command_and_Co … uer/C&C_HOE.txt / http://www.cmoo.com/snor/weeds/Command_and_Co … uer/C&C_HOE.zip for the curious).

Running the utility to force C&C to have 6 multiplayer starts, in conjunction with disabling the LAN human player check and starting a game with AI, even with 50 units per player (human+AI) the game is real smooth (unlike when running under DOSBox v0.73 with that amount of units).

(edit) P.S. Currently working on an upgrade for that utility to disable AI alliances (the AI will fight each other), as well as allowing 'capture the flag' games with the AI players enabled at the same time 😀

Oh, and while I'm at it, all of my C&C stuff -> http://www.cmoo.com/snor/weeds/Command_and_Conquer/ 😀

Rich ¥Weeds¥ Nagel
http://www.richnagel.net

Reply 19 of 19, by rfnagel

User metadata
Rank Oldbie
Rank
Oldbie
rfnagel wrote:

P.S. Currently working on an upgrade for that utility to disable AI alliances (the AI will fight each other), as well as allowing 'capture the flag' games with the AI players enabled at the same time 😀

Sorry to dig up this old(er) thread, new version of the utility is released 😀

Yer Readme
Yer Screenie
Yer ZIPola

Rich ¥Weeds¥ Nagel
http://www.richnagel.net