TDF files

Terrain / Theater editing

Moderators: Lone Wolf, Snake Man

Guest

TDF files

Post by Guest »

Can anyone help?
I've downloaded all neccessary components to create new terrain:Dem scripts Perl for windows etc
Succeeded to create the l2 o2 files
Now stuck at the .tdf files
Followed the instructions but after running the sripts I get tdf files that are empty i.e. 0 bytes!
PS: using active perl for windows v5.6 which i got from Perl homepage.
Guest

Re: TDF files

Post by Guest »

You probably have the long/lat coordinates wrong, try to play with those. I usually mix them myself quite often :)

PMC TFW
Snake Man
Guest

Re: TDF files

Post by Guest »

wow, seems new theaters keep brewing...soon we'll cover the whole globe :))

Besides what we learned, there are about 2-3 new theaters..under the table?
Guest

Re: TDF files

Post by Guest »

Got the same problem, 0 bytes in all of the .tdf files
Also running Windows with Activeperl 5.6

Pretty sure I,ve got right coordinates

Trying to do Iceland here
Guest

Re: TDF files

Post by Guest »

All right, give me the coordinates and countries that are included. I'll fix you up with the features.

PMC TFW
Snake Man
Guest

Re: TDF files

Post by Guest »

The scripts has some problem generating TDF files on Windows. I'm having trouble also with it. I'm still trying to fix it. I managed to fix the dem3lf, but can't find a way to do the tdf's. If I find a fix I'll try to get it to the tutorial as I did the dem3lf (thankx to dogman).

For tdf's you'll have to rely on a Lunix.

Falcon out
Guest

Re: TDF files

Post by Guest »

I'm looking forward to those fixes and ofcourse the tutorial.

In the meanwhile I'll be installing Linux
and feel less invalid.

I'm in a winning mood tonight!

Widowmaker aka Metalhead
Guest

Re: TDF files

Post by Guest »

Got the same problem, 0 bytes in all of the .tdf files.
I have got right coord.
I use Perl 5.6.0 on linux Redhat kernel 2.2.16
Long=60, lat=40 it a Québec region !

Can anyone help?
Guest

Re: TDF files

Post by Guest »

> I have got right coord.
> I use Perl 5.6.0 on linux Redhat kernel
> 2.2.16
> Long=60, lat=40 it a Québec region !

What is your excat command line that you use?

PMC TFW
Snake Man
Guest

Re: TDF files

Post by Guest »

Got the same problem, 0 bytes in all of the tdf files with the new version. I have got right coord
This is my command line
[root@Crunch data]# perl -I procae.pl -long=60.0 -lat=40.0 aepoint.e00 > QuebecAirport.tdf
Unrecognized switch: -ong=60.0 (-h will show valid options).
Samething with procae.pl and with or with out range parameter
What happen
Guest

Re: TDF files

Post by Guest »

> perl -I procae.pl -long=60.0 -lat=40.0 aepoint.e00 > QuebecAirport.tdf
>Unrecognized switch: -ong=60.0 (-h will show valid options).

Well there it says. "unrecognized switch: -ong" it somehow leaves out the -l part. Are you using the new scripts that I have here which need the -range=40 parameter too?

PMC TFW
Snake Man
Guest

Re: TDF files

Post by Guest »

Hi all!
Had the same problem.
Simply copy the whole stuff into the directory where the perl.exe is located and run it again.

See ya, and have fun!
Guest

Re: TDF files

Post by Guest »

nothing to do.....
I dont know what append?
I use the last scripts version with range param ang i have 0 byte in my TDF??
Guest

Re: TDF files

Post by Guest »

chk your TerrainScripts.zip!
I dl today and i dont have the range parameter in procppp.pl and in procae.pl
Guest

Re: TDF files

Post by Guest »

Goddamn you were right, I had to do few tests to confirm this as there is no version numbers on these scripts. I though the package was updated with correct scripts, I was wrong, Sorry.

Well now there is the latest scripts with -range=40 option included.

PMC TFW
Snake Man
Guest

Re: TDF files

Post by Guest »

Hi,

first excuse my bad english.

Could you please check TerrainScripts.zip in download area. IMHO they are still the older ones. I have downloaded them today and they were without range option.

cu shadow
Guest

Re: TDF files

Post by Guest »

Well I tried them out and they do have the range option.

But anyway, we have made terrain feature genetator program for windows. I'll be giving out beta version in few days, stay tuned.

PMC TFW
Snake Man
Guest

Re: TDF files

Post by Guest »

hi again,

you were right, these are the new scripts, sorry.

I tried a bit with these scripts and they work fine after a few changes.

copy the scrips and all E00-Files into the dir where the perl.exe locates.

first the range option:
-range=40 means you have a 40x40 DEG map
change it to the size of your map 10 for a 10x10 DEG map and 20 for ...

second one: search for this one in the scripts:
# $x = int($x / $range * 1024);
# $y = int($y / $range * 1024);
$x = int($x / $range * 2048);
$y = int($y / $range * 2048);

Delete the two rows with the # on the begining.
Then change the two values (in this case 2048) to 1024 for a 10x10 DEG map
to 2048 for a 20x20 DEG map
and to 4096 for a 40x40 DEG map

hope it works now for all, it does for me under windows with active perl

cu all
shadow

p.s. I know, I have to speak a little more english <g>

Return to “Terrain / Theater”