Main Menu
Main Page
Forums
Recent changes
Random page
Help

Databases
GlitchDex
AttackDex
AreaDex
DexDex
ItemDex
MetascriptDex
TMHMDex
TrainerDex
TypeDex
UnownDex
More

Major Glitches
Trainer escape glitch
Old man glitch
Celebi Egg glitch
SRAM glitch
Buffer overflow techniques
Pomeg glitch data corruption (Glitzer Popping)
Tweaking
Pokémon cloning
Select glitches (Japan)
Time Capsule exploit
Arbitrary code execution
More

Other Glitch Categories
Glitches by generation
Japan-only/language specific glitches
Natural glitches
Non-core series glitches
Non-Pokémon glitches
Recurring glitches
More

References
Pokémon GameShark codes
Pokémon Game Genie codes
Disassembly projects
The Big HEX List
GB programming
Curiosities
Debugging features
Error traps
Non-glitch exploits
Pokémon glitch terminology
Unused content and prerelease information
More

Useful Tools
8F Helper
GBz80 to Items
Old man trick name generator
PATH (Prama's Advanced Tweaking Heaven)
Save file editors
Special stat/Pokémon converter
Trainer escape Trainer Pokémon finder

Affiliates
Legendary Star Blob 2 (Hakuda)
Pokémon Speedruns wiki
PRAMA Initiative
Become an affiliate!

Technical
Site Source Code

Search Wiki

 

Search Forums

 

Author Topic: I don't know much about coding, but is it possible to remove the error handler?  (Read 639 times)

0 Members and 1 Guest are viewing this topic.

0ErrorYT

  • GCLF Member
  • *
  • Offline Offline
  • Gender: Male
  • Dri REDGREENMOM MOM, are you ready?
    • View Profile
The error handler in Pokemon black shuts down glitch Pokemon and maps (and moves possibly, can't find a move modifier) Before any glitches can happen. Would it be possible to remove it? I'm sorry if it's a stupid question, I was just curious
Well ????? is a pokemon that can only be accesed by hacking the game
genrally with gameshark but the game shark code for it works in this way:
it tells the  game to make a certain pokemon appear what that pokemon is depends on the two pokemon digits in the code fore example bulabsuar code could be 4R (it isnt really) but if you put in a number for a pokemon that doesnt exist... the game wotn know what to make appear there for cusing its name sprite antacks etc to be nothing to do with real pokemon! :) :) :) hope u understood tis lol!!!
i¥snj) !j¥)j9, yc!88), q9 i¥i, ¥si ’bc@nsm mx8da8un¥, ¥xj q9 8s)9 ux8g)jqy ns )n’j. q¥@j a!jq ’bc@ 8’’, ¥si npq !¥uu9. i!j¥)j91212t)n#j.c8q
i¥s !j¥)j9
103 j xjiinsm ya
qnii)ja8ds, ij 1k70k
bsnaji ya¥ajy
yjsi g¥i yab’’ a8 a!ny. napy y8 yabuni n !¥#j a8 cx9ua a!ny
Dec

ISSOtm

  • The French Lord of Laziness (and a huge The Legend Of Zelda fan)
  • Staff
  • *****
  • Offline Offline
  • Gender: Male
  • Pewter City (B)rocks !
    • View Profile
    • My Little Website
If you do a ROM hack, sure.
"THOU SHALL NOT PASS !!"  RIVAL's effect, Gandalf.

Proudly glitching Pokémon Red and Yellow on a Black & White GB, Pocket GB, GB Color, GBA SP and new 3DS.

My Twitter (beware, I'm French)
My YouTube (same warning)

Here is an online tool to build 8F setups : GBz80 to Items !

They see me layzin', they ha-tin'...
Heavy contributor of the global augmentation of entropy (my room's is too damn high !)

0ErrorYT

  • GCLF Member
  • *
  • Offline Offline
  • Gender: Male
  • Dri REDGREENMOM MOM, are you ready?
    • View Profile
Would that be difficult, or easy
Well ????? is a pokemon that can only be accesed by hacking the game
genrally with gameshark but the game shark code for it works in this way:
it tells the  game to make a certain pokemon appear what that pokemon is depends on the two pokemon digits in the code fore example bulabsuar code could be 4R (it isnt really) but if you put in a number for a pokemon that doesnt exist... the game wotn know what to make appear there for cusing its name sprite antacks etc to be nothing to do with real pokemon! :) :) :) hope u understood tis lol!!!
i¥snj) !j¥)j9, yc!88), q9 i¥i, ¥si ’bc@nsm mx8da8un¥, ¥xj q9 8s)9 ux8g)jqy ns )n’j. q¥@j a!jq ’bc@ 8’’, ¥si npq !¥uu9. i!j¥)j91212t)n#j.c8q
i¥s !j¥)j9
103 j xjiinsm ya
qnii)ja8ds, ij 1k70k
bsnaji ya¥ajy
yjsi g¥i yab’’ a8 a!ny. napy y8 yabuni n !¥#j a8 cx9ua a!ny
Dec

ISSOtm

  • The French Lord of Laziness (and a huge The Legend Of Zelda fan)
  • Staff
  • *****
  • Offline Offline
  • Gender: Male
  • Pewter City (B)rocks !
    • View Profile
    • My Little Website
Can't tell.
"THOU SHALL NOT PASS !!"  RIVAL's effect, Gandalf.

Proudly glitching Pokémon Red and Yellow on a Black & White GB, Pocket GB, GB Color, GBA SP and new 3DS.

My Twitter (beware, I'm French)
My YouTube (same warning)

Here is an online tool to build 8F setups : GBz80 to Items !

They see me layzin', they ha-tin'...
Heavy contributor of the global augmentation of entropy (my room's is too damn high !)

0ErrorYT

  • GCLF Member
  • *
  • Offline Offline
  • Gender: Male
  • Dri REDGREENMOM MOM, are you ready?
    • View Profile
Would there be a way to search for the function somehow or just whatever calls it, and overwrite that? I have a hunch that what's calling it is null derefs, but I'm probably wrong
« Last Edit: April 26, 2018, 08:14:48 pm by 0ErrorYT »
Well ????? is a pokemon that can only be accesed by hacking the game
genrally with gameshark but the game shark code for it works in this way:
it tells the  game to make a certain pokemon appear what that pokemon is depends on the two pokemon digits in the code fore example bulabsuar code could be 4R (it isnt really) but if you put in a number for a pokemon that doesnt exist... the game wotn know what to make appear there for cusing its name sprite antacks etc to be nothing to do with real pokemon! :) :) :) hope u understood tis lol!!!
i¥snj) !j¥)j9, yc!88), q9 i¥i, ¥si ’bc@nsm mx8da8un¥, ¥xj q9 8s)9 ux8g)jqy ns )n’j. q¥@j a!jq ’bc@ 8’’, ¥si npq !¥uu9. i!j¥)j91212t)n#j.c8q
i¥s !j¥)j9
103 j xjiinsm ya
qnii)ja8ds, ij 1k70k
bsnaji ya¥ajy
yjsi g¥i yab’’ a8 a!ny. napy y8 yabuni n !¥#j a8 cx9ua a!ny
Dec

ISSOtm

  • The French Lord of Laziness (and a huge The Legend Of Zelda fan)
  • Staff
  • *****
  • Offline Offline
  • Gender: Male
  • Pewter City (B)rocks !
    • View Profile
    • My Little Website
Overwriting isn't that simple - a NULL deref means the game is crashing either way, and removing the error handler isn't going to change anything.
"THOU SHALL NOT PASS !!"  RIVAL's effect, Gandalf.

Proudly glitching Pokémon Red and Yellow on a Black & White GB, Pocket GB, GB Color, GBA SP and new 3DS.

My Twitter (beware, I'm French)
My YouTube (same warning)

Here is an online tool to build 8F setups : GBz80 to Items !

They see me layzin', they ha-tin'...
Heavy contributor of the global augmentation of entropy (my room's is too damn high !)

0ErrorYT

  • GCLF Member
  • *
  • Offline Offline
  • Gender: Male
  • Dri REDGREENMOM MOM, are you ready?
    • View Profile
Looking into it more, hex:0000 works just fine. I'm thinking it's just a code that triggers the error handler whenever a Pokemon's index number is higher then the last valid Pokemon, and not null derefs
Well ????? is a pokemon that can only be accesed by hacking the game
genrally with gameshark but the game shark code for it works in this way:
it tells the  game to make a certain pokemon appear what that pokemon is depends on the two pokemon digits in the code fore example bulabsuar code could be 4R (it isnt really) but if you put in a number for a pokemon that doesnt exist... the game wotn know what to make appear there for cusing its name sprite antacks etc to be nothing to do with real pokemon! :) :) :) hope u understood tis lol!!!
i¥snj) !j¥)j9, yc!88), q9 i¥i, ¥si ’bc@nsm mx8da8un¥, ¥xj q9 8s)9 ux8g)jqy ns )n’j. q¥@j a!jq ’bc@ 8’’, ¥si npq !¥uu9. i!j¥)j91212t)n#j.c8q
i¥s !j¥)j9
103 j xjiinsm ya
qnii)ja8ds, ij 1k70k
bsnaji ya¥ajy
yjsi g¥i yab’’ a8 a!ny. napy y8 yabuni n !¥#j a8 cx9ua a!ny
Dec

Parzival

  • Buyer beware: House comes with 3 free skeletons in a closet of your choice.
  • GCLF Member
  • *
  • Offline Offline
  • Gender: Male
  • This box intentionally left blank. ...wait...
    • View Profile
    • (null)
Just removing the function would cause them as well. You'd have to replace it with something.
Ask me about betrayal.
Ask me about depression.
Ask me about death.
Ask me about destruction.
Ask me about hardship.
I've been through s**t.
If you need to talk to someone, my PM inbox is always open.

ALERT: THE CRA TO TAKE BACK NET NEUTRALITY IS CURRENTLY IN CONGRESS!!! CLICK THE BANNER BELOW TO JOIN THE FIGHT!

0ErrorYT

  • GCLF Member
  • *
  • Offline Offline
  • Gender: Male
  • Dri REDGREENMOM MOM, are you ready?
    • View Profile
Could it be possible to replace it with the DS equivalent of a ret (sorry if this sounds dumb) or something like that? Or find what accesses it whenever it's activated (is there a ds emulator that has breakpoints?)
Well ????? is a pokemon that can only be accesed by hacking the game
genrally with gameshark but the game shark code for it works in this way:
it tells the  game to make a certain pokemon appear what that pokemon is depends on the two pokemon digits in the code fore example bulabsuar code could be 4R (it isnt really) but if you put in a number for a pokemon that doesnt exist... the game wotn know what to make appear there for cusing its name sprite antacks etc to be nothing to do with real pokemon! :) :) :) hope u understood tis lol!!!
i¥snj) !j¥)j9, yc!88), q9 i¥i, ¥si ’bc@nsm mx8da8un¥, ¥xj q9 8s)9 ux8g)jqy ns )n’j. q¥@j a!jq ’bc@ 8’’, ¥si npq !¥uu9. i!j¥)j91212t)n#j.c8q
i¥s !j¥)j9
103 j xjiinsm ya
qnii)ja8ds, ij 1k70k
bsnaji ya¥ajy
yjsi g¥i yab’’ a8 a!ny. napy y8 yabuni n !¥#j a8 cx9ua a!ny
Dec

Evie Torchic the Glitch Scientist

  • Administrator
  • *****
  • Offline Offline
  • Gender: Female
  • Thank you for this lovely artwork Nyapon!
    • View Profile
Could it be possible to replace it with the DS equivalent of a ret (sorry if this sounds dumb) or something like that? Or find what accesses it whenever it's activated (is there a ds emulator that has breakpoints?)

Likely yes.

There is a special version of No$GBA with a debugger. It supports GBA but apparently you can debug Nintendo DS games with it too. So that probably supports breakpoints.

I don't know how one would go about finding the routine and patching it out though, sorry.
« Last Edit: May 10, 2018, 06:13:28 am by Torchickens »
Hi!

I'm Evie.

I'm a transgender person, but any pronouns are fine. She/her preferred.

Unfortunately due to legal concerns I won't be using emulators and unauthorised copies of ROMs anymore, just real hardware with official cartridges and a cheating device (Xploder) to aid research, sorry.

Online I most often use the username Torchickens or Chickasaurus.

Ah.. koucha ga oishii ♪





Thanks Aeriixion for the cute sprite above! :) Roelof also made different variations of the sprite (which I animated).




Contact:
If you like, please contact me by private message here on the forums as I no longer check other places very often.

YouTube: http://www.youtube.com/user/ChickasaurusGL

I like to collect interesting video games. ^_^
https://www.vgcollect.com/Torchickens

Faith (which doesn't have to be religious) and a positive attitude/optimism is half the battle for well-being.

Fun times come and go, we may argue what is the point if nothing in this world is permanent; and all energy is believed to be subject to transformation. I guess in the temporary absence of it though, we value those times more and even though some things seem to be lost, they return in other forms.

0ErrorYT

  • GCLF Member
  • *
  • Offline Offline
  • Gender: Male
  • Dri REDGREENMOM MOM, are you ready?
    • View Profile
It would work amazing, but there is 1 problem. I open pokemon black with no$gba debugger, and i get a message on the screen "The save data can't be accessed." I looked it up and you need a code to fix it. I entered the code, and it didn't work.
Well ????? is a pokemon that can only be accesed by hacking the game
genrally with gameshark but the game shark code for it works in this way:
it tells the  game to make a certain pokemon appear what that pokemon is depends on the two pokemon digits in the code fore example bulabsuar code could be 4R (it isnt really) but if you put in a number for a pokemon that doesnt exist... the game wotn know what to make appear there for cusing its name sprite antacks etc to be nothing to do with real pokemon! :) :) :) hope u understood tis lol!!!
i¥snj) !j¥)j9, yc!88), q9 i¥i, ¥si ’bc@nsm mx8da8un¥, ¥xj q9 8s)9 ux8g)jqy ns )n’j. q¥@j a!jq ’bc@ 8’’, ¥si npq !¥uu9. i!j¥)j91212t)n#j.c8q
i¥s !j¥)j9
103 j xjiinsm ya
qnii)ja8ds, ij 1k70k
bsnaji ya¥ajy
yjsi g¥i yab’’ a8 a!ny. napy y8 yabuni n !¥#j a8 cx9ua a!ny
Dec

ISSOtm

  • The French Lord of Laziness (and a huge The Legend Of Zelda fan)
  • Staff
  • *****
  • Offline Offline
  • Gender: Male
  • Pewter City (B)rocks !
    • View Profile
    • My Little Website
It's an emulation problem. The game has a different way of accessing the cartridge port, which triggers anti-piracy.
"THOU SHALL NOT PASS !!"  RIVAL's effect, Gandalf.

Proudly glitching Pokémon Red and Yellow on a Black & White GB, Pocket GB, GB Color, GBA SP and new 3DS.

My Twitter (beware, I'm French)
My YouTube (same warning)

Here is an online tool to build 8F setups : GBz80 to Items !

They see me layzin', they ha-tin'...
Heavy contributor of the global augmentation of entropy (my room's is too damn high !)