Code Monkey home page Code Monkey logo

go-d2editor's Introduction

Diablo 2 Save editor

Go Report Card GoDoc

Go package for reading and writing Diablo 2 saves. Supports version 1.10 through Diablo II: Resurrected (1.15). Supports reading both d2s (player saves) and d2i (shared stash) files.

Installation

To install the package, use the following:

go get github.com/vitalick/go-d2editor

To install command line program, use the following:

go install github.com/vitalick/d2editor-cli@latest

Usage

CLI

For convert JSON to .d2s, use the following:

d2editor-cli -fromjson <input files>

For convert .d2s to JSON, use the following:

d2editor-cli -tojson <input files>

To specify the path to the output folder, we use the following:

d2editor-cli -fromjson -o <output folder> <input files>
d2editor-cli -tojson -o <output folder> <input files>

As package

Coming soon...

Roadmap

Completed steps
  • Add Character struct
  • Add Header to Character
  • Add ActiveWeapon to Character
  • Add Name to Character
  • Add Status to Character
  • Add Progression to Character
  • Add Unk0x0026 to Character
  • Add Class to Character
  • Add Unk0x0029 to Character
  • Add Level to Character
  • Add Created to Character
  • Add LastPlayed to Character
  • Add Unk0x0034 to Character
  • Add HotkeySkills to Character
  • Add LeftSkill to Character
  • Add RightSkill to Character
  • Add LeftSwapSkill to Character
  • Add RightSwapSkill to Character
  • Add Appearances to Character
  • Add Locations to Character
  • Add MapID to Character
  • Add Unk0x00af to Character
  • Add Mercenary to Character
  • Add RealmData to Character
  • Add Quests to Character
  • Add Waypoints to Character
  • Add UnkUnk1 to Character
  • Add NPCDialogs to Character
  • Add Attributes to Character
  • Add ClassSkills to Character
  • Add ItemList to Character
  • Add CorpseList to Character
  • Add MercenaryItemList to Character
  • Add Golem to Character
  • Test saved savedata in Diablo 2 Resurrected
  • Test saved savedata in Diablo 2 LoD
  • Test created savedata in Diablo 2 Resurrected
  • Test created savedata in Diablo 2 LoD

Links

go-d2editor's People

Contributors

vitalick avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.