← Back to team overview

sikuli-driver team mailing list archive

[Question #686982]: Save image match data to metadata file

 

New question #686982 on Sikuli:
https://answers.launchpad.net/sikuli/+question/686982

Hello, we have been using Sikuli for almost a year now and it has made our automation for a Unity based game much better. One issue we do have is the game is a 2d style design which consist of majority UI. The problem is the game is constantly getting updated graphics wise. The location of a button and where its at and the size of it always stays the same for the most part but the graphics will be updated with a new design and such. This requires me to go back through and recapture most of the images which is in the 1,000's at this point. So I was wondering if had any recomendations on how to save the last successful match to a properties file named the same as the image. Then when I had this feature enabled if it fails to find a match then it would proceed to read the region info and make a new capture in the same location the last match was found and add it to the current folder its going through looking for the image. There will be some images that are supposed to not return a match, but I planned to include a argument with it that tells the function whether this is a image that needs to be recaptured when that feature is enabled.

Is there any suggestions on how to handle this? I wanted to make sure I wasnt over complicating it by taking the match it just found and saving that xyz etc to a file named the same but with dfferent extension. Then when capturing used the built in capture to capture the new image and save it.

FYI: All of our code is in Java. Thanks for any suggestions they are much appreciated

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.