summaryrefslogblamecommitdiff
path: root/server/frob/README.md
blob: 0d64f7d458722e29f7a5999777e5f249910c85d2 (plain) (tree)
1
2
3
4
5
6
7
8

                        

                             


                                           
                                                                            


                          
     




                                                             
                                                   

   




                                                                                   
                         
# tmwAthena item frobber
## Prerequisites
- [Deno] `v0.X`
    - must be in your `$PATH`

## Compatibility
- works with tmwAthena `v16.2.9 - v19.4.15`
    - newer versions may modify the flatfile structure and break the regexes

## Usage
- from `tmwa-server-data`:
```sh
# choose whatever syntax you prefer:
make frob items="item[,item[,item...]]"     # item list (csv)
make frob items="item[ item[ item...]]"     # item list
make frob items="item-item"                 # item range
make frob items="item..item"                # item range
make frob items="item,item item-item item"  # mixed
```

### Special flags
- `--dry`: performs a dry run (does not modify databases)
- `--sql`: converts the flatfile databases to MySQL tables in the `legacy` database
- `--stats`: compiles statistics about general item distribution

[Deno]: https://deno.land