The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Other Emerald Bag MAJOR problem

Notices
For all updates, view the main page.

Binary ROM Hacking Need a helping hand or just want to talk about binary ROM hacks? Get comments and answers to any ROM Hacking-related problems, questions or thoughts you have here.

Ad Content
Reply
 
Thread Tools
  #1   Link to this post, but load the entire thread.  
Old November 8th, 2015 (6:22 PM). Edited November 8th, 2015 by Cataclyptic.
Cataclyptic's Avatar
Cataclyptic Cataclyptic is offline
Everything I say is a lie
 
Join Date: Apr 2015
Location: United States of America
Gender: Male
Nature: Quiet
Posts: 101
I have just encountered an extremely bad glitch in my hack. When you access the Bag's items while in battle mode, the game for some reason RESETS.

Above all else, this makes catching pokemon a problem. Please, how do I fix this!?

EDIT: This only works with the female bag. The male bag is fine. I'm going to try some experimenting, but please, help if you can.
EDIT2: The female bag sprite is corrupted. However, when I went to unlZGBA to fix this and tried to import the normal sprite, it told me said sprite was too large and thus it could not be imported for some stupid reason. Then, when I told it to import it anyway, it corrupted a couple of proceeding sprites. I can't fix those either, or even go to them.
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old November 8th, 2015 (6:58 PM).
BrandoSheriff's Avatar
BrandoSheriff BrandoSheriff is offline
Has a tendency to figure things out
 
Join Date: Jul 2007
Location: On an island with Hakaze
Age: 28
Gender: Male
Nature: Quirky
Posts: 753
I really hope you have a backup. You shouldn't have told it to import anyway, as since the original image was larger (larger in data, not in sprite size) than the sprite you replaced it with, it overwrote the data for some of the next sprites which corrupts them as well. Was this how the female bag got corrupted, by any chance? If so, there's a quick fix.

Since you can access the Female bag sprite without searching for offsets in NSE 2.X, I'd recommend using that over unLZ, as unLZ can be pretty tricky to work with sometimes. Instead of replacing the corrupt sprite and risking corrupting later sprites, replace and repoint your new bag sprite to free space, which NSE can do for you.

Hope this helps!
__________________
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old November 8th, 2015 (7:12 PM). Edited November 8th, 2015 by Cataclyptic.
Cataclyptic's Avatar
Cataclyptic Cataclyptic is offline
Everything I say is a lie
 
Join Date: Apr 2015
Location: United States of America
Gender: Male
Nature: Quiet
Posts: 101
Quote:
Originally Posted by Darkrai Lv.1000 View Post
I really hope you have a backup. You shouldn't have told it to import anyway, as since the original image was larger (larger in data, not in sprite size) than the sprite you replaced it with, it overwrote the data for some of the next sprites which corrupts them as well. Was this how the female bag got corrupted, by any chance? If so, there's a quick fix.

Since you can access the Female bag sprite without searching for offsets in NSE 2.X, I'd recommend using that over unLZ, as unLZ can be pretty tricky to work with sometimes. Instead of replacing the corrupt sprite and risking corrupting later sprites, replace and repoint your new bag sprite to free space, which NSE can do for you.

Hope this helps!
I do have a couple backups. What you are suggesting is what I have been trying to do for a copy using UNLZ, but as you said it can't do it. Now, I am not familiar with NSE, how can you search sprites and repoint them in that program? So far, I have only access to overworld sprites for person events.

EDIT: Scratch that, I was using the old version. Okay, I have used NSE to insert the normal female bag image into the game (it shows up on the hex editor). Now, where are bag pointers normally located, so that I can repoint them? I can't seem to find that...
Reply With Quote
  #4   Link to this post, but load the entire thread.  
Old November 8th, 2015 (7:39 PM).
BrandoSheriff's Avatar
BrandoSheriff BrandoSheriff is offline
Has a tendency to figure things out
 
Join Date: Jul 2007
Location: On an island with Hakaze
Age: 28
Gender: Male
Nature: Quirky
Posts: 753
You're probably using the other NSE with just overworlds, I'm referring to the newer version, 2.X: http://www.pokecommunity.com/showthread.php?t=253701

Simply open your rom, hit navigate, and you'll find the female bag spritesheet in the BPEE dropdown to the right. Open the sprite, import your bag sprite twice using "Import sprite data" and "import color table". Both times, it will let you repoint the data. Just hit OK, since NSE safely repoints data for you.

Good luck!
__________________
Reply With Quote
  #5   Link to this post, but load the entire thread.  
Old November 8th, 2015 (7:53 PM).
Cataclyptic's Avatar
Cataclyptic Cataclyptic is offline
Everything I say is a lie
 
Join Date: Apr 2015
Location: United States of America
Gender: Male
Nature: Quiet
Posts: 101
Quote:
Originally Posted by Darkrai Lv.1000 View Post
You're probably using the other NSE with just overworlds, I'm referring to the newer version, 2.X: http://www.pokecommunity.com/showthread.php?t=253701

Simply open your rom, hit navigate, and you'll find the female bag spritesheet in the BPEE dropdown to the right. Open the sprite, import your bag sprite twice using "Import sprite data" and "import color table". Both times, it will let you repoint the data. Just hit OK, since NSE safely repoints data for you.

Good luck!
Yeah, I saw that. Forgot that I had a newer version of NSE in the resesses of my files. I'll look into that tomorrow, thank you for your help!
Reply With Quote
  #6   Link to this post, but load the entire thread.  
Old November 10th, 2015 (1:08 PM).
Cataclyptic's Avatar
Cataclyptic Cataclyptic is offline
Everything I say is a lie
 
Join Date: Apr 2015
Location: United States of America
Gender: Male
Nature: Quiet
Posts: 101
Quote:
Originally Posted by Darkrai Lv.1000 View Post
You're probably using the other NSE with just overworlds, I'm referring to the newer version, 2.X: http://www.pokecommunity.com/showthread.php?t=253701

Simply open your rom, hit navigate, and you'll find the female bag spritesheet in the BPEE dropdown to the right. Open the sprite, import your bag sprite twice using "Import sprite data" and "import color table". Both times, it will let you repoint the data. Just hit OK, since NSE safely repoints data for you.

Good luck!
Okay, what you said appears to have worked. I can't find any problems with the hack now. Thank you very much!
Reply With Quote
  #7   Link to this post, but load the entire thread.  
Old November 11th, 2015 (6:59 AM).
BrandoSheriff's Avatar
BrandoSheriff BrandoSheriff is offline
Has a tendency to figure things out
 
Join Date: Jul 2007
Location: On an island with Hakaze
Age: 28
Gender: Male
Nature: Quirky
Posts: 753
No problem dude. Good luck on finishing your hack!
__________________
Reply With Quote
  #8   Link to this post, but load the entire thread.  
Old December 9th, 2015 (4:41 PM). Edited December 9th, 2015 by Cataclyptic.
Cataclyptic's Avatar
Cataclyptic Cataclyptic is offline
Everything I say is a lie
 
Join Date: Apr 2015
Location: United States of America
Gender: Male
Nature: Quiet
Posts: 101
Quote:
Originally Posted by Darkrai Lv.1000 View Post
No problem dude. Good luck on finishing your hack!
I was wondering if you could help me again... it didn't work. The only reason I thought it worked was because I did it to the wrong backup.

The real backup now shows black screens every time either player character tries to access the bag. Additionally, when I try to import sprite data (or palatte data), it asks me to load a sprite or palette. When I do, as I have backups of both bag sprites, and then select to to save the image + palette, nothing happens. Nor does anything happen when I try to put them in seperately.

Additionally, the palette of both bag sprites has been corrupted, if that helps anything. Clicking on Navigate for this backup results in the correct sprite but inverted colors. I have tried to fix this with test backups by inserting the correct palette at D9A560, where it should be. However it says that "32 bytes are too big for this offset, aborting" and then it stops. When I force it to do it anyway, it appears to change the palette to its right colors again. Still doesn't make the bag work, though.

Please help if you can... or anyone for that matter, this debilitating glitch has officially ruined the entire hack.
Reply With Quote
Reply

Quick Reply

Join the conversation!

Create an account to post a reply in this thread, participate in other discussions, and more!

Create a PokéCommunity Account
Ad Content

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 9:10 AM.