Calling Fractal Terrains from another program
Is it possible to be able to have a program launch FT with the world data already set?
I have an access database with all the worlds from Traveller's Spinward Marches entered into it. I would like to create a button that would launch FT with the proper settings for the world and automatically create a map.
I have an access database with all the worlds from Traveller's Spinward Marches entered into it. I would like to create a button that would launch FT with the proper settings for the world and automatically create a map.
Comments
Would it be: -Parms=SeaPercent=30,Circumference=5000
or: -SeaPercent=30,-Circumference=5000
?
-parms=12345,5000,30,30000,-30000
for the basic parameters of randseed=12345, circumference=5000, seapercent=30, peak=30000, abyss=-30000 and so on.
The "Index" value in the first column is the parameter number on -parms. This feature wasn't really intended for use by humans.
For temperature, rainfall, and additional commands, the parameters are as shown in the document (thus, temperature might be -parms=temp=30,20,50 and change the image width to 1000 would be -imgwidth=1000).
-parms=Circumference,15000=SeaPercent,30
with my access database providing the actual numbers.
To specify circumference and sea percent, you'd need to specify
-parms=12345,5000,30
To specify the fractal type, you'll need to specify 16 parameters or more.
Values for LandType should be:
0 Ridged Multifractal
1 Fractional Brownian Motion
18 fBm with Perlin's Improved Noise
18 Wilbur Fractional Brownian Motion (fBm)
19 Wilbur Ridged Multifractal
21 Voronoi Ridged Multifractal
23 RMF with Perlin's Improved Noise
Which points out that there's a bug in FT: the wilbur and improved fBm types are sharing an ID and they shouldn't be. Whoopsie.
Is there a way to change the defaults for FT? That would work as well.
It does not appear that you can set the defaults for FT and then run that data. You can load an existing .ftw file from the command line, but it will overwrite any parameters you pass. The file "Default.srf" would ideally contain the defaults that you want, but FT treats it as either the command line parameters OR the parameters from Default.srf. I'm going to have to say that if you want to use the command line parameters, then you're going to have to specify all of them that you want. Like I said early on, this interface wasn't intended for the convenience of humans, but rather for calling FT from an external program (and such a program can be made to trivially provide all of the needed parameters).
The current issue is that the Traveller data doesn't specify for a lot of the parameters that FT has, for example axial tilt. I was hoping to just use the program's defaults for them because otherwise I don't know what values to use.