poikilos
9 years ago
committed by
Jacob Gustafson
5 changed files with 51 additions and 28 deletions
@ -1,10 +0,0 @@ |
|||
Result image (w=16 h=16) will be written to C:\Users\jgustafson\Documents\GitHub\minetest-chunkymap\chunk_x-4z5.png |
|||
Unknown node names: default:grass_1 flowers:mushroom_fertile_red air |
|||
Unknown node ids: 0x0 0x1 0x9 0x7 |
|||
Drawing image |
|||
Saving to: C:\Users\jgustafson\Documents\GitHub\minetest-chunkymap\chunk_x-4z5.png |
|||
('PNG Region: ', [-64, -64, 80, 80]) |
|||
('pngMinX: ', '-64') |
|||
('pngMaxZ: ', '80') |
|||
('Pixels PerNode: ', 1) |
|||
('border: ', 0) |
@ -1,6 +0,0 @@ |
|||
REM C:\Python27\python minetestmapper.py --input "C:\games\Minetest\worlds\try7amber" --region 0 64 0 64 --output "try7amber.png" |
|||
C:\Python27\python minetestmapper.py --input "C:\games\Minetest\worlds\try7amber" --geometry 0:0+16+16 --output "chunk_x0z0.png" > chunk_x0z0-genresult.txt |
|||
REM C:\Python27\python minetestmapper.py --input "C:\games\Minetest\worlds\try7amber" --geometry -100:-100+16+16 --output "chunk_x-100z-100.png" > chunk_x-100z-100-genresult.txt |
|||
|
|||
|
|||
pause |
@ -0,0 +1,28 @@ |
|||
@echo off |
|||
REM C:\Python27\python minetestmapper.py --input "C:\games\Minetest\worlds\try7amber" --region 0 64 0 64 --output "try7amber.png" |
|||
MD chunkymap-genresults |
|||
MD chunkymapdata |
|||
cls |
|||
|
|||
SET CHUNKYMAP_CHUNK_WIDTH=16 |
|||
SET CHUNKYMAP_CHUNK_HEIGHT=16 |
|||
SET CHUNKYMAP_CHUNK_XMIN=0 |
|||
SET CHUNKYMAP_CHUNK_XMAX=15 |
|||
SET CHUNKYMAP_CHUNK_ZMIN=0 |
|||
SET CHUNKYMAP_CHUNK_ZMAX=15 |
|||
|
|||
SET CHUNKYMAP_CHUNK_LUID=x%CHUNKYMAP_CHUNK_XMIN%z%CHUNKYMAP_CHUNK_ZMIN% |
|||
SET TARGET_GENRESULT_PATH=chunkymap-genresults\chunk_%CHUNKYMAP_CHUNK_LUID%-genresult.txt |
|||
SET TARGET_IMAGE_PATH=chunkymapdata\chunk_%CHUNKYMAP_CHUNK_LUID%.png |
|||
C:\Python27\python minetestmapper.py --input "C:\games\Minetest\worlds\try7amber" --region %CHUNKYMAP_CHUNK_XMIN% %CHUNKYMAP_CHUNK_XMAX% %CHUNKYMAP_CHUNK_ZMIN% %CHUNKYMAP_CHUNK_ZMAX% --output "%TARGET_IMAGE_PATH%" > "%TARGET_GENRESULT_PATH%" |
|||
REM C:\Python27\python minetestmapper.py --input "C:\games\Minetest\worlds\try7amber" --geometry %CHUNKYMAP_CHUNK_XMIN%:%CHUNKYMAP_CHUNK_ZMIN%+%CHUNKYMAP_CHUNK_WIDTH%+%CHUNKYMAP_CHUNK_HEIGHT% --output "%TARGET_IMAGE_PATH%" > "%TARGET_GENRESULT_PATH%" |
|||
|
|||
REM REM C:\Python27\python minetestmapper.py --input "C:\games\Minetest\worlds\try7amber" --geometry -100:-100+16+16 --output "%TARGET_IMAGE_PATH%" > "%TARGET_GENRESULT_PATH%" |
|||
|
|||
start notepad "%TARGET_GENRESULT_PATH%" |
|||
start "chunkymapimage" "%TARGET_IMAGE_PATH%" |
|||
|
|||
echo To delete the test output, |
|||
pause |
|||
del "%TARGET_GENRESULT_PATH%" |
|||
del "%TARGET_IMAGE_PATH%" |
Loading…
Reference in new issue