Table of Contents
Falcon 4 Perl Scripts
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 |
Usage
PERL is a DOS-based program.
- Go to your DOS prompt. (You should get a black screen w/ white letters)
- Type in CD\, that should bring you to your root directory (For example C
- Type CD\perl\bin and that should bring up something like this,,, C:\perl\bin
- You are in PERL now.
- To use PERL you have to type perl to run the PERL scripts (For example C:\perl\bin perl tga2res.pl syria_small.jpg SMALL_MAP_ID) then hit the enter key. That will run the script for you.
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.
Active Perl
For windows you need to download Active Perl.