codemonkey85 Posted June 3, 2009 Posted June 3, 2009 (edited) Just as an FYI to all those out there, this project is long dead. You can see my new stuff here: http://projectpokemon.org/forums/showthread.php?20984-PKMDS-Code-Library-Gen-V Hello people. As you may know, one limitation in adding Pokémon to your game using Pokesav is that you cannot load a PC Pokémon into your party. To be honest, it's a rather silly limitation. Thusly: I have created a tool for converting between the two types of PKM files. This is a Windows application, which requires the latest .Net Framework to run. Thanks go to SCV for clearing up the encryption method of the last 100 bytes in a PKM file; thanks go to Sabre for defining the structure of that data. And just so you all know, this is the first preview of a much bigger project I am working on, which hopefully will also be released (in a beta) rather soon. Feedback of any kind, whether comments, compliments, positive or negative, errors... is all welcome. Post here or PM me. EDIT: .BIN files (encrypted and shuffled .PKM files) are now supported. EDIT: As of June 06, 2009, this should be the last update I make... unless of course someone comes across a bug. I added sprites for the loaded PKM files, which will accurately reflect the sprite used in-game. PKMDS PC To Party Tool.zip Edited May 26, 2013 by codemonkey85
xeomyr Posted June 3, 2009 Posted June 3, 2009 this is a nice program, thanks ... anyway .. this one can only convert .PKM pokemon file or also for .BIN file??
SCV Posted June 3, 2009 Posted June 3, 2009 this is a nice program, thanks ...anyway .. this one can only convert .PKM pokemon file or also for .BIN file?? Where do you get those .BIN files?
codemonkey85 Posted June 3, 2009 Author Posted June 3, 2009 I can't remember which program it is, but one of the save editors can output .BIN files instead of .PKM files... it might be DSPokeEdit, and I would check right now if I were home. I would suggest attempting to load the .BIN and see if this program will display the Pokémon's name and stuff like it does with regular .PKM files. There's a chance the file structure is the same, so if that is the case, it should work just fine. Does anyone really use that file type for this though?
xeomyr Posted June 4, 2009 Posted June 4, 2009 Pokesav can save/load .BIN files. yup that's right ^^ ... when you want to save your pokemon, you can choose between .PKM, and .BIN if i got the .BIN file .. so i just need to put the hex values of that BIN file to the diamond/pearl savedata .. in the party/storage hex location directly .. without converting it first from PKM=>BIN .. or doing any calculation on the BIN/PKM encryption and stuffs .. which i don't really understand how to do it Does anyone really use that file type for this though? .. uhmm ... not many people need it , i think ... but i do need that but, i do think that this program has already enough to help us so you don't have to update it ^^
codemonkey85 Posted June 4, 2009 Author Posted June 4, 2009 Ahh, ok. So what you're saying is that these ".BIN" files are just encrypted and shuffled versions of the .PKM files. Well that's easy enough to implement. When I get time I will update the program to load / save the files as .BIN files, just for kicks.
FLOOTENKERP Posted June 4, 2009 Posted June 4, 2009 Sweet. I hated always having to open up the game and put them back into my party. Thanks Code and SCV!
codemonkey85 Posted June 5, 2009 Author Posted June 5, 2009 When I get time I will update the program to load / save the files as .BIN files, just for kicks. EDIT: And now I did that.
damio Posted June 5, 2009 Posted June 5, 2009 Sweet. I hated always having to open up the game and put them back into my party. Thanks Code and SCV! You could've just used HxD to add blank bytes into the pkm file, then load it into pokesav and go into stats edit. But I guess this is easier (albeit not as fun )
codemonkey85 Posted June 5, 2009 Author Posted June 5, 2009 DAMIO NO THEY KNOW TOO MUCH NOW Besides, it's just the principle of the thing. There was no reason to leave this feature out of Pokesav in the first place.
xeomyr Posted June 5, 2009 Posted June 5, 2009 You could've just used HxD to add blank bytes into the pkm file, then load it into pokesav and go into stats edit.But I guess this is easier (albeit not as fun ) yeah , i know it ... but still .. it will be much easier if i have the program that will do it automatically ^^ .. hahaha ... so i don't have to open HxD =_= since i can't do anything in programming and stuffs (except the basic of using HxD =_= ) , so i really appreciate codemonkey in making this program ..
codemonkey85 Posted June 6, 2009 Author Posted June 6, 2009 As of June 06, 2009, this should be the last update I make... unless of course someone comes across a bug. I added sprites for the loaded PKM files, which will accurately reflect the sprite used in-game.
TheHalfBloodPrince Posted June 7, 2009 Posted June 7, 2009 Would you be able to just edit Pokesav and put this feature in, or is that not possible?
Kaarosu Posted June 7, 2009 Posted June 7, 2009 We didn't code pokesav so we can't do that. Pokesav will go extinct soon enough so even if we could it would just not be worth it.
damio Posted June 7, 2009 Posted June 7, 2009 We didn't code pokesav so we can't do that. Pokesav will go extinct soon enough so even if we could it would just not be worth it. But if we could do it, wouldn't we just expand on it? Then it wouldn't go extinct. <:B
codemonkey85 Posted June 8, 2009 Author Posted June 8, 2009 But if we could do it, wouldn't we just expand on it? Then it wouldn't go extinct. <:B Pokesav's programming architecture is questionable at best. It really is better to start from scratch, trust me.
damio Posted June 8, 2009 Posted June 8, 2009 Pokesav's programming architecture is questionable at best. It really is better to start from scratch, trust me. I know, I was just proving a point
evandixon Posted June 11, 2009 Posted June 11, 2009 Is it possible to make an installer, so all you have to do is right click , and select "Convert To Party PKM", or something like that?
codemonkey85 Posted June 11, 2009 Author Posted June 11, 2009 I have been able to associate PKM files with my programs before (along with giving them an icon for Windows Explorer), but I have not yet figured out how to write to the registry to add context menu entries and stuff. Besides, I wouldn't want to associate this program with anything. I'd rather save that stuff for the full library / program, so that SAV / PKM files can be associated with a variety of context menu options. Although, I suppose making it a configurable option for the user to choose isn't a bad idea.
xeomyr Posted June 13, 2009 Posted June 13, 2009 uh mm ... i've already used your program and codemonkey ... have you already figured the "Trash Data" algorithm in the PKM files it's in 0x9C-0xD3 "Unknown - Contains Trash Data" the values shouldn't be all 00 =_= coz' i see my party pokemon (using the game, not your program) and the values are mixed of "FF"(most of them) and "01" and "00" well ..i know that it can be fixed by putting the pokemon in the box .. but that will make me work twice , right put aside of that, the program itself is really2 nice .. since it can automatically calculate my stat
FLOOTENKERP Posted June 13, 2009 Posted June 13, 2009 You could've just used HxD to add blank bytes into the pkm file, then load it into pokesav and go into stats edit.But I guess this is easier (albeit not as fun ) Yeah, I don't know jack about hex.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now