Falcon 4.0 Forum, Falcon 4 Home, Falcon 4 Campaign, Falcon 4 Cockpits, Falcon 4 Database, Falcon 4 File Formats, Falcon 4 SRTM Terrain, Falcon 4 Terrain, Falcon 4 Textures, Falcon 4 Tools
Falcon 4 Perl Scripts by Julian “Codec” Onions
Perl is a script interpreter. You don't run the script, but run perl to parse the perl script.
Download the TerrainScripts.rar. PMCTODO download missing!?
There are these following scripts:
| Name | Function |
|---|---|
| cred2res.pl | credits? |
| dem2lf.pl | convert dem data to L2 |
| generate.pl | ? |
| irc2res1.pl | converts .irc to .rsc |
| mkpal.pl | creates fartiles (.pal) palette |
| procae.pl | feature airport? |
| procidx.pl | ? |
| procidx1.pl | converts .idx to .tga |
| procppp.pl | feature? |
| proctbin.pl | ? |
| tbin2txt.pl | converts texture.bin to text |
| tga2res.pl | ? |
| txt2tbin.pal | converts text to texture.bin |
PERL is a DOS-based program.
Not perfect but it should get you moving in the right direction.
When you are in the bin folder, use
perl tga2res.pl cuba-big.tga CUBABIG_ID
I'd not use BIG_MAP_ID, as this is exactly the same ID the korean big map uses. It could confuse F4.
If you want to put more than one picture into a file, use irc2res.pl.
More usage information can be found in our various tutorial parts.
For windows you need to download Active Perl.