Convert scenario script.
An applescript for converting PC Civ 2 scenarios to Mac Civ 2 scenarios.
What?
Download options (pick 1 out of the 2)

Self extracting file with script and Read me. (New 25 sep 2000)

Download script and Read Me (zip-it zip file. Stuffit/Mind-expander do not like)


Comment on this script or page

Go to the Delevent page.


Read me for the "Convert scenario 1.1" script.

What is Convert Scenario 1.1?
This script converts a Civ 2 PC scenario - or modpack - to Mac format.
It is intended for Civ 2 Gold use, but while the conversion works with Civ 2, most complex scenarios do not.

 

A. Preparation:

Download (from www.shareware.com or similar):

Soundapp
GraphicConverter
(version 3.8.2 or later)

Included in this package should also be:

Modifygametxt

B. Instructions for use.

1. Drop a scenario folder on it.
2. Put the scenario folder inside the "Scenarios" folder in the "Civilization II files" in the folder of your Civ folder
3. Test the scenario. (see common problems below)
4. If the scenario works you can delete any .BMP, .GIF and .WAV files remaining in the folder.

What it does for you (with the help of other files):
1. Changes the type of Civ Map and Scenario files so that the Mac programs recognizes them.
2. Tells Soundapp to convert the wavs to Aiff files.
3. Moves all sound files in the scenario folder into a "Sound" folder
4. Tells Graphicconverter to change the PC .gif files to PICT files.
5. Tells Modifygametxt to change the Game.txt file so that the Quit and Retire sections match the default in the support folder. If this is not done, it can result in lockups when quiting the scenario.

What it does not do:
1. Duplicate the effects of PC .Bat files.
2. Verify that the scenario actually works.

C. Common problems/Things to watch out for:

1. Bad files in the scenario folder.
Symptoms are the scenario crashing when opened, or you get strange colors. You NEED to use GraphicConverter to convert files. I have found no other graphics programs that does the work as flawlessly as GraphicConverter. Files that most often come out strange are ICONS.PICT or CITIES.PICT.

What to do:
Put all PICT files in a folder separate from the scenario folder.
Try opening the scenario. If it works, return the PICT files one by one till you find out which ones do not work.

2.Bat files in the scenario folder.

Sometimes advanced scenario creators make bat files to do advanced stuff. This is strictly PC stuff, and could be replaced with a corresponding Applescript file on the Mac.

What to do:
Unless you can figure out what the .bat file does, forget it. Ask someone fluent in Applescript to help you. (No, not me. I do not do commissions).

Configure Convert scenario
You might also want to open the script in the script editor and look for the following lines.

property texteditorsignature : "ttxt" --TBB6
property imageeditorsignature : ""
property soundeditorsignature : "TVOD"

these lines define what editor should be opened when the file is double-clicked in the Finder. I have preset these to open any text files with SimpleText and any sound files with Movieplayer (Movieplayer is part of QuickTime). If you want text files to be opened in say TexEdit then change "ttxt" to "TBB6"

Any other questions?
Direct questions, flames or thanks to:
"Wulf" (my Civ2 alias) Christian Beijner
d88-cbr@nada.kth.se