lucaschess icon indicating copy to clipboard operation
lucaschess copied to clipboard

Figurine not visible when promoting and simultaneously checking

Open lordlouckster opened this issue 6 years ago • 22 comments

When you promote your pawn, normally (when not checking), it shows the figurine of which piece the pawn is promoted, as usual. But, when promoting a pawn, and simultaneously checking, it doesn't show the figurine, only the letter, i.e. f8=Q+.

lordlouckster avatar Oct 27 '19 10:10 lordlouckster

Fixed in my copy. Thank you very much.

lukasmonk avatar Oct 27 '19 12:10 lukasmonk

I have never understood how to compile code.

lordlouckster avatar Oct 27 '19 17:10 lordlouckster

Windows or Linux?

lukasmonk avatar Oct 27 '19 20:10 lukasmonk

Windows.

lordlouckster avatar Oct 28 '19 06:10 lordlouckster

Now, I use py2exe, a library of python. But the easy way is with pyinstaller, other library, and executing pyinstaller lucas.py. In the future it is likely that I will use pyinstaller.

lukasmonk avatar Oct 28 '19 15:10 lukasmonk

I compiled. It opened up and just straight up closed. So, I removed the compiled files and started over, this time with extensions, such as psutils, chardet and python-chess. Now it says can't install python-chess on python 2.7.

lordlouckster avatar Oct 28 '19 16:10 lordlouckster

chess.zip This is the deprecated version to 2.7. Uncompress it in \python27\lib\site-packages\

lukasmonk avatar Oct 28 '19 18:10 lukasmonk

Pyllow not found. Nor PyQt4.

lordlouckster avatar Oct 28 '19 19:10 lordlouckster

cmd> pip install pillow https://sourceforge.net/projects/pyqt/files/PyQt4/PyQt-4.11.4/PyQt4-4.11.4-gpl-Py2.7-Qt4.8.7-x32.exe/download

lukasmonk avatar Oct 28 '19 21:10 lukasmonk

Now I have installed everything needed and built with pyinstaller. Now the program opens and just straight up closes.

lordlouckster avatar Oct 29 '19 06:10 lordlouckster

I tried py2exe. Worked pretty fine at first, but api-ms-win-core-string-l1-1-0.dll not found.

lordlouckster avatar Oct 29 '19 14:10 lordlouckster

@lukasmonk api-ms-win-core-libraryloader-l1-2-1.dll cannot be found anywhere on the internet. Lucas Chess needs api-ms-win-core dlls to be compiled.

lordlouckster avatar Oct 29 '19 14:10 lordlouckster

@lukasmonk I'm sick of this nightmare. Can you just build your copy and send it to me?

lordlouckster avatar Oct 29 '19 15:10 lordlouckster

You can download from https://lucaschess.pythonanywhere.com Downloads....

lukasmonk avatar Oct 29 '19 15:10 lukasmonk

The fixed copy.

lordlouckster avatar Oct 29 '19 15:10 lordlouckster

Copy the file Delegados.py uncompressed in the Code\QT folder.

Delegados.zip

lukasmonk avatar Oct 29 '19 15:10 lukasmonk

What do I do with that?

lordlouckster avatar Oct 29 '19 15:10 lordlouckster

In a program installation, if you copy this py file, when you run lucas.exe, and it finds a source file, it compiles it and fixes the problem.

lukasmonk avatar Oct 29 '19 15:10 lukasmonk

THANK YOU VERY MUCH!!!

lordlouckster avatar Oct 29 '19 15:10 lordlouckster

You are welcome, and please test it with an example.

lukasmonk avatar Oct 29 '19 15:10 lukasmonk

Tested. IT WORKS!

lordlouckster avatar Oct 29 '19 15:10 lordlouckster

Thank you very much.

lukasmonk avatar Oct 29 '19 15:10 lukasmonk