Main Menu
Main Page
Forums
New pages
Recent changes
Random page
Help

Glitches
Arbitrary code execution
Pokémon cloning
Pomeg glitch and Glitzer Popping
Tweaking and voiding
Glitches by generation
Glitch categories

References/Resources
Databases
Disassembly projects
The Big HEX List
Pokémon cheat codes
Pokémon glitch terminology
Useful tools
More

Affiliates
Legendary Star Blob 2 (Hakuda) (日本語/Japanese)
Pokémon Speedruns wiki (English)
PRAMA Initiative (Français/French)
MissingNo. Glitch City (Italiano/Italian)
Become an affiliate!

Technical
Site source code

Search Wiki

 

Search Forums

 

Author Topic: Pokemon ROM Hacks - WTW On Demand  (Read 162 times)

0 Members and 1 Guest are viewing this topic.

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)
Pokemon ROM Hacks - WTW On Demand
« on: August 16, 2019, 01:56:45 pm »
Finally figured out why my attempts to add WTW on demand to Yellow weren't working and fixed it, so here it is:

Walk Through Walls On Demand!

Hold SELECT to enable WTW. Simple as that.

These shouldn't change anything data-wise (so no glitch Pokemon/items should behave differently) but timing-wise things may have changed, so these may be incompatible with other hacks that hijack VBlank.
Included are IPS patches for Red, Blue, and Yellow, all US versions (for now :D ). These should ONLY be applied to "known-good" ROMs (eventually i'll make some utility or something to apply multiple VBlank hacks to one ROM with timing measurements and such automatically taken into account, but that's probably quite a ways away) so make sure you check DAT-o-Matic and match your ROMs to the listed "good" dumps before applying.

(Patches are attached to the post, if you're still looking for them...)

If anyone has any info on any international equivalent of the RAM address used (CD38), i'll see if I can make a similar patch for said language. Also, request patch ideas if you have them, maybe I can pull them off (a better RAM Corruption On Demand set is in the works at the moment, so it may be a bit.)
« Last Edit: August 16, 2019, 01:57:16 pm by Parzival »
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.

Sherkel

  • Ringsome on the aquaface
  • Administrator
  • *****
  • Offline Offline
  • Gender: Male
    • View Profile
Re: Pokemon ROM Hacks - WTW On Demand
« Reply #1 on: August 17, 2019, 04:41:11 pm »
Nifty! I'm not sure what I would use this for yet, but it seems like it took quite a bit of problem solving.

Sticking to quality control and moderation until I sort some IRL matters out. I check in here almost daily and will answer questions, but not all of them.
I don't have a habit of keeping Discord open, so direct inquiries are preferred through here.

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)
Re: Pokemon ROM Hacks - WTW On Demand
« Reply #2 on: August 17, 2019, 08:32:08 pm »
Nifty! I'm not sure what I would use this for yet, but it seems like it took quite a bit of problem solving.
Especially in Yellow, yeah. Slotting code between RST vectors in ~8 byte chunks is a bit of a pain...
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.

Princess Torchic Owl Lover ☽ ❤

  • Head Administrator
  • *****
  • Offline Offline
  • Gender: Female
  • Aspiring mother. 🦋 ✿
    • View Profile
Re: Pokemon ROM Hacks - WTW On Demand
« Reply #3 on: August 18, 2019, 12:27:40 am »
Nice hack! ^^ Useful if you can't use cheats.

✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿
Here have some free flowers on every post ^^
✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿



(Images © Sanrio, Nintendo, Pokémon, HAL Laboratory)

✿ Hi, I'm Evie. Sex male, and spiritually doesn't believe 'male'/'female' needs to be defined; lives more stereotypically like a woman. Call me whichever pronouns you like. :)

Feel free to contact me here about anything regarding the site.

Forgiveness. I feel that the more people pray to our greatest source/God/mathematical equality for world peace, the more and more it manifests into reality (until our next spiritual death).

Thank you Nyapon for this lovely artwork. :3

Princess Torchic Owl Lover ☽ ❤

  • Head Administrator
  • *****
  • Offline Offline
  • Gender: Female
  • Aspiring mother. 🦋 ✿
    • View Profile
Re: Pokemon ROM Hacks - WTW On Demand
« Reply #4 on: August 18, 2019, 07:57:23 am »
If anyone has any info on any international equivalent of the RAM address used (CD38), i'll see if I can make a similar patch for said language. Also, request patch ideas if you have them, maybe I can pull them off (a better RAM Corruption On Demand set is in the works at the moment, so it may be a bit.)

In addition to CD38 (as 'non-00 is wtw' address) being the same regardless of Red/Green/Blue/Yellow, it is the same internationally (JP, EN, FR, DE, IT, ES).
« Last Edit: August 18, 2019, 07:58:49 am by Princess Torchic Owl Lover ☽ ❤ »

✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿
Here have some free flowers on every post ^^
✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿



(Images © Sanrio, Nintendo, Pokémon, HAL Laboratory)

✿ Hi, I'm Evie. Sex male, and spiritually doesn't believe 'male'/'female' needs to be defined; lives more stereotypically like a woman. Call me whichever pronouns you like. :)

Feel free to contact me here about anything regarding the site.

Forgiveness. I feel that the more people pray to our greatest source/God/mathematical equality for world peace, the more and more it manifests into reality (until our next spiritual death).

Thank you Nyapon for this lovely artwork. :3

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)
Re: Pokemon ROM Hacks - WTW On Demand
« Reply #5 on: August 18, 2019, 03:05:13 pm »
If anyone has any info on any international equivalent of the RAM address used (CD38), i'll see if I can make a similar patch for said language. Also, request patch ideas if you have them, maybe I can pull them off (a better RAM Corruption On Demand set is in the works at the moment, so it may be a bit.)

In addition to CD38 (as 'non-00 is wtw' address) being the same regardless of Red/Green/Blue/Yellow, it is the same internationally (JP, EN, FR, DE, IT, ES).
Sweet, i'll churn some out for those soon.
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.

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)
Re: Pokemon ROM Hacks - WTW On Demand
« Reply #6 on: August 20, 2019, 09:19:34 am »
The Japanese ROMs are quite a bit different from the rest, but these are the main points as relevant to what i'm doing:
1. There's no free space AT ALL in Bank 0 except between RST vectors (lovely)
2. RST 38 junps to F080 or some such??? Why?????
3. All other versions have their VBlank handler at around 2024 or somewhere in the 1000-1FFF range. Japanese versions have it in the 0A00-0B00 range.
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.

metalmario32

  • The ENG Pokémon Nerd
  • GCLF Member
  • *
  • Offline Offline
  • Gender: Male
  • RST 38? What's that? ... Oh.
    • View Profile
Re: Pokemon ROM Hacks - WTW On Demand
« Reply #7 on: Yesterday at 05:02:40 pm »
Confused as to how you would go about doing something like this.
I've been a fan of Pokémon since my first game. That was Platinum, though. Ever since then, I've played every single generation of Pokémon at least once and got into glitching them when I got RBY. Oh boy, the fun times that I had as a kid... I <3 GLITCH CITY LABORATORIES for bringing back my childhood!

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)
Re: Pokemon ROM Hacks - WTW On Demand
« Reply #8 on: Today at 12:19:49 am »
Confused as to how you would go about doing something like this.
Step 1: Write routine. (Check if SELECT isn't held (using game's registers, not hard registers.) If SELECT isn't held, check if CD38 is FD. If not, do nothing. If FD, write 00 to CD38. If SELECT is held, write FD to CD38. In all cases, don't RET, JP to 0043. This'll make sense later.)

Step 2: Find enough empty space in ROM Bank 0 to hold routine and paste it in (0000 to 3FFF range, usually at the end of the bank, to the tune of 3FBA or so. Japanese R/G/B and all Yellow ROMs require you JR over RST vectors at the beginning of the ROM, running bits of code in between... ugh.)

Step 3: Replace JP instruction at 0040 with a JP to new routine, then immediately after your pointer, insert the old JP command.

Step 4: Test by attempting boot. If you see normal things on screen, your code didn't immediately f**k everything up.

Step 5: Get in game, hold SELECT, and try to WTW. On SELECT down (give or take a frame or SIX) walls should be no obstacle, and after SELECT is let up, after another frame or 6, walls should be impenetrable again.

Step 6: Repeat for, like, 20 more ROMs.
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.

metalmario32

  • The ENG Pokémon Nerd
  • GCLF Member
  • *
  • Offline Offline
  • Gender: Male
  • RST 38? What's that? ... Oh.
    • View Profile
Re: Pokemon ROM Hacks - WTW On Demand
« Reply #9 on: Today at 07:06:40 am »
Ah. This'll be useful for hacks that I plan to do in the future.
I've been a fan of Pokémon since my first game. That was Platinum, though. Ever since then, I've played every single generation of Pokémon at least once and got into glitching them when I got RBY. Oh boy, the fun times that I had as a kid... I <3 GLITCH CITY LABORATORIES for bringing back my childhood!