isleep2late Posted November 8, 2016 Posted November 8, 2016 I didn't want to necro this thread but what I found might be useful information to anyone who plays on Battle Subway. Just so you know I've only tested this on Pokemon White 2, but this should in theory work on all other Gen 5 versions (note MeroMero's different narc locations for BW vs BW2). If you follow that thread (and read the replies too), you will see that, for Black 2 and White 2, you have to use a Hex Editor on a\1\0\6 (in this case). In this case, I am using HxD so this next sentence will make sense if you're also using it: After changing all the sequences laid out in that thread, I changed the second "B0 0E" to "00 00". This can be found in Offset (h) row 000000B0 columns 0C and 0D. After you change those 2 Hex values, recompile using PPRE beta 0.14 and try playing in Battle Subway You will notice that Soul Dew is no longer banned and you can use the same pokemon multiple times, holding the same items, and you can even play with 4, 5 or even all 6 of the pokemon on your team. As far as I know, this removes every single restriction on Battle Subway, so you will not only be able to play with banned pokemon, but you can essentially... go all out with whatever haha. Hope this helps!
RedFordWhite Posted April 24, 2020 Posted April 24, 2020 Hi I know it's been four years but I've only recently started script editing. This works perfectly, however the banlist edit (including your suggestion) does not work for the Pokemon World Tournament (PWT) when I try to use Soul Dew Latios. I want to know if there's a workaround like the one you suggested. In the battle subway I can use anything so it really bothers me I couldn't remove all restrictions for PWT. Thanks!
isleep2late Posted May 27, 2020 Author Posted May 27, 2020 On 4/24/2020 at 12:48 PM, RedFordWhite said: Hi I know it's been four years but I've only recently started script editing. This works perfectly, however the banlist edit (including your suggestion) does not work for the Pokemon World Tournament (PWT) when I try to use Soul Dew Latios. I want to know if there's a workaround like the one you suggested. In the battle subway I can use anything so it really bothers me I couldn't remove all restrictions for PWT. Thanks! @RedFordWhite Hey! Sorry for taking a while to get back to you, but I was able to solve your conundrum just now if you're still interested! If you go back to the original thread: You'll see that MeroMero mentioned the files within a/1/0/6 for PWT (files 33, 34, 35, and 36). Now, these files are referring to actual .bin files that you get from decompressing the actual narc file (the file with no extension named "6"). This can be done with a program called "Tinke" which you can get from the release section of their github (click on "Assets" all the way at the bottom of version 0.9.0). Open your game, go to the root directory and find a/1/0/6 (If you're on Black 2/White 2), click on the file and I think you click on "Unpack" which gives you a bunch of .bin files. Find bins 33-36, open them with the "Hexadecimal" button in Tinke and replace with 0's *almost* everything. I kept the first sequence of numbers in each of these files but pretty much everything from "C0 ....." onwards I replaced with 0's until the absolute very end of each file (make sure not to add any additional digits. Don't add any length to the files). My guess is that the Soul Dew and all the other junk is "hidden" amidst the 01's and 02's (just like it is in the Gen 6 games) which uniquely come after the species banning script MeroMero found. And since I'm too lazy to sift through what all of them mean it's just a lot easier to zero all of that out for your purposes Let me know if this method works for you! I just tested it and it appears it does exactly what you want. And if you Hex-edit the original 6 file within the Tinke program, you should be able to change the B0 0E I talked about and the other unbannings in Battle Subway (and hopefully Battle Institute as well?) will still work.
Natsu2777 Posted September 6, 2020 Posted September 6, 2020 Can you make a video about it? Or just posted the file here? I also want to do it, but I'm just so blank that I didn't understand anything what are you saying ._. 1
MasterKirby1982 Posted December 22, 2021 Posted December 22, 2021 (edited) On 5/27/2020 at 2:43 AM, isleep2late said: @RedFordWhite Hey! Sorry for taking a while to get back to you, but I was able to solve your conundrum just now if you're still interested! If you go back to the original thread: You'll see that MeroMero mentioned the files within a/1/0/6 for PWT (files 33, 34, 35, and 36). Now, these files are referring to actual .bin files that you get from decompressing the actual narc file (the file with no extension named "6"). This can be done with a program called "Tinke" which you can get from the release section of their github (click on "Assets" all the way at the bottom of version 0.9.0). Open your game, go to the root directory and find a/1/0/6 (If you're on Black 2/White 2), click on the file and I think you click on "Unpack" which gives you a bunch of .bin files. Find bins 33-36, open them with the "Hexadecimal" button in Tinke and replace with 0's *almost* everything. I kept the first sequence of numbers in each of these files but pretty much everything from "C0 ....." onwards I replaced with 0's until the absolute very end of each file (make sure not to add any additional digits. Don't add any length to the files). My guess is that the Soul Dew and all the other junk is "hidden" amidst the 01's and 02's (just like it is in the Gen 6 games) which uniquely come after the species banning script MeroMero found. And since I'm too lazy to sift through what all of them mean it's just a lot easier to zero all of that out for your purposes Let me know if this method works for you! I just tested it and it appears it does exactly what you want. And if you Hex-edit the original 6 file within the Tinke program, you should be able to change the B0 0E I talked about and the other unbannings in Battle Subway (and hopefully Battle Institute as well?) will still work. It Doesn't work for me... I put almost zeros in the file 33, 34, 35 & 36 in my Black 2 Like this one: File 33 Default Bytes Edited with *almost* Zeros Bytes File 34 Default Bytes Edited with *almost* Zeros Bytes File 35 Default Bytes Edited with *almost* Zeros Bytes File 36 Default Bytes Edited with *almost* Zeros Bytes Then save my ROM this way, and I went to PWT and what happened is NOTHING WORKED. I see my Legendary Pokémon as: Mew, Mewtwo, Celebi, Ho-Oh, Lugia, Rayquaza, Jirachi, Groudon, Kyogre, among others, and it turns out that they continue with the "BANNED" word. Also the steps of MeroMero are so strict that I can't even understand, like: Formula to find whether a Pokémon is banned or not is P=(8×B)+b with: P (Pokémon) being a number between 0 and 649 included; B being the Byte number, counting from 0; b being the bit number from a given Byte, from 0 to 7 included read from right to left. And also I found another method as you discovered the B0 0E for the Battle Subway (for Single Only), this time it is for the Battle Subway double, Multi and all PWT modes. Battle Subway: Double - Turn this bytes to "00 00" to unban everthing. Battle Subway: Multi - Turn this bytes to "00 00" to unban everthing. PWT: Single - Turn this bytes to "00 00" to unban everthing. PWT: Double - Turn this bytes to "00 00" to unban everthing. PWT: Triple - Turn this bytes to "00 00" to unban everthing. PWT: Rotation - Turn this bytes to "00 00" to unban everthing. I know that I discovered that and the PWT has just progressed me that my Legendary Pokémon are already UNBANNED right now. BUT when selecting your team, I already know of whatever method you want as your Pokémon go, the game for some mysterious reason freezes and is left on the BLACK screen. Moment that loads the PWT game from the quarterfinals, but for no reason does the game to stay THIS WAY. I only hope I have responded and notified you since your comment has passed 1 year... Edited December 23, 2021 by Ricardo Ramirez
isleep2late Posted 1 hour ago Author Posted 1 hour ago Hey @MasterKirby1982 sorry it took me ages but I finally cracked both halves of this - the PWT freeze AND the clauses - and it is tested working now. Those a/1/0/6 files (20-22 Subway, 33-36 PWT, plus the Battle Institute set) are not just a banlist. Each is a fixed 188-byte regulation STRUCTURE. I decoded the whole thing: - 0x02, 0x03 = party size, i.e. how many you bring (3 single / 4 double / 6 triple). This is the LEGAL LIMIT. Leave it alone - if you raise it you can pick too many Pokemon and the game crashes on team confirm. That is the "submitting more than 3 freezes the game" bug; the old edits were bumping this. - 0x04 = 0x32, the Lv50 cap - 0x05 = facility id (02 Institute, 03 Subway, 04 PWT) - 0x08 = the SPECIES clause (00 = enforced, 01 = duplicates allowed) - 0x09 = the ITEM clause (00 = enforced, 01 = duplicates allowed) - 0x1C to 0x77 = the species banlist bits (MeroMero's C0 / 0E / C0 07 / 98 7E / D8 03) - 0xBA = the per-mode / cup index: 0/1/2/3 for PWT single/double/triple/rotation (0/1/4 for Subway) Two separate things were tangled together: The freeze. The old "zero everything from C0 to the end" wipes 0xBA along with the bans. 0xBA is how the PWT bracket loader knows which tournament this regulation is for - zero it and it loads a broken/duplicate regulation and black-screens exactly where you saw it. Keep 0xBA and the freeze is gone. The Subway never froze because the Subway edits never touched 0xBA. The clauses. They are NOT in the banlist and NOT at 0x78 / 0xB5 / 0xB8 (I tried all of those and the "Some Pokemon are holding identical items" message kept firing). They are the two adjacent flags 0x08 (species) and 0x09 (item). Set both to 01 to drop "no duplicate Pokemon" and "no duplicate items." The game itself ships the link/wifi regulations with these at 01, so it is a known-good value. So the clean recipe, per banning file (Subway 20-22, Institute 10-14, PWT 33-36, every mode): - zero the banlist bitfield, 0x1C through 0x77 - set 0x08 = 01 (species clause off) - set 0x09 = 01 (item clause off) - LEAVE 0xBA alone (cup index - stops the PWT freeze) - LEAVE 0x02 and 0x03 alone (party size - keeps the 3/4 limit so it does NOT crash on team confirm) Same file length, no bytes added or removed. Legends unbanned + both clauses off, on all the offline facilities at once, with the party limit and tournament structure intact - no freeze, no crash. This is confirmed working in-game (Black 2 and White 2): banned legends register in Subway and PWT, you can run duplicate Pokemon and duplicate items, the team caps at the legal size, and PWT loads its bracket instead of black-screening. Thanks for documenting your freeze in such detail. I created a patch you can use on a clean black/white 2 in my Github repository. -IS2L
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