From 837dbeaccd33fdf49f8bbe312226bddabe0f92c4 Mon Sep 17 00:00:00 2001 From: kartofen Date: Thu, 11 Aug 2022 22:31:34 +0300 Subject: even more user friendly --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 424e9c6..4d9aa08 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,7 @@ Two files will be build in the bin directory, I am pretty sure the `bin/wfc` should work on Windows, `bin/gen_tiles` uses linux-only header to create the directories for the files (files and files/tiles) +and uses `cp` to copy files around. It would be easy to make everything work on windows, I just dont want to take my time and make it cross platform. @@ -41,11 +42,10 @@ The `bin/gen_tiles` generates the `tiles.dat` file and optionally the tiles them There is a file called `config.h` under the src directory which is used to specify things about `tiles.dat` and basically configuring `bin/gen_tiles`. More info in the file as comments. -To use a tileset, different from the one that can be generated from `bin/gen_tiles` -you need to specify the tile-types you are going to use in `src/config.h`, then copy-paste -the tiles into `files/tiles` directory and then name them `tile_.ppm`, where -num is the index of the tile in the `tiles_to_load` array in `src/config.h` (Not the tile index in the table). - +To use a tileset different generated one it is explained in `src/config.h`. +For a tilset to be compatable with this project, it needs to be all ppm files, +and files should be named exactly like the names in the table in `src/config.h`. +For example see the tileset in `files/tilesets/knots`. ### Limitations -- cgit v1.2.3