-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not detecting the correct window sie #8
Comments
Hi, thanks again for opening an issue! I'm still trying to replicate the problem, I know that the program will try to resize the window to 1440x900 and if the screen resolution is smaller than that then it won't work. But I'm testing to find out other ways to make it not detect the window size correctly. |
Any fix? isuggest making the program ask for the scrn rez for window size |
No fix yet, can I ask what your screen resolution is? The tricky part is the card image detection often makes mistakes if the game window isn't 1440x900, because the cards will be too small, and so everything has been hardcoded to work with 1440x900 window. |
Somewhat 1000x700 |
correction 1366x768. I suggest doing a manual mode if you don't want to do the images. AKA you tell it the cards and it prints out a soution. (also explain what is with the numbers like K1 Q2 J5) |
I'll try to work on a fix but in the meantime there is a already way to tell it the cards and make it print out the solution. If you create a text file with the cards in it like the pyramid-deck.txt and tripeaks-deck.txt examples below, then you can send it to the solver using a command line. All the cards use two letters or numbers: The second letter is the card's suit: So As = Ace of Spades, 7d = Seven of Diamonds, Th = Ten of Hearts, etc. Here are example text files of games of Pyramid and TriPeaks solitaire: For example if you run: solitaire-player.bat pyramid score -f pyramid-deck.txt If you run: solitaire-player.bat tripeaks -f tripeaks-deck.txt |
Also if you run "solitaire-player.bat help" it may help describe it better than how I just did. For the tripeaks-deck.txt example, 6h (Six of Hearts) is the face up card at the bottom where all the cards go when you click them. Jd (Jack of Diamonds) is the first face down card in the stock pile, and Kh (King of Hearts) is the very last face down card. For the pyramid-deck.txt example, Qc (Queen of Clubs) is the first face down card in the stock pile and 5c (Five of Clubs) is the last face down card in the stock pile. |
now im getting this: (scrn rez correct) Error: A JNI error has occurred, please check your installation and try again |
Hello it is i again just gonna let you know that the program does not detect the window size correctly and sizes it ABOVE the screen rez resulting in an offset
The text was updated successfully, but these errors were encountered: