Skip to content

Commit

Permalink
Update README for processing specific objects
Browse files Browse the repository at this point in the history
  • Loading branch information
connorhsm committed Sep 16, 2024
1 parent 9b602cb commit 800beee
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ sudo apt-get install imagemagick libcairo2-dev libjpeg-dev libpango1.0-dev libgi

See [SERVER.md](/SERVER.md) for a thorough deployment setup guide.

#### Setup
``` bash
cd process

Expand All @@ -55,6 +56,11 @@ npm install

cd ..

```

#### Process all
``` bash

# run script including downloading latest data and processing sprites
npm run process -- download

Expand All @@ -68,6 +74,19 @@ npm run process -- sounds
npm run process
```

#### Process specifc objects
You can selectively process the sprites of specific objects.

This can be useful for local development of Twotech or OneLifeData7.

``` bash
# Download argument required first run
npm run process-specific-objects 404 download

# Many objects can be specified
npm run process-specific-objects 15633,11106,404
```

### Processing Script (Docker version)

> Note 1: This is for a Linux machine with Docker installed.
Expand Down

0 comments on commit 800beee

Please sign in to comment.