Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vincent0700/d2s-cli

📦 Diablo II d2s format command line tool.
https://github.com/vincent0700/d2s-cli

Last synced: about 1 month ago
JSON representation

📦 Diablo II d2s format command line tool.

Awesome Lists containing this project

README

        

# d2s-cli

[![NPM](https://nodei.co/npm/d2s-cli.png?downloads=true&downloadRank=true)](https://www.npmjs.com/package/d2s-cli)

[![license](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/vincent0700/d2s-cli/blob/master/LICENSE)
[![npm](https://img.shields.io/npm/v/d2s-cli.svg)](https://www.npmjs.com/package/d2s-cli)
[![npm](https://img.shields.io/npm/dm/d2s-cli.svg)](https://www.npmjs.com/package/d2s-cli)

Diablo II d2s file command line editor

暗黑破坏神 2 d2s 文件修改命令行工具

## Environment 环境

Diablo II v1.13 ~ v1.14

## Installation 安装

```bash
$ npm i -g d2s-cli
```

Or

```bash
$ yarn global add d2s-cli
```

## Reset stats & skill points 重置技能点

You can reset stats & skill points through Akara in normal Act 1. Make sure you've completed the Den of Evil first. Type `d2s reset` and choose your hero if you are macOS user. Because this scripts will search d2s files under "/Applications/Diablo II/Save" by default.

执行下面命令后即会重置资料片第一幕阿卡拉洗点任务,确保你首先完成了邪恶巢穴的任务。如果你是 `macOS` 用户,你可以直接输入 `d2s reset` 并选择你的角色。脚本默认搜索 `/Applications/Diablo II/Save` 目录下的存档。

```text
$ d2s reset
___ ___ ___ ___ _ ___
| \ |_ ) / __| / __| | | |_ _|
| |) | / / \__ \ | (__ | |__ | |
|___/ /___| |___/ \___| |____| |___| v0.1.0

? Select your hero LeBlanc

[D2S] Done.
[D2S][WRAN] You can reset stats & skill points through Akara in normal Act 1.
[D2S][WRAN] Make sure you've completed the Den of Evil first.
```

Or you can specify a d2s file like:

或者你可以像这样指定某个 `d2s` 文件:

```bash
$ d2s reset "/Applications/Diablo II/Save/LeBlanc.d2s"
```