mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-22 19:36:04 +00:00
wesnoth-map-diff: add more detail on readme
This commit is contained in:
parent
bc387de7e9
commit
d94ea84940
@ -4,21 +4,21 @@
|
||||
|
||||
## Setup
|
||||
|
||||
1 - Make sure you have Node on your system. If you don't have, install it. You can use [nvm](https://github.com/nvm-sh/nvm).
|
||||
1 - Make sure you have Node on your system. If you don't have it, install it. If you are using macOS or Linux, you can install Node using [nvm](https://github.com/nvm-sh/nvm). On Windows, use [nvm-windows](https://github.com/coreybutler/nvm-windows).
|
||||
|
||||
2 - Install the project dependencies:
|
||||
2 - Open the terminal on `utils/wesnoth-map-diff` folder and run the following command to install the project dependencies:
|
||||
|
||||
```
|
||||
npm i
|
||||
```
|
||||
|
||||
3 - Build it:
|
||||
3 - Then, run the following command to build it:
|
||||
|
||||
```
|
||||
npm run build:dev
|
||||
```
|
||||
|
||||
4 - Run it:
|
||||
4 - Finally, run it using `node ./build/index.js [path for the old map] [path for the new map] [output filename]`. For instance:
|
||||
|
||||
```
|
||||
node ./build/index.js old.map new.map output.png
|
||||
|
Loading…
x
Reference in New Issue
Block a user