 |
|  |
 |
|
Mercator
|
 |
Sorekara no Nanimo
Jan 1970 time: 06:17
|
|
No April Fool's this time... (but not nearly as exciting either)
Anyway, what the title says...
CivSwap is a little program that monitors game progress by checking the autosave, and can launch a program/batch file on set turns. As the name suggests, that program/batch file will most likely be a file swapping batch file, although it can be anything else.
Scenario players will no longer have to start a batch file while playing. All they need to do is run CivSwap at startup, turn on autosaving, and load the specified savegame when notified by events.
The readme contains a more detailed description, as well as a lengthy example (based on BeBro's Imperium Romanum)...
You can find CivSwap on my utility website. The readme is also available online, in the help section:
http://www.civgaming.net/mercator/mapedit/
Oh, you'll need the VB6 run-time files, as usual... If you have any of my other utilities, you'll have these already.
I would especially like to hear some comments about my readme. 
|
|
|  |
 |
|  |
 |
|
Mercator
|
 |
Sorekara no Nanimo
Jan 1970 time: 06:17
|
|
quote: Originally posted by Exile
Ok, I'm not at all clear about batch files and their use. I've stayed away from such things up until now because I felt their use was too cumbersome and didn't like the interruption of the game. |
Batch files date back to the DOS era (and should really be outdated by Windows scripts by now). They're basically text files with a lot of DOS commands in it.
I guess you could compare it to what you can do with Windows Explorer (except it's in a command-line environment). You can create/delete/move/copy files and directories, run programs, see directory listings and file properties. That sort of thing.
The things of interest for civ2 are mostly just executing programs (i.e. run delevent to delete events), copy, move and delete files (for file swapping), and possibly creating textfiles (you can redirect DOS output to a text file).
quote: Is there some sort of Batch-files-in-Civ2-for-dummies somewhere? |
Well, you can start by reading the example in the CivSwap readme. 
quote: The hiddden agenda here is that, if this thing works like you say it does, Merc, it will neatly solve quite a few dilemmas in terms of a scenario that I've conceived, but not yet completed. |

|
|
|  |
 |
|
Mercator
|
 |
Sorekara no Nanimo
Jan 1970 time: 06:17
|
|
quote: Originally posted by Exile
WHAT can batchfiles do ? [...] |
Oh, I see what you meant (I think )...
No. Batch files can't edit files, so you can't change individual units or terrains. You can only swap complete files. If you have all the different versions of the rules.txt and graphics files ready, you can use a batch file to swap them.
That's what I meant when I referred to Windows Explorer, too... Say, in Explorer you can move files and start programs, but you can't edit files. You can of course open a program that can do the editing, but that's no longer Explorer, that's a text editor or image editor.
quote: . . . and these things at precise turns in a given scenario? |
With CivSwap, yes.
quote: Sorry to belabor this point, I'm just trying to establish what is NOW do-able, scenario-wise, thanks to your stirling efforts. |
No problem... 
|
|
|  |
 |
|  |
 |
|  |
 |
|  |
 |
|
Mercator
|
 |
Sorekara no Nanimo
Jan 1970 time: 06:17
|
|
quote: Originally posted by Catfish
Actually, I've had this utility sitting on my HD for years. |
I don't think I've ever actually downloaded it, but I know I've visited that utility page many times.
It is a bit rough, but it's turn options are quite a bit more advanced, although that will only be of any importance if you want to change files very often.
It also uses it's own configuration files, rather than batch files, which probably makes it a bit easier to understand.On the other hand, it doesn't automatically track the autosave like CivSwap, so it still requires some interaction with a program outside of civ2.
quote: Sensitive, aren't we? It's passable, I suppose. Can't have Kull's site surpassing yours now, can we? |

|
|
|  |
All times are GMT. The time now is 05:17. Apolyton Time is 00:17. |
top of page
|
|
|
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
|
|
|
|
|
|