lukasmonk / lucaschess

Chess GUI
http://lucaschess.pythonanywhere.com/
GNU General Public License v2.0
339 stars 76 forks source link

Figurine not visible when promoting and simultaneously checking #104

Open lordlouckster opened 4 years ago

lordlouckster commented 4 years ago

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+.

lukasmonk commented 4 years ago

Fixed in my copy. Thank you very much.

lordlouckster commented 4 years ago

I have never understood how to compile code.

lukasmonk commented 4 years ago

Windows or Linux?

lordlouckster commented 4 years ago

Windows.

lukasmonk commented 4 years ago

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.

lordlouckster commented 4 years ago

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.

lukasmonk commented 4 years ago

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

lordlouckster commented 4 years ago

Pyllow not found. Nor PyQt4.

lukasmonk commented 4 years ago

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

lordlouckster commented 4 years ago

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

lordlouckster commented 4 years ago

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

lordlouckster commented 4 years ago

@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 commented 4 years ago

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

lukasmonk commented 4 years ago

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

lordlouckster commented 4 years ago

The fixed copy.

lukasmonk commented 4 years ago

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

Delegados.zip

lordlouckster commented 4 years ago

What do I do with that?

lukasmonk commented 4 years ago

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.

lordlouckster commented 4 years ago

THANK YOU VERY MUCH!!!

lukasmonk commented 4 years ago

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

lordlouckster commented 4 years ago

Tested. IT WORKS!

lukasmonk commented 4 years ago

Thank you very much.