Giter VIP home page Giter VIP logo

pkhex.everywhere's Introduction

PKHeX Everywhere

This repository offers 2 different ways of accessing PKHex features in any operating system: a web-based version and a terminal-based version compiled to all major operating systems (macOS, Linux and Windows).

PKHeX.Web

The PKHeX Web version provides a user-friendly interface accessible via any web browser. This version supports plug-ins and includes built-in auto legality mode for ensuring the legality of Pokémon data.

Access:

Visit pkhex-web.github.io to start using the web interface.

PKHeX.CLI

The PKHeX Command Line Interface (CLI) version allows users to interact with PKHeX via the terminal. It provides a streamlined way to use PKHeX features directly from the command line.

Installation Methods:

  1. Curl Script:
    curl -sL https://raw.githubusercontent.com/arleypadua/PKHeX.Everywhere/main/install.sh | sudo bash
  2. Homebrew:
    brew tap arleypadua/homebrew-pkhex-cli
    brew install pkhex-cli
  3. For more information, refer to the documentation at ./src/PKHeX.CLI.

pkhex.everywhere's People

Contributors

arleypadua avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

pocketappz

pkhex.everywhere's Issues

Corrupted file

Hi,

I used pkhex github to edit my pokemons EVs on pokemon Eternal X romhack and when I reopened it it says the file is corrupted. not sure what to do please help

[Feature] Ability to modify .pk files

Would be nice to have the ability to modify single pokemons instead of whole save files. Not having a modded switch I can't extract my save file, but I can trade pokemon to bots which gave me .pk files

Install script can't fetch the latest release

When following the shell installation steps from the README, I get the following error (there was no root prompt because I was already authed as root)

curl -sL https://raw.githubusercontent.com/arleypadua/PKHeX.CLI/main/install.sh | sudo bash

Error: Could not fetch the latest release URL. Please check your GitHub repository and artifact name.

Error on PKHeX.Web: Arg_KeyNotFoundWithKey, -1

Error on PKHeX.Web

  • Id: 3617a49c-b817-4ac0-8a40-02b3efe776be
  • Game version: Red
  • Generation: Gen1

Type

KeyNotFoundException

Message

Arg_KeyNotFoundWithKey, -1

Stack trace

   at System.Collections.Generic.Dictionary`2[[System.Int32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[PKHeX.Facade.Repositories.AbilityDefinition, PKHeX.Facade, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].get_Item(Int32 )
   at PKHeX.Facade.Repositories.AbilityRepository.Get(Int32 id)
   at PKHeX.Facade.Pokemons.Pokemon.get_Ability()
   at PKHeX.Web.Components.Pokemons.PokemonDescription.<BuildRenderTree>b__0_10(RenderTreeBuilder __builder3)
   at Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder.AddContent(Int32 , RenderFragment )
   at AntDesign.Descriptions.BuildRenderTree(RenderTreeBuilder __builder)
   at PKHeX.Web.Components.ResponsibleDescriptions.BuildRenderTree(RenderTreeBuilder __builder)
   at Microsoft.AspNetCore.Components.ComponentBase.<.ctor>b__6_0(RenderTreeBuilder builder)
   at Microsoft.AspNetCore.Components.Rendering.ComponentState.RenderIntoBatch(RenderBatchBuilder , RenderFragment , Exception& )

Error on PKHeX.Web: JSON serialization is attempting to deserialize an unexpected byte array.

Error on PKHeX.Web

  • Id: 67737901-691e-4a0e-9dad-00075cd75a17
  • Game version: Brilliant Diamond
  • Generation: Gen8b

Type

JsonException

Message

JSON serialization is attempting to deserialize an unexpected byte array.

Stack trace

   at Microsoft.JSInterop.Infrastructure.ByteArrayJsonConverter.Read(Utf8JsonReader& , Type , JsonSerializerOptions )
   at System.Text.Json.Serialization.JsonConverter`1[[System.Byte[], System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].TryRead(Utf8JsonReader& , Type , JsonSerializerOptions , ReadStack& , Byte[]& , Boolean& )
   at System.Text.Json.Serialization.JsonConverter`1[[System.Byte[], System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].ReadCore(Utf8JsonReader& , JsonSerializerOptions , ReadStack& )
   at System.Text.Json.Serialization.Metadata.JsonTypeInfo`1[[System.Byte[], System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].Deserialize(Utf8JsonReader& , ReadStack& )
   at System.Text.Json.JsonSerializer.ReadFromSpan[Byte[]](ReadOnlySpan`1 , JsonTypeInfo`1 , Nullable`1 )
   at System.Text.Json.JsonSerializer.ReadFromSpan[Byte[]](ReadOnlySpan`1 , JsonTypeInfo`1 )
   at System.Text.Json.JsonSerializer.Deserialize[Byte[]](String , JsonSerializerOptions )
   at Microsoft.JSInterop.JSInProcessRuntime.Invoke[Byte[]](String , Int64 , Object[] )
   at Microsoft.JSInterop.JSInProcessRuntime.Invoke[Byte[]](String , Object[] )
   at PKHeX.Web.Services.JsService.Md5Hash(Byte[] toArray)
   at PKHeX.Web.Services.BlazorMd5Provider.HashData(ReadOnlySpan`1 source, Span`1 destination)
   at PKHeX.Core.SAV8BS.SetChecksums()
   at PKHeX.Core.SaveFile.GetFinalData()
   at PKHeX.Core.SAV8BS.GetFinalData()
   at PKHeX.Core.SaveFile.Write(BinaryExportSetting setting)
   at PKHeX.Facade.Game.ToByteArray()
   at PKHeX.Web.Services.GameService.Export()
   at PKHeX.Web.Components.LoadGameComponent.ExportSaveAsync()
   at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)
   at AntDesign.Button.HandleOnClick(MouseEventArgs args)
   at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)
   at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task , ComponentState )

Cannot save brilliant diamond save file

Install script will fail for Steam Deck Users

I couldn't get the install script to find the latest binary so I went to follow the manually install it by looking over the install script to replicate what I could with the manually downloaded binary.

I'm using a Steam Deck and SteamOS uses a read only file system, making it impossible to move the binary to /usr/local/bin

As far as I know, even when you enable developer mode, the root file system will be reset with every major update to SteamOS. Only files in the user space, and probably a couple others I'm not aware of, are preserved.

To get around all this and get it working

  1. Manually download the latest release and extract the bin
  2. Move the bin to ~/.local/bin
  3. Updated the PATH variable in ~/.bashrc
PATH="$PATH:$HOME/.local/bin"

I don't want to assert my workaround is the best way to deal with a read only file system.

For future users, possibly a "best practice manual installation" for read only file systems would be nice to have more readily available

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.