Djinn Posted August 17, 2011 Posted August 17, 2011 I've been playing my pokemon white rom on an emulator for a while now and have had no problem with pokegen. I recently got a r4 card and started a new game. However when I tried to load this file into pokegen to I keep getting a message saying "Invalid Save File". I double checked and it is definitely a .sav file which pokegen says it can read. I would appreciate any help. Thanks
Codr Posted August 17, 2011 Posted August 17, 2011 You claim this as a bug, yet you're not even providing the save file for verification of that claim? I don't know what you expect me to do.
Djinn Posted August 17, 2011 Author Posted August 17, 2011 Sorry I forgot to add the save file Pokemon White(Exp.sav
Codr Posted August 17, 2011 Posted August 17, 2011 This save file has data written in a place that (I think) is supposed to be filled out with 0 or 0xFF. Why it got that way, I don't know, but all this random hardware seems to love doing things differently. I can remove the check for that region of data for the next version, as I don't think it's really necessary anyway. For now, filling offsets 996 through 1023 with 0 or 0xFF will allow it to work. If this changes something in-game related to your PC boxes, let me know.
Djinn Posted August 17, 2011 Author Posted August 17, 2011 For now, filling offsets 996 through 1023 with 0 or 0xFF will allow it to work. If this changes something in-game related to your PC boxes, let me know. I'm not sure how to do this. (I'm not great with computers ')
Kaphotics Posted August 17, 2011 Posted August 17, 2011 HxD or Hex Workshop. Make sure your save file is of the 512 KB type.
Djinn Posted August 17, 2011 Author Posted August 17, 2011 I have tried changing the offsets using HxD and it's still giving me a "Invalid save file".
Codr Posted August 17, 2011 Posted August 17, 2011 I have tried changing the offsets using HxD and it's still giving me a "Invalid save file". Then no, you didn't.
Djinn Posted August 17, 2011 Author Posted August 17, 2011 I've tried it several times but It still won't work. Maybe I'm doing something wrong? Idk here is a video of what I did [video=youtube;tjd0RRSanmk]http://www.youtube.com/watch?v=tjd0RRSanmk
Codr Posted August 17, 2011 Posted August 17, 2011 That program lists offsets only in hexadecimal. What I posted was not hexadecimal.
Djinn Posted August 18, 2011 Author Posted August 18, 2011 Sorry I'm a complete noob at things like this. If I may ask what offsets did you fix it with?
Kaphotics Posted August 18, 2011 Posted August 18, 2011 decimal -> hex offset conversion 996 through 1023 == 3E4 through 3FF
Djinn Posted August 18, 2011 Author Posted August 18, 2011 I must be doing something wrong. I've tried it in both decimal and hex but it's not working. Here's the save file if anyone knows what I'm doing wrong. Pokemon White(Exp.sav
Codr Posted August 18, 2011 Posted August 18, 2011 The file also has invalid checksums, apparently. There's an option in PokeGen to ignore them. I'd really like to know why this file is so mangled.
Djinn Posted August 18, 2011 Author Posted August 18, 2011 It has be the r4 that I'm using because I had no problems with the emulator save file. Edit: Oh and it works now thanks Codr and Kaphotics
Djinn Posted August 18, 2011 Author Posted August 18, 2011 Actually there is a problem. While pokegen works now I am unable to move pokemon in game from the pc to my party. I'm going to try and remove pokemon that you could only normally get after the national pokedex and see if that works Edit: It was the pokemon that caused the error. So as long as you don't put pokemon that you couldn't have gotten at that point the boxes run normally
Codr Posted August 27, 2011 Posted August 27, 2011 A change was made to beta 27 to alleviate some of the problem with the save file issue described here. Whether or not this was the right change, I don't know. (I think the hardware was at fault here, not PokeGen.)
Djinn Posted August 30, 2011 Author Posted August 30, 2011 I definitely agree that the Flash cart caused all of the errors as I've tested several other emulators and flash carts. All which functioned normally with PokeGen. Also during the testing it became apparent that no other file wrote in that group of offsets that were previously mentioned. As for the pc boxes error that I mentioned; that was corrected when the game was beaten and the national pokedex was unlocked. So once again thanks to Codr and Kaphotics!
Andibad Posted September 2, 2011 Posted September 2, 2011 yeah i have same problem too, but i was solve that if i convert them using a save converter it will load fine on pokegen. it will no read if size 513 KB, but fine on 512 KB ... (but i not sure about this is a main problem) that problem in new beta of pokegen, but on old beta is no problem for load my save data from R4 (is without convert or load on emulator).
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now