Jump to content

suloku

Innovator
  • Posts

    741
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by suloku

  1. I've compared the Eon ticket + Emerald aurora ticket before and after savefiles. It seems nintendo re-saved at pokemon center before eon ticket injection. It seems like their protocol to inject the events tells them to go to the nearest pokemon center, get to that certain spot and save, then inject the WC. In any case, differente before-after the card is given is exactly the same we are doing with an artificial injection (script+ wondercard, script+item). That means that, for the legit events collected, injecting the wc/eon ticket has the same output as nintendo. It would be really awesome if we could get all legit events (specially eon ticket scripts) trough nintendo italy! Has anyone contacted nintendo america? Maybe someone could get Mystic ticket this way. ps: jap support for wondercard/wondernews fully working now EDIT: I had hope the text in italian eon ticket script would be the same as in the debug rom, but nope (https://projectpokemon.org/forums/showthread.php?46883-GEN-3-Mystery-Gift-Research&p=209331&viewfull=1#post209331)
  2. Great! You don't have a backup before the trade then? Anyways, the sectionr regarding wondercard data should be untouched even if you made a trade (I guess). BTW, I noticed pkhex already had gen 3 language functions, both for international and japanesse encoding, so I've switched to its functions and I have jap support for wondercard editing with no effort
  3. Thank you very much!, but you can't link the rom here. Posting the CRC32 should be more than enough if you want people to use the same rom (here it is CRC32: 16974506) Btw, won't you happen to have a save dump of the cartridge right before you sent it to nintendo? I didn't realize it would have been very interesting to see what exactly nintendo did to the save by comparing a before and after savegame. Probably it's just the WC data being inserted but still...
  4. That's awesome news!!! Edit: please make sure you make a dump before even running the games if possible, so we get the saves just as nintendo left them.
  5. Pikachu's friendship on japanesse yellow: 0x2712 Pikasav's structure: - Species index - OT - Nickname - Full pokemon structure (party or pc size). A single pokemon list seems a great way to do it, but maybe export/import support could be added?
  6. Berry glitch: Game starts at 1 january (year 0) When clock reaches 1 january (year 1) it will always report the day as 1 january (year 1) thus game thinks its always 1 januaru (year 1). When clock reaches 1 january (year 2) it starts correctly working again. Berry fix tweaks in-game data to be at least at 1 january (year 2) afaik. eDIT: bulbapedia is more accurate, basically it's because the RTC starts at year 2000 and the game starts at year 2001, so the game adds 0 years to the number of days passed for both 2000 and 2001 RTC reported values. What the berry patch does (actually does it via uploading a program to gba): "If the Berry glitch has not yet begun, these programs will set the RTC forward by 366 days, which prevents the effects of the glitch. If the game is already affected by the Berry glitch, these programs will set the RTC forward to January 2, 2002, the date at which all effects of the glitch end. If the cartridge battery is replaced and a new game is started, the fix will need to be applied again." Here's a program to modify the RTC at will on real carts (useful for battery replacement): http://furlocks-forest.net/wiki/?page=Pokemon_Ruby%2FSapphire_New_Battery_Glitch On emulators, this glitch can only happen if you start the game with the emulator (computer) clock set to a day in the year 2000. I guess if you start the game in the year 2001 it won't happen at all.
  7. Thank you! For what I've seen there should be a flag to allow storing in the save file, that might be it.
  8. I guess there's exdata involved in time determination? I never noticed, but I haven't played gen 6 recently, only for events. I have a digital and carteidge copy of ruby, that might work to see diferences for the same day passing in the same save file.
  9. Also, I wanted to ask about these maps. I used the FRLG map and the checksum calculation was non-valid and the save was erased. Are you sure these are correct?
  10. That was quick! Almost all data has been found. Daycare offset is missing too I think For pikachu's friendship offset, it should be easy to figure out exploiting the friendship bug, were using a potion on pikachu will increase its friendship by 1 even if its health is full. Also, what's the pk1 format structure? I'm asking mostly because even though this is a gen 1 save editor, people might want to import pk1 files into a gen 2 save and I wonder if you mirrorred pikasav's pkm file structure. Also, I suggest using jpk1 for japanesse pkm files.
  11. E-card trainer editor is fully done, seems to work well. Aparently you can't make trainer pokemon shiny (I used a-save's pid generation tool to test, male/female pid worked). Everything can be edited. The only detail is that the Pokemon and moves words from the easy chat system apparently don't follow the same logic as all the other categories, so those words are basically broken right now. Which tool did you use to decompress the raw files? EDIT: ok, nedcenc is the tool Could you explain the merge process a little more? Getting raw into savs is really interesting. Also, the regi dolls present probably has the ROM code somewhere in it, meaning it can probably be easily modified for other regions... but for what I've seen what it does is send a script to RS, then it gets executed in the mnistery event screen and kills itself when it's done doing its job. Also, I've looked a little into it and the trainer structure is easily found in the decompressed vpk from a trainer card (using Team Fail's tool to extract it). The only difference is that it doesn't have the checksum in the vpk file (I guess it's because the vpk itself has a checksum for its data?). With Team Fail's tool making a save with a custom trainer is really easy (still needs hex editing though). I may add a export as decompressed vpk button by using an already decompressed vpk file as "template" to make the process easier. May including a decompressed vpk file in the program infringe copyright? Also, for the one asking about conversion to dotcodes: in caithsith page you can read the following: - Nintendo E-Reader dotcode bin maker - A tool to make a set of Nintendo E-Reader dotcode bin files, given a vpk file. Source code is included - VBA 1.7.2 e-reader: this VBA can load either bin or raw files. When loading bin files you will be prompted to save it as a raw dotcode. EDIT: for bin<-> raw conversion there's nedcenc.exe As you can see raw dotcodes can already be generated, the process is not as difficult. With a couple batch files it's a matter of drag and drop (compress vpk -> convert to bin -> load in vba to save as raw)
  12. If there is open source dotcode->bin source code, why not. Berries are far more complicated than trainers, so a full berry editor will take time.
  13. This is great, lots of thanks SciresM! I think the problem is more related to OT/NICKNAME having only 5 chars + terminator and the japanesse games having different amount of pokemon in each box (and different amount of boxes) than locating the offsets.
  14. That's really interesting. I still don't know how to create the scripts... but well, I'm only interested in modifying event scripts to re-create them if necessary, and making a give item, give egg and give pokemon scripts for wondercard usage (configurable in the editor). Morfeo's regi dolls script might be interesting too, since the decorations are stored elswere, but it's probably just the command used in-game to give decorations. Btw, I've went and added a decoration inventory editor to my tool since a-save didn't have one: http://puu.sh/oF3Bo/93e0c088c1.png Current status of editor: http://puu.sh/oF3CV/15c8fb860b.png There's an option to fix checksums and another one to enable mistery gift/event flags (for the lazy people). I'm gonna work on the .ect (e-Card Trainers) editor. It seems the berry one (.ecb for e-Card Berries) will need further investigation, trainer card is all documented so easy to code. EDIT: ect editor is progressing fine: http://puu.sh/oFk84/c2cd0ac038.png Implementing the easy chat system words was a pain.
  15. Blackshark: ok, I guess the easiest is to find a script in the rom that is at least 0x1000 and inject it there, then extract after using pskv. Maybe it's because I don't know japanesse. In emerald (jap) there are two menu options. Does FRLG jap only have a single option that behaves differently depending on wireless adapter being plugged in? I see the same background as for wondercards while in RS and E mistery event has a black background.
  16. But aren't there battle e-cards for Fire Red and Leaf Green? That would require mistery event, not mistery gift: http://bulbapedia.bulbagarden.net/wiki/Pok%C3%A9mon_Battle_e_FireRed_%26_LeafGreen
  17. Blackshark, are those saves for e-reader? You manually mixed both raw codes into a single vpk for the e-reader? That's great! Also, any word about how to view/edit/decompile/recompile scripts? That was the problem... I feel stupid. I think I've used eon ticket with ereader as P1 though. Transfering a regi doll adds a single byte to section 3 0x807. It is probably the decoration inventory, which seems to start at 0x804 and might be 52 bytes long. Gonna do a couple tests. Time to add a checksum fixing button to the tool. Also, thanks for the saves, I'll try locating the flag. Should be near mistery gift. But the flag I'm missing is mistery event (link cable), not mistery gift (wifi).
  18. Last screen was supposed to be this: http://puu.sh/oEJqA/a3312fef80.png I messed up with the links. I didn't think about the bootmode, that might be it! I can't upload the save because it doesn't seem to be stored as a save in the e-reader, or I don't know how to make it save to e-reader. I think it wasn't meant to be stored there. BTW, I've noticed that trainer name in JAP is 5 characters + null terminator (0xFF), while USA/EUR are 7 characters + null terminator. That makes 0x08 in section 0 always 0x00 for japanesse saves and 0xFF for USA/EUR saves. Basically, I can autodetect the save region which is nice. I've also added a function that enables the mistery gift and mistery event flags in the save for convenience... I'm missing the FRLG JAP mistery event flag though, I don't know it's offset and bit. EDIT: also, enabling the flag in a non-jap emerald does not make the mistery event option appear.
  19. I seem to be stuck with the regi dolls promotional card. I've tried using this emulator: https://projectpokemon.org/forums/showthread.php?42433-RELEASE-VBA-LINK-E-READER E-reader raw code reading works. Cable linking works. But I don't seem to be able to transfer anything to japanesse ruby. Here are some screenshots, if someone knows japanesse or can describe how to transfer the dolls: Message after scanning the card: http://puu.sh/oEJpA/44e54bb529.png After pressing A once: http://puu.sh/oEJq8/a857314ec3.png After pressing A again: http://puu.sh/oEJqA/a3312fef80.png I thought at the last screen I could connect trough mistery event (japanesse rom and save) to get the doll, but nothing happens. BTW, I think I should go step by step, since trainer seems to be easier than berry. I'd also like to auto-detect japanesse saves...but this might be difficult.
  20. I've found the file with the USA e-reader saves + the 4 japanese ones: http://filetrip.net/gba-downloads/game-saves/download-gba-e-reader-cards-for-pokemon-ruby-sapphire-1-0-f30353.html Also, from the looks of it, it seems the japanese e-cards dotcodes are dumped, I just can't find any file trough google: https://projectpokemon.org/forums/showthread.php?42433-RELEASE-VBA-LINK-E-READER Maybe the dolls and berry cards are there too. EDIT: there's a link here with the jap e-cards! https://projectpokemon.org/forums/showthread.php?46216-GEN-3-e-Reader-Event-Injection&p=205898&viewfull=1#post205898 They are all battle cards for the looks of it. No signs of berry cards or regi dolls cards. Was something else other than trainer e-cards released for the japanesse emerald/FRLG? EDIT 2: Google search "no-intro gba e-cards" led me to a file "Nintendo - Game Boy Advance (e-Cards).zip" with a compilation of all dumped e-cards, usa and jap. It holds the raw files for "08-O001" promotional card, which corresponds to the doll gift. Japanesse berries are probably also there too. Gonna see if I can scan them trough emulator, I'm not sure how that works (I guess the scan dotcode function to load the raw file is all that's needed).
  21. @HaxAras thank you very much for the saves! I've been thinking and I remembered that when a e-card is read, a program is stored in the e-reader, then you use that program to transfer the mistery event to the savefile. So, it would be far more interesting to have the saves from the e-reader that have scanned the cards (if you are willing to share them), as that would allows to use vba-link (or my boy in android) to actually enable the event. I've checked my files and I have a file with a collection of e-reader saves from the USA e-reader cards, including 48 numbered battle-e trainer cards + 6 more trainers , 6 berries (chilan, drash, eggant, nutpea, pumpkin and strib) and a lot of cards that I think had minigames for the e-reader (aquapolis, expedition and skyridge cards). It also has 4 japanesse trainer saves. I don't know if japanesse saves for e-reader are available (probably, but I can't find them); it would be very interesting to have the saves for at least the dolls and japanesse berries. EDIT: here are the USA e-reader saves, I don't know were the file I have with 4 japanese cards came from: http://ereader.kiczek.com/ The point is it seems the dolls don't have any script, the card just puts them in the inventory. Morfeo probably made a giveitem script that would check if the dolls were owned as a way to give them only a single time.
  22. Thank you vey much for the information! Is the berry also directly added to inventory? It would be helpful to have a save dumped right before receiving the dolls/berry and one just after using mistery event. By comparing the before and after we could make sure about how these events modified the save file. I already confirmed that all the us eon ticket e-reader does is put in data for the script and item, nothing else is changed in the savefile.
  23. I've been adding mistery event features. It's all done. I've also added a button to enable Eon ticket on emerald (the very same taka's tool does, it also works with eur files since offsets are the same). I've been wondering what's the best way to decompile and recompile scripts. I've though of changing the first script in the rom for the one I want to edit, then use pksvui, but is there a tool that allows to decompile/recompile the script without the rom? @BlackShark why did you post this? E 0x854 - 0xC93 Mystery Event Script E 0xC94 - 0xC9B Record Mixing Item On my emerald save there's data between 0x854 and 0x8A8, while it's all 0x00 from 0x8A8-0xC9B. 0x8A8 makes more sense for it to be the correct offset, since 0x854-0xC93 is 4 bytes checksum+ 1000 bytes script, same sizes as WC scripts and RS mistery event script. I tried injecting the RS e-reader script to that region (0x8a8) with no luck, neither on the japanesse savegame and rom. Is there any footage of japanesse e-reader berry or dolls receiving? Is it from your father or at another place? Maybe I'm just not enabling the event, or maybe it really starts at 0x854...
  24. I've translated taka tools (except the one that allows modifying the pokemon egg gift (PARPokeEE.exe) with ajxpkm's help. I've attached them to this post. Might be useful to someone. I just hex edited the jap strings, so except the strings everything else is intact. Someone uploaded a translation before, but he seems to have used some tool to re-pack the translated program and I prefer to use the untouched thing. Thanks, I forgot that tool also works for GBA games! Fortunately PKM games use Flash (save manager doesn't support EEPROM saves). I guess even I can make a NDS app now.
  25. Did you do a save before 00:00 and one after 00:00? I'll do one tonight and post the changed offsets. Also, can the mirage spot be softreseted if sav was fron the previous day? I don't remember. Edit: seems there's a way to softreset mirage spots, that might allow further locating mirage spots "Save before you update your Buzznav then update it every time you start your game. You can soft reset for islands like this."
×
×
  • Create New...