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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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