silicontrip / SkyReader

A Skylander portal reader/editor/writer for OSX.
89 stars 56 forks source link

i dont know how to use it #33

Open FnafFan12 opened 5 years ago

FnafFan12 commented 5 years ago

pls help me i dont know how to open it and when i try teh command it say that it doesn't exist

Dragoonlord82 commented 5 years ago

Which operating system do you use? Have you already compiled it?

FnafFan12 commented 5 years ago

i have windows 10 i don't know how to compile it

Dragoonlord82 commented 5 years ago

Here I have the latest version compiled for you. To use via command line or via batch file. If you need more help, just write. But give a few more info where you have problems. Best regards

Dragoonlord82 editor.zip

FnafFan12 commented 5 years ago

can you make it for windows 7 pls?

Dragoonlord82 commented 5 years ago

The .exe file I have given you, works with all Windows versions from XP upwards. All you have to do is unzip the ZIP file, save it to any folder, and use the Editor.exe with the command line or a batch file. The only thing I can do for you is to write a little example batch.

Edit: Write this into a text file and save it in the same folder as the editor.exe. Then rename example.TXT to example.CMD. Double-click the batch file

Edit2: Minor bug, .bin changed to .dmp. sorry for my mistake

:Start cls @echo off echo [1] figure info echo [2] backup info echo [3] read from Portal echo [4] write to Portal echo [5] all to maximum echo [6] left skills echo [7] right skills echo [8] max money echo [9] max experience echo [10] Exit echo. set asw= set /p asw="Please enter selection:"

if "%asw%"=="10" exit if "%asw%"=="9" goto experience if "%asw%"=="8" goto money if "%asw%"=="7" goto right if "%asw%"=="6" goto left if "%asw%"=="5" goto allmax if "%asw%"=="4" goto write if "%asw%"=="3" goto read if "%asw%"=="2" goto backup if "%asw%"=="1" goto figure if "%asw%" GTR "10" goto Start if "%asw%" LSS "1" goto Start

:figure cls editor -p -D pause goto Start

:backup cls set Name= set /p Name=Enter the name of the backup: if not exist "%Name%".dmp goto Start editor -i "%Name%".dmp -D pause goto Start

:read cls editor -p -a pause goto Start

:write cls set Name= set /p Name=Enter the name of the backup: if not exist "%Name%".dmp goto Start editor -i "%Name%".dmp -P pause goto Start

:allmax cls set Name= set /p Name=Enter the name of the backup: if not exist "%Name%".dmp goto start editor -i "%Name%".dmp -o "%Name%".dmp -M 65535 -X 16777215 -H 64 -C 4294967295 -c pause goto Start

:left cls set Name= set /p Name=Enter the name of the backup: if not exist "%Name%".dmp goto start editor -i "%Name%".dmp -o "%Name%".dmp -L 65535 -c pause goto Start

:right cls set Name= set /p Name=Enter the name of the backup: if not exist "%Name%".dmp goto start editor -i "%Name%".dmp -o "%Name%".dmp -R 65535 -c pause goto Start

:money cls set Name= set /p Name=Enter the name of the backup: if not exist "%Name%".dmp goto start editor -i "%Name%".dmp -o "%Name%".dmp -M 65535 -c pause goto start

:experience cls set Name= set /p Name=Enter the name of the backup: if not exist "%Name%".dmp goto start editor -i "%Name%".dmp -o "%Name%".dmp -X 16777215 -c pause goto start

FnafFan12 commented 5 years ago

is that normal that it doesn't make nothing and that block on this Capture d’écran (100)

Dragoonlord82 commented 5 years ago

Of course there is no guarantee that everything works right away. But fundamentally everything should work, I wrote you the batch so that you generally have a function. But before you can make any changes to a Skylander, you have to make a backup. The changes you then take on the just made backup. Then the edited or saved backup must be written back to the SAME Skylander. You can not go from Skylander A to B, but only from A to A, and so on. It may also be on the portal, so if something does not work, try a different portal, if possible. XBOX portals do not work! You'll have to try a little, and if necessary adjust the batch a bit. If you do not need further help, tell me exactly what you did and what does not work. But first you have everything you need. best regards Dragoonlord82

FnafFan12 commented 5 years ago

and how do i make a backup with the batch file?

Dragoonlord82 commented 5 years ago

So with 1 you get displayed which figure is on the portal. With 2 you get information about an existing backup. with 3 you do a backup. with 4 you write back the backup back to the figure from which it was made. The rest explains itself, I think. But I have found a mistake on my part, you have to replace in the batch .bin by .dmp. then I think everything is right. I'll change that in my post.

Edit: I hope I could help you so far now. With the change in the batch, everything should work, have just tested it myself, and it works. Sorry again for the small mistake.

NefariousTechSupport commented 4 years ago

Hi I’ve followed your instructions, @Dragoonlord82, and I’m having the same issue as @FnafFan12, as in the program stopping a “>>>PortalIO::Write”, could you help me, i've been using command 1

ForceX70 commented 4 years ago

Hi I’ve followed your instructions, @Dragoonlord82, and I’m having the same issue as @FnafFan12, as in the program stopping a “>>>PortalIO::Write”, could you help me, i've been using command 1

I got the same problem as stated above. Any chance to help ?

Errormessage:

Reading Skylander

SkylanderIO::initWithPortal SkylanderIO::ReadPortal Found portal usb device PortalIO::Write

running on Win10 64bit

brimstone326 commented 3 years ago

Hello,

I have been trying this and it either tells me the name is no good, or it appears to run, but saves no file out.

I tried to run the editor from cmd instead of using the batch, but I'll be the first to admit I may be doing something wrong.

I even tried creating an empty thappy.bin and thappy.dmp file to leave in the folder for it to write to.

With the batch, I have a figure on the portal and type '2' I entered 'thappy'

It returns 'reading skylander' 'invalid sklander file' 'press any key to continue'

I tried again using 'trigger happy' and it appears to run and sends me back to the main list, but no file is saved anywhere I can find.

Do the *.dmp names have to be exactly correct to the toy list?

Should I be able to run the editor from CMD directly instead of using the batch file? When I try, it flashes for a moment and closes out, even if running as admin.

Any help is appreciated. I feel like it's trying to work, but not quite sure what I need to do if it cares what I type in and doesn't save the file out when it likes the name I give it.

Thanks

silicontrip commented 3 years ago

From my understanding of the batch file, Option 2 will simply read a file off the disk and display it in the terminal window. Option 3 will read the Skylander from the portal and save it into a temporary file. (called "TEMP") Rename this file to "name.dmp" name being something memorable like the skylanders name.

brimstone326 commented 3 years ago

Thanks for responding.

I don't suppose it could have been compiled incorrectly. That's a bit out of my scope of knowledge unfortunately. I just couldn't get it to save any file out. I'll try option 3.

Should I be able to use the editor without a batch file? It blinks in and out of existence even in admin mode. I wasn't sure if it should do that or not.

silicontrip commented 3 years ago

I can't speak for the binary, but yes you can use the editor without the batch file. There are examples on the main page.

silicontrip commented 3 years ago

Sorry, now I understand what you're saying about it blinks in and out. Start the CMD terminal first and then enter the editor command. I can't say for certain but I don't think it needs escalated privileges, the only thing it needs is to be able to talk to the usb device, pretty sure that shouldn't require admin. EG to save the skylander on the portal to a file enter: editor -p -o TriggerHappy.dmp more examples are on the main page. If you get a message saying something like editor, no such file or directory then you need to enter the full path to the editor executable something like this; c:\Users\me\Downloads\SkyReader\editor.exe ... Your path will be different.

PS Trigger happy was my favourite skylander, when I used to play.

brimstone326 commented 3 years ago

Thanks again, I got side-tracked and didn't get to it last night. Skylanders is resurging in my home now that my younger kids are starting to get into video games. I just don't know what the life of these toy readers will be.

I'll try it tonight.

Thanks for your help.

brimstone326 commented 3 years ago

Ok, so I've tried directly from the command prompt and from the batch file and I end up with the same issue. I'm beginning to think the executable Dragonlord82 posted is not compiled correctly??? I'm more of a VBA guy, so I get the idea, but I don't have any way to actually compile it that I know of.

I end up with the same error as ForceX70 showed. It stops at PortalIO::Write and no file is ever made.

Reading Skylander

SkylanderIO::initWithPortal SkylanderIO::ReadPortal Found portal usb device PortalIO::Write

I also tried the editor commands with a full file path for the dmp file and still get the same message. It's not in the batch file, so that tells me the output is from the editor.exe.

I am mostly looking for a way to read the Skylander data out to something that I could pull up in Notepad++ or a hex editor.

Thanks for all your responses.

silicontrip commented 3 years ago

The only thing I can think of is that the Portal is not responding, I'd need to build a debug version to see what is happening on the USB. At the moment I have other projects I'm working on. (I may consider making a c# version, then someone could build a WPF for it)

brimstone326 commented 3 years ago

No rush on my end. I appreciate the work done already. My kids talk about Skylanders a lot, but have spent most of their time on Lego games lately. It'll probably come back up in a few months.

Thank you.

FoxKeegan commented 3 years ago

Confirmed. The compiled code in this thread hangs on Windows 10 (Latest version at time of writing) when attempting to perform any of the commands upon attempting to write to the portal. (As illustrated in the above image and text)

Edit: Except using the TT portal, which (as I believe I read elsewhere, too) throws a timeout error spam, also failing