SigmaDolphin / SkylanderEditor

VB.NET program to edit/backup/restore Skylanders
GNU General Public License v3.0
16 stars 3 forks source link

how i can edit a New/Blank skylander ? #8

Open colossabot opened 1 year ago

colossabot commented 1 year ago

i play on dolphin wii and i tried to use your editor, it's say new/blank detected.

Why ?

SigmaDolphin commented 1 year ago

there's a glaring lack of details, friend

  1. You say you are playing on emulator, what kind of Portal of Power are you using?
  2. Are you trying to read a dump, a figure or what?
  3. If its a figure, What figure are you trying to read?
  4. Did you already played with the figure a bit or is it new?

If my editor reports New/Blank Skylander is because both of the page's first line of bytes are 0s (0x080-0x08F and 0x240-0x24F), which would mean the game has not initialized the figure and the rest should be blank unless some corruption happened to these bytes and set them to 0

colossabot commented 1 year ago
  1. the portal is from dolphin, no physical portal.
  2. i trying to read a skylander created from to dolphin portal.

4.no

and there a update off my situation :

i play a bit with my skylander, he's level 2, no hat, 325 gold ( he's a .sky file) but when i put this skylander on youre editor he has :

Level 12, he pan hat, and gold is normal 325 ( and i have no picture)

image

SigmaDolphin commented 1 year ago

Could i have a copy of the file you are using? i didn't know Dolphin had capabilities for a Virtual Portal now, that's great news! but i don't know how Dolphin handles them (encrypted, decrypted or some new layout specific to Dolphin) so i would need a sample file to know for sure

the no picture issue is normal, i cannot include the pictures because that could infringe on copyright but you can add your own, creating a folder named "images" in the same location as the editor, and creating 150x150 jpg pictures with the ID number of the corresponding skylander for example, in Spyro's case its ID is 16 so creating a 150x150 picture named "16.jpg" will make it show up when you scan Spyro

colossabot commented 1 year ago

RPCS3 have the the same virtual portal ( RPCS3 was the first to create and they give it to dolphin.

what files do you want ? the virtual portal skylanders manager or the skylander .sky files ?

SigmaDolphin commented 1 year ago

The Skylander .sky file

colossabot commented 1 year ago

a blank or a trained ?

SigmaDolphin commented 1 year ago

the same one you opened on my editor

i play a bit with my skylander, he's level 2, no hat, 325 gold ( he's a .sky file)

colossabot commented 1 year ago

https://we.tl/t-D25Q4rEXDv

SigmaDolphin commented 1 year ago

Alright, i skimmed through it and found several things They are indeed encrypted and standard format, so the option you are picking to open it is correct

So for a bit of context, Skylanders have 2 pages where it saves the progress, and it alternates between the 2 to keep the data safe in case one of the pages goes corrupt it picks up the other one the game decides which page its going to pick based on a sequential byte, whichever page has the largest number is the one that's picked i can see in the file you sent me, that your progress is saved on Page 1, but Page 2 sequential byte is larger so its what my program picks up

what i could advise you to do so my program picks up the correct page is giving your Skylander a hat and taking the hat off or giving it a different hat at least 2 times, this forces the game to save on each page so its correctly updated, doing this on new or blank Skylanders should also make them correctly readable in my editor

SigmaDolphin commented 1 year ago

By the way, I noticed a bug around which I did not notice before SSA doesn't initializes the second section (where other hats are stored), so my program may still get the hat wrong if the Skylander has no hat in SSA, so for better accuracy while I fix the bug, always give your Skylander a hat

colossabot commented 1 year ago

well, i have create two spyro : one with no hat and a another with a birthday hat and they are ate 1 level

the no hat have in the editor : monday hat and level 16 the birthday hat have in the editor : the same birthday hat and level 13

SigmaDolphin commented 1 year ago

Ok, i think i got the bug located indeed you will also get a wrong level because my program still tries to read the garbage uninitialized data

for a bit more context, from Giants and onward, the game initializes a couple more sectors in the data, SSA DOESN'T initializes this area, but my editor isn't programmed to identify this uninitialized area, so it goes by thinking its real data, there's Hat data and XP data for future games in this area, so, my editor will add up this garbage data on top of the XP your Skylander may have, and same happens for the Hat

i will be fixing this bug in these days, so expect an update to correct it, thanks for the report!

Mdroo commented 8 months ago

как скачать?