Jump to content

Grovyle91

Innovator
  • Posts

    100
  • Joined

  • Last visited

Everything posted by Grovyle91

  1. Version 1.4 bèta 2 is out! This version contains fixes of the bugs which occured in the previous bèta. Have fun! Changelog Version 1.4 bèta 2 (February 14, 2010) Fixed the corrupted PNG export in the WC Previewer which occurred on some computers The textboxes Card Title/Comment are wider now so that everything in it is visible now Some other controls are wider now as well to compensate the old Win98 look Fixed Korean character mapping in the WC Previewer Fixed Pokémon icon positions in the WC Previewer I'll try to transform the WinForms I use now to WPF. WPF has some advantages, however it will take some time to create it. Grtzz!!
  2. Pingouin, thanks for answering those questions but I will tell some more about it TE, the feature to change a Pokémon is not fully supported yet. Keep that in mind, I need more time to finish this. Please goto another program to create a PKM and import it in this program. Poryhack, what Pingouin says, the button top right will show the current mode, just change it from "Save file mode" to "MG mode". It has been there since version 1.1 or so...? Maybe I need to think how this can be done better. Keisuke, the only evidence you will create, is that you change something that isn't possible normally, like the sharing feature or changing the game redistribution flags. Or, if you create a whole new card, that new card, because it's not legal and it isn't an event officially. Uhm... Pingouin, I guess I need to take a look at the save file. I cannot reproduce it because I only have 1 NDS and no bought cartridges (only ROMs). My Diamond loads fine, but it's a save file directly created from the ROM. Does it load in earlier versions? Grtzz!!
  3. You can now download version 1.4 bèta! This version includes Action Replay export and an improved Wonder Card Previewer (thanks to Kazumi!). The AR export is very extensive in my opinion, so be sure to check this out if you use Action Replay (it is, however, still experimental since I don't use it, hence the bèta). The previewer must be exactly as in-game now, also, I added the Korean support and unofficially Dutch as well (since it's my native language). More in this version: feature to create a Gift from a Wonder Card, some GUI changes, HGSS exclusive items changes (to its English equalivant), a bug fix from v1.3 and more (see the changelog). Changelog Version 1.4 (February 6, 2010) Added experimental Action Replay DS Code export support Changed the Pokemon fonts to kazumi's Wonder Cards should now be exactly the same as in-game (thanks to kazumi) Added the feature to create a Gift from a Wonder Card Added Korean and Dutch (unofficial) language support for the Wonder Card Previewer Added keyboard shortcuts for the Wonder Card Previewer You can now drop PGT and PCD files on the window as well, the program will ask if you want to overwrite the current Gift/WC Changed the numeric controls to dropdown boxes where you can select the current Gift and/or Wonder Card Raised the maximum value of the Wonder Card IDs up to 2046 since this is supported in the save file Moved the character table inside the code Changed some HGSS exclusive items to it's English equalivant, according to Serebii.net Fixed a bug that prevented the checkbox for active Gift/WC in DP save files from working correctly Grtzz!!
  4. You're right on this one. I've tried something out on my Platinum. Setting the Gifts and Wonder Cards correctly will sometimes cause the Wonder Card show up as "You have already received this gift before." This has nothing to do with setting the corresponding WC number to one lower than the actual slot number in my game however, just coincidence I guess. But as I said, I've tried this on my Platinum, and although it said on one WC that I had already received that gift before, the man still gave me the gift. So I don't know what's causing this, but I'll try to take a look. Grtzz!! EDIT: To refer back what I said about registered ID checks and such. With some tests I've done myself I figured out that the text "You have already received this gift before." has also something to do with these registered IDs. I don't know if this will prevent the man in the Poké Mart showing up and giving you the gift though. Sorry about that!
  5. Yeah, that's right. I didn't build a function to simulate this, because it's pointless to do that. The game checks and registers these IDs only when you receive the gift via distributions. The game won't check it again when you already have it on your save file. You can however, if you want, add these IDs manually with the "Mystery Gift related" button.
  6. I see the problem... I hate to say it, but the Japanese Oak's Letter is not valid. The English does. Here, take a look at the hex values of the PGTs: Japanese Oak's Letter: Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 00000000 00 81 03 00 00 00 92 59 7E 3A 8C 73 9F EF C7 43 ......’Y~:ŒsŸïÇC 00000010 2D 81 B7 7B D3 43 A8 56 32 59 A9 F1 3E A6 3B CC -.·{ÓC¨V2Y©ñ>¦;Ì 00000020 45 1E D6 CA E3 CA 77 82 43 F2 C5 51 A3 65 D0 DB E.ÖÊãÊw‚CòÅQ£eÐÛ 00000030 3F 8A B4 06 68 63 B5 EE 3F 89 E7 21 3C 96 73 A0 ?Š´.hcµî?‰ç!<–s* 00000040 49 AE E4 D2 CC 34 BA 16 E8 55 46 1B B1 6D 36 CA I®äÒÌ4º.èUF.±m6Ê 00000050 B6 B0 91 C5 38 B9 7F A1 EE 6B 6C CA FC 42 9C 2A ¶°‘Å8¹.¡îklÊüBœ* 00000060 DA A9 7F BC 5E B3 04 EA B1 CA 20 59 42 22 49 09 Ú©.¼^³.ê±Ê YB"I. 00000070 6B 3C F7 97 D3 42 FF A5 E4 EF C7 4F 7F B2 AD B5 k<÷—ÓBÿ¥äïÇO.².µ 00000080 5C D3 51 AF 49 04 A2 D0 0E E0 68 35 F8 2F 8D 22 \ÓQ¯I.¢Ð.àh5ø/." 00000090 D1 25 C1 D0 74 17 A7 F3 02 4E 3F 81 F4 C8 07 54 Ñ%ÁÐt.§ó.N?.ôÈ.T 000000A0 74 8C 44 C1 44 ED 23 98 D3 26 CD 1C 45 C5 F7 05 tŒDÁDí#˜Ó&Í.EÅ÷. 000000B0 13 2C 50 F5 ED 96 72 E2 27 20 BF C3 B8 18 97 62 .,Põí–râ' ¿Ã¸.—b 000000C0 C2 5C 15 FA 6F BE E3 9D 7D CF D4 75 7A 30 A9 E5 Â\.úo¾ã.}ÏÔuz0©å 000000D0 D9 3C 1A B2 70 61 D0 2E 0F F6 32 B6 AD 88 E5 A1 Ù<.²paÐ..ö2¶.ˆå¡ 000000E0 5F 8C C5 52 7F 2A AC 6C FF A3 C9 83 C4 9D DE 87 _ŒÅR.*¬lÿ£ÉƒÄ.Þ‡ 000000F0 D1 2C 4E B4 F9 6F 3A 3A 6A 5D 34 86 B8 5C D2 06 Ñ,N´ùo::j]4†¸\Ò. 00000100 DC 2C 30 FC Ü,0ü English Oak's Letter (the correct one): Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 00000000 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000090 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 000000A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 000000B0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 000000C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 000000D0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 000000E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 000000F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000100 00 00 00 00 .... The PGTs must be the same for all languages, the PCDs however, may vary since the information texts are different. You see that the Japanese PGT is just... well... I don't know what it is, it's just not valid. The same for the Japanese PCD. Try loading it in Pokesav, you'll see what I mean. I think I'll build in a function which determines if the file is valid or not instead of a vague error.
  7. The Wonder Cards may have some other values set of which I didn't know about. When I take a look at the files, I might be able to fix it in the next version. @codemonkey: I already wrote a couple of functions myself fine-tuning is on my mind now... However, that didn't stop me to take a look. Your way of using "select case true" (or switch in C#) is very interesting. I never looked at it that way, but I rather have if statements. C# requires "break;" at any case, this drives me crazy sometimes, and it doesn't help me saving lines. @kazumi: the screenshots look fantastic! I hope I can equal that with your help! Oh... @everyone: I found a bug in v1.3. The checkbox which sets the value if a gift or card is active or not in a DP save file don't work correctly. Just to let you know, use v1.2c if you want to use it setting. Grtzz!!
  8. Phew... I didn't see this coming... I'll build this in right away. I didn't know much about ARDS and such, I only have a M3 which uses XML based codes (and more file extensions...). XML is easy and works well now. But what's the best way to export to text? I see a lot of codes using this format: !!!Pokemon Heart Gold (J) !!IPKJ A587D7CD !!!Pokemon Soul Silver (J) !!IPGJ 7387AC7F !Misc Codes ::Max Money (Select) 94000130 FFFB0000 62110DC0 00000000 B2110DC0 00000000 00000088 000F423F D2000000 00000000 Should it be exported this way? I'll also add an option to select which gifts and/or wonder cards will be exported. And something live previewing so you could copy it right away. Understanding it? Not much, but since it's a standard error I know what it says I see you're using version 1.2c. I don't know if version 1.3 gives the same error, but if it does, I'd like to have your PGT and PCD files to see what's causing this bug. Grtzz!!
  9. That's what the games does. There's no need to delete everything. If I'm not wrong, the game only overwrites the Gift Type from whatever it was to 0. This way the game thinks there's no Gift or Wonder Card in that slot. The rest will stay available if you look directly in the save. This is Platinum, HeartGold and SoulSilver only. Diamond and Pearl work different, these games have a setting which determines if a specific Gift or Wonder Card is active. Hmm... have you copied the error message (with trace)? It has definately something to do with the numeric value boxes, I don't know which one however. The trace message along with your PCD/PGT files will help me solving this issue. It's funny that it's D400 and 8100 in hex respectively, I'm wondering for what value. Grtzz!!
  10. Thanks! Just as my name suggests I guess... Well actually, it will only explain the speed thing... hehe I've programmed a lot of things just to learn it. First in Visual Basic, then in C# because it looks a lot at PHP. I've tried C# WPF as well, but since the forms are entirely different I'm skipping this one for a while... Uhm... to keep on-topic: Your tip for letting the users select which button it will activate is a real good one. I need to take a look at it how this exactly works. Automatic region selection is tough, since the save file doesn't have a bit or flag set which corresponds to a specific region. Automatic game selection is easy, it's already in the program just check for specific block endings. Each game save file has a specific block length (I'm talking about the first small one now) and location where this length is saved. Since this is always fixed I'm checking this for Diamond/Pearl, Platinum and eventually for HeartGold/SoulSilver. If none of these are found, the save file is not a Pokémon save file! However, it's also possible that in, let's say a Platinum save file at the D/P offset the exactly same value is written which gives the program the suggestion that it's a Diamond/Pearl save file instead of a Platinum save file. Though this chance is very, very low. If it does happens, I need to build in more checkers for other blocks. I've taken a screenshot of the upcoming AR export window. Let me know if something needs to be added or changed The export will be every Gift and Wonder Card in XML. Everything will be exported separately in this XML. I don't know if export to TXT will be handy, but if it does, I'll try to add this as well. Oh, and the selections and added custom IDs will be saved as well. Grtzz!!
  11. I've wondered that too, but Microsoft needs to extend their font support. I mean, come on... we have Windows 7... we live in 2010... and TTF dates back to the '80 or '90 with Windows 3.1. It's possible to create your own chars with coding only, just create some variable which holds the locations of the pixels and draw the values on a bitmap, but this is WAY to much for me And I've edited the wide slash in the font, I noticed that it wasn't correct when I tried to view the Japanese preview of a Wonder Card. But for the rest, it is accurate more accurate then the font v1.3 uses now. And I'm very happy that this font exists! All the textboxes have this font now as well, otherwise the special characters in Pokémon font won't show (such as PK and MN, which are relatively ₧ and ₦). That's awesome My main goal was to preview any Wonder Card for outlining and such (and mostly fun to write the code). I have to admit that I planned to show it as ingame, but I know that would take to much time if it's possible at all. About that game determining, I can help you with that. Location: 0x14C Flags: SS = 0x0001 D = 0x0004 P = 0x0008 Pt = 0x0010 HG = 0x8000 in bits: 1 0 0 0 | 0 0 0 0 | 0 0 0 1 | 1 1 0 1 HG Pt P D SS The game uses flags so it can handle more than just one value. Please keep in mind that I'm using this without bitshifting (little endian and such) It was just coincidence that I've guessed the HG and SS flag right (tested afterwards with two NDS with a distribution rom and a normal rom). You mean the Pokémon hex characters <-> Unicode hex characters? The editor uses a file as chartable, so it's editable if something is wrong. I'm not directly using the Unicode hex. The Pokémon hex is listed with the corresponding character right next to it. Like 0138=N. I had to do some research for it, because I didn't know anything about creating AR Codes until now! I've added support for it in the next version. And it will be fantastic! I've added every game I know of and support for adding your own game IDs as well I'm testing the AR Codes right now, but when I use the code it just simply freezes my game. I'll fix this before I release the version with AR Export enabled. I'm not certain if I'll release the new version as v1.4 or v1.3a . I guess v1.4 will do because of the new AR feature, but it won't contain many more added features though. Grtzz!!
  12. Hmm... I know you're updating a lot of things right now, but when you change the style on the front page to blue, there's no way to change it back to red. I like the new one, but I checked the differences, and now I can't go back Just to let you know Grtzz!!
  13. Haha, it's fine with me, but then you'll need to change it each time when I update it (unless you're posting the link to the forum only ). I know myself well enough that I have my moments that update it sometimes too much in just a couple of days and sometimes nothing for a whole week or more. Oh, and regarding the outdated Pokesavs, keep in mind that these updates were from about 4 months ago: ver.0.06e (2009/09/25) - ボックス名反映時に名前領域に 0x00 を埋めないようにした. Both D/P and Pt have the same update, but I don't know what this change is. It has to do something with names and 0x00 spaces or something... so I guess it was just one small update though. None of the staff here (or someone else) spends his time to translate a whole program just for one tiny update. I know how hard it is, I've translated and redesigned the whole D/P Pokesav in Dutch (also created a program which could edit the really hard parts in the EXE file). It's really time-consuming and I don't wanna do that again when I've something else to do Grtzz!! Grovyle91
  14. Well, I suppose so, but first I need to do some research in these AR Codes. I'll take a look if I can support it That depends... first, check the save file size. Without that, I can't help you. The save file needs to be exact 256 or 512 KB. If it's not, it simply won't open.
  15. Wow It certainly helps a lot! Thanks! Just why haven't I found it earlier... Although now I know how to create fonts True, I don't think about editing that font with 2872 glyphs, too much time-consuming... Exactly my thoughts. Though it still is a bit disappointing that it isn't compatible... which is a mystery to me...
  16. Actually I found a program which allows me to create fonts, it took me a half day to get that application working I've completed the alphanumeric symbols (foreground), but the Japanese will take some time. Not to forget the Korean... After that I need to add the background of each char in a seperate font. I saw that just shifting the text 1 px right en 1px px down won't create the same texts as ingame. By the way, has somebody noticed that the En/Fr/Ge/It/Jp/Sp save files won't work on the Korean games? I tried to get the texts from the Wonder Card, but since it didn't work I don't have any strings to add. I'm not trying to play the game all the way in Korean because I don't exactly know when the Mystery Gift is activated. What did you mean about Sabresite? Has he only done some research to it or has he created the font itself? If the latter, it would spare me much time Either way, I'll ask him what he knows. Oh, a bit off topic, but why does doubleclicking the icon of this thread closes it? I just figured that out a couple of minutes ago I've already opened it again just by doubleclicking it again, but if someone won't notice this doubleclicking it will leave his thread closed. Well, for me it probably only works on my own thread, but it's still weird Grtzz!!
  17. Hello again everyone! Another version came out! Version 1.3 contains a Symbol Inserter and a Wonder Card Previewer. Only the Japanese font in previewer doesn't correspond the game's font, and the Korean language isn't implemented at the moment. This version has also some more Mystery Gift and PKM editing available, 256 KB save file support and a bug fix that will prevent the program from loading a Wonder Card when its distribution amount is unlimited. The program will now have a stack trace when an error occours. Please CTRL+C this window (or screenshot it) and report it here if you think that this error doesn't belong to the program About the PKM editing functions, all the PID related values are disabled for now until I've figured out how to generate a new PID with the given values. I've also some more requests now, please take a look at my requests at the first post Codemonkey, thanks again for the information! I'll slowly try to add the features Grtzz!! Grovyle91
  18. Thanks codemonkey I'm going to try to add support for 256 KB files as well. Btw... which values of a Pokémon is affected with the PID? I know the IVs have something to do with it, but is there also something else? I'm trying to complete the Pokémon editor, but as long as I don't know the relations it'll simply be read-only Grtzz!!
  19. Thanks for your report it probably has to do something with the numeric values in the GUI. Although I'm not certain why this would pop up while saving... I'll take a look at it when I found some time after my examinations or whatever you call it (some tests after a school period...) which ends this Wednesday. About your second problem, I've never seen a 256 KB save file. I know Pokesav can edit 512 KB files as well as 256 KB files, but since I haven't seen these kind of files before I couldn't build in support for it in my program. So it only supports 512 KB files. If you have a 256 KB save file, I'm willing to take a look at it too to see if I can support it as well. Yes, I've figured that out since the error is in Spanish as well Some parts of it are a bit funny to read looks a bit French which I've dropped years ago in my chosen set of courses, I was definately not good in French Grtzz!! Grovyle91 EDIT: Actually, I've solved the bug within 5 minutes... it was just a missing check on the unlimited distribution amount (255 = unlimited). In v1.3 this will be solved.
  20. I'm glad to hear that it's finally fixed after 3 more releases If there are more bugs, please let me know Grtzz!!
  21. Scarface, you were right. The Pt/HG/SS save files were also checked with DP save file structure to determine the active block, which definitely shouldn't be happening. I've fixed it in version 1.2c which you can download now. heavybassX, I suppose you have the same kind of problem as Scarface, the active block was determined on 2 in your save file, which should have been 1. In other words, you two were editing the backup block instead of the active block. My bad, sorry! Grtzz!!
  22. I'll test it when I got home again from school I'm not familliar with a .duc save file, so I don't know the difference. I suppose it needs to be the same, but I'll take a look again at your Platinum save file this afternoon. Grtzz!!
  23. I realize now that I haven't coded the pkm part right... *sigh* I guess your Pokémon are also not correctly recognized in the program? Try bin instead for now... I'm trying to fix it. EDIT: Version 1.2b fixes some block shuffling problems, you can download this version in the first post. My apologies for these bugs! Grtzz!!
  24. How are you importing it? This program is only designed for Mystery Gift editing, not Pokémon editing, although it's possible to receive a Pokémon through Mystery Gift. Then you need to create a Gift and Wonder Card. If you're just creating a Wonder Card or Gift only, it's not working. Grtzz!!
  25. I hope you fixed the problem with Poryhack's help If not, please report it again. About that converting to 512 KB, please keep in mind that this is 524.288 bytes, which is 0x80000 in hexadecimal. Please use a hex editor to remove the last 0x80000 bytes. If I understand you correctly (and with some testing myself), the second PCD doesn't save at all? I've done some further research, and it happens in some of my saves too. I'll take a look at it. EDIT: I think I've found the problem... just some stupid mistake in my code, it checks if there's already a backup, if so, it creates a backup with a different name, but when this part in my code is called, it returns without saving the changes to the save file. So this only happens when there's already a backup. I'll release a revision asap For now, please change the name of the backup file and try it again. EDIT 2: Version 1.2a is downloadable now! Grtzz!!
×
×
  • Create New...