Jump to content

Computer Eric

New Member
  • Posts

    3
  • Joined

  • Last visited

Reputation

0 Neutral
  1. Ok, I think I understand it a lot better now. Thanks, Also now that I see how complicated this project might be I am going to continue taking the C++ and C# courses so I can get better at them before I make something crazy. Thank you for the help, I'll save this project and this page as notes.
  2. Sorry, I'm sort of new to the C++ and C# coding languages, Correct me if I'm wrong but your saying 1, PKHex doesn't decrypt the full Sav/Pkm file all at once, just parts and sections, And PKM.cs is used to decrypt and encrypt the PK files for the all the types of generations, same with the SaveFile.cs being it decrypts and encrypts the save files for the all the types of generations as well. I don't know much about .dll files but from what I can tell your saying I can add it to a .NET project, and from google it says .NET is used in C++, so Is there any way to reference this code in a C++ project. I assume I am getting everything wrong here too, but Is there any program or way I can decrypt the whole save file at once? And from what you said about how I can use its API to automate my edit, like reading, for example, part of the file? I am probably not making any sense at all, and this is probably a lost cause. But if you having any idea what I'm saying and can help then that would be great. If I'm making no sense to you the also say so.
  3. Ok, I was looking at my save file from Pokemon ultra sun in HxD Hex Editor, Since PKHex has the part HEX in it I assumed the file was in a hex format, yet when I open the file in HxD Hex Editor it is just a garbled mess, So I downloaded the source code for PKHex to see if I could find the C# code that can read the save file. Does anyone know where this decode file is or how I can decode the files, let's say into a set of variables on a text editor? Like this: PlayerName="Eric" Pokemon1={ Name="Rockruff" .... } ..... What I overall want to use this for is to read the stats of pokemon in my save file and do some calculations with it in a C++ program because I don't want to have to enter in all the stats of the pokemon every time I want to use the program. Also if there is a decoder file for all the type of save files written in C# is there a way I can use that in C++? Sorry about the crazy amount of questions... EDIT: Ok it seems that the decoded file is here: "D:\Semi_Desktop\PKHeX-master\PKHeX.Core\PKM\PKM.cs" not really sure though.
×
×
  • Create New...