====== Falcon 4 RunTiles ====== [[https://www.pmctactical.org/forum/viewforum.php?f=47|Falcon 4.0 Forum]], [[:falcon4|Falcon 4 Home]], [[falcon4:campaign|Falcon 4 Campaign]], [[falcon4:cockpits|Falcon 4 Cockpits]], [[falcon4:database|Falcon 4 Database]], [[falcon4:file_formats|Falcon 4 File Formats]], [[falcon4:srtm|Falcon 4 SRTM Terrain]], [[falcon4:terrain|Falcon 4 Terrain]], [[falcon4:textures|Falcon 4 Textures]], [[falcon4:tools|Falcon 4 Tools]] **Falcon 4 RunTiles** by Snake Man This little package will read your H tiles and generate the smaller tiles for you automatically. This is a MS-DOS batch file which runs the tiles one by one into the ancient Image Alchemy DOS utility. It then creates M, L and T tiles from the original H tiles for you automatically. You need to put H tiles into some directory, along with your fartiles palette PCX image. This image could be just basic H tile but with fartile palette and xfartile.pcx filename. //Please note that you do not need the 4dos.com anymore when running the batch file.// ====== Usage ====== Runtiles v1.1 ;) Make a pcx image which has all your //fartile// palette colors (refer to [[falcon4:textures|texture tutorial]] for details). Copy all your new H tiles to some temp directory, then place this runtiles.bat and the //fartile// palette PCX file to the same dir. Rename the fartile PCX file for "**xfartile.pcx**" filename. Then run "runtiles.bat" from your DOS screen and sit back. if all goes well, after the process you should have the original H tiles and also M, L and T tiles, where T tiles use the color palette from xfartile.pcx image. **runtiles.bat**: @echo off md mtiles md ltiles md ttiles for %%x in (h*.pcx) do alchemy ---f -p -Xb64 -Yb64 %%x mtiles\%%x for %%x in (h*.pcx) do alchemy ---f -p -Xb32 -Yb32 %%x ltiles\%%x for %%x in (h*.pcx) do alchemy -f xfartile.pcx -p -Xb16 -Yb16 %%x ttiles\%%x cd mtiles ren h*.pcx m*.pcx move m*.pcx .. cd ../ltiles ren h*.pcx l*.pcx move l*.pcx .. cd ../ttiles ren h*.pcx t*.pcx move t*.pcx .. cd .. rd mtiles rd ltiles rd ttiles echo done! ====== 512 Resolution ====== Here is the example runtiles with larger (normal for nowadays?) 512 resolution tile support added. @echo off md htiles md mtiles md ltiles md ttiles echo creating 512 H tiles... for %%x in (h*.pcx) do alchemy -Q ---f -p -Xb512 -Yb512 %%x htiles\%%x >nul echo creating 256 M tiles... for %%x in (h*.pcx) do alchemy -Q ---f -p -Xb256 -Yb256 %%x mtiles\%%x >nul echo creating 128 L tiles... for %%x in (h*.pcx) do alchemy -Q ---f -p -Xb128 -Yb128 %%x ltiles\%%x >nul echo creating 16 T tiles... for %%x in (h*.pcx) do alchemy -Q -f xfartile.pcx -p -Xb16 -Yb16 %%x ttiles\%%x >nul cd htiles move h*.pcx .. >nul cd ../mtiles ren h*.pcx m*.pcx >nul move m*.pcx .. >nul cd ../ltiles ren h*.pcx l*.pcx >nul move l*.pcx .. >nul cd ../ttiles ren h*.pcx t*.pcx >nul move t*.pcx .. >nul cd .. rd htiles rd mtiles rd ltiles rd ttiles echo done! ====== Notes ====== Download Runtiles.v1.1.rar or Runtiles_for_512.rar packages. //These archives still contain the OLD 4dos.com batch files, just use the above code examples to create the batch files.// Download from Falcon.4.0.Batch.Files.And.Scripts.2024-03-19/ torrent magnet: magnet:?xt=urn:btih:497be38d8bf427855a7918c287d70a84b92ba422&xt=urn:btmh:1220c0b60cc560adb9626eef35f25f80ac68ffae7dc2205553acd98c8923b00ac127&dn=Falcon.4.0.Batch.Files.And.Scripts.2024-03-19&tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337%2fannounce&tr=udp%3a%2f%2ftracker.openbittorrent.com%3a6969%2fannounce