Comments (4)
Gen 4 stores two save files; I don't think having a const offset would work as intended. Gotta detect which save file is active based on the incremental Counters in the footer to get the actual offset! If you write to the wrong save file, you won't see the changes made in-game.
Also, be careful to not set a flag with a value higher than the bitflag array length. Eon Ticket (2048) is 0x800, which would overflow to the lowest bit of Card 1's ID. Wouldn't be a noticeable problem, but if users have a hacked card with an invalid ID it'd toggle a bit beyond the intended range :)
from pksm.
Good to know!! Thanks so much, you're really awesome
from pksm.
Made a few modifications basing upon PKHeX source. Does general block and storage block have to be calculated every time I do an operation, or only at save loading? I'm currently calculating it only at save loading and passing these values to every function that needs them, but still no modifications appear in game
from pksm.
EDIT: Modifications made on Pearl worked, PKHeX recognizes them. It did not work for HG, but since it worked on Pearl, and the algorhitm is the same, I presume it's only a corrupted save of mine. Will leave this open until more testes are done
from pksm.
Related Issues (20)
- Bug Report - App Freezing HOT 1
- Bug Report - Changes are not getting saved (Pokemon Crystal Legacy)
- Bug Report - Brief Description/Name of issue
- How to restore specific bank backups
- Pls items HOT 2
- Bug Report - Exception occurs when moving box HOT 1
- Bug Report - Save files are accidentally saved while using the touchscreen
- Feature Request - Ability to read save files from VC Injected GBA Games like FR/LG HOT 3
- Bug Report - Ultra Sun 3DS crashing when searching the bag for an item to swap/add HOT 1
- Pksm freezes in sd card check
- Bug Report - Gen 3, changing to second ability.
- PKSM Vivilon forms; "your Pokémon can't be auto-legalized"
- Bug Report - Brief Description/Name of issue
- error report...pksm does not open and only gives me a startup error HOT 1
- Bug Report - Save Backup not Injecting into New Gen3 VC Inject Install
- Solgaleo origin bug
- Bug Report - Brief Description/Name of issue HOT 3
- Bug Report - Geolocation and encounter data being mangled during transfers (gen 6) HOT 1
- PKSM failed installation - Error 0xC8A04573
- Bug Report - PKSM Dump Error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pksm.