GithubHelp home page GithubHelp logo

aberc / pkgender Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 0.0 31 KB

Python script to change gender and name (+other trainer data) in gen IV games

License: GNU General Public License v3.0

Python 100.00%
editor pokemon python python3 save-editor savegame-editor

pkgender's Introduction

PkGender.py

A Python script to change trainer data (name, gender, etc.) in gen IV Pokémon games (Diamond, Pearl, Platinum, HeartGold, SoulSilver).

  • USE AT YOUR OWN RISK!

  • Note: NO$GBA prepends .sav files with a header, making them a slightly different format. Please convert to regular .sav files before using this tool.

Setup

  • To use the provided binaries, unzip the archive and run the executable normally according to usage instructions.

  • To run this script using the Python interpreter, Python 3.6+ is required.

    • It is recommended to run this script inside a conda environment with the fastcrc module installed (through pip).

    • You could also install fastcrc through your system pip (pip3 on Linux).

Usage

  • Linux (from a terminal prompt)

    ./PkGender [--name NAME] [--gender] [--verify-only] [--help] [--debug] [--version] savefile
    
  • Windows (from a powershell or cmd prompt)

    NOTE: This may or may not work since it was compiled in a weird way (i.e., using wine instead of a Windows system). On my tests, it did work, though, so it should be ok. :)

    .\PkGender [--name NAME] [--gender] [--verify-only] [--help] [--debug] [--version] savefile
    
  • Python interpreter (see Setup for dependencies)

    python PkGender.py [--name NAME] [--gender] [--verify-only] [--help] [--debug] [--version] savefile
    
  • Positional arguments:

    Argument Description
    savefile Path to save file
  • Optional arguments:

    Argument Description
    -h, --help Show the help message and exit
    --name NAME Change trainer's name to NAME (limit of 7 characters)
    --gender Swap trainer's gender
    --verify-only, --dry-run Do not edit save file (only verify checksum)
    -d, --debug Enable debug messages
    -v, --version Print version information

Planned features

  • Support for additional symbols in trainer name

  • Support to change trainer id, secret id, money, badges, country of origin / language

  • Support for additional generations of Pokémon games

  • Visual interface

pkgender's People

Contributors

aberc avatar

Stargazers

 avatar  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.