User Tools

Site Tools


falcon4:tools:runtiles

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
falcon4:tools:runtiles [2007/07/12 08:54] – created runtiles initial page snakemanfalcon4:tools:runtiles [2024/07/31 10:29] (current) – links added. snakeman
Line 1: Line 1:
-====== RunTiles ======+====== Falcon 4 RunTiles ======
  
-**RunTiles** by Snake Man+[[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]]
  
-This little package should read your H tiles and generate the smaller tiles for you automatically.+**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. 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 pallette pcx image. This image could be just basic H tile but with fartile pallette and xfartile.pcx filename.+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.//
  
-4DOS.COM is required to run before using the runtiles.bat file (4DOS has the //for loop// support). The runtiles.bat file //will NOT work// on normal windows command.com environment. 
  
 ====== Usage ====== ====== Usage ======
Line 17: Line 20:
 Make a pcx image which has all your //fartile// palette colors (refer to [[falcon4:textures|texture tutorial]] for details). 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  +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.+the //fartile// palette PCX file to the same dir. Rename the fartile PCX file for "**xfartile.pcx**" filename.
  
-You must start 4dos.com to get the for loop support, basic windows command.com +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.
-will not support this. Just run 4dos.com in your windows dos screen. You know when  +
-the 4dos is running when you see something like this: +
- +
-<code> +
-4DOS EMS swapping initialized (144K) +
-4DOS running under Windows 3 in 386 enhanced mode +
- +
-4DOS 5.0   DOS 7.10 +
-Copyright 1988-1994  Rex Conn & JP Software Inc.  All Rights Reserved +
-</code> +
- +
-Of course if you already are using 4dos, you dont need to re-run it. +
- +
-Then run "runtiles.bat" from your 4dos.com 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**: **runtiles.bat**:
  
-<code>+<code dos>
 @echo off @echo off
 md mtiles md mtiles
 md ltiles md ltiles
 md ttiles 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 -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 -p -Xb32 -Yb32 %%x ltiles\%%x 
-for %x in (h*.pcx) do alchemy -fxfartile.pcx -p -Xb16 -Yb16 %x ttiles\%x+for %%x in (h*.pcx) do alchemy -f xfartile.pcx -p -Xb16 -Yb16 %%x ttiles\%%x
 cd mtiles cd mtiles
 ren h*.pcx m*.pcx ren h*.pcx m*.pcx
Line 63: Line 50:
 echo done! echo done!
 </code> </code>
 +
  
 ====== 512 Resolution ====== ====== 512 Resolution ======
Line 68: Line 56:
 Here is the example runtiles with larger (normal for nowadays?) 512 resolution tile support added. Here is the example runtiles with larger (normal for nowadays?) 512 resolution tile support added.
  
-<code>+<code dos>
 @echo off @echo off
 md htiles md htiles
Line 75: Line 63:
 md ttiles md ttiles
 echo creating 512 H tiles... echo creating 512 H tiles...
-for %x in (h*.pcx) do alchemy -Q ---f -p -Xb512 -Yb512 %x htiles\%x >nul+for %%x in (h*.pcx) do alchemy -Q ---f -p -Xb512 -Yb512 %%x htiles\%%x >nul
 echo creating 256 M tiles... echo creating 256 M tiles...
-for %x in (h*.pcx) do alchemy -Q ---f -p -Xb256 -Yb256 %x mtiles\%x >nul+for %%x in (h*.pcx) do alchemy -Q ---f -p -Xb256 -Yb256 %%x mtiles\%%x >nul
 echo creating 128 L tiles... echo creating 128 L tiles...
-for %x in (h*.pcx) do alchemy -Q ---f -p -Xb128 -Yb128 %x ltiles\%x >nul+for %%x in (h*.pcx) do alchemy -Q ---f -p -Xb128 -Yb128 %%x ltiles\%%x >nul
 echo creating 16 T tiles... echo creating 16 T tiles...
-for %x in (h*.pcx) do alchemy -Q -fxfartile.pcx -p -Xb16 -Yb16 %x ttiles\%x >nul+for %%x in (h*.pcx) do alchemy -Q -f xfartile.pcx -p -Xb16 -Yb16 %%x ttiles\%%x >nul
 cd htiles cd htiles
 move h*.pcx ..    >nul move h*.pcx ..    >nul
Line 100: Line 88:
 echo done! echo done!
 </code> </code>
 +
  
 ====== Notes ====== ====== Notes ======
  
-Download [[http://tactical.nekromantix.com/f4/downloads/Runtiles.v1.1.rar|Runtiles.v1.1.rar]] or [[http://tactical.nekromantix.com/f4/downloads/Runtiles_for_512.rar|Runtiles_for_512.rar]] packages.+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-19torrent magnet: 
 +<code> 
 +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 
 +</code> 
falcon4/tools/runtiles.1184230497.txt.gz · Last modified: 2007/07/12 08:54 (external edit)