Git Product home page Git Product logo

Comments (2)

kwsch avatar kwsch commented on August 28, 2024

1: The 'received' flag for the wonder card. It's so that the game can prevent you from receiving the same card after you've discarded it. There's 0x100 bytes (8*256 bitflags).

2: Block checksum. Save files have integrity checks to check for corrupted data.

https://projectpokemon.org/wiki/Pok%C3%A9mon_ORAS_Save_File_Structure
https://github.com/gocario/PHBank/blob/a956ab39060148c8dafdb1f472c96632b22dcc65/source/save_manager.cpp#L1255-L1367

Basically you need to calculate the ccitt-16 checksum over the block (0x1CC00-0x1E690 for ORAS) and update the block checksum at the end of the file.

from pksm.

BernardoGiordano avatar BernardoGiordano commented on August 28, 2024

hello! Thank you for the answer, this will save me lots of time. -----------If i understand well, i have to modify the rewriteSaveCHK function to have a blockcount of 2 and a csoff of 483170, to update the block checksum at the eof or those values are fixed? If this is correct, the same procedure can be made with the 0x1CC00-0x1E690 block-------: bullshits

Edit #2: i managed to obatin 'checksum are valid' on PKHeX

I have to see how to manage the received wondercard flag now

from pksm.

Related Issues (20)

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.