sikuli setup jar becomes winrar file?

Asked by chan guou jiun

Alright so i downloaded from https://launchpad.net/sikuli/+download.
I clicked on sikuli-setup.jar at 1.0.1 (service update 1.0.1). I asked around and people said i was supposed to have downloaded sikuli-set up jar executable file not a winrar file. But, when i clicked it, sikuli-setup.jar was downloaded as winrar file. I thought it was okay since i just needed to extract the file to a folder which i created in e:\sikuli\.
Then, i tried to run a java -jar E:\sikuli\sikuli-script.jar -r C:\Users\User\Documents\GitHub\kancolle-auto\kancolle_auto.sikuli to launch a bot for kancolle and an "an error: unable to access jarfile e:\sikuli\sikuli-script.jar" occured.

I am a complete newbie to coding (no exp whatsoever). I am running a 64 bit windows 10. If i am lacking some information please feel free to point it out.

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was reopened

Revision history for this message
RaiMan (raimund-hocke) said :
#1

start at
http://sikulix.com
and read carefully before

... following the Action "get nightly ... "

Revision history for this message
chan guou jiun (martinchan1997) said :
#2

can sikuli x be used to run the bot? That's my concern really, i am downloading and installing sikuli 1.0.1 because it seems to be one of the required installs before i can launch the auto bot.https://github.com/mrmin123/kancolle-auto/wiki/Install-kancolle-auto

Revision history for this message
RaiMan (raimund-hocke) said :
#3

The developer of this bot recommends 1.0.1.

if you follow the steps mentioned in the wiki, it should work.

DO NOT use Winrar, to open the sikuli-setup.jar file!

if it opens in Winrar at doubleclick, go to a commandline and use:
java -jar <path-to>\sikuli-setup.jar

Revision history for this message
chan guou jiun (martinchan1997) said :
#4

Thank you very much that seems to have worked. Have a nice day.

Revision history for this message
chan guou jiun (martinchan1997) said :
#5

Sry to bother you again but bear with me just a bit longer, according to https://github.com/mrmin123/kancolle-auto/wiki/Install-kancolle-auto.
"Make sure that you have the tessdata folder in the libs folder of your Sikuli directory. If it's missing, try deleting the libs folder so Sikuli re-generates the folder with the tessdata files. If that still doesn't work, try re-installing Sikuli with options 1 and 5 checked, run the IDE (this should generate the tessdata folder), and then move it out of the libs folder, then reinstall Sikuli with options 2 and 5 checked"
I don't have tessdata folder in the libs folder of my directory. So what does it mean by try deleting the libs folder? Do i just right click the folder and delete it? How will i know if sikuli regenerates the folder?

Would you recommend i reinstall with opt 1 & 5 checked if the above fails? What does it mean by running the IDE and that it should generate the tessdate folder? Do i have to do something?

Revision history for this message
RaiMan (raimund-hocke) said :
#6

Yep, that is all a bit weird and a problem of version 1.0.1 - sorry for that.

... and yes, you can just delete the folder libs as you usually delete any folder in the explorer or from command line. The next time you run SikuliX, this folder will be regenerated, if missing.

Saying this I assume, that you have run the setup with option 2 and 5 before.

You may also at any time delete everything besides the sikuli-setup.jar and repeat the setup.

Hope it helps.

Revision history for this message
chan guou jiun (martinchan1997) said :
#7

Nothing to be sorry about, how do i run sikulix (i thought this version is 1.0.1?). By next time, do you mean just delete the libs folder and restart comp? (any special procedures?).

Revision history for this message
RaiMan (raimund-hocke) said :
#8

--- how do i run sikulix
as mentioned in the wiki (when I said "The next time you run SikuliX" then this was a general remark, that is valid for any SikuliX version 1.0+)

... no need to restart the computer, just delete the folder and start again with the needed steps to run the bot.

Revision history for this message
chan guou jiun (martinchan1997) said :
#9

Thanks very much the tessdata folder has been regenerated. Now the libs is in user's path, but not activated. It says resourceloaderbasic: checklibsdir: logout and login again! (since the libs is in user's path, but not activated). Terminating sikulix after a fatal error sorry but it makes no sense to continue. if you do not have any idea about the cause or solution, run again with a debug level of 3. You may paste the output to the Q&A board.

So, i assume i would be able to run the bot if i can figure what exactly is it that i need to logout and login of. How do i do it?

Revision history for this message
RaiMan (raimund-hocke) said :
#10

what is meant is that you close your Windows session and login again.

A system restart takes longer, but has the same effect.

Can you help with this problem?

Provide an answer of your own, or ask chan guou jiun for more information if necessary.

To post a message you must log in.