This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
falcon4:tools:runtiles [2007-07-12 08:54] snakeman created runtiles initial page |
falcon4:tools:runtiles [2024-03-19 09:16] (current) snakeman download link torrent magnet updated. |
||
---|---|---|---|
Line 3: | Line 3: | ||
**RunTiles** by Snake Man | **RunTiles** by Snake Man | ||
- | This little package should read your H tiles and generate the smaller tiles for you automatically. | + | 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 18: | Line 19: | ||
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 48: | ||
echo done! | echo done! | ||
</code> | </code> | ||
+ | |||
====== 512 Resolution ====== | ====== 512 Resolution ====== | ||
Line 68: | Line 54: | ||
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 61: | ||
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 86: | ||
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-19/ torrent 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> |