VOGONS


First post, by scottw666

User metadata
Rank Newbie
Rank
Newbie

http://www.infomediji.si/programi/1/body_nagr … are_ind__99.htm
to download c&cdemo

"latest cvs build".

The setup.exe works fine, autodetects gus fine.

When you run c&c.exe you get the following error:
DOS/4GW Professional Protected Mode Run-time Version 1.97
Copyright (c) Rational Systems, Inc. 1990--1994
DOS/4GW Professional error (2504): can't create swap file "."
DOS/4GW Professional fatal error (1101): VMM initialization error [1]

The console shows this error:
Warning: file creation failed: .\

so its trying to create a swap file "." and failing?

Descent also has the same error now, yet it worked in the past so i guess it must be a recent change...

Apologies if this is known. Dosbox is the coolest piece of software ever.

Reply 1 of 7, by scottw666

User metadata
Rank Newbie
Rank
Newbie

I spent some time debugging this.

Dos4g is literally trying to create a "." file. The DOS_MakeName method stops this from happening with this case statement so the FileCreate method tries to create the directory "c:\download\ccdemo" rather than the file "c:\download\ccdemo\."

The open questions is:
1. Is "." a valid file name under windows? I think not but I could be wrong. If not what should dosbox do? Create a "dot" file?

I modified the filecreate to do exactly that and command and conquer ran.

Finster - thoughts?

case '\\': case '$': case '#': case '@': case '(': case ')':
case '!': case '%': case '{': case '}': case '`': case '~':
case '_': case '-': case '*': case '?': case '&':
case '\'': case '+': case '^':

Reply 2 of 7, by Srecko

User metadata
Rank Member
Rank
Member

My C&C works (full version). Descent also runs. Both games are patched to last version (but C&C uses Dos4gw 1.97).

Reply 3 of 7, by scottw666

User metadata
Rank Newbie
Rank
Newbie

I have no idea whether it matters, I running win2k sp4. Srecko are you on the latest cvs? What os?

Reply 4 of 7, by Srecko

User metadata
Rank Member
Rank
Member

Latest I could get off sourceforge (they have problems currently).
Windows XP SP1. Try updating SDL.dll

Reply 5 of 7, by tkcmd

User metadata
Rank Newbie
Rank
Newbie

(deleted)

Last edited by tkcmd on 2004-01-25, 23:48. Edited 1 time in total.

Reply 6 of 7, by tkcmd

User metadata
Rank Newbie
Rank
Newbie

Hmm did some research
Seems that the DOS4GW Extender is trying to make a swap location to a non existant location
this can be fixed by setting a few varibales by using the SET command
i made a batch file so you just need to run it before starting your c&c.exe (or descent.exe ... whatever)
http://users.pandora.be/tkcmd/parm.bat
if u need more virtual memory just edit the size in the batch file

Reply 7 of 7, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

it tries to create .swp
which works fine at my place.

Water flows down the stream
How to ask questions the smart way!