Skip to main content

A command-line tool to help modding-as-code for game Diablo II: Resurrected.

Project description

larzuk

A command-line tool to help modding-as-code for game Diablo II: Resurrected.

How to Use

  1. Install this command-line tool via pip:

    $ pip install larzuk
    
  2. Write migration scripts in a directory (e.g. migrations):

    # Relative path of .txt file you want to modify.
    target = 'global/excel/armor.txt'
    
    # Entry function of migration
    def migrate(txt_file):
        for row in txt_file:
            row['minac'] = row['maxac']
    
  3. Run larzuk command to do migrations:

    $ larzuk up --target-dir /path/to/d2r/data
    
  4. Check file armor.txt in data directory, values in column minac equal to maxac.

Example

Check https://github.com/he-yaowen/Lablo

License

Copyright (C) 2023 HE Yaowen he.yaowen@hotmail.com

The GNU General Public License (GPL) version 3, see LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

larzuk-1.2.0.tar.gz (15.5 kB view details)

Uploaded Source

Built Distribution

larzuk-1.2.0-py3-none-any.whl (17.4 kB view details)

Uploaded Python 3

File details

Details for the file larzuk-1.2.0.tar.gz.

File metadata

  • Download URL: larzuk-1.2.0.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.1 CPython/3.11.2 Darwin/22.3.0

File hashes

Hashes for larzuk-1.2.0.tar.gz
Algorithm Hash digest
SHA256 e38a53c2dbf2a8da4f2f08a116f8028ca7bc373958a00835c4af1cfde55d76b5
MD5 1aba13e9cc5dd05d66ffd112258a9d7b
BLAKE2b-256 a6bf6b99d0fb83e1abf21a8d29b9853665d66a02eca8c96452cb32455eba9bb5

See more details on using hashes here.

File details

Details for the file larzuk-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: larzuk-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 17.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.1 CPython/3.11.2 Darwin/22.3.0

File hashes

Hashes for larzuk-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b81b885672cd0746214a530480d302e654ab7c9a9e8edcee05c35d5b21de9622
MD5 7068eece3b2b828737d0dc032351b639
BLAKE2b-256 3b4381f48c18c247eec18c1d9f96831e26a09d4f6192e9a3511c0aa760c8cb19

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page