Forums

Forums (http://www.abandonia.com/vbullet/index.php)
-   Games Discussion (http://www.abandonia.com/vbullet/forumdisplay.php?f=17)
-   -   Civilization (http://www.abandonia.com/vbullet/showthread.php?t=50)

Mighty Midget 31-10-2009 07:57 PM

Quote:

Originally Posted by Luchsen (Post 386883)
There is no MAIN.EXE and no INSTALL.EXE, but a CIV.EXE. :oh:

Downloaded and found a Civ.bat too. Tried that?

Luchsen 31-10-2009 08:18 PM

The BAT only changes the directory (better said: tries to) and executes the CIV.EXE. Shouldn't make a difference. :)

Mighty Midget 31-10-2009 08:35 PM

Ah, yeah, I just looked at it. You're right, it shouldn't make a difference.

jonahjuice: Listen to your good fellow Luchsen and try Civ.exe.

Saccade 02-11-2009 11:40 PM

Jonah - if you still can't figure it out or get it to run, there's Civ for Windows which is okay.
It doesn't immerse you as much as the Dos version, though, as windows is open with all its bright flashy lights and alluring internet browsers, filled with ladies.
Kinda distracting...

DOS dinosaur 03-11-2009 02:10 AM

Quote:

Originally Posted by Luchsen (Post 386889)
The BAT only changes the directory (better said: tries to) and executes the CIV.EXE. Shouldn't make a difference. :)

Actually that can make all the difference. If the exe doesn't use the full path when accessing other files, it will try to open them from the current directory (no matter where that is). :)

Luchsen 07-11-2009 09:24 PM

The EXE should open files relative to the directory itself is located. Anyway, the BAT can't change to the specified directory since it is (fortunately for the BAT) non-existent, and just runs the EXE which is (fortunately for the BAT) in the same directory as the BAT. But the main thing is to have a happy jonahjuice. ^_^

DOS dinosaur 08-11-2009 05:14 PM

Quote:

Originally Posted by Luchsen (Post 387440)
The EXE should open files relative to the directory itself is located.

Not necessarily... this is why batch files that were provided to start games from the root dir ("c:\" etc.) always changed to the appropriate game directory first.

You can test this somewhat if you have access to a DOS machine or a win3x/9x DOS window. Create a batch file containing only the DIR command, and put it in a subdir, then run it from the root dir. You'll find it list files in the root dir rather than in the subdir the batch file is located in.

As for DOSBox, I'm not sure (haven't really needed it with a '98SE machine), but if it truly emulates DOS, then I'd think the same principle would apply. :cheers:

Luchsen 11-11-2009 08:27 PM

Now I understand what you mean. But you are not intended to run executables out of other directories per command input. Even the directory change via a BAT wouldn't work if executed from another directory.

DOS dinosaur 12-11-2009 02:20 AM

Quote:

Originally Posted by Luchsen (Post 387827)
Even the directory change via a BAT wouldn't work if executed from another directory.

Well, it certainly works in DOS. Many DOS games would create a batch file in the root dir so users could simply type in the name at the C:\> prompt without having to manually change dirs.

However, if DOSBox doesn't emulate the DOS dir/file structure, then I can understand why it wouldn't work the same.

Sorry for any added confusion. :blush:

dosraider 12-11-2009 05:35 AM

Quote:

Originally Posted by Luchsen (Post 387827)
Even the directory change via a BAT wouldn't work if executed from another directory.

*cough* *cough* *cough*
Yes it works.
Use this: cd\xxxx

Notice the \ not a space.

...... learn the basic dos commands ....... :p


The current time is 01:20 PM (GMT)

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.