All Projects → Norviah → acnh-images

Norviah / acnh-images

Licence: MIT license
downloads every image from the ac: nh spreadsheet locally

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to acnh-images

turnip-price
《动物森友会》大头菜价格算法 Rust & WebAssembly 版 / The Rust & WebAssembly implementation of the algorithm of the turnip price in Animal Crossing: New Horizon.
Stars: ✭ 32 (+39.13%)
Mutual labels:  animal-crossing
acnh-api
Animal Crossing New Horizons Static API
Stars: ✭ 21 (-8.7%)
Mutual labels:  animal-crossing
LeafEdit
Work in progress Animal Crossing: New Leaf save manager & editor for the Nintendo 3DS!
Stars: ✭ 56 (+143.48%)
Mutual labels:  animal-crossing
SysBot.ACNHOrders
Queue-based and/or pure automation-styled ACNH SysBot
Stars: ✭ 53 (+130.43%)
Mutual labels:  animal-crossing
translation-sheet-data
ACNH Translation sheet converted directly to JSON by tab.
Stars: ✭ 28 (+21.74%)
Mutual labels:  animal-crossing
animal-crossing-catch
Site to keep track of your critters in Animal Crossing
Stars: ✭ 47 (+104.35%)
Mutual labels:  animal-crossing
ACNL REditor
Animal Crossing New Leaf ROM Editor: Patch ACNL's code and files with QoL improvements to change the gameplay.
Stars: ✭ 35 (+52.17%)
Mutual labels:  animal-crossing
ACNHAutoCataloger
Automatically records what's in your Animal Crossing: New Horizons catalog
Stars: ✭ 34 (+47.83%)
Mutual labels:  animal-crossing

acnh-images

Downloads every image from the Animal Crossing: New Horizons spreadsheet locally.

Usage

To execute this module, you can install it globally:

npm install -g acnh-images
acnh-images

or, you can use npx:

npx acnh-images

By default, images will be saved under a sub-directory images in the current working directory. To provide a different directory, you can provide a format with the -f flag.

This flag represents how each image will be saved, and can contain any one of: %s, %v, %f, %id, %uid, and/or [[key]]. All instances of these terms will be replaced by a specific value of the item that the image represents:

  • %s represents the item's source sheet,
  • %v represents the item's variation,
  • %f represents the name of the png,
  • %id represents the item's internal ID, and
  • %uid represents the unique ID of the item.

[[key]] is special as whatever is in the brackets will be treated as a property of the item and will be replaced with the value the key represents. For example, if you want to get the personalities for villagers, you can do so by [[personality]]. The key key will be called on all items, and if the key doesn't exist in the item, an empty string will be used. To view all possible keys, take a look at the JSON files here, as these are the data that acnh-images uses.

When manually setting the format, be sure that each image will be saved to a unique location, as variations of items can override other variations.

Examples

# This format downloads every image in the desktop, under the sub-directory representing each item's Unique Entry ID.
acnh-items -f "~/Desktop/%s/%uid/%f.png"

# An example of this format being:
# · Desktop
#   · Construction
#     · [unique ID]
#       - Image.png
#     · etc.
#   · Fish
#     · [unique ID]
#       - Critterpedia Image.png
#       - Furniture Image.png
#       - Icon Image.png
#     · etc.
#   · etc.

# This format will simply download each image as it's unique ID.
acnh-items -f "~/Desktop/images/%uid.png"

# As for the example with [[key]], this format will save each villager in a sub-directory representing their personality.
acnh-items -f "./images/%s/[[personality]]/%n/%v/%f.png"
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].