Jump to content

suloku

Innovator
  • Posts

    730
  • Joined

  • Last visited

  • Days Won

    21

Posts posted by suloku

  1. Then I wonder why this "seems" to work on emulator but not on real hardware :S

    Not sure if this has any use here, but GB gameshark codetypes come in this format: 0ZYYXXXX

    YY: value

    XXXX: address

    Z: apparently it's the bank? I can't find much documentation about this.

     

    Also, I noticed pkhex doesn't support this kind of event flag. I'll check. BTW I recallviewng patch file from the VC versions being online, it would be interesting to see how they exactly they enable the event in the VC versions. I think it just hooks the endgame function and enables the flag...

  2. On 8/29/2021 at 12:00 PM, DaseR said:

    Hi suloku

    did you find the solution why this works in emulator and not in original cartridge?

    Thanks!! 😄

     

    On 3/22/2021 at 11:32 AM, ajxpk said:

    At this point I wouldn't recommend using GameShark Codes in Pokémon Crystal, because the game switches SRAM banks, the activation flag for the GS Ball event is at loc 0x0000 of bank 5 (loc 0xA000 in the SRAM file). Now the problem is you can't see which bank is currently in memory so when you just write 0x0B at memory loc 0xA000 it could end up in any bank and cause chaos. I removed the content of my old posts...

    ajxpk already answered. Probably on emulator there's not as much bank swapping. If there was a way to know which SRAM bank is currently in use...I don't know if GBC gameshark can have button-enabled codes, but if that was the case a more compicated code could be made so that the value is only written when bank 5 is in use....

    Not sure if this can be tested on emulator, I don't own any gameshark devices for GB/GBC/GBA

  3. Sorry for the necropost, but I think I won't be the only one stumbling into this problem and searching got me to this thread, which doesn't have a clear (user friendly) answer to the issue.

    Problem is that project64 (and probably other n64 emulators) don't round up savefiles to full n64 savetype filesize. In the case of pokémon stadium 2, as Kaphotics stated, project64 creates a 0x1FF00 file (130816 bytes) while PkHex expects a 0x20000 file for (USA/INT) stadium 1 and 2 savefiles  (131072 bytes). One can manually solve this manually with any hex editor or file padder.

    I went ahead and coded a simple app that will pad n64 savegames to the nearest savetype (depending on the input savefile). Originally I only intended to make it pad the stadium savegames, then I saw Japanese Stadium 1 (or stadium 0) uses a different savetype, so I went ahead and made a more general app that can work with any n64 savegames.

    Just drag and drop a savefile onto the .exe file and you will get a file with the "_pad" suffix added to it.

    n64savepad.zip

    • Like 3
  4. Seems my program only dumped "Gym Leader Castle" registered teams. For some reason I did find the correct Pokérus byte and caught data bytes, but didn't update the file structure (neither here or in the main.c file), but pk2 dumps should be correct.

    Thanks @ShadowMario3 for the detailed teams structure. Pkhex now supports all stadium savefiles, including registered teams, but I tested it earlier and seems to have some bugs (I tested registering a celebi, then dumping and the dumped file became japanese somehow).

    I'll post an issue in pkhex's github, for now I've updated the dumper code to dump all registered teams, both in sk2 (direct dump pkhex compatible) and pk2 file format.

     

    EDIT: seems the bug in pkhex was related to importing sk2 files when it couldn't decide if the file was jap or international (OT and Name both being lesd than 5 characters). Seems it is already fixed at github.

    • Like 1
  5. It have been brought to my attention that the gameshark code doesn't work on real hardware, which I find really strange. I do not own a gameshark, is there anyone around here witha  gameshark and hardware to transfer savegames to PC? If someoen is interested I can analize the savegame after the code is used and see what may be failing on real hardware,

    Or if someoen knows why the code works on emulator but not on real hardware... I'm puzzled there. @ajxpk

  6. Since I did stumble upon prop case flags while trying to improve memory link, I decided it wouldn't hurt to code a simple prop case editor since pkHex doesn't seem to have one.

    https://github.com/suloku/BW_tool/releases

    16 march 2021 17:45 (BUILD 2021316_17468)
    * Added Prop case editor for BW and B2W2 (thanks to bulbapedia for listing them in order and hosting the sprites)
    * Fixed crash when changing flags in Memory Link
    * Grotto table images are now embedded (no need for grotto tables folder and files)

     

    • Like 2
  7. A wild update appeared!

    EDIT: I found where props are stored, so I went and added an unlock all button for memory link and props will be imported from BW savegame (if for some reason you wouldn't want every prop...)

    Some fixes I got pointed out, dream radar and memory link should properly work now. I may look into prop case editing since I've noticed pkhex is missing it (or maybe I just couldn't find it). No promises. Unfortunately, medal editing and join avenue are as buggy and incomplete as prior release.

    Quote

    13 march 2021 22:45 (BUILD 2021313_224710)
    * Memory Link:
    Props are now imported from BW savegame
    Added button to unlock all props

    13 march 2021 21:00 (BUILD 20211313_21124)
    * Dream Radar: Fixed item logic. Works propperly now. Amount limit is 255.
    * Memory Link:
    Now fully trainer name/id/sid (also when importing from BW) which fixes prop case event showing the wrong name. (Thanks Black Shark from almost 4 years ago).
    Added starter pokémon editing and importing from BW savefile.
    * Block dumper:
    Added info for what BW blocks are.
    Enabled decrypting for BW block 38
    * Grotto editor: no longer crashes if grotto tables are missing

    https://github.com/suloku/BW_tool/releases

    • Like 2
    • Thanks 1
  8. So I've been researching a little. Fortunately pkhex already has starter editing for bw which made my life easier to locate starter in memory link data.

    About block 38 decrypting code in BW being commented out: if I recall correctly, I copy pasted code fro B2W2, which were the games I was interested in when I coded the functionality (or more like copied from pkhex). To be more precise, I was interested in entralink forest. Since each encrypted block needs some known data to be decrypted (start, lenght, and seed position) and I did not know where those were for BW the code was left commented. I have now enabled it and seems they used the same structure for BW1 and BW2, so it should work now.

    I want to test a little more the memory link feature, I was reported some strange behaviour and want to make sure cheren and bianca team's change when I change the starter pokémon in the edited memory link, afterwards I'll update the app at github.

    BTW, doesn't pkhex have support to edit the info in block 38 anyways?

    Also, keep in mind that I coded this mainly for myself and there are a bunch of "features" coded in for research purposes. Join Avenue and Medal editting would require more research and work. The other editors should work as intended, but don't expect them to be bug free. I'm not a programmer, everything I have coded has been for fun and self interest, whith a mindset of "making it work". The code is hacky, ugly and poorly documented, and I'm sorry for anyone trying to understand it.

    Just use pkhex whenever it's possible. Of course the best route would be to recode everything as pkhex plugins, but I don't have neither the time or skill to do so.

    ps: if for some reason you need to decrypt block 38 right now tell me via pm and I'll send some binaries, but it shouldn't take long for me to update on github

    EDIT: https://github.com/suloku/BW_tool/releases/tag/20211313_21124

    @Jollygator

    • Like 1
    • Thanks 1
  9. I simply did not have any information about which blocks where encrypted or which weren't for BW1 or BW2. The ones I knew were encrypted are hard coded to be able to decript and re-encript.

    If you have a list of which blocks are encrypted for bw (and bw2) that would be helpful.

    I was reported the memory link feature is missing the starter pokémon data and I'm trying to find where it is stored both in memory link and BW1 savegame, so I could uptade to support all known encryped blocks for bw and bw2

    • Like 1
  10. Thank you very much for this contribution. As someone who never got a legit mew or celebi myself back in the day (got traded a most likely glitched/sharked one), it is always a joy to see more of these rare mew getting preserved, and the feeling of getting yet another one (and an european one to say the least!) is still as fresh as with the first one.

    • Like 1
  11. On 7/21/2020 at 8:45 AM, Santoz said:

    Hi I have a question,I have a german pokemon fire red can i still use the english events so i can get the mystic ticket? If yes can this corrupt my save game or the game itself?

    You can use the english events, in fact we have reports from mexico, were the games were sold in english and the event there was held in english, that it could be received in spanish cartridges (the event being still in english). The reason is because mexican people often imported spanish language games from europe.

    We also tested this with a different event rom. Only incompatibility is japanese<->other languages.

  12. On 3/28/2020 at 2:51 AM, Sabresite said:

    This one looks hacked... Nicknamed, 0 catch rate.

    It was on pokémon stadium 2 and gen 2. 0 catch rate due to item used/removed, nicknamed due to a "bug"(?) in stadium 2 (and I think stadium 1, but I have yet to test it) not reading the full name, but stopping at the first 0x50 terminator. When pokemon comes back to the GB cartridge data present alredy in the box/party gets "added" to the remaining characters. This doesn't happen with OT.

    EDIT: also, YaniM told me that the mew had been in stadium 2 and gold before I even asked about it. When trasnfered to gen 2 mew holds a bitter berry. The mew was used and brought up to level 100, being confused at some point is very likely (and thus the item being consumed).

    • Like 3
  13. So coincidental this has been brought back. I already made all those calculations some years ago and also came to the conclusion that the NINTEN mew in the picture did not have the standard DVs.

    Only piece of evidence I have is in this thread at Azure-Heights, the information being in the second post made by MewtwoSama:
    https://www.math.miami.edu/~jam/azure/forum/tuff/ultimatebb.php?ubb=get_topic;f=1;t=000106

    Quote

    Every official Mew I have, have the same max stats. I dont remember the stats exactly.

    Except for the "NINTEN" Mew i have. THat one has some bugs in it. Its max GENES are 20 points off.

    User ryuko2002 (who has recently contributed de Spanish EUROPE and australian NAL mews) was registered there, I asked him to reach MewtwoSama in the hopes he still has the mew/backed up the savegame/calculated the DVs.

    There are other possible explanations:
    - Nintendo Power Magazine actually used gameshark to get the screenshots ( I think it may have been common practice in order to easily get trough the games and get the job done)
    - It was a test mew just for the magazine?
    - The NINTEN mew MetwoSama owned did have the normal stats, but it reached level 100 before being fully EV trained, thus preventing stat updates (read more here: https://www.math.miami.edu/~jam/azure/compendium/boxtrick.htm)

    ryuko2002 has tried in my stead to reach MewtwoSama at AzureHeights, let's cross fingers.

    • Like 5
  14. Just realized I forgot to post the translation of the letter.... here it goes

    Quote

    Pokémon Celebi Tour

    I wish this letter isn't any bother for you.

    My name is Bill. I'm the person in charge of the Pokémon Center's Pokémon Storage System. We already had the chance to meet at ECRUTEAK CITY. I hope you still remember me. I write this letter because I need your help.

    Some days ago, an unknown person sent to my COMPUTER a big amount of Pokémon. After taking a look... I realized it was the legendary Pokémon "CELEBI"!
    They came by dozens. My heart was beating a hundred times per hour, my legs were shaking... I was observing CELEBI when, suddenly, I received an electronic mail which said the following:

    Dear Bill:

    I can't reveal my identity for the time being. I have just sent you my CELEBI that as you might know are legendary Pokémon which existence is doubted by many people. For many reasons I have to find lots of trustworthy Trainers capable of taking care of these CELEBI. I would like to entrust them to you. Could you search for Pokémon Trainers who whish to take care of these CELEBI? I don't know how much time I have left...

    Sincerely,
    Someone who loves Pokémon

    I imagine this person has his reasons. I'm glad to know that CELEBI really exists, but I alone I'm unable of look after so many Pokémon. Also, I can't stop taking care of the Pokémon Storage System. When I read this message, the first person that came to mind was you. I saw the affection you hold for Pokémon when I first met you in the midst of your adventure. During the Pokémon Stadium Tournament, you also showed you pasion for Pokémon, so I'm certain that I can entrust you with these CELEBI.

    I'm sorry for the inconvenience this might case you, but would you be so kind to help me find the Pokémon Trainers that will take care of these CELEBI? There's a total of 20 CELEBI. Please, deliver these 20 CELEBI to your friends for them to look after them. It's not an easy task, but I would eternally be grateful for your help.

    The only way to deliver the CELEBI to your friends is through Pokémon trading. CELEBI is a unique Pokémon. I think a Pokémon as special as this one shouldn't be traded for any pokémon. So I'm attaching a list of the Pokémon it can be traded for. They are the ones following next:

    The number of the Pokémon is to the left and the name, to the right.

    *LIST OF POKEMON*

    I'm thanking you in advance for your help.

    August 2001
    Bill
    Foreman of the Pokémon Storage System

    • Like 3
  15. You can use dolphin emulator if your wii isn't homebrew able to decript bin savefiles.

    Pkhex doesn't support my pokémon ranch? I saw something in the code one or two weeks ago and thought it was supported, but never got to test it.

     

    EDIT: I decripted it for you using dolphin (needs a nand to be created, either by installing a wii OS wad or any wad at all). Gonna try extracting the mons too (time to remember how to use my own program lol)

    EDIT 2: pkhex supports my pokémon ranch, so just drag and drop the savedata.bin file onto it. Be careful though, any pokémon marked as illegal is most likely leftover data in the ranch savefile, as many of them don't have any moves neither original trainer. Just dig trough the pokémon and find yours. Some seem to be hacked pokémon, maybe you used a cheating device or traded a lot?

    EDIT 3: I've looked at the savefile with my program. There are pokémon of 2 different trainers/games in the savefile, alongside hailey's pokémon. I don't know how pkhex handles this. If you drag and drop savedata.bin onto PR-extractor.exe you will get all the .pkm files (they are the same as pk4 files, the pk4 wasn't a standard when I coded the apps). They will be sorted by each of the different trainers they were deposited, and hailey's pokémon will also be named differently (you most likely want to left those out, since those are the pokémon hailey trades you when the conditions are met).

    EDIT 4: on further checking, it seems pkhex shows the pokémon in order: first haile's (your save has 44 of them, only 4 being in a "legal" state), then the pokémon for each trainer are also in order. Use whatever method you prefer.

    savedata.bin

    • Like 1
  16. Well, many people trasfered to gen 2 for dex filling, and batteries from gen 2 carts are long dead. Also, not so many people that have kept playing pokemon over the years were able to attend the events, and even less are interested in adquiring the hardware or sending the cartridge back and forth. Until I started contacting people over the internet there was only a single mew that had been dumped on the internet. Over the years several more have been dumped, but for example Celebi due to the only ones being available are those stored in pokémon stadium 2 is even more elusive, only having those from PCNY (and now we have even more of them, even shiny ones due to the event distribution having been dumped) and a couple from Celebi tour in europe (and having a CTOUR one is a really amazing luck as it is the rarest of them).

    So, not so strange. All gen 1 mew (or almost all) had the same DVs, as that's what nintendo intended for mew and mew machines fixed the DVs, so what makes them unique is OT and ID, but dumping them makes DV confirmation possible.

  17. Thank you very much for the contribution!

    The ones in the daycare seem to be clones form the one in the box 1 with ID 17926. I do have a couple questions:

    1.- Is there any chance the 17926 Mew has been deposited in pokémon stadium 2 at some point?

    2- The mew in the blue cart you mention is a clone of one in the red savegame you uploaded? If it's not, even if it is at level 42, if the ID is different it is still interesting for preservation, as the number of UK mews preserved would ammount to 3.

    Again, thank you very much for the contribution!

  18. 4 hours ago, InsaneNutter said:

    You wouldn't be able to migrate these Mews through Poke Transporter anyway. The only English Mew that can get though is the Virtual Console Mew with the OT "GF".

    Sure you could edit the OT on these Mew's to get them though, however they would just be another hacked Pokemon then.

    Due to the nature of Gen 1 to 7 Mew transfer, there really isn't much that would be changed. I recall ID also being needed, not just OT. GF didn't even prohibit that mew being shiny, in fact the only shiny mew that can exist is a Japanese gen 3 mew, but the GTS has been full of hacked shiny mew...

    We all be glad if you can upload them. On a personal note, I prefer the savegame being uploaded rather than the pk1 file. If you don't mind uploading it, I would appreciate it. In any case any contribution is awesome!

    • Like 2
    • Ditto 1
×
×
  • Create New...