flagbrew / pksm-core Goto Github PK
View Code? Open in Web Editor NEWThe core save editing code for PKSM (https://github.com/FlagBrew/PKSM)
License: GNU General Public License v3.0
The core save editing code for PKSM (https://github.com/FlagBrew/PKSM)
License: GNU General Public License v3.0
On backwards transfers, it currently looks like names composed of characters that are impossible to represent in that generation will be completely blank. This should be verified, and if it is the case, should be changed. Low priority, as it shouldn't break anything
In the formats for generations 3-6, markings are stored as single-bitflags as a u8
.
In generation 7 and above, markings are stored as bit-pairs as a u16
, with 0/1/2 being valid values (off, blue, pink).
When converting from PK6->PK7, the marking value must be adjusted instead of copied. By copying the bits directly, you can end up with invalid marking values (such as 3), which can cause misbehavior in future games.
Logic in question -- scroll to bottom line:
Lines 906 to 923 in 44c2127
Potential fix would be exposing a bit field in the PKM structs, with gen3-6 being u8 MarkN:1
* 6, and gen7+ being u16 MarkN:2
* 6. Then you can just property copy as 1->1.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.