-
Posts
742 -
Joined
-
Last visited
-
Days Won
26
Content Type
Profiles
Pokédex
Portal
Technical Documentation
Pages
Tutorials
Forums
Events
Downloads
Gallery
Blogs
Everything posted by suloku
-
OK, current feature list and a little todo list: * export/injectWC3 to all games (woncercards) * export/inject WN3 to all games (wondernews) * export/inject trainers to all games (it is the same offset for jap/international, no difference with what an e-reader does to the savefile) * export mistery event+script for RS/E (not sure about the uses for emerald, same changes when injected with e-reader and with changes via official nintendo Italy and taka's tools) * enable eon ticket in emerald the same way as taka's tool does (not legit in anything else than JAP) * enable mistery event and mistery gift in the save (just for convenience, but in-game enabling is recommended) * Editors for WC3 (eng), WN3 (eng), trainer and mistery event (can modify item and cuantity, as well as change the script) * Secret base decoration editor (I would need someone to test with JAP RS and emerald, but should be the same) --> this can be used to get the regi dolls, changes in the save are the same as when using the e-reader card. * fix checksums and also export a "sorted" current save and old save for easy hex compare To do: * Investigate how enigma berry works (luckily, we have the e-cards, should be easy. The best would be that only the e-berry data is put in the save)and make an editor (structure already researched before, so easy to do) * Export trainer as vpk for e-reader savegame injection? Ideally I may be able to export as e-reader save... but maybe there would be copyright problems? * WC3 Editor: - add the give egg experimental script from the roms and allow customizing pokemon and move (all languages, Emerald and FRLG, maybe would work on RS?) - allow to unset the flag that gets set by the give gg script - add custom give egg script that kills itself and allows customizing all 4 moves, met location and maybe something else? (only english, Emerald and FRLG, maybe would work on RS?) - add custom configurable give pokemon script (only english, Emerald and FRLG, maybe would work on RS?) - add custom configurable give item script (only english, Emerald and FRLG, maybe would work on RS?) * Check what morfeo codes actually do to the savegame (specially for trainer, berry and regi dolls events), also check what the scripts do. * Check trainer card, trainer survey and stamp card scripts, see what they were intended to do and if we can do something with them. * Create wc3 files for altering cave event for all languages using the rom script. About mistery event in emerald: I would need to make sure about the offsets/sizes, since there was no event done on emerald, we don't know were the script is supposed to be activated. Maybe they scrapped the mistery event scripts (eon ticket does not have a script, but a flag is enabled and an in-game event starts) and enigma berry occupies the place of the script. Are there enigma berry e-cards for emerald?
- 1284 replies
-
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)
- 1284 replies
-
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
- 1284 replies
-
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...
- 1284 replies
-
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.
- 1284 replies
-
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?
-
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.
- 1284 replies
-
Thank you! For what I've seen there should be a flag to allow storing in the save file, that might be it.
- 1284 replies
-
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.
-
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?
- 1284 replies
-
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.
-
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)
- 1284 replies
-
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.
- 1284 replies
-
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.
-
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.
- 1284 replies
-
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.
- 1284 replies
-
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
- 1284 replies
-
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).
- 1284 replies
-
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.
- 1284 replies
-
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.
- 1284 replies
-
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).
- 1284 replies
-
@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.
- 1284 replies
-
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.
- 1284 replies
-
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...
- 1284 replies
-
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.
- 1284 replies