explv / osrs_map_tiles Goto Github PK
View Code? Open in Web Editor NEWOSRS world map split into tiles.
Home Page: https://explv.github.io
OSRS world map split into tiles.
Home Page: https://explv.github.io
Receiving the following error after running the latest docker image:
~ > docker run -it -v "${pwd}:/repo" map-tile-generator
2023-07-27 14:57:15 INFO Downloading cache & XTEAs
2023-07-27 14:57:19 INFO Cache version: https://archive.openrs2.org/caches/runescape/1447
2023-07-27 14:57:19 INFO Cache upload date: 2023-07-26 10:15:06
2023-07-27 14:57:19 INFO Cache build: ['215']
Cache directory already exists, skipping download
2023-07-27 14:57:19 INFO Building map base images
[main] INFO net.runelite.cache.util.XteaKeyManager - Loaded 1720 keys
[main] INFO net.runelite.cache.MapImageDumper - Map image dimensions: 13056px x 45568px, 4px per map square (1702 MB). Max memory: 8192mb
[main] INFO net.runelite.cache.MapImageDumper - Wrote image /repo/output/generated_images/img-0.png
[main] INFO net.runelite.cache.MapImageDumper - Map image dimensions: 13056px x 45568px, 4px per map square (1702 MB). Max memory: 8192mb
[main] INFO net.runelite.cache.MapImageDumper - Wrote image /repo/output/generated_images/img-1.png
[main] INFO net.runelite.cache.MapImageDumper - Map image dimensions: 13056px x 45568px, 4px per map square (1702 MB). Max memory: 8192mb
[main] INFO net.runelite.cache.MapImageDumper - Wrote image /repo/output/generated_images/img-2.png
[main] INFO net.runelite.cache.MapImageDumper - Map image dimensions: 13056px x 45568px, 4px per map square (1702 MB). Max memory: 8192mb
[main] INFO net.runelite.cache.MapImageDumper - Wrote image /repo/output/generated_images/img-3.png
2023-07-27 15:02:11 INFO Generating tiles
2023-07-27 15:02:11 INFO [Plane: 0]: Generating plane 0
2023-07-27 15:02:11 INFO [Plane: 0]: Loading images into memory
2023-07-27 15:02:11 INFO [Plane: 0]: Calculating changed tiles
Traceback (most recent call last):
File "./src/tile_generator.py", line 458, in <module>
main()
File "./src/tile_generator.py", line 71, in main
generate_tiles_for_plane(plane)
File "./src/tile_generator.py", line 232, in generate_tiles_for_plane
changed_tiles = get_changed_tiles(old_image, new_image, starting_zoom)
File "./src/tile_generator.py", line 266, in get_changed_tiles
old_image_tile = old_image.crop(tile_x, tile_y, TILE_SIZE_PX, TILE_SIZE_PX)
File "/usr/local/bin/miniconda3/envs/vips/lib/python3.7/site-packages/pyvips/vimage.py", line 919, in call_function
return pyvips.Operation.call(name, self, *args, **kwargs)
File "/usr/local/bin/miniconda3/envs/vips/lib/python3.7/site-packages/pyvips/voperation.py", line 282, in call
raise Error('unable to call {0}'.format(operation_name))
pyvips.error.Error: unable to call crop
extract_area: bad extract area
ERROR conda.cli.main_run:execute(47): `conda run python ./src/tile_generator.py` failed. (See above for error)
Some users suggested that we try performing a .rotate()
prior to the crop, but this did not yield any successful results in my testing.
Following instructions on https://github.com/Explv/osrs_map_tiles, I ran docker build, which appeared to build correctly. I then pasted the docker run command and encountered the following error:
...\CrackTheClue3\osrs_map_tiles-master> docker run -it -v "${pwd}:/repo" map-tile-generator
2022-10-01 00:00:52 INFO Downloading cache & XTEAs
2022-10-01 00:00:56 INFO Cache version: https://archive.openrs2.org/caches/runescape/1117
2022-10-01 00:00:56 INFO Cache upload date: 2022-09-28 10:45:04
2022-10-01 00:00:56 INFO Cache build: ['208']
2022-10-01 00:01:18 INFO Building map base images
Traceback (most recent call last):
File "./src/tile_generator.py", line 458, in <module>
main()
File "./src/tile_generator.py", line 67, in main
build_full_map_images(cache_dir, xtea_file)
File "./src/tile_generator.py", line 196, in build_full_map_images
jar_file = glob.glob("target/*jar-with-dependencies.jar")[0]
IndexError: list index out of range
ERROR conda.cli.main_run:execute(41): `conda run python ./src/tile_generator.py` failed. (See above for error)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.