Jump to content

Grovyle91

Innovator
  • Posts

    100
  • Joined

  • Last visited

Everything posted by Grovyle91

  1. 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!!
  2. 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!!
  3. 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!!
  4. 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!!
  5. 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!!
  6. 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!!
  7. 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
  8. 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.
  9. 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...
  10. 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!!
  11. 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
  12. 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!!
  13. 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.
  14. I'm glad to hear that it's finally fixed after 3 more releases If there are more bugs, please let me know Grtzz!!
  15. 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!!
  16. 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!!
  17. 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!!
  18. 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!!
  19. 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!!
  20. I've finally found some time to release version 1.2. In this version the unencrypted PKM files are supported. Also, some properties of Pokémon are added, though read-only. I'll try to add some more in the next version. More in the changelog. For the changelog and download, please go to the first post in this thread.
  21. Version 1.1 has been released! There are more internal code changes than GUI/feature changes in this build, mainly to prepare the PKM decrypting/encrypting in the next version. However, to make this version interesting, there are some handy changes in the GUI. Like that the changes are not lost when you switch to another Gift or Wonder Card (you still have to check if you've saved everything before you save the save file), or that you can edit a PGT or PCD file directly (without needing a save file at all) and there's a option to disable the automatic backup (use at your own risk). For the changelog and download, please go to the first post in this thread. Since this version has all its critical code changed, you need to consider this version as not fully stable yet. In case if you have problems in this version, please use version 1.0 instead and report these bugs. However, I'm quite sure this version runs just as smoothly as the previous one, but you'll never know . And thanks codemonkey for stickying this
  22. This error occurs when the program wasn't able to find the unicode character of one of the characters in your Wonder Card. I'll take a look at it. EDIT: I guess your save file got corrupted. I've tested your HG save with a newer build (with character replacing if a character hasn't been found, so that the program still loads your save file), but there were more characters that weren't found. Am I right if your first Wonder Card is the 10th Anniversary Mew? From what I've seen what's corrupting this Wonder Card, is the Pokémon part of this card, it's copied and shifted a couple of bytes further in your save. Right over the text. Did you do something unusual with your save file?
  23. Thanks everyone! It costed me an hour or two to figure out how the decryption works, I needed to take a look at the source code of PPSE before I realized that it was just one small thing that prevented me to get the right decryption. If I'm stuck again somewhere, I'll let you know Grtzz!!
  24. Thanks! I've never heard of that problem I'll edit that é to an e in my next build. And actually, I want to get rid of that whole .exe.config concept. Uses too much bytes as its XML, but I need to look at my other projects where I've the code that will save to a custom file, then I'll import the settings myself (the only setting is the background thing ). But I've written this on my mother's laptop instead of my own pc, as my pc is back to Alternate for repairation... So I need to check my external HDD for my documents. One thing that already has been changed is the need for a save file before you can edit PGT or PCD files. When I've edited that é and the settings file, I'll post v1.1. Well, same for me. I'm writing this on a WinXP machine and it's working. The only thing is that you mustn't delete the .exe.config file, otherwise the program won't run... But, since I'm changing this in the next build, this problem is also fixed. About that .pkm and .bin. I need to add the functionality to decrypt the Pokémon before you can export it to .pkm. I'll take a look at it when I got home from school and after my driver lessons this afternoon (wish me luck since it's my 2nd lesson and it has been freezing last night...) Grtzz!!
×
×
  • Create New...